From b7792b239d21b7e601d6410d01b790edb9319bf6 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 30 Apr 2024 07:05:25 +0000 Subject: [PATCH] Generated 2018-01-15 for dcdn. --- VERSION | 2 +- dcdn/CMakeLists.txt | 336 +- dcdn/include/alibabacloud/dcdn/DcdnClient.h | 672 +++- .../dcdn/model/AddDcdnDomainRequest.h | 129 +- .../dcdn/model/AddDcdnIpaDomainRequest.h | 122 +- .../dcdn/model/BatchAddDcdnDomainRequest.h | 116 +- .../model/BatchCreateDcdnWafRulesRequest.h | 45 + ...sult.h => BatchCreateDcdnWafRulesResult.h} | 22 +- .../BatchDeleteDcdnDomainConfigsRequest.h | 92 +- .../dcdn/model/BatchDeleteDcdnKvRequest.h | 45 + .../dcdn/model/BatchDeleteDcdnKvResult.h | 53 + ...BatchDeleteDcdnKvWithHighCapacityRequest.h | 45 + .../BatchDeleteDcdnKvWithHighCapacityResult.h | 53 + .../model/BatchDeleteDcdnWafRulesRequest.h | 42 + .../model/BatchDeleteDcdnWafRulesResult.h | 49 + .../model/BatchModifyDcdnWafRulesRequest.h | 45 + .../model/BatchModifyDcdnWafRulesResult.h | 49 + .../dcdn/model/BatchPutDcdnKvRequest.h | 51 + .../dcdn/model/BatchPutDcdnKvResult.h | 53 + .../BatchPutDcdnKvWithHighCapacityRequest.h | 45 + .../BatchPutDcdnKvWithHighCapacityResult.h | 53 + .../BatchSetDcdnDomainCertificateRequest.h | 116 +- .../model/BatchSetDcdnDomainConfigsRequest.h | 92 +- .../model/BatchSetDcdnDomainConfigsResult.h | 8 + .../BatchSetDcdnIpaDomainConfigsRequest.h | 92 +- .../BatchSetDcdnWafDomainConfigsRequest.h | 48 + .../BatchSetDcdnWafDomainConfigsResult.h | 49 + .../dcdn/model/BatchStartDcdnDomainRequest.h | 80 +- .../dcdn/model/BatchStopDcdnDomainRequest.h | 80 +- .../dcdn/model/CheckDcdnProjectExistRequest.h | 71 +- .../model/CommitStagingRoutineCodeRequest.h | 77 +- ...eateDcdnCertificateSigningRequestRequest.h | 113 +- ...reateDcdnCertificateSigningRequestResult.h | 4 +- .../dcdn/model/CreateDcdnDeliverTaskRequest.h | 95 +- .../dcdn/model/CreateDcdnDeliverTaskResult.h | 2 + .../CreateDcdnSLSRealTimeLogDeliveryRequest.h | 113 +- .../dcdn/model/CreateDcdnSubTaskRequest.h | 77 +- .../dcdn/model/CreateDcdnWafGroupRequest.h | 48 + .../dcdn/model/CreateDcdnWafGroupResult.h | 51 + .../dcdn/model/CreateDcdnWafPolicyRequest.h | 51 + .../dcdn/model/CreateDcdnWafPolicyResult.h | 51 + .../dcdn/model/CreateRoutineRequest.h | 83 +- .../model/CreateSlrAndSlsProjectRequest.h | 74 +- .../model/DcdnHttpRequestTestToolRequest.h | 72 - .../dcdn/model/DeleteDcdnDeliverTaskRequest.h | 71 +- .../dcdn/model/DeleteDcdnDomainRequest.h | 86 +- .../dcdn/model/DeleteDcdnIpaDomainRequest.h | 86 +- .../DeleteDcdnIpaSpecificConfigRequest.h | 86 +- .../dcdn/model/DeleteDcdnKvNamespaceRequest.h | 42 + ...Result.h => DeleteDcdnKvNamespaceResult.h} | 14 +- .../dcdn/model/DeleteDcdnKvRequest.h | 45 + .../dcdn/model/DeleteDcdnKvResult.h | 49 + .../DeleteDcdnRealTimeLogProjectRequest.h | 74 +- .../model/DeleteDcdnSpecificConfigRequest.h | 86 +- .../DeleteDcdnSpecificStagingConfigRequest.h | 86 +- .../dcdn/model/DeleteDcdnSubTaskRequest.h | 65 +- .../dcdn/model/DeleteDcdnUserConfigRequest.h | 42 + .../dcdn/model/DeleteDcdnUserConfigResult.h | 49 + .../dcdn/model/DeleteDcdnWafGroupRequest.h | 42 + .../dcdn/model/DeleteDcdnWafGroupResult.h | 49 + .../dcdn/model/DeleteDcdnWafPolicyRequest.h | 42 + .../dcdn/model/DeleteDcdnWafPolicyResult.h | 49 + .../model/DeleteRoutineCodeRevisionRequest.h | 77 +- .../dcdn/model/DeleteRoutineConfEnvsRequest.h | 77 +- .../dcdn/model/DeleteRoutineRequest.h | 71 +- .../dcdn/model/DescribeDcdnAclFieldsRequest.h | 71 +- .../model/DescribeDcdnBgpBpsDataRequest.h | 95 +- .../model/DescribeDcdnBgpTrafficDataRequest.h | 89 +- .../model/DescribeDcdnBlockedRegionsRequest.h | 71 +- .../DescribeDcdnCertificateDetailRequest.h | 80 +- .../DescribeDcdnCertificateDetailResult.h | 4 +- .../DescribeDcdnCertificateListRequest.h | 80 +- .../DescribeDcdnConfigGroupDetailRequest.h | 54 - .../DescribeDcdnConfigOfVersionRequest.h | 63 - .../model/DescribeDcdnDdosServiceRequest.h | 45 + .../model/DescribeDcdnDdosServiceResult.h | 77 + .../model/DescribeDcdnDdosSpecInfoRequest.h | 39 + .../model/DescribeDcdnDdosSpecInfoResult.h | 74 + .../model/DescribeDcdnDeletedDomainsRequest.h | 77 +- .../model/DescribeDcdnDeliverListRequest.h | 71 +- .../DescribeDcdnDomainBpsDataByLayerRequest.h | 60 + .../DescribeDcdnDomainBpsDataByLayerResult.h | 63 + .../model/DescribeDcdnDomainBpsDataRequest.h | 101 +- .../DescribeDcdnDomainByCertificateRequest.h | 77 +- .../DescribeDcdnDomainByCertificateResult.h | 2 +- .../DescribeDcdnDomainCcActivityLogRequest.h | 113 +- ...DescribeDcdnDomainCertificateInfoRequest.h | 71 +- .../DescribeDcdnDomainCertificateInfoResult.h | 2 + .../model/DescribeDcdnDomainCnameRequest.h | 71 +- .../model/DescribeDcdnDomainConfigsRequest.h | 92 +- .../model/DescribeDcdnDomainConfigsResult.h | 1 + .../model/DescribeDcdnDomainDetailRequest.h | 80 +- .../model/DescribeDcdnDomainDetailResult.h | 9 +- .../DescribeDcdnDomainHitRateDataRequest.h | 89 +- ...ribeDcdnDomainHttpCodeDataByLayerRequest.h | 60 + ...cribeDcdnDomainHttpCodeDataByLayerResult.h | 59 + .../DescribeDcdnDomainHttpCodeDataRequest.h | 101 +- .../DescribeDcdnDomainIpaBpsDataRequest.h | 113 +- .../DescribeDcdnDomainIpaConnDataRequest.h | 51 + .../DescribeDcdnDomainIpaConnDataResult.h | 61 + .../DescribeDcdnDomainIpaTrafficDataRequest.h | 113 +- .../model/DescribeDcdnDomainIspDataRequest.h | 83 +- .../model/DescribeDcdnDomainIspDataResult.h | 8 +- .../model/DescribeDcdnDomainLogExTtlRequest.h | 57 + .../model/DescribeDcdnDomainLogExTtlResult.h | 72 + .../dcdn/model/DescribeDcdnDomainLogRequest.h | 95 +- .../DescribeDcdnDomainMultiUsageDataRequest.h | 83 +- .../DescribeDcdnDomainOriginBpsDataRequest.h | 89 +- ...scribeDcdnDomainOriginTrafficDataRequest.h | 89 +- .../model/DescribeDcdnDomainPropertyRequest.h | 71 +- .../model/DescribeDcdnDomainPvDataRequest.h | 83 +- .../DescribeDcdnDomainQpsDataByLayerRequest.h | 60 + .../DescribeDcdnDomainQpsDataByLayerResult.h | 71 + .../model/DescribeDcdnDomainQpsDataRequest.h | 101 +- .../model/DescribeDcdnDomainQpsDataResult.h | 4 +- ...DescribeDcdnDomainRealTimeBpsDataRequest.h | 95 +- ...DcdnDomainRealTimeByteHitRateDataRequest.h | 83 +- ...cribeDcdnDomainRealTimeDetailDataRequest.h | 113 +- ...ibeDcdnDomainRealTimeHttpCodeDataRequest.h | 95 +- ...DescribeDcdnDomainRealTimeQpsDataRequest.h | 95 +- ...eDcdnDomainRealTimeReqHitRateDataRequest.h | 83 +- ...cribeDcdnDomainRealTimeSrcBpsDataRequest.h | 83 +- ...DcdnDomainRealTimeSrcHttpCodeDataRequest.h | 95 +- ...eDcdnDomainRealTimeSrcTrafficDataRequest.h | 83 +- ...ribeDcdnDomainRealTimeTrafficDataRequest.h | 83 +- .../DescribeDcdnDomainRegionDataRequest.h | 83 +- .../DescribeDcdnDomainRegionDataResult.h | 6 +- .../DescribeDcdnDomainStagingConfigRequest.h | 77 +- .../DescribeDcdnDomainTopReferVisitRequest.h | 83 +- .../DescribeDcdnDomainTopUrlVisitRequest.h | 83 +- .../DescribeDcdnDomainTrafficDataRequest.h | 101 +- .../DescribeDcdnDomainUsageDataRequest.h | 110 +- .../model/DescribeDcdnDomainUvDataRequest.h | 83 +- ...escribeDcdnDomainWebsocketBpsDataRequest.h | 101 +- ...beDcdnDomainWebsocketHttpCodeDataRequest.h | 101 +- ...ibeDcdnDomainWebsocketTrafficDataRequest.h | 101 +- .../DescribeDcdnDomainsBySourceRequest.h | 45 + .../model/DescribeDcdnDomainsBySourceResult.h | 65 + .../model/DescribeDcdnErUsageDataRequest.h | 54 + .../model/DescribeDcdnErUsageDataResult.h | 62 + .../DescribeDcdnEsExceptionDataRequest.h | 57 - .../model/DescribeDcdnEsExecuteDataRequest.h | 57 - ...cribeDcdnFullDomainsBlockIPConfigRequest.h | 42 + ...scribeDcdnFullDomainsBlockIPConfigResult.h | 53 + ...ribeDcdnFullDomainsBlockIPHistoryRequest.h | 48 + ...ribeDcdnFullDomainsBlockIPHistoryResult.h} | 34 +- .../DescribeDcdnHttpsDomainListRequest.h | 83 +- .../model/DescribeDcdnHttpsDomainListResult.h | 2 +- .../dcdn/model/DescribeDcdnIpInfoRequest.h | 74 +- .../dcdn/model/DescribeDcdnIpInfoResult.h | 4 +- .../model/DescribeDcdnIpaDomainCidrRequest.h | 42 + ...lt.h => DescribeDcdnIpaDomainCidrResult.h} | 24 +- .../DescribeDcdnIpaDomainConfigsRequest.h | 86 +- .../DescribeDcdnIpaDomainDetailRequest.h | 80 +- .../model/DescribeDcdnIpaDomainDetailResult.h | 4 +- .../model/DescribeDcdnIpaServiceRequest.h | 74 +- .../model/DescribeDcdnIpaUserDomainsRequest.h | 141 +- .../model/DescribeDcdnIpaUserDomainsResult.h | 2 +- .../dcdn/model/DescribeDcdnKvAccountRequest.h | 39 + .../dcdn/model/DescribeDcdnKvAccountResult.h | 70 + .../DescribeDcdnKvAccountStatusRequest.h | 39 + ....h => DescribeDcdnKvAccountStatusResult.h} | 24 +- .../model/DescribeDcdnKvNamespaceRequest.h | 42 + .../model/DescribeDcdnKvNamespaceResult.h | 63 + .../dcdn/model/DescribeDcdnL2IpsRequest.h | 39 + .../dcdn/model/DescribeDcdnL2IpsResult.h | 51 + .../dcdn/model/DescribeDcdnL2VipsRequest.h | 42 + .../dcdn/model/DescribeDcdnL2VipsResult.h | 53 + ...escribeDcdnOriginSiteHealthStatusRequest.h | 42 + ...DescribeDcdnOriginSiteHealthStatusResult.h | 56 + ...DescribeDcdnRealTimeDeliveryFieldRequest.h | 71 +- .../model/DescribeDcdnRefreshQuotaRequest.h | 74 +- .../model/DescribeDcdnRefreshQuotaResult.h | 12 +- .../DescribeDcdnRefreshTaskByIdRequest.h | 71 +- .../model/DescribeDcdnRefreshTaskByIdResult.h | 2 +- .../model/DescribeDcdnRefreshTasksRequest.h | 128 +- .../model/DescribeDcdnRefreshTasksResult.h | 2 +- .../model/DescribeDcdnRegionAndIspRequest.h | 74 +- .../model/DescribeDcdnReportListRequest.h | 71 +- .../dcdn/model/DescribeDcdnReportRequest.h | 107 +- .../DescribeDcdnSLSRealTimeLogTypeRequest.h | 39 + .../DescribeDcdnSLSRealTimeLogTypeResult.h | 56 + ...escribeDcdnSLSRealtimeLogDeliveryRequest.h | 74 +- ...DescribeDcdnSLSRealtimeLogDeliveryResult.h | 1 + .../DescribeDcdnSMCertificateDetailRequest.h | 80 +- .../DescribeDcdnSMCertificateDetailResult.h | 4 +- .../DescribeDcdnSMCertificateListRequest.h | 80 +- .../DescribeDcdnSSLCertificateListRequest.h | 63 + .../DescribeDcdnSSLCertificateListResult.h | 68 + .../model/DescribeDcdnSecFuncInfoRequest.h | 77 +- .../model/DescribeDcdnSecSpecInfoRequest.h | 65 +- .../dcdn/model/DescribeDcdnServiceRequest.h | 74 +- .../dcdn/model/DescribeDcdnServiceResult.h | 4 +- .../dcdn/model/DescribeDcdnStagingIpRequest.h | 65 +- .../dcdn/model/DescribeDcdnSubListRequest.h | 65 +- .../model/DescribeDcdnTagResourcesRequest.h | 99 +- .../DescribeDcdnTopDomainsByFlowRequest.h | 83 +- .../DescribeDcdnUserBillHistoryRequest.h | 77 +- .../model/DescribeDcdnUserBillTypeRequest.h | 77 +- ...ibeDcdnUserCertificateExpireCountRequest.h | 39 + ...ribeDcdnUserCertificateExpireCountResult.h | 53 + .../model/DescribeDcdnUserConfigsRequest.h | 42 + .../model/DescribeDcdnUserConfigsResult.h | 57 + .../DescribeDcdnUserDomainsByFuncRequest.h | 104 +- .../DescribeDcdnUserDomainsByFuncResult.h | 4 +- .../model/DescribeDcdnUserDomainsRequest.h | 165 +- .../model/DescribeDcdnUserDomainsResult.h | 7 +- .../dcdn/model/DescribeDcdnUserQuotaRequest.h | 74 +- .../dcdn/model/DescribeDcdnUserQuotaResult.h | 12 +- ...ribeDcdnUserRealTimeDeliveryFieldRequest.h | 71 +- .../DescribeDcdnUserResourcePackageRequest.h | 80 +- .../DescribeDcdnUserResourcePackageResult.h | 4 +- .../DescribeDcdnUserSecDropByMinuteRequest.h | 119 +- .../DescribeDcdnUserSecDropByMinuteResult.h | 2 +- .../model/DescribeDcdnUserSecDropRequest.h | 83 +- .../dcdn/model/DescribeDcdnUserTagsRequest.h | 65 +- .../DescribeDcdnUserVipsByDomainRequest.h | 45 + .../DescribeDcdnUserVipsByDomainResult.h | 53 + .../model/DescribeDcdnVerifyContentRequest.h | 71 +- .../model/DescribeDcdnWafBotAppKeyRequest.h | 39 + .../model/DescribeDcdnWafBotAppKeyResult.h | 51 + .../DescribeDcdnWafDefaultRulesRequest.h | 42 + .../model/DescribeDcdnWafDefaultRulesResult.h | 64 + .../DescribeDcdnWafDomainDetailRequest.h | 42 + .../model/DescribeDcdnWafDomainDetailResult.h | 62 + .../dcdn/model/DescribeDcdnWafDomainRequest.h | 83 +- .../model/DescribeDcdnWafDomainsRequest.h | 48 + ...esult.h => DescribeDcdnWafDomainsResult.h} | 27 +- .../model/DescribeDcdnWafFilterInfoRequest.h | 45 + .../model/DescribeDcdnWafFilterInfoResult.h | 77 + .../model/DescribeDcdnWafGeoInfoRequest.h | 42 + .../dcdn/model/DescribeDcdnWafGeoInfoResult.h | 66 + .../dcdn/model/DescribeDcdnWafGroupRequest.h | 57 + .../dcdn/model/DescribeDcdnWafGroupResult.h | 77 + .../dcdn/model/DescribeDcdnWafGroupsRequest.h | 51 + .../dcdn/model/DescribeDcdnWafGroupsResult.h | 73 + .../dcdn/model/DescribeDcdnWafLogsRequest.h | 57 + .../dcdn/model/DescribeDcdnWafLogsResult.h | 72 + .../model/DescribeDcdnWafPoliciesRequest.h | 48 + .../model/DescribeDcdnWafPoliciesResult.h | 68 + .../DescribeDcdnWafPolicyDomainsRequest.h | 48 + .../DescribeDcdnWafPolicyDomainsResult.h | 61 + .../dcdn/model/DescribeDcdnWafPolicyRequest.h | 42 + .../dcdn/model/DescribeDcdnWafPolicyResult.h | 63 + ...DescribeDcdnWafPolicyValidDomainsRequest.h | 51 + .../DescribeDcdnWafPolicyValidDomainsResult.h | 71 + .../dcdn/model/DescribeDcdnWafRuleRequest.h | 42 + .../dcdn/model/DescribeDcdnWafRuleResult.h | 61 + .../dcdn/model/DescribeDcdnWafRulesRequest.h | 48 + .../dcdn/model/DescribeDcdnWafRulesResult.h | 67 + .../dcdn/model/DescribeDcdnWafScenesRequest.h | 42 + .../dcdn/model/DescribeDcdnWafScenesResult.h | 57 + .../model/DescribeDcdnWafServiceRequest.h | 45 + .../dcdn/model/DescribeDcdnWafServiceResult.h | 61 + .../model/DescribeDcdnWafSpecInfoRequest.h | 39 + .../model/DescribeDcdnWafSpecInfoResult.h | 64 + .../model/DescribeDcdnWafUsageDataRequest.h | 54 + .../model/DescribeDcdnWafUsageDataResult.h | 64 + .../model/DescribeDcdnsecServiceRequest.h | 74 +- .../dcdn/model/DescribeDcdnsecServiceResult.h | 12 +- .../model/DescribeDdosAllEventListRequest.h | 54 + .../model/DescribeDdosAllEventListResult.h | 69 + .../model/DescribeEncryptRoutineUidRequest.h | 39 + .../model/DescribeEncryptRoutineUidResult.h | 51 + .../dcdn/model/DescribeHighlightInfoRequest.h | 51 + .../dcdn/model/DescribeHighlightInfoResult.h | 57 + .../dcdn/model/DescribeKvUsageDataRequest.h | 60 + .../dcdn/model/DescribeKvUsageDataResult.h | 62 + .../model/DescribeRDDomainConfigRequest.h | 45 + ...esult.h => DescribeRDDomainConfigResult.h} | 25 +- .../dcdn/model/DescribeRDDomainsRequest.h | 45 + .../dcdn/model/DescribeRDDomainsResult.h | 80 + .../model/DescribeRoutineCanaryEnvsRequest.h | 65 +- .../DescribeRoutineCodeRevisionRequest.h | 77 +- .../DescribeRoutineRelatedDomainsRequest.h | 42 + .../DescribeRoutineRelatedDomainsResult.h | 51 + .../dcdn/model/DescribeRoutineRequest.h | 71 +- .../dcdn/model/DescribeRoutineSpecRequest.h | 65 +- .../model/DescribeRoutineUserInfoRequest.h | 65 +- .../model/DescribeUserDcdnIpaStatusRequest.h | 74 +- .../model/DescribeUserDcdnStatusRequest.h | 71 +- .../dcdn/model/DescribeUserErStatusRequest.h | 71 +- .../DescribeUserLogserviceStatusRequest.h | 74 +- .../dcdn/model/EditRoutineConfRequest.h | 83 +- .../dcdn/model/GetDcdnKvRequest.h | 45 + .../alibabacloud/dcdn/model/GetDcdnKvResult.h | 51 + .../dcdn/model/GetDcdnKvStatusRequest.h | 45 + .../dcdn/model/GetDcdnKvStatusResult.h | 53 + .../model/ListDcdnEsTemplateInfoRequest.h | 60 - .../dcdn/model/ListDcdnKvRequest.h | 51 + .../dcdn/model/ListDcdnKvResult.h | 62 + .../ListDcdnRealTimeDeliveryProjectRequest.h | 89 +- .../ModifyDCdnDomainSchdmByPropertyRequest.h | 77 +- .../dcdn/model/ModifyDcdnWafGroupRequest.h | 48 + .../dcdn/model/ModifyDcdnWafGroupResult.h | 49 + .../model/ModifyDcdnWafPolicyDomainsRequest.h | 51 + .../model/ModifyDcdnWafPolicyDomainsResult.h | 49 + .../dcdn/model/ModifyDcdnWafPolicyRequest.h | 48 + .../dcdn/model/ModifyDcdnWafPolicyResult.h | 49 + .../dcdn/model/ModifyDcdnWafRuleRequest.h | 51 + .../dcdn/model/ModifyDcdnWafRuleResult.h | 49 + .../dcdn/model/OpenDcdnServiceRequest.h | 86 +- .../model/PreloadDcdnObjectCachesRequest.h | 92 +- ...lishDcdnStagingConfigToProductionRequest.h | 77 +- .../model/PublishRoutineCodeRevisionRequest.h | 83 +- .../dcdn/model/PutDcdnKvNamespaceRequest.h | 45 + .../dcdn/model/PutDcdnKvNamespaceResult.h | 57 + .../dcdn/model/PutDcdnKvRequest.h | 54 + .../alibabacloud/dcdn/model/PutDcdnKvResult.h | 53 + .../model/PutDcdnKvWithHighCapacityRequest.h | 48 + .../model/PutDcdnKvWithHighCapacityResult.h | 53 + .../RefreshDcdnObjectCacheByCacheTagRequest.h | 48 + .../RefreshDcdnObjectCacheByCacheTagResult.h | 51 + .../model/RefreshDcdnObjectCachesRequest.h | 89 +- .../dcdn/model/RefreshErObjectCachesRequest.h | 54 + .../dcdn/model/RefreshErObjectCachesResult.h | 51 + .../model/RollbackDcdnStagingConfigRequest.h | 71 +- .../model/SetDcdnConfigOfVersionRequest.h | 69 - .../SetDcdnDomainCSRCertificateRequest.h | 77 +- .../model/SetDcdnDomainCertificateRequest.h | 122 +- .../model/SetDcdnDomainSMCertificateRequest.h | 92 +- .../SetDcdnDomainSSLCertificateRequest.h | 72 + .../model/SetDcdnDomainSSLCertificateResult.h | 49 + .../model/SetDcdnDomainStagingConfigRequest.h | 77 +- .../model/SetDcdnFullDomainsBlockIPRequest.h | 86 +- .../dcdn/model/SetDcdnUserConfigRequest.h | 92 +- .../dcdn/model/SetRoutineSubdomainRequest.h | 71 +- .../dcdn/model/StartDcdnDomainRequest.h | 80 +- .../dcdn/model/StartDcdnIpaDomainRequest.h | 80 +- .../dcdn/model/StopDcdnDomainRequest.h | 80 +- .../dcdn/model/StopDcdnIpaDomainRequest.h | 80 +- .../dcdn/model/TagDcdnResourcesRequest.h | 93 +- .../dcdn/model/UntagDcdnResourcesRequest.h | 89 +- .../dcdn/model/UpdateDcdnDeliverTaskRequest.h | 101 +- .../dcdn/model/UpdateDcdnDomainRequest.h | 98 +- .../dcdn/model/UpdateDcdnIpaDomainRequest.h | 98 +- .../UpdateDcdnSLSRealtimeLogDeliveryRequest.h | 107 +- .../dcdn/model/UpdateDcdnSubTaskRequest.h | 89 +- ...dateDcdnUserRealTimeDeliveryFieldRequest.h | 77 +- .../dcdn/model/UploadRoutineCodeRequest.h | 77 +- .../model/UploadStagingRoutineCodeRequest.h | 77 +- .../dcdn/model/VerifyDcdnDomainOwnerRequest.h | 77 +- dcdn/src/DcdnClient.cc | 2754 ++++++++++++++++- dcdn/src/model/AddDcdnDomainRequest.cc | 174 +- dcdn/src/model/AddDcdnIpaDomainRequest.cc | 154 +- dcdn/src/model/BatchAddDcdnDomainRequest.cc | 142 +- .../model/BatchCreateDcdnWafRulesRequest.cc | 45 + ...lt.cc => BatchCreateDcdnWafRulesResult.cc} | 33 +- .../BatchDeleteDcdnDomainConfigsRequest.cc | 94 +- dcdn/src/model/BatchDeleteDcdnKvRequest.cc | 47 + dcdn/src/model/BatchDeleteDcdnKvResult.cc | 60 + ...atchDeleteDcdnKvWithHighCapacityRequest.cc | 45 + ...BatchDeleteDcdnKvWithHighCapacityResult.cc | 60 + .../model/BatchDeleteDcdnWafRulesRequest.cc | 36 + .../model/BatchDeleteDcdnWafRulesResult.cc | 44 + .../model/BatchModifyDcdnWafRulesRequest.cc | 45 + .../model/BatchModifyDcdnWafRulesResult.cc | 44 + dcdn/src/model/BatchPutDcdnKvRequest.cc | 50 + dcdn/src/model/BatchPutDcdnKvResult.cc | 60 + .../BatchPutDcdnKvWithHighCapacityRequest.cc | 45 + .../BatchPutDcdnKvWithHighCapacityResult.cc | 60 + .../BatchSetDcdnDomainCertificateRequest.cc | 142 +- .../model/BatchSetDcdnDomainConfigsRequest.cc | 94 +- .../model/BatchSetDcdnDomainConfigsResult.cc | 17 + .../BatchSetDcdnIpaDomainConfigsRequest.cc | 94 +- .../BatchSetDcdnWafDomainConfigsRequest.cc | 54 + .../BatchSetDcdnWafDomainConfigsResult.cc | 44 + dcdn/src/model/BatchStartDcdnDomainRequest.cc | 70 +- dcdn/src/model/BatchStopDcdnDomainRequest.cc | 70 +- .../src/model/CheckDcdnProjectExistRequest.cc | 53 +- .../model/CommitStagingRoutineCodeRequest.cc | 65 +- ...ateDcdnCertificateSigningRequestRequest.cc | 137 +- ...eateDcdnCertificateSigningRequestResult.cc | 18 +- .../src/model/CreateDcdnDeliverTaskRequest.cc | 101 +- dcdn/src/model/CreateDcdnDeliverTaskResult.cc | 7 + ...CreateDcdnSLSRealTimeLogDeliveryRequest.cc | 137 +- .../CreateDcdnSLSRealTimeLogDeliveryResult.cc | 4 +- dcdn/src/model/CreateDcdnSubTaskRequest.cc | 65 +- dcdn/src/model/CreateDcdnWafGroupRequest.cc | 54 + dcdn/src/model/CreateDcdnWafGroupResult.cc | 51 + dcdn/src/model/CreateDcdnWafPolicyRequest.cc | 63 + dcdn/src/model/CreateDcdnWafPolicyResult.cc | 51 + dcdn/src/model/CreateRoutineRequest.cc | 77 +- .../model/CreateSlrAndSlsProjectRequest.cc | 58 +- .../model/DcdnHttpRequestTestToolRequest.cc | 128 - .../src/model/DeleteDcdnDeliverTaskRequest.cc | 53 +- dcdn/src/model/DeleteDcdnDomainRequest.cc | 82 +- dcdn/src/model/DeleteDcdnIpaDomainRequest.cc | 82 +- .../DeleteDcdnIpaSpecificConfigRequest.cc | 82 +- .../src/model/DeleteDcdnKvNamespaceRequest.cc | 36 + ...sult.cc => DeleteDcdnKvNamespaceResult.cc} | 10 +- dcdn/src/model/DeleteDcdnKvRequest.cc | 45 + dcdn/src/model/DeleteDcdnKvResult.cc | 44 + .../DeleteDcdnRealTimeLogProjectRequest.cc | 64 +- .../model/DeleteDcdnSpecificConfigRequest.cc | 82 +- .../DeleteDcdnSpecificStagingConfigRequest.cc | 82 +- dcdn/src/model/DeleteDcdnSubTaskRequest.cc | 39 +- dcdn/src/model/DeleteDcdnUserConfigRequest.cc | 36 + dcdn/src/model/DeleteDcdnUserConfigResult.cc | 44 + dcdn/src/model/DeleteDcdnWafGroupRequest.cc | 36 + dcdn/src/model/DeleteDcdnWafGroupResult.cc | 44 + dcdn/src/model/DeleteDcdnWafPolicyRequest.cc | 36 + dcdn/src/model/DeleteDcdnWafPolicyResult.cc | 44 + .../model/DeleteRoutineCodeRevisionRequest.cc | 65 +- .../src/model/DeleteRoutineConfEnvsRequest.cc | 65 +- dcdn/src/model/DeleteRoutineRequest.cc | 53 +- .../src/model/DescribeDcdnAclFieldsRequest.cc | 53 +- .../model/DescribeDcdnBgpBpsDataRequest.cc | 103 +- .../src/model/DescribeDcdnBgpBpsDataResult.cc | 8 +- .../DescribeDcdnBgpTrafficDataRequest.cc | 89 +- .../model/DescribeDcdnBgpTrafficDataResult.cc | 8 +- .../DescribeDcdnBlockedRegionsRequest.cc | 53 +- .../model/DescribeDcdnBlockedRegionsResult.cc | 4 +- .../DescribeDcdnCertificateDetailRequest.cc | 70 +- .../DescribeDcdnCertificateDetailResult.cc | 22 +- .../DescribeDcdnCertificateListRequest.cc | 70 +- .../DescribeDcdnCertificateListResult.cc | 20 +- .../DescribeDcdnConfigGroupDetailRequest.cc | 62 - .../DescribeDcdnConfigGroupDetailResult.cc | 86 - .../DescribeDcdnConfigOfVersionRequest.cc | 95 - .../DescribeDcdnConfigOfVersionResult.cc | 71 - .../model/DescribeDcdnDdosServiceRequest.cc | 45 + .../model/DescribeDcdnDdosServiceResult.cc | 142 + .../model/DescribeDcdnDdosSpecInfoRequest.cc | 27 + .../model/DescribeDcdnDdosSpecInfoResult.cc | 111 + .../DescribeDcdnDeletedDomainsRequest.cc | 65 +- .../model/DescribeDcdnDeletedDomainsResult.cc | 4 +- .../model/DescribeDcdnDeliverListRequest.cc | 53 +- ...DescribeDcdnDomainBpsDataByLayerRequest.cc | 90 + .../DescribeDcdnDomainBpsDataByLayerResult.cc | 76 + .../model/DescribeDcdnDomainBpsDataRequest.cc | 113 +- .../model/DescribeDcdnDomainBpsDataResult.cc | 24 +- .../DescribeDcdnDomainByCertificateRequest.cc | 67 +- .../DescribeDcdnDomainByCertificateResult.cc | 28 +- .../DescribeDcdnDomainCcActivityLogRequest.cc | 137 +- .../DescribeDcdnDomainCcActivityLogResult.cc | 12 +- ...escribeDcdnDomainCertificateInfoRequest.cc | 53 +- ...DescribeDcdnDomainCertificateInfoResult.cc | 36 +- .../model/DescribeDcdnDomainCnameRequest.cc | 53 +- .../model/DescribeDcdnDomainCnameResult.cc | 4 +- .../model/DescribeDcdnDomainConfigsRequest.cc | 94 +- .../model/DescribeDcdnDomainConfigsResult.cc | 10 +- .../model/DescribeDcdnDomainDetailRequest.cc | 70 +- .../model/DescribeDcdnDomainDetailResult.cc | 42 +- .../DescribeDcdnDomainHitRateDataRequest.cc | 89 +- .../DescribeDcdnDomainHitRateDataResult.cc | 12 +- ...ibeDcdnDomainHttpCodeDataByLayerRequest.cc | 90 + ...ribeDcdnDomainHttpCodeDataByLayerResult.cc | 68 + .../DescribeDcdnDomainHttpCodeDataRequest.cc | 113 +- .../DescribeDcdnDomainHttpCodeDataResult.cc | 8 +- .../DescribeDcdnDomainIpaBpsDataRequest.cc | 137 +- .../DescribeDcdnDomainIpaBpsDataResult.cc | 12 +- .../DescribeDcdnDomainIpaConnDataRequest.cc | 63 + .../DescribeDcdnDomainIpaConnDataResult.cc | 75 + ...DescribeDcdnDomainIpaTrafficDataRequest.cc | 137 +- .../DescribeDcdnDomainIpaTrafficDataResult.cc | 12 +- .../model/DescribeDcdnDomainIspDataRequest.cc | 77 +- .../model/DescribeDcdnDomainIspDataResult.cc | 54 +- .../DescribeDcdnDomainLogExTtlRequest.cc | 81 + .../model/DescribeDcdnDomainLogExTtlResult.cc | 82 + .../src/model/DescribeDcdnDomainLogRequest.cc | 101 +- dcdn/src/model/DescribeDcdnDomainLogResult.cc | 12 +- ...DescribeDcdnDomainMultiUsageDataRequest.cc | 77 +- .../DescribeDcdnDomainMultiUsageDataResult.cc | 20 +- .../DescribeDcdnDomainOriginBpsDataRequest.cc | 89 +- .../DescribeDcdnDomainOriginBpsDataResult.cc | 20 +- ...cribeDcdnDomainOriginTrafficDataRequest.cc | 89 +- ...scribeDcdnDomainOriginTrafficDataResult.cc | 24 +- .../DescribeDcdnDomainPropertyRequest.cc | 53 +- .../model/DescribeDcdnDomainPvDataRequest.cc | 77 +- .../model/DescribeDcdnDomainPvDataResult.cc | 8 +- ...DescribeDcdnDomainQpsDataByLayerRequest.cc | 90 + .../DescribeDcdnDomainQpsDataByLayerResult.cc | 104 + .../model/DescribeDcdnDomainQpsDataRequest.cc | 113 +- .../model/DescribeDcdnDomainQpsDataResult.cc | 44 +- ...escribeDcdnDomainRealTimeBpsDataRequest.cc | 101 +- ...cdnDomainRealTimeByteHitRateDataRequest.cc | 77 +- ...ribeDcdnDomainRealTimeDetailDataRequest.cc | 137 +- ...beDcdnDomainRealTimeHttpCodeDataRequest.cc | 101 +- ...ibeDcdnDomainRealTimeHttpCodeDataResult.cc | 8 +- ...escribeDcdnDomainRealTimeQpsDataRequest.cc | 101 +- ...DcdnDomainRealTimeReqHitRateDataRequest.cc | 77 +- ...ribeDcdnDomainRealTimeSrcBpsDataRequest.cc | 77 +- ...cribeDcdnDomainRealTimeSrcBpsDataResult.cc | 12 +- ...cdnDomainRealTimeSrcHttpCodeDataRequest.cc | 101 +- ...DcdnDomainRealTimeSrcHttpCodeDataResult.cc | 8 +- ...DcdnDomainRealTimeSrcTrafficDataRequest.cc | 77 +- ...eDcdnDomainRealTimeSrcTrafficDataResult.cc | 12 +- ...ibeDcdnDomainRealTimeTrafficDataRequest.cc | 77 +- ...ribeDcdnDomainRealTimeTrafficDataResult.cc | 12 +- .../DescribeDcdnDomainRegionDataRequest.cc | 77 +- .../DescribeDcdnDomainRegionDataResult.cc | 54 +- .../DescribeDcdnDomainStagingConfigRequest.cc | 65 +- .../DescribeDcdnDomainStagingConfigResult.cc | 8 +- .../DescribeDcdnDomainTopReferVisitRequest.cc | 77 +- .../DescribeDcdnDomainTopReferVisitResult.cc | 16 +- .../DescribeDcdnDomainTopUrlVisitRequest.cc | 77 +- .../DescribeDcdnDomainTopUrlVisitResult.cc | 44 +- .../DescribeDcdnDomainTrafficDataRequest.cc | 113 +- .../DescribeDcdnDomainTrafficDataResult.cc | 20 +- .../DescribeDcdnDomainUsageDataRequest.cc | 130 +- .../DescribeDcdnDomainUsageDataResult.cc | 4 +- .../model/DescribeDcdnDomainUvDataRequest.cc | 77 +- .../model/DescribeDcdnDomainUvDataResult.cc | 8 +- ...scribeDcdnDomainWebsocketBpsDataRequest.cc | 113 +- ...escribeDcdnDomainWebsocketBpsDataResult.cc | 8 +- ...eDcdnDomainWebsocketHttpCodeDataRequest.cc | 113 +- ...beDcdnDomainWebsocketHttpCodeDataResult.cc | 8 +- ...beDcdnDomainWebsocketTrafficDataRequest.cc | 113 +- ...ibeDcdnDomainWebsocketTrafficDataResult.cc | 12 +- .../DescribeDcdnDomainsBySourceRequest.cc | 45 + .../DescribeDcdnDomainsBySourceResult.cc | 75 + .../model/DescribeDcdnErUsageDataRequest.cc | 72 + .../model/DescribeDcdnErUsageDataResult.cc | 77 + .../DescribeDcdnEsExceptionDataRequest.cc | 73 - .../DescribeDcdnEsExceptionDataResult.cc | 63 - .../model/DescribeDcdnEsExecuteDataRequest.cc | 73 - .../model/DescribeDcdnEsExecuteDataResult.cc | 63 - ...ribeDcdnFullDomainsBlockIPConfigRequest.cc | 36 + ...cribeDcdnFullDomainsBlockIPConfigResult.cc | 58 + ...ibeDcdnFullDomainsBlockIPHistoryRequest.cc | 54 + ...ribeDcdnFullDomainsBlockIPHistoryResult.cc | 75 + .../DescribeDcdnHttpsDomainListRequest.cc | 77 +- .../DescribeDcdnHttpsDomainListResult.cc | 20 +- dcdn/src/model/DescribeDcdnIpInfoRequest.cc | 64 +- dcdn/src/model/DescribeDcdnIpInfoResult.cc | 22 +- .../model/DescribeDcdnIpaDomainCidrRequest.cc | 36 + .../model/DescribeDcdnIpaDomainCidrResult.cc | 52 + .../DescribeDcdnIpaDomainConfigsRequest.cc | 82 +- .../DescribeDcdnIpaDomainConfigsResult.cc | 8 +- .../DescribeDcdnIpaDomainDetailRequest.cc | 70 +- .../DescribeDcdnIpaDomainDetailResult.cc | 40 +- .../model/DescribeDcdnIpaServiceRequest.cc | 58 +- .../src/model/DescribeDcdnIpaServiceResult.cc | 16 +- .../DescribeDcdnIpaUserDomainsRequest.cc | 183 +- .../model/DescribeDcdnIpaUserDomainsResult.cc | 28 +- .../src/model/DescribeDcdnKvAccountRequest.cc | 27 + dcdn/src/model/DescribeDcdnKvAccountResult.cc | 102 + .../DescribeDcdnKvAccountStatusRequest.cc | 27 + .../DescribeDcdnKvAccountStatusResult.cc | 51 + .../model/DescribeDcdnKvNamespaceRequest.cc | 36 + .../model/DescribeDcdnKvNamespaceResult.cc | 93 + dcdn/src/model/DescribeDcdnL2IpsRequest.cc | 27 + dcdn/src/model/DescribeDcdnL2IpsResult.cc | 52 + dcdn/src/model/DescribeDcdnL2VipsRequest.cc | 36 + dcdn/src/model/DescribeDcdnL2VipsResult.cc | 59 + ...scribeDcdnOriginSiteHealthStatusRequest.cc | 36 + ...escribeDcdnOriginSiteHealthStatusResult.cc | 59 + ...escribeDcdnRealTimeDeliveryFieldRequest.cc | 53 +- ...DescribeDcdnRealTimeDeliveryFieldResult.cc | 4 +- .../model/DescribeDcdnRefreshQuotaRequest.cc | 58 +- .../model/DescribeDcdnRefreshQuotaResult.cc | 60 +- .../DescribeDcdnRefreshTaskByIdRequest.cc | 53 +- .../DescribeDcdnRefreshTaskByIdResult.cc | 16 +- .../model/DescribeDcdnRefreshTasksRequest.cc | 166 +- .../model/DescribeDcdnRefreshTasksResult.cc | 16 +- .../model/DescribeDcdnRegionAndIspRequest.cc | 58 +- .../model/DescribeDcdnRegionAndIspResult.cc | 8 +- .../model/DescribeDcdnReportListRequest.cc | 53 +- dcdn/src/model/DescribeDcdnReportRequest.cc | 125 +- .../DescribeDcdnSLSRealTimeLogTypeRequest.cc | 27 + .../DescribeDcdnSLSRealTimeLogTypeResult.cc | 59 + ...scribeDcdnSLSRealtimeLogDeliveryRequest.cc | 64 +- ...escribeDcdnSLSRealtimeLogDeliveryResult.cc | 38 +- .../DescribeDcdnSMCertificateDetailRequest.cc | 70 +- .../DescribeDcdnSMCertificateDetailResult.cc | 38 +- .../DescribeDcdnSMCertificateListRequest.cc | 70 +- .../DescribeDcdnSMCertificateListResult.cc | 4 +- .../DescribeDcdnSSLCertificateListRequest.cc | 99 + .../DescribeDcdnSSLCertificateListResult.cc | 76 + .../model/DescribeDcdnSecFuncInfoRequest.cc | 65 +- .../model/DescribeDcdnSecSpecInfoRequest.cc | 39 +- .../model/DescribeDcdnSecSpecInfoResult.cc | 4 +- dcdn/src/model/DescribeDcdnServiceRequest.cc | 58 +- dcdn/src/model/DescribeDcdnServiceResult.cc | 38 +- .../src/model/DescribeDcdnStagingIpRequest.cc | 39 +- dcdn/src/model/DescribeDcdnSubListRequest.cc | 39 +- .../model/DescribeDcdnTagResourcesRequest.cc | 100 +- .../DescribeDcdnTopDomainsByFlowRequest.cc | 77 +- .../DescribeDcdnTopDomainsByFlowResult.cc | 32 +- .../DescribeDcdnUserBillHistoryRequest.cc | 65 +- .../DescribeDcdnUserBillHistoryResult.cc | 12 +- .../model/DescribeDcdnUserBillTypeRequest.cc | 65 +- .../model/DescribeDcdnUserBillTypeResult.cc | 16 +- ...beDcdnUserCertificateExpireCountRequest.cc | 27 + ...ibeDcdnUserCertificateExpireCountResult.cc | 58 + .../model/DescribeDcdnUserConfigsRequest.cc | 36 + .../model/DescribeDcdnUserConfigsResult.cc | 61 + .../DescribeDcdnUserDomainsByFuncRequest.cc | 118 +- .../DescribeDcdnUserDomainsByFuncResult.cc | 32 +- .../model/DescribeDcdnUserDomainsRequest.cc | 233 +- .../model/DescribeDcdnUserDomainsResult.cc | 34 +- .../src/model/DescribeDcdnUserQuotaRequest.cc | 58 +- dcdn/src/model/DescribeDcdnUserQuotaResult.cc | 56 +- ...ibeDcdnUserRealTimeDeliveryFieldRequest.cc | 53 +- ...ribeDcdnUserRealTimeDeliveryFieldResult.cc | 4 +- .../DescribeDcdnUserResourcePackageRequest.cc | 70 +- .../DescribeDcdnUserResourcePackageResult.cc | 24 +- .../DescribeDcdnUserSecDropByMinuteRequest.cc | 149 +- .../DescribeDcdnUserSecDropByMinuteResult.cc | 16 +- .../model/DescribeDcdnUserSecDropRequest.cc | 77 +- .../model/DescribeDcdnUserSecDropResult.cc | 4 +- dcdn/src/model/DescribeDcdnUserTagsRequest.cc | 39 +- .../DescribeDcdnUserVipsByDomainRequest.cc | 45 + .../DescribeDcdnUserVipsByDomainResult.cc | 59 + .../model/DescribeDcdnVerifyContentRequest.cc | 53 +- .../model/DescribeDcdnWafBotAppKeyRequest.cc | 27 + .../model/DescribeDcdnWafBotAppKeyResult.cc | 51 + .../DescribeDcdnWafDefaultRulesRequest.cc | 36 + .../DescribeDcdnWafDefaultRulesResult.cc | 73 + .../DescribeDcdnWafDomainDetailRequest.cc | 36 + .../DescribeDcdnWafDomainDetailResult.cc | 64 + .../src/model/DescribeDcdnWafDomainRequest.cc | 77 +- dcdn/src/model/DescribeDcdnWafDomainResult.cc | 8 +- .../model/DescribeDcdnWafDomainsRequest.cc | 54 + ...ult.cc => DescribeDcdnWafDomainsResult.cc} | 52 +- .../model/DescribeDcdnWafFilterInfoRequest.cc | 45 + .../model/DescribeDcdnWafFilterInfoResult.cc | 90 + .../model/DescribeDcdnWafGeoInfoRequest.cc | 36 + .../src/model/DescribeDcdnWafGeoInfoResult.cc | 75 + dcdn/src/model/DescribeDcdnWafGroupRequest.cc | 81 + dcdn/src/model/DescribeDcdnWafGroupResult.cc | 122 + .../src/model/DescribeDcdnWafGroupsRequest.cc | 63 + dcdn/src/model/DescribeDcdnWafGroupsResult.cc | 100 + dcdn/src/model/DescribeDcdnWafLogsRequest.cc | 81 + dcdn/src/model/DescribeDcdnWafLogsResult.cc | 82 + .../model/DescribeDcdnWafPoliciesRequest.cc | 54 + .../model/DescribeDcdnWafPoliciesResult.cc | 92 + .../DescribeDcdnWafPolicyDomainsRequest.cc | 54 + .../DescribeDcdnWafPolicyDomainsResult.cc | 78 + .../src/model/DescribeDcdnWafPolicyRequest.cc | 36 + dcdn/src/model/DescribeDcdnWafPolicyResult.cc | 68 + ...escribeDcdnWafPolicyValidDomainsRequest.cc | 63 + ...DescribeDcdnWafPolicyValidDomainsResult.cc | 96 + dcdn/src/model/DescribeDcdnWafRuleRequest.cc | 36 + dcdn/src/model/DescribeDcdnWafRuleResult.cc | 64 + dcdn/src/model/DescribeDcdnWafRulesRequest.cc | 54 + dcdn/src/model/DescribeDcdnWafRulesResult.cc | 90 + .../src/model/DescribeDcdnWafScenesRequest.cc | 36 + dcdn/src/model/DescribeDcdnWafScenesResult.cc | 61 + .../model/DescribeDcdnWafServiceRequest.cc | 45 + .../src/model/DescribeDcdnWafServiceResult.cc | 86 + .../model/DescribeDcdnWafSpecInfoRequest.cc | 27 + .../model/DescribeDcdnWafSpecInfoResult.cc | 76 + .../model/DescribeDcdnWafUsageDataRequest.cc | 72 + .../model/DescribeDcdnWafUsageDataResult.cc | 81 + .../model/DescribeDcdnsecServiceRequest.cc | 58 +- .../src/model/DescribeDcdnsecServiceResult.cc | 58 +- .../model/DescribeDdosAllEventListRequest.cc | 72 + .../model/DescribeDdosAllEventListResult.cc | 94 + .../model/DescribeEncryptRoutineUidRequest.cc | 27 + .../model/DescribeEncryptRoutineUidResult.cc | 51 + .../src/model/DescribeHighlightInfoRequest.cc | 63 + dcdn/src/model/DescribeHighlightInfoResult.cc | 61 + dcdn/src/model/DescribeKvUsageDataRequest.cc | 90 + dcdn/src/model/DescribeKvUsageDataResult.cc | 77 + .../model/DescribeRDDomainConfigRequest.cc | 45 + .../src/model/DescribeRDDomainConfigResult.cc | 73 + dcdn/src/model/DescribeRDDomainsRequest.cc | 45 + dcdn/src/model/DescribeRDDomainsResult.cc | 114 + .../model/DescribeRoutineCanaryEnvsRequest.cc | 39 +- .../DescribeRoutineCodeRevisionRequest.cc | 65 +- .../DescribeRoutineRelatedDomainsRequest.cc | 36 + .../DescribeRoutineRelatedDomainsResult.cc | 51 + dcdn/src/model/DescribeRoutineRequest.cc | 53 +- dcdn/src/model/DescribeRoutineSpecRequest.cc | 39 +- .../model/DescribeRoutineUserInfoRequest.cc | 39 +- .../model/DescribeUserDcdnIpaStatusRequest.cc | 58 +- .../model/DescribeUserDcdnIpaStatusResult.cc | 8 +- .../model/DescribeUserDcdnStatusRequest.cc | 53 +- .../src/model/DescribeUserDcdnStatusResult.cc | 8 +- dcdn/src/model/DescribeUserErStatusRequest.cc | 53 +- dcdn/src/model/DescribeUserErStatusResult.cc | 8 +- .../DescribeUserLogserviceStatusRequest.cc | 58 +- .../DescribeUserLogserviceStatusResult.cc | 8 +- dcdn/src/model/EditRoutineConfRequest.cc | 77 +- dcdn/src/model/GetDcdnKvRequest.cc | 45 + dcdn/src/model/GetDcdnKvResult.cc | 51 + dcdn/src/model/GetDcdnKvStatusRequest.cc | 45 + dcdn/src/model/GetDcdnKvStatusResult.cc | 58 + .../model/ListDcdnEsTemplateInfoRequest.cc | 84 - dcdn/src/model/ListDcdnKvRequest.cc | 63 + dcdn/src/model/ListDcdnKvResult.cc | 80 + .../ListDcdnRealTimeDeliveryProjectRequest.cc | 89 +- .../ListDcdnRealTimeDeliveryProjectResult.cc | 28 +- .../ModifyDCdnDomainSchdmByPropertyRequest.cc | 65 +- dcdn/src/model/ModifyDcdnWafGroupRequest.cc | 54 + dcdn/src/model/ModifyDcdnWafGroupResult.cc | 44 + .../ModifyDcdnWafPolicyDomainsRequest.cc | 63 + .../model/ModifyDcdnWafPolicyDomainsResult.cc | 44 + dcdn/src/model/ModifyDcdnWafPolicyRequest.cc | 54 + dcdn/src/model/ModifyDcdnWafPolicyResult.cc | 44 + dcdn/src/model/ModifyDcdnWafRuleRequest.cc | 63 + dcdn/src/model/ModifyDcdnWafRuleResult.cc | 44 + dcdn/src/model/OpenDcdnServiceRequest.cc | 82 +- .../model/PreloadDcdnObjectCachesRequest.cc | 100 +- ...ishDcdnStagingConfigToProductionRequest.cc | 65 +- .../PublishRoutineCodeRevisionRequest.cc | 77 +- dcdn/src/model/PutDcdnKvNamespaceRequest.cc | 45 + dcdn/src/model/PutDcdnKvNamespaceResult.cc | 72 + dcdn/src/model/PutDcdnKvRequest.cc | 72 + dcdn/src/model/PutDcdnKvResult.cc | 58 + .../model/PutDcdnKvWithHighCapacityRequest.cc | 54 + .../model/PutDcdnKvWithHighCapacityResult.cc | 58 + ...RefreshDcdnObjectCacheByCacheTagRequest.cc | 54 + .../RefreshDcdnObjectCacheByCacheTagResult.cc | 51 + .../model/RefreshDcdnObjectCachesRequest.cc | 91 +- .../src/model/RefreshErObjectCachesRequest.cc | 72 + dcdn/src/model/RefreshErObjectCachesResult.cc | 51 + .../model/RollbackDcdnStagingConfigRequest.cc | 53 +- .../model/SetDcdnConfigOfVersionRequest.cc | 117 - .../SetDcdnDomainCSRCertificateRequest.cc | 65 +- .../model/SetDcdnDomainCertificateRequest.cc | 154 +- .../SetDcdnDomainSMCertificateRequest.cc | 94 +- .../SetDcdnDomainSSLCertificateRequest.cc | 126 + .../SetDcdnDomainSSLCertificateResult.cc | 44 + .../SetDcdnDomainStagingConfigRequest.cc | 65 +- .../model/SetDcdnFullDomainsBlockIPRequest.cc | 82 +- dcdn/src/model/SetDcdnUserConfigRequest.cc | 94 +- dcdn/src/model/SetRoutineSubdomainRequest.cc | 53 +- dcdn/src/model/StartDcdnDomainRequest.cc | 70 +- dcdn/src/model/StartDcdnIpaDomainRequest.cc | 70 +- dcdn/src/model/StopDcdnDomainRequest.cc | 70 +- dcdn/src/model/StopDcdnIpaDomainRequest.cc | 70 +- dcdn/src/model/TagDcdnResourcesRequest.cc | 88 +- dcdn/src/model/UntagDcdnResourcesRequest.cc | 91 +- .../src/model/UpdateDcdnDeliverTaskRequest.cc | 113 +- dcdn/src/model/UpdateDcdnDomainRequest.cc | 106 +- dcdn/src/model/UpdateDcdnIpaDomainRequest.cc | 106 +- ...UpdateDcdnSLSRealtimeLogDeliveryRequest.cc | 125 +- .../UpdateDcdnSLSRealtimeLogDeliveryResult.cc | 4 +- dcdn/src/model/UpdateDcdnSubTaskRequest.cc | 89 +- ...ateDcdnUserRealTimeDeliveryFieldRequest.cc | 65 +- dcdn/src/model/UploadRoutineCodeRequest.cc | 65 +- .../model/UploadStagingRoutineCodeRequest.cc | 65 +- .../src/model/VerifyDcdnDomainOwnerRequest.cc | 65 +- 736 files changed, 32192 insertions(+), 17016 deletions(-) create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesRequest.h rename dcdn/include/alibabacloud/dcdn/model/{DcdnHttpRequestTestToolResult.h => BatchCreateDcdnWafRulesResult.h} (63%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyResult.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceRequest.h rename dcdn/include/alibabacloud/dcdn/model/{SetDcdnConfigOfVersionResult.h => DeleteDcdnKvNamespaceResult.h} (68%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyResult.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataResult.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.h rename dcdn/include/alibabacloud/dcdn/model/{DescribeDcdnConfigGroupDetailResult.h => DescribeDcdnFullDomainsBlockIPHistoryResult.h} (55%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrRequest.h rename dcdn/include/alibabacloud/dcdn/model/{DescribeDcdnEsExecuteDataResult.h => DescribeDcdnIpaDomainCidrResult.h} (61%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusRequest.h rename dcdn/include/alibabacloud/dcdn/model/{DescribeDcdnEsExceptionDataResult.h => DescribeDcdnKvAccountStatusResult.h} (61%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsRequest.h rename dcdn/include/alibabacloud/dcdn/model/{ListDcdnEsTemplateInfoResult.h => DescribeDcdnWafDomainsResult.h} (65%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigRequest.h rename dcdn/include/alibabacloud/dcdn/model/{DescribeDcdnConfigOfVersionResult.h => DescribeRDDomainConfigResult.h} (62%) create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/GetDcdnKvRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/GetDcdnKvResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusResult.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ListDcdnKvRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ListDcdnKvResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PutDcdnKvRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PutDcdnKvResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesResult.h delete mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateResult.h create mode 100644 dcdn/src/model/BatchCreateDcdnWafRulesRequest.cc rename dcdn/src/model/{DcdnHttpRequestTestToolResult.cc => BatchCreateDcdnWafRulesResult.cc} (55%) create mode 100644 dcdn/src/model/BatchDeleteDcdnKvRequest.cc create mode 100644 dcdn/src/model/BatchDeleteDcdnKvResult.cc create mode 100644 dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityRequest.cc create mode 100644 dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityResult.cc create mode 100644 dcdn/src/model/BatchDeleteDcdnWafRulesRequest.cc create mode 100644 dcdn/src/model/BatchDeleteDcdnWafRulesResult.cc create mode 100644 dcdn/src/model/BatchModifyDcdnWafRulesRequest.cc create mode 100644 dcdn/src/model/BatchModifyDcdnWafRulesResult.cc create mode 100644 dcdn/src/model/BatchPutDcdnKvRequest.cc create mode 100644 dcdn/src/model/BatchPutDcdnKvResult.cc create mode 100644 dcdn/src/model/BatchPutDcdnKvWithHighCapacityRequest.cc create mode 100644 dcdn/src/model/BatchPutDcdnKvWithHighCapacityResult.cc create mode 100644 dcdn/src/model/BatchSetDcdnWafDomainConfigsRequest.cc create mode 100644 dcdn/src/model/BatchSetDcdnWafDomainConfigsResult.cc create mode 100644 dcdn/src/model/CreateDcdnWafGroupRequest.cc create mode 100644 dcdn/src/model/CreateDcdnWafGroupResult.cc create mode 100644 dcdn/src/model/CreateDcdnWafPolicyRequest.cc create mode 100644 dcdn/src/model/CreateDcdnWafPolicyResult.cc delete mode 100644 dcdn/src/model/DcdnHttpRequestTestToolRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnKvNamespaceRequest.cc rename dcdn/src/model/{SetDcdnConfigOfVersionResult.cc => DeleteDcdnKvNamespaceResult.cc} (72%) create mode 100644 dcdn/src/model/DeleteDcdnKvRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnKvResult.cc create mode 100644 dcdn/src/model/DeleteDcdnUserConfigRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnUserConfigResult.cc create mode 100644 dcdn/src/model/DeleteDcdnWafGroupRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnWafGroupResult.cc create mode 100644 dcdn/src/model/DeleteDcdnWafPolicyRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnWafPolicyResult.cc delete mode 100644 dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc delete mode 100644 dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc delete mode 100644 dcdn/src/model/DescribeDcdnConfigOfVersionRequest.cc delete mode 100644 dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDdosServiceRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDdosServiceResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDdosSpecInfoRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDdosSpecInfoResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainBpsDataByLayerRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainBpsDataByLayerResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainIpaConnDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainIpaConnDataResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainLogExTtlRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainLogExTtlResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainQpsDataByLayerRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainQpsDataByLayerResult.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainsBySourceRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnDomainsBySourceResult.cc create mode 100644 dcdn/src/model/DescribeDcdnErUsageDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnErUsageDataResult.cc delete mode 100644 dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc delete mode 100644 dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc delete mode 100644 dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc delete mode 100644 dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc create mode 100644 dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigResult.cc create mode 100644 dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryResult.cc create mode 100644 dcdn/src/model/DescribeDcdnIpaDomainCidrRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnIpaDomainCidrResult.cc create mode 100644 dcdn/src/model/DescribeDcdnKvAccountRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnKvAccountResult.cc create mode 100644 dcdn/src/model/DescribeDcdnKvAccountStatusRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnKvAccountStatusResult.cc create mode 100644 dcdn/src/model/DescribeDcdnKvNamespaceRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnKvNamespaceResult.cc create mode 100644 dcdn/src/model/DescribeDcdnL2IpsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnL2IpsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnL2VipsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnL2VipsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnOriginSiteHealthStatusRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnOriginSiteHealthStatusResult.cc create mode 100644 dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeResult.cc create mode 100644 dcdn/src/model/DescribeDcdnSSLCertificateListRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnSSLCertificateListResult.cc create mode 100644 dcdn/src/model/DescribeDcdnUserCertificateExpireCountRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnUserCertificateExpireCountResult.cc create mode 100644 dcdn/src/model/DescribeDcdnUserConfigsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnUserConfigsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnUserVipsByDomainRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnUserVipsByDomainResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafBotAppKeyRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafBotAppKeyResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafDefaultRulesRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafDefaultRulesResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafDomainDetailRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafDomainDetailResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafDomainsRequest.cc rename dcdn/src/model/{ListDcdnEsTemplateInfoResult.cc => DescribeDcdnWafDomainsResult.cc} (50%) create mode 100644 dcdn/src/model/DescribeDcdnWafFilterInfoRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafFilterInfoResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafGeoInfoRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafGeoInfoResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafGroupRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafGroupResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafGroupsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafGroupsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafLogsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafLogsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPoliciesRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPoliciesResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPolicyDomainsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPolicyDomainsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPolicyRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPolicyResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPolicyValidDomainsRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafPolicyValidDomainsResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafRuleRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafRuleResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafRulesRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafRulesResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafScenesRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafScenesResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafServiceRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafServiceResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafSpecInfoRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafSpecInfoResult.cc create mode 100644 dcdn/src/model/DescribeDcdnWafUsageDataRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnWafUsageDataResult.cc create mode 100644 dcdn/src/model/DescribeDdosAllEventListRequest.cc create mode 100644 dcdn/src/model/DescribeDdosAllEventListResult.cc create mode 100644 dcdn/src/model/DescribeEncryptRoutineUidRequest.cc create mode 100644 dcdn/src/model/DescribeEncryptRoutineUidResult.cc create mode 100644 dcdn/src/model/DescribeHighlightInfoRequest.cc create mode 100644 dcdn/src/model/DescribeHighlightInfoResult.cc create mode 100644 dcdn/src/model/DescribeKvUsageDataRequest.cc create mode 100644 dcdn/src/model/DescribeKvUsageDataResult.cc create mode 100644 dcdn/src/model/DescribeRDDomainConfigRequest.cc create mode 100644 dcdn/src/model/DescribeRDDomainConfigResult.cc create mode 100644 dcdn/src/model/DescribeRDDomainsRequest.cc create mode 100644 dcdn/src/model/DescribeRDDomainsResult.cc create mode 100644 dcdn/src/model/DescribeRoutineRelatedDomainsRequest.cc create mode 100644 dcdn/src/model/DescribeRoutineRelatedDomainsResult.cc create mode 100644 dcdn/src/model/GetDcdnKvRequest.cc create mode 100644 dcdn/src/model/GetDcdnKvResult.cc create mode 100644 dcdn/src/model/GetDcdnKvStatusRequest.cc create mode 100644 dcdn/src/model/GetDcdnKvStatusResult.cc delete mode 100644 dcdn/src/model/ListDcdnEsTemplateInfoRequest.cc create mode 100644 dcdn/src/model/ListDcdnKvRequest.cc create mode 100644 dcdn/src/model/ListDcdnKvResult.cc create mode 100644 dcdn/src/model/ModifyDcdnWafGroupRequest.cc create mode 100644 dcdn/src/model/ModifyDcdnWafGroupResult.cc create mode 100644 dcdn/src/model/ModifyDcdnWafPolicyDomainsRequest.cc create mode 100644 dcdn/src/model/ModifyDcdnWafPolicyDomainsResult.cc create mode 100644 dcdn/src/model/ModifyDcdnWafPolicyRequest.cc create mode 100644 dcdn/src/model/ModifyDcdnWafPolicyResult.cc create mode 100644 dcdn/src/model/ModifyDcdnWafRuleRequest.cc create mode 100644 dcdn/src/model/ModifyDcdnWafRuleResult.cc create mode 100644 dcdn/src/model/PutDcdnKvNamespaceRequest.cc create mode 100644 dcdn/src/model/PutDcdnKvNamespaceResult.cc create mode 100644 dcdn/src/model/PutDcdnKvRequest.cc create mode 100644 dcdn/src/model/PutDcdnKvResult.cc create mode 100644 dcdn/src/model/PutDcdnKvWithHighCapacityRequest.cc create mode 100644 dcdn/src/model/PutDcdnKvWithHighCapacityResult.cc create mode 100644 dcdn/src/model/RefreshDcdnObjectCacheByCacheTagRequest.cc create mode 100644 dcdn/src/model/RefreshDcdnObjectCacheByCacheTagResult.cc create mode 100644 dcdn/src/model/RefreshErObjectCachesRequest.cc create mode 100644 dcdn/src/model/RefreshErObjectCachesResult.cc delete mode 100644 dcdn/src/model/SetDcdnConfigOfVersionRequest.cc create mode 100644 dcdn/src/model/SetDcdnDomainSSLCertificateRequest.cc create mode 100644 dcdn/src/model/SetDcdnDomainSSLCertificateResult.cc diff --git a/VERSION b/VERSION index 555702a94..64335d49b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1899 \ No newline at end of file +1.36.1900 \ No newline at end of file diff --git a/dcdn/CMakeLists.txt b/dcdn/CMakeLists.txt index 7ada2559c..a9528b788 100644 --- a/dcdn/CMakeLists.txt +++ b/dcdn/CMakeLists.txt @@ -27,14 +27,30 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/AddDcdnIpaDomainResult.h include/alibabacloud/dcdn/model/BatchAddDcdnDomainRequest.h include/alibabacloud/dcdn/model/BatchAddDcdnDomainResult.h + include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesRequest.h + include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesResult.h include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.h include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsResult.h + include/alibabacloud/dcdn/model/BatchDeleteDcdnKvRequest.h + include/alibabacloud/dcdn/model/BatchDeleteDcdnKvResult.h + include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityRequest.h + include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityResult.h + include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesRequest.h + include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesResult.h + include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesRequest.h + include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesResult.h + include/alibabacloud/dcdn/model/BatchPutDcdnKvRequest.h + include/alibabacloud/dcdn/model/BatchPutDcdnKvResult.h + include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityRequest.h + include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityResult.h include/alibabacloud/dcdn/model/BatchSetDcdnDomainCertificateRequest.h include/alibabacloud/dcdn/model/BatchSetDcdnDomainCertificateResult.h include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsResult.h include/alibabacloud/dcdn/model/BatchSetDcdnIpaDomainConfigsRequest.h include/alibabacloud/dcdn/model/BatchSetDcdnIpaDomainConfigsResult.h + include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsRequest.h + include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsResult.h include/alibabacloud/dcdn/model/BatchStartDcdnDomainRequest.h include/alibabacloud/dcdn/model/BatchStartDcdnDomainResult.h include/alibabacloud/dcdn/model/BatchStopDcdnDomainRequest.h @@ -51,12 +67,14 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h include/alibabacloud/dcdn/model/CreateDcdnSubTaskResult.h + include/alibabacloud/dcdn/model/CreateDcdnWafGroupRequest.h + include/alibabacloud/dcdn/model/CreateDcdnWafGroupResult.h + include/alibabacloud/dcdn/model/CreateDcdnWafPolicyRequest.h + include/alibabacloud/dcdn/model/CreateDcdnWafPolicyResult.h include/alibabacloud/dcdn/model/CreateRoutineRequest.h include/alibabacloud/dcdn/model/CreateRoutineResult.h include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectResult.h - include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolRequest.h - include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolResult.h include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskResult.h include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h @@ -65,6 +83,10 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainResult.h include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigRequest.h include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigResult.h + include/alibabacloud/dcdn/model/DeleteDcdnKvRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnKvResult.h + include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceResult.h include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectResult.h include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h @@ -73,6 +95,12 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigResult.h include/alibabacloud/dcdn/model/DeleteDcdnSubTaskRequest.h include/alibabacloud/dcdn/model/DeleteDcdnSubTaskResult.h + include/alibabacloud/dcdn/model/DeleteDcdnUserConfigRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnUserConfigResult.h + include/alibabacloud/dcdn/model/DeleteDcdnWafGroupRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnWafGroupResult.h + include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyResult.h include/alibabacloud/dcdn/model/DeleteRoutineRequest.h include/alibabacloud/dcdn/model/DeleteRoutineResult.h include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.h @@ -91,16 +119,18 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h - include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h - include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h - include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h - include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoResult.h include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsResult.h include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDeliverListResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h @@ -117,14 +147,20 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaBpsDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaTrafficDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaTrafficDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainLogResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h @@ -137,6 +173,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainPvDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeBpsDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.h @@ -177,14 +215,20 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataResult.h - include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h - include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h - include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h - include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceResult.h + include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigResult.h + include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryResult.h include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h + include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.h @@ -193,6 +237,18 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceResult.h include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnKvAccountRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnKvAccountResult.h + include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusResult.h + include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceResult.h + include/alibabacloud/dcdn/model/DescribeDcdnL2IpsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnL2IpsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnL2VipsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnL2VipsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusResult.h include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h @@ -207,12 +263,16 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnReportResult.h include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnReportListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeResult.h include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListResult.h include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoRequest.h include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoResult.h include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h @@ -231,6 +291,10 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnUserBillHistoryResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h @@ -247,18 +311,72 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainResult.h include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesResult.h include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h include/alibabacloud/dcdn/model/DescribeDcdnWafDomainResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafGroupRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafGroupResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafLogsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafLogsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafRuleRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafRuleResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafRulesRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafRulesResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafScenesRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafScenesResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafServiceRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafServiceResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoResult.h + include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h + include/alibabacloud/dcdn/model/DescribeDdosAllEventListRequest.h + include/alibabacloud/dcdn/model/DescribeDdosAllEventListResult.h + include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidRequest.h + include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidResult.h + include/alibabacloud/dcdn/model/DescribeHighlightInfoRequest.h + include/alibabacloud/dcdn/model/DescribeHighlightInfoResult.h + include/alibabacloud/dcdn/model/DescribeKvUsageDataRequest.h + include/alibabacloud/dcdn/model/DescribeKvUsageDataResult.h + include/alibabacloud/dcdn/model/DescribeRDDomainConfigRequest.h + include/alibabacloud/dcdn/model/DescribeRDDomainConfigResult.h + include/alibabacloud/dcdn/model/DescribeRDDomainsRequest.h + include/alibabacloud/dcdn/model/DescribeRDDomainsResult.h include/alibabacloud/dcdn/model/DescribeRoutineRequest.h include/alibabacloud/dcdn/model/DescribeRoutineResult.h include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsRequest.h include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsResult.h include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionResult.h + include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsRequest.h + include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsResult.h include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h include/alibabacloud/dcdn/model/DescribeRoutineSpecResult.h include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h @@ -273,12 +391,24 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusResult.h include/alibabacloud/dcdn/model/EditRoutineConfRequest.h include/alibabacloud/dcdn/model/EditRoutineConfResult.h - include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoRequest.h - include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoResult.h + include/alibabacloud/dcdn/model/GetDcdnKvRequest.h + include/alibabacloud/dcdn/model/GetDcdnKvResult.h + include/alibabacloud/dcdn/model/GetDcdnKvStatusRequest.h + include/alibabacloud/dcdn/model/GetDcdnKvStatusResult.h + include/alibabacloud/dcdn/model/ListDcdnKvRequest.h + include/alibabacloud/dcdn/model/ListDcdnKvResult.h include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h + include/alibabacloud/dcdn/model/ModifyDcdnWafGroupRequest.h + include/alibabacloud/dcdn/model/ModifyDcdnWafGroupResult.h + include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyRequest.h + include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyResult.h + include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsRequest.h + include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsResult.h + include/alibabacloud/dcdn/model/ModifyDcdnWafRuleRequest.h + include/alibabacloud/dcdn/model/ModifyDcdnWafRuleResult.h include/alibabacloud/dcdn/model/OpenDcdnServiceRequest.h include/alibabacloud/dcdn/model/OpenDcdnServiceResult.h include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h @@ -287,18 +417,28 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionResult.h + include/alibabacloud/dcdn/model/PutDcdnKvRequest.h + include/alibabacloud/dcdn/model/PutDcdnKvResult.h + include/alibabacloud/dcdn/model/PutDcdnKvNamespaceRequest.h + include/alibabacloud/dcdn/model/PutDcdnKvNamespaceResult.h + include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityRequest.h + include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityResult.h + include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagRequest.h + include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagResult.h include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesResult.h + include/alibabacloud/dcdn/model/RefreshErObjectCachesRequest.h + include/alibabacloud/dcdn/model/RefreshErObjectCachesResult.h include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigResult.h - include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h - include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h + include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateRequest.h + include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h @@ -346,14 +486,30 @@ set(dcdn_src src/model/AddDcdnIpaDomainResult.cc src/model/BatchAddDcdnDomainRequest.cc src/model/BatchAddDcdnDomainResult.cc + src/model/BatchCreateDcdnWafRulesRequest.cc + src/model/BatchCreateDcdnWafRulesResult.cc src/model/BatchDeleteDcdnDomainConfigsRequest.cc src/model/BatchDeleteDcdnDomainConfigsResult.cc + src/model/BatchDeleteDcdnKvRequest.cc + src/model/BatchDeleteDcdnKvResult.cc + src/model/BatchDeleteDcdnKvWithHighCapacityRequest.cc + src/model/BatchDeleteDcdnKvWithHighCapacityResult.cc + src/model/BatchDeleteDcdnWafRulesRequest.cc + src/model/BatchDeleteDcdnWafRulesResult.cc + src/model/BatchModifyDcdnWafRulesRequest.cc + src/model/BatchModifyDcdnWafRulesResult.cc + src/model/BatchPutDcdnKvRequest.cc + src/model/BatchPutDcdnKvResult.cc + src/model/BatchPutDcdnKvWithHighCapacityRequest.cc + src/model/BatchPutDcdnKvWithHighCapacityResult.cc src/model/BatchSetDcdnDomainCertificateRequest.cc src/model/BatchSetDcdnDomainCertificateResult.cc src/model/BatchSetDcdnDomainConfigsRequest.cc src/model/BatchSetDcdnDomainConfigsResult.cc src/model/BatchSetDcdnIpaDomainConfigsRequest.cc src/model/BatchSetDcdnIpaDomainConfigsResult.cc + src/model/BatchSetDcdnWafDomainConfigsRequest.cc + src/model/BatchSetDcdnWafDomainConfigsResult.cc src/model/BatchStartDcdnDomainRequest.cc src/model/BatchStartDcdnDomainResult.cc src/model/BatchStopDcdnDomainRequest.cc @@ -370,12 +526,14 @@ set(dcdn_src src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc src/model/CreateDcdnSubTaskRequest.cc src/model/CreateDcdnSubTaskResult.cc + src/model/CreateDcdnWafGroupRequest.cc + src/model/CreateDcdnWafGroupResult.cc + src/model/CreateDcdnWafPolicyRequest.cc + src/model/CreateDcdnWafPolicyResult.cc src/model/CreateRoutineRequest.cc src/model/CreateRoutineResult.cc src/model/CreateSlrAndSlsProjectRequest.cc src/model/CreateSlrAndSlsProjectResult.cc - src/model/DcdnHttpRequestTestToolRequest.cc - src/model/DcdnHttpRequestTestToolResult.cc src/model/DeleteDcdnDeliverTaskRequest.cc src/model/DeleteDcdnDeliverTaskResult.cc src/model/DeleteDcdnDomainRequest.cc @@ -384,6 +542,10 @@ set(dcdn_src src/model/DeleteDcdnIpaDomainResult.cc src/model/DeleteDcdnIpaSpecificConfigRequest.cc src/model/DeleteDcdnIpaSpecificConfigResult.cc + src/model/DeleteDcdnKvRequest.cc + src/model/DeleteDcdnKvResult.cc + src/model/DeleteDcdnKvNamespaceRequest.cc + src/model/DeleteDcdnKvNamespaceResult.cc src/model/DeleteDcdnRealTimeLogProjectRequest.cc src/model/DeleteDcdnRealTimeLogProjectResult.cc src/model/DeleteDcdnSpecificConfigRequest.cc @@ -392,6 +554,12 @@ set(dcdn_src src/model/DeleteDcdnSpecificStagingConfigResult.cc src/model/DeleteDcdnSubTaskRequest.cc src/model/DeleteDcdnSubTaskResult.cc + src/model/DeleteDcdnUserConfigRequest.cc + src/model/DeleteDcdnUserConfigResult.cc + src/model/DeleteDcdnWafGroupRequest.cc + src/model/DeleteDcdnWafGroupResult.cc + src/model/DeleteDcdnWafPolicyRequest.cc + src/model/DeleteDcdnWafPolicyResult.cc src/model/DeleteRoutineRequest.cc src/model/DeleteRoutineResult.cc src/model/DeleteRoutineCodeRevisionRequest.cc @@ -410,16 +578,18 @@ set(dcdn_src src/model/DescribeDcdnCertificateDetailResult.cc src/model/DescribeDcdnCertificateListRequest.cc src/model/DescribeDcdnCertificateListResult.cc - src/model/DescribeDcdnConfigGroupDetailRequest.cc - src/model/DescribeDcdnConfigGroupDetailResult.cc - src/model/DescribeDcdnConfigOfVersionRequest.cc - src/model/DescribeDcdnConfigOfVersionResult.cc + src/model/DescribeDcdnDdosServiceRequest.cc + src/model/DescribeDcdnDdosServiceResult.cc + src/model/DescribeDcdnDdosSpecInfoRequest.cc + src/model/DescribeDcdnDdosSpecInfoResult.cc src/model/DescribeDcdnDeletedDomainsRequest.cc src/model/DescribeDcdnDeletedDomainsResult.cc src/model/DescribeDcdnDeliverListRequest.cc src/model/DescribeDcdnDeliverListResult.cc src/model/DescribeDcdnDomainBpsDataRequest.cc src/model/DescribeDcdnDomainBpsDataResult.cc + src/model/DescribeDcdnDomainBpsDataByLayerRequest.cc + src/model/DescribeDcdnDomainBpsDataByLayerResult.cc src/model/DescribeDcdnDomainByCertificateRequest.cc src/model/DescribeDcdnDomainByCertificateResult.cc src/model/DescribeDcdnDomainCcActivityLogRequest.cc @@ -436,14 +606,20 @@ set(dcdn_src src/model/DescribeDcdnDomainHitRateDataResult.cc src/model/DescribeDcdnDomainHttpCodeDataRequest.cc src/model/DescribeDcdnDomainHttpCodeDataResult.cc + src/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.cc + src/model/DescribeDcdnDomainHttpCodeDataByLayerResult.cc src/model/DescribeDcdnDomainIpaBpsDataRequest.cc src/model/DescribeDcdnDomainIpaBpsDataResult.cc + src/model/DescribeDcdnDomainIpaConnDataRequest.cc + src/model/DescribeDcdnDomainIpaConnDataResult.cc src/model/DescribeDcdnDomainIpaTrafficDataRequest.cc src/model/DescribeDcdnDomainIpaTrafficDataResult.cc src/model/DescribeDcdnDomainIspDataRequest.cc src/model/DescribeDcdnDomainIspDataResult.cc src/model/DescribeDcdnDomainLogRequest.cc src/model/DescribeDcdnDomainLogResult.cc + src/model/DescribeDcdnDomainLogExTtlRequest.cc + src/model/DescribeDcdnDomainLogExTtlResult.cc src/model/DescribeDcdnDomainMultiUsageDataRequest.cc src/model/DescribeDcdnDomainMultiUsageDataResult.cc src/model/DescribeDcdnDomainOriginBpsDataRequest.cc @@ -456,6 +632,8 @@ set(dcdn_src src/model/DescribeDcdnDomainPvDataResult.cc src/model/DescribeDcdnDomainQpsDataRequest.cc src/model/DescribeDcdnDomainQpsDataResult.cc + src/model/DescribeDcdnDomainQpsDataByLayerRequest.cc + src/model/DescribeDcdnDomainQpsDataByLayerResult.cc src/model/DescribeDcdnDomainRealTimeBpsDataRequest.cc src/model/DescribeDcdnDomainRealTimeBpsDataResult.cc src/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.cc @@ -496,14 +674,20 @@ set(dcdn_src src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc - src/model/DescribeDcdnEsExceptionDataRequest.cc - src/model/DescribeDcdnEsExceptionDataResult.cc - src/model/DescribeDcdnEsExecuteDataRequest.cc - src/model/DescribeDcdnEsExecuteDataResult.cc + src/model/DescribeDcdnDomainsBySourceRequest.cc + src/model/DescribeDcdnDomainsBySourceResult.cc + src/model/DescribeDcdnErUsageDataRequest.cc + src/model/DescribeDcdnErUsageDataResult.cc + src/model/DescribeDcdnFullDomainsBlockIPConfigRequest.cc + src/model/DescribeDcdnFullDomainsBlockIPConfigResult.cc + src/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.cc + src/model/DescribeDcdnFullDomainsBlockIPHistoryResult.cc src/model/DescribeDcdnHttpsDomainListRequest.cc src/model/DescribeDcdnHttpsDomainListResult.cc src/model/DescribeDcdnIpInfoRequest.cc src/model/DescribeDcdnIpInfoResult.cc + src/model/DescribeDcdnIpaDomainCidrRequest.cc + src/model/DescribeDcdnIpaDomainCidrResult.cc src/model/DescribeDcdnIpaDomainConfigsRequest.cc src/model/DescribeDcdnIpaDomainConfigsResult.cc src/model/DescribeDcdnIpaDomainDetailRequest.cc @@ -512,6 +696,18 @@ set(dcdn_src src/model/DescribeDcdnIpaServiceResult.cc src/model/DescribeDcdnIpaUserDomainsRequest.cc src/model/DescribeDcdnIpaUserDomainsResult.cc + src/model/DescribeDcdnKvAccountRequest.cc + src/model/DescribeDcdnKvAccountResult.cc + src/model/DescribeDcdnKvAccountStatusRequest.cc + src/model/DescribeDcdnKvAccountStatusResult.cc + src/model/DescribeDcdnKvNamespaceRequest.cc + src/model/DescribeDcdnKvNamespaceResult.cc + src/model/DescribeDcdnL2IpsRequest.cc + src/model/DescribeDcdnL2IpsResult.cc + src/model/DescribeDcdnL2VipsRequest.cc + src/model/DescribeDcdnL2VipsResult.cc + src/model/DescribeDcdnOriginSiteHealthStatusRequest.cc + src/model/DescribeDcdnOriginSiteHealthStatusResult.cc src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc src/model/DescribeDcdnRefreshQuotaRequest.cc @@ -526,12 +722,16 @@ set(dcdn_src src/model/DescribeDcdnReportResult.cc src/model/DescribeDcdnReportListRequest.cc src/model/DescribeDcdnReportListResult.cc + src/model/DescribeDcdnSLSRealTimeLogTypeRequest.cc + src/model/DescribeDcdnSLSRealTimeLogTypeResult.cc src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc src/model/DescribeDcdnSMCertificateDetailRequest.cc src/model/DescribeDcdnSMCertificateDetailResult.cc src/model/DescribeDcdnSMCertificateListRequest.cc src/model/DescribeDcdnSMCertificateListResult.cc + src/model/DescribeDcdnSSLCertificateListRequest.cc + src/model/DescribeDcdnSSLCertificateListResult.cc src/model/DescribeDcdnSecFuncInfoRequest.cc src/model/DescribeDcdnSecFuncInfoResult.cc src/model/DescribeDcdnSecSpecInfoRequest.cc @@ -550,6 +750,10 @@ set(dcdn_src src/model/DescribeDcdnUserBillHistoryResult.cc src/model/DescribeDcdnUserBillTypeRequest.cc src/model/DescribeDcdnUserBillTypeResult.cc + src/model/DescribeDcdnUserCertificateExpireCountRequest.cc + src/model/DescribeDcdnUserCertificateExpireCountResult.cc + src/model/DescribeDcdnUserConfigsRequest.cc + src/model/DescribeDcdnUserConfigsResult.cc src/model/DescribeDcdnUserDomainsRequest.cc src/model/DescribeDcdnUserDomainsResult.cc src/model/DescribeDcdnUserDomainsByFuncRequest.cc @@ -566,18 +770,72 @@ set(dcdn_src src/model/DescribeDcdnUserSecDropByMinuteResult.cc src/model/DescribeDcdnUserTagsRequest.cc src/model/DescribeDcdnUserTagsResult.cc + src/model/DescribeDcdnUserVipsByDomainRequest.cc + src/model/DescribeDcdnUserVipsByDomainResult.cc src/model/DescribeDcdnVerifyContentRequest.cc src/model/DescribeDcdnVerifyContentResult.cc + src/model/DescribeDcdnWafBotAppKeyRequest.cc + src/model/DescribeDcdnWafBotAppKeyResult.cc + src/model/DescribeDcdnWafDefaultRulesRequest.cc + src/model/DescribeDcdnWafDefaultRulesResult.cc src/model/DescribeDcdnWafDomainRequest.cc src/model/DescribeDcdnWafDomainResult.cc + src/model/DescribeDcdnWafDomainDetailRequest.cc + src/model/DescribeDcdnWafDomainDetailResult.cc + src/model/DescribeDcdnWafDomainsRequest.cc + src/model/DescribeDcdnWafDomainsResult.cc + src/model/DescribeDcdnWafFilterInfoRequest.cc + src/model/DescribeDcdnWafFilterInfoResult.cc + src/model/DescribeDcdnWafGeoInfoRequest.cc + src/model/DescribeDcdnWafGeoInfoResult.cc + src/model/DescribeDcdnWafGroupRequest.cc + src/model/DescribeDcdnWafGroupResult.cc + src/model/DescribeDcdnWafGroupsRequest.cc + src/model/DescribeDcdnWafGroupsResult.cc + src/model/DescribeDcdnWafLogsRequest.cc + src/model/DescribeDcdnWafLogsResult.cc + src/model/DescribeDcdnWafPoliciesRequest.cc + src/model/DescribeDcdnWafPoliciesResult.cc + src/model/DescribeDcdnWafPolicyRequest.cc + src/model/DescribeDcdnWafPolicyResult.cc + src/model/DescribeDcdnWafPolicyDomainsRequest.cc + src/model/DescribeDcdnWafPolicyDomainsResult.cc + src/model/DescribeDcdnWafPolicyValidDomainsRequest.cc + src/model/DescribeDcdnWafPolicyValidDomainsResult.cc + src/model/DescribeDcdnWafRuleRequest.cc + src/model/DescribeDcdnWafRuleResult.cc + src/model/DescribeDcdnWafRulesRequest.cc + src/model/DescribeDcdnWafRulesResult.cc + src/model/DescribeDcdnWafScenesRequest.cc + src/model/DescribeDcdnWafScenesResult.cc + src/model/DescribeDcdnWafServiceRequest.cc + src/model/DescribeDcdnWafServiceResult.cc + src/model/DescribeDcdnWafSpecInfoRequest.cc + src/model/DescribeDcdnWafSpecInfoResult.cc + src/model/DescribeDcdnWafUsageDataRequest.cc + src/model/DescribeDcdnWafUsageDataResult.cc src/model/DescribeDcdnsecServiceRequest.cc src/model/DescribeDcdnsecServiceResult.cc + src/model/DescribeDdosAllEventListRequest.cc + src/model/DescribeDdosAllEventListResult.cc + src/model/DescribeEncryptRoutineUidRequest.cc + src/model/DescribeEncryptRoutineUidResult.cc + src/model/DescribeHighlightInfoRequest.cc + src/model/DescribeHighlightInfoResult.cc + src/model/DescribeKvUsageDataRequest.cc + src/model/DescribeKvUsageDataResult.cc + src/model/DescribeRDDomainConfigRequest.cc + src/model/DescribeRDDomainConfigResult.cc + src/model/DescribeRDDomainsRequest.cc + src/model/DescribeRDDomainsResult.cc src/model/DescribeRoutineRequest.cc src/model/DescribeRoutineResult.cc src/model/DescribeRoutineCanaryEnvsRequest.cc src/model/DescribeRoutineCanaryEnvsResult.cc src/model/DescribeRoutineCodeRevisionRequest.cc src/model/DescribeRoutineCodeRevisionResult.cc + src/model/DescribeRoutineRelatedDomainsRequest.cc + src/model/DescribeRoutineRelatedDomainsResult.cc src/model/DescribeRoutineSpecRequest.cc src/model/DescribeRoutineSpecResult.cc src/model/DescribeRoutineUserInfoRequest.cc @@ -592,12 +850,24 @@ set(dcdn_src src/model/DescribeUserLogserviceStatusResult.cc src/model/EditRoutineConfRequest.cc src/model/EditRoutineConfResult.cc - src/model/ListDcdnEsTemplateInfoRequest.cc - src/model/ListDcdnEsTemplateInfoResult.cc + src/model/GetDcdnKvRequest.cc + src/model/GetDcdnKvResult.cc + src/model/GetDcdnKvStatusRequest.cc + src/model/GetDcdnKvStatusResult.cc + src/model/ListDcdnKvRequest.cc + src/model/ListDcdnKvResult.cc src/model/ListDcdnRealTimeDeliveryProjectRequest.cc src/model/ListDcdnRealTimeDeliveryProjectResult.cc src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc src/model/ModifyDCdnDomainSchdmByPropertyResult.cc + src/model/ModifyDcdnWafGroupRequest.cc + src/model/ModifyDcdnWafGroupResult.cc + src/model/ModifyDcdnWafPolicyRequest.cc + src/model/ModifyDcdnWafPolicyResult.cc + src/model/ModifyDcdnWafPolicyDomainsRequest.cc + src/model/ModifyDcdnWafPolicyDomainsResult.cc + src/model/ModifyDcdnWafRuleRequest.cc + src/model/ModifyDcdnWafRuleResult.cc src/model/OpenDcdnServiceRequest.cc src/model/OpenDcdnServiceResult.cc src/model/PreloadDcdnObjectCachesRequest.cc @@ -606,18 +876,28 @@ set(dcdn_src src/model/PublishDcdnStagingConfigToProductionResult.cc src/model/PublishRoutineCodeRevisionRequest.cc src/model/PublishRoutineCodeRevisionResult.cc + src/model/PutDcdnKvRequest.cc + src/model/PutDcdnKvResult.cc + src/model/PutDcdnKvNamespaceRequest.cc + src/model/PutDcdnKvNamespaceResult.cc + src/model/PutDcdnKvWithHighCapacityRequest.cc + src/model/PutDcdnKvWithHighCapacityResult.cc + src/model/RefreshDcdnObjectCacheByCacheTagRequest.cc + src/model/RefreshDcdnObjectCacheByCacheTagResult.cc src/model/RefreshDcdnObjectCachesRequest.cc src/model/RefreshDcdnObjectCachesResult.cc + src/model/RefreshErObjectCachesRequest.cc + src/model/RefreshErObjectCachesResult.cc src/model/RollbackDcdnStagingConfigRequest.cc src/model/RollbackDcdnStagingConfigResult.cc - src/model/SetDcdnConfigOfVersionRequest.cc - src/model/SetDcdnConfigOfVersionResult.cc src/model/SetDcdnDomainCSRCertificateRequest.cc src/model/SetDcdnDomainCSRCertificateResult.cc src/model/SetDcdnDomainCertificateRequest.cc src/model/SetDcdnDomainCertificateResult.cc src/model/SetDcdnDomainSMCertificateRequest.cc src/model/SetDcdnDomainSMCertificateResult.cc + src/model/SetDcdnDomainSSLCertificateRequest.cc + src/model/SetDcdnDomainSSLCertificateResult.cc src/model/SetDcdnDomainStagingConfigRequest.cc src/model/SetDcdnDomainStagingConfigResult.cc src/model/SetDcdnFullDomainsBlockIPRequest.cc diff --git a/dcdn/include/alibabacloud/dcdn/DcdnClient.h b/dcdn/include/alibabacloud/dcdn/DcdnClient.h index f19663cc9..be327c4a1 100644 --- a/dcdn/include/alibabacloud/dcdn/DcdnClient.h +++ b/dcdn/include/alibabacloud/dcdn/DcdnClient.h @@ -28,14 +28,30 @@ #include "model/AddDcdnIpaDomainResult.h" #include "model/BatchAddDcdnDomainRequest.h" #include "model/BatchAddDcdnDomainResult.h" +#include "model/BatchCreateDcdnWafRulesRequest.h" +#include "model/BatchCreateDcdnWafRulesResult.h" #include "model/BatchDeleteDcdnDomainConfigsRequest.h" #include "model/BatchDeleteDcdnDomainConfigsResult.h" +#include "model/BatchDeleteDcdnKvRequest.h" +#include "model/BatchDeleteDcdnKvResult.h" +#include "model/BatchDeleteDcdnKvWithHighCapacityRequest.h" +#include "model/BatchDeleteDcdnKvWithHighCapacityResult.h" +#include "model/BatchDeleteDcdnWafRulesRequest.h" +#include "model/BatchDeleteDcdnWafRulesResult.h" +#include "model/BatchModifyDcdnWafRulesRequest.h" +#include "model/BatchModifyDcdnWafRulesResult.h" +#include "model/BatchPutDcdnKvRequest.h" +#include "model/BatchPutDcdnKvResult.h" +#include "model/BatchPutDcdnKvWithHighCapacityRequest.h" +#include "model/BatchPutDcdnKvWithHighCapacityResult.h" #include "model/BatchSetDcdnDomainCertificateRequest.h" #include "model/BatchSetDcdnDomainCertificateResult.h" #include "model/BatchSetDcdnDomainConfigsRequest.h" #include "model/BatchSetDcdnDomainConfigsResult.h" #include "model/BatchSetDcdnIpaDomainConfigsRequest.h" #include "model/BatchSetDcdnIpaDomainConfigsResult.h" +#include "model/BatchSetDcdnWafDomainConfigsRequest.h" +#include "model/BatchSetDcdnWafDomainConfigsResult.h" #include "model/BatchStartDcdnDomainRequest.h" #include "model/BatchStartDcdnDomainResult.h" #include "model/BatchStopDcdnDomainRequest.h" @@ -52,12 +68,14 @@ #include "model/CreateDcdnSLSRealTimeLogDeliveryResult.h" #include "model/CreateDcdnSubTaskRequest.h" #include "model/CreateDcdnSubTaskResult.h" +#include "model/CreateDcdnWafGroupRequest.h" +#include "model/CreateDcdnWafGroupResult.h" +#include "model/CreateDcdnWafPolicyRequest.h" +#include "model/CreateDcdnWafPolicyResult.h" #include "model/CreateRoutineRequest.h" #include "model/CreateRoutineResult.h" #include "model/CreateSlrAndSlsProjectRequest.h" #include "model/CreateSlrAndSlsProjectResult.h" -#include "model/DcdnHttpRequestTestToolRequest.h" -#include "model/DcdnHttpRequestTestToolResult.h" #include "model/DeleteDcdnDeliverTaskRequest.h" #include "model/DeleteDcdnDeliverTaskResult.h" #include "model/DeleteDcdnDomainRequest.h" @@ -66,6 +84,10 @@ #include "model/DeleteDcdnIpaDomainResult.h" #include "model/DeleteDcdnIpaSpecificConfigRequest.h" #include "model/DeleteDcdnIpaSpecificConfigResult.h" +#include "model/DeleteDcdnKvRequest.h" +#include "model/DeleteDcdnKvResult.h" +#include "model/DeleteDcdnKvNamespaceRequest.h" +#include "model/DeleteDcdnKvNamespaceResult.h" #include "model/DeleteDcdnRealTimeLogProjectRequest.h" #include "model/DeleteDcdnRealTimeLogProjectResult.h" #include "model/DeleteDcdnSpecificConfigRequest.h" @@ -74,6 +96,12 @@ #include "model/DeleteDcdnSpecificStagingConfigResult.h" #include "model/DeleteDcdnSubTaskRequest.h" #include "model/DeleteDcdnSubTaskResult.h" +#include "model/DeleteDcdnUserConfigRequest.h" +#include "model/DeleteDcdnUserConfigResult.h" +#include "model/DeleteDcdnWafGroupRequest.h" +#include "model/DeleteDcdnWafGroupResult.h" +#include "model/DeleteDcdnWafPolicyRequest.h" +#include "model/DeleteDcdnWafPolicyResult.h" #include "model/DeleteRoutineRequest.h" #include "model/DeleteRoutineResult.h" #include "model/DeleteRoutineCodeRevisionRequest.h" @@ -92,16 +120,18 @@ #include "model/DescribeDcdnCertificateDetailResult.h" #include "model/DescribeDcdnCertificateListRequest.h" #include "model/DescribeDcdnCertificateListResult.h" -#include "model/DescribeDcdnConfigGroupDetailRequest.h" -#include "model/DescribeDcdnConfigGroupDetailResult.h" -#include "model/DescribeDcdnConfigOfVersionRequest.h" -#include "model/DescribeDcdnConfigOfVersionResult.h" +#include "model/DescribeDcdnDdosServiceRequest.h" +#include "model/DescribeDcdnDdosServiceResult.h" +#include "model/DescribeDcdnDdosSpecInfoRequest.h" +#include "model/DescribeDcdnDdosSpecInfoResult.h" #include "model/DescribeDcdnDeletedDomainsRequest.h" #include "model/DescribeDcdnDeletedDomainsResult.h" #include "model/DescribeDcdnDeliverListRequest.h" #include "model/DescribeDcdnDeliverListResult.h" #include "model/DescribeDcdnDomainBpsDataRequest.h" #include "model/DescribeDcdnDomainBpsDataResult.h" +#include "model/DescribeDcdnDomainBpsDataByLayerRequest.h" +#include "model/DescribeDcdnDomainBpsDataByLayerResult.h" #include "model/DescribeDcdnDomainByCertificateRequest.h" #include "model/DescribeDcdnDomainByCertificateResult.h" #include "model/DescribeDcdnDomainCcActivityLogRequest.h" @@ -118,14 +148,20 @@ #include "model/DescribeDcdnDomainHitRateDataResult.h" #include "model/DescribeDcdnDomainHttpCodeDataRequest.h" #include "model/DescribeDcdnDomainHttpCodeDataResult.h" +#include "model/DescribeDcdnDomainHttpCodeDataByLayerRequest.h" +#include "model/DescribeDcdnDomainHttpCodeDataByLayerResult.h" #include "model/DescribeDcdnDomainIpaBpsDataRequest.h" #include "model/DescribeDcdnDomainIpaBpsDataResult.h" +#include "model/DescribeDcdnDomainIpaConnDataRequest.h" +#include "model/DescribeDcdnDomainIpaConnDataResult.h" #include "model/DescribeDcdnDomainIpaTrafficDataRequest.h" #include "model/DescribeDcdnDomainIpaTrafficDataResult.h" #include "model/DescribeDcdnDomainIspDataRequest.h" #include "model/DescribeDcdnDomainIspDataResult.h" #include "model/DescribeDcdnDomainLogRequest.h" #include "model/DescribeDcdnDomainLogResult.h" +#include "model/DescribeDcdnDomainLogExTtlRequest.h" +#include "model/DescribeDcdnDomainLogExTtlResult.h" #include "model/DescribeDcdnDomainMultiUsageDataRequest.h" #include "model/DescribeDcdnDomainMultiUsageDataResult.h" #include "model/DescribeDcdnDomainOriginBpsDataRequest.h" @@ -138,6 +174,8 @@ #include "model/DescribeDcdnDomainPvDataResult.h" #include "model/DescribeDcdnDomainQpsDataRequest.h" #include "model/DescribeDcdnDomainQpsDataResult.h" +#include "model/DescribeDcdnDomainQpsDataByLayerRequest.h" +#include "model/DescribeDcdnDomainQpsDataByLayerResult.h" #include "model/DescribeDcdnDomainRealTimeBpsDataRequest.h" #include "model/DescribeDcdnDomainRealTimeBpsDataResult.h" #include "model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.h" @@ -178,14 +216,20 @@ #include "model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h" #include "model/DescribeDcdnDomainWebsocketTrafficDataRequest.h" #include "model/DescribeDcdnDomainWebsocketTrafficDataResult.h" -#include "model/DescribeDcdnEsExceptionDataRequest.h" -#include "model/DescribeDcdnEsExceptionDataResult.h" -#include "model/DescribeDcdnEsExecuteDataRequest.h" -#include "model/DescribeDcdnEsExecuteDataResult.h" +#include "model/DescribeDcdnDomainsBySourceRequest.h" +#include "model/DescribeDcdnDomainsBySourceResult.h" +#include "model/DescribeDcdnErUsageDataRequest.h" +#include "model/DescribeDcdnErUsageDataResult.h" +#include "model/DescribeDcdnFullDomainsBlockIPConfigRequest.h" +#include "model/DescribeDcdnFullDomainsBlockIPConfigResult.h" +#include "model/DescribeDcdnFullDomainsBlockIPHistoryRequest.h" +#include "model/DescribeDcdnFullDomainsBlockIPHistoryResult.h" #include "model/DescribeDcdnHttpsDomainListRequest.h" #include "model/DescribeDcdnHttpsDomainListResult.h" #include "model/DescribeDcdnIpInfoRequest.h" #include "model/DescribeDcdnIpInfoResult.h" +#include "model/DescribeDcdnIpaDomainCidrRequest.h" +#include "model/DescribeDcdnIpaDomainCidrResult.h" #include "model/DescribeDcdnIpaDomainConfigsRequest.h" #include "model/DescribeDcdnIpaDomainConfigsResult.h" #include "model/DescribeDcdnIpaDomainDetailRequest.h" @@ -194,6 +238,18 @@ #include "model/DescribeDcdnIpaServiceResult.h" #include "model/DescribeDcdnIpaUserDomainsRequest.h" #include "model/DescribeDcdnIpaUserDomainsResult.h" +#include "model/DescribeDcdnKvAccountRequest.h" +#include "model/DescribeDcdnKvAccountResult.h" +#include "model/DescribeDcdnKvAccountStatusRequest.h" +#include "model/DescribeDcdnKvAccountStatusResult.h" +#include "model/DescribeDcdnKvNamespaceRequest.h" +#include "model/DescribeDcdnKvNamespaceResult.h" +#include "model/DescribeDcdnL2IpsRequest.h" +#include "model/DescribeDcdnL2IpsResult.h" +#include "model/DescribeDcdnL2VipsRequest.h" +#include "model/DescribeDcdnL2VipsResult.h" +#include "model/DescribeDcdnOriginSiteHealthStatusRequest.h" +#include "model/DescribeDcdnOriginSiteHealthStatusResult.h" #include "model/DescribeDcdnRealTimeDeliveryFieldRequest.h" #include "model/DescribeDcdnRealTimeDeliveryFieldResult.h" #include "model/DescribeDcdnRefreshQuotaRequest.h" @@ -208,12 +264,16 @@ #include "model/DescribeDcdnReportResult.h" #include "model/DescribeDcdnReportListRequest.h" #include "model/DescribeDcdnReportListResult.h" +#include "model/DescribeDcdnSLSRealTimeLogTypeRequest.h" +#include "model/DescribeDcdnSLSRealTimeLogTypeResult.h" #include "model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h" #include "model/DescribeDcdnSLSRealtimeLogDeliveryResult.h" #include "model/DescribeDcdnSMCertificateDetailRequest.h" #include "model/DescribeDcdnSMCertificateDetailResult.h" #include "model/DescribeDcdnSMCertificateListRequest.h" #include "model/DescribeDcdnSMCertificateListResult.h" +#include "model/DescribeDcdnSSLCertificateListRequest.h" +#include "model/DescribeDcdnSSLCertificateListResult.h" #include "model/DescribeDcdnSecFuncInfoRequest.h" #include "model/DescribeDcdnSecFuncInfoResult.h" #include "model/DescribeDcdnSecSpecInfoRequest.h" @@ -232,6 +292,10 @@ #include "model/DescribeDcdnUserBillHistoryResult.h" #include "model/DescribeDcdnUserBillTypeRequest.h" #include "model/DescribeDcdnUserBillTypeResult.h" +#include "model/DescribeDcdnUserCertificateExpireCountRequest.h" +#include "model/DescribeDcdnUserCertificateExpireCountResult.h" +#include "model/DescribeDcdnUserConfigsRequest.h" +#include "model/DescribeDcdnUserConfigsResult.h" #include "model/DescribeDcdnUserDomainsRequest.h" #include "model/DescribeDcdnUserDomainsResult.h" #include "model/DescribeDcdnUserDomainsByFuncRequest.h" @@ -248,18 +312,72 @@ #include "model/DescribeDcdnUserSecDropByMinuteResult.h" #include "model/DescribeDcdnUserTagsRequest.h" #include "model/DescribeDcdnUserTagsResult.h" +#include "model/DescribeDcdnUserVipsByDomainRequest.h" +#include "model/DescribeDcdnUserVipsByDomainResult.h" #include "model/DescribeDcdnVerifyContentRequest.h" #include "model/DescribeDcdnVerifyContentResult.h" +#include "model/DescribeDcdnWafBotAppKeyRequest.h" +#include "model/DescribeDcdnWafBotAppKeyResult.h" +#include "model/DescribeDcdnWafDefaultRulesRequest.h" +#include "model/DescribeDcdnWafDefaultRulesResult.h" #include "model/DescribeDcdnWafDomainRequest.h" #include "model/DescribeDcdnWafDomainResult.h" +#include "model/DescribeDcdnWafDomainDetailRequest.h" +#include "model/DescribeDcdnWafDomainDetailResult.h" +#include "model/DescribeDcdnWafDomainsRequest.h" +#include "model/DescribeDcdnWafDomainsResult.h" +#include "model/DescribeDcdnWafFilterInfoRequest.h" +#include "model/DescribeDcdnWafFilterInfoResult.h" +#include "model/DescribeDcdnWafGeoInfoRequest.h" +#include "model/DescribeDcdnWafGeoInfoResult.h" +#include "model/DescribeDcdnWafGroupRequest.h" +#include "model/DescribeDcdnWafGroupResult.h" +#include "model/DescribeDcdnWafGroupsRequest.h" +#include "model/DescribeDcdnWafGroupsResult.h" +#include "model/DescribeDcdnWafLogsRequest.h" +#include "model/DescribeDcdnWafLogsResult.h" +#include "model/DescribeDcdnWafPoliciesRequest.h" +#include "model/DescribeDcdnWafPoliciesResult.h" +#include "model/DescribeDcdnWafPolicyRequest.h" +#include "model/DescribeDcdnWafPolicyResult.h" +#include "model/DescribeDcdnWafPolicyDomainsRequest.h" +#include "model/DescribeDcdnWafPolicyDomainsResult.h" +#include "model/DescribeDcdnWafPolicyValidDomainsRequest.h" +#include "model/DescribeDcdnWafPolicyValidDomainsResult.h" +#include "model/DescribeDcdnWafRuleRequest.h" +#include "model/DescribeDcdnWafRuleResult.h" +#include "model/DescribeDcdnWafRulesRequest.h" +#include "model/DescribeDcdnWafRulesResult.h" +#include "model/DescribeDcdnWafScenesRequest.h" +#include "model/DescribeDcdnWafScenesResult.h" +#include "model/DescribeDcdnWafServiceRequest.h" +#include "model/DescribeDcdnWafServiceResult.h" +#include "model/DescribeDcdnWafSpecInfoRequest.h" +#include "model/DescribeDcdnWafSpecInfoResult.h" +#include "model/DescribeDcdnWafUsageDataRequest.h" +#include "model/DescribeDcdnWafUsageDataResult.h" #include "model/DescribeDcdnsecServiceRequest.h" #include "model/DescribeDcdnsecServiceResult.h" +#include "model/DescribeDdosAllEventListRequest.h" +#include "model/DescribeDdosAllEventListResult.h" +#include "model/DescribeEncryptRoutineUidRequest.h" +#include "model/DescribeEncryptRoutineUidResult.h" +#include "model/DescribeHighlightInfoRequest.h" +#include "model/DescribeHighlightInfoResult.h" +#include "model/DescribeKvUsageDataRequest.h" +#include "model/DescribeKvUsageDataResult.h" +#include "model/DescribeRDDomainConfigRequest.h" +#include "model/DescribeRDDomainConfigResult.h" +#include "model/DescribeRDDomainsRequest.h" +#include "model/DescribeRDDomainsResult.h" #include "model/DescribeRoutineRequest.h" #include "model/DescribeRoutineResult.h" #include "model/DescribeRoutineCanaryEnvsRequest.h" #include "model/DescribeRoutineCanaryEnvsResult.h" #include "model/DescribeRoutineCodeRevisionRequest.h" #include "model/DescribeRoutineCodeRevisionResult.h" +#include "model/DescribeRoutineRelatedDomainsRequest.h" +#include "model/DescribeRoutineRelatedDomainsResult.h" #include "model/DescribeRoutineSpecRequest.h" #include "model/DescribeRoutineSpecResult.h" #include "model/DescribeRoutineUserInfoRequest.h" @@ -274,12 +392,24 @@ #include "model/DescribeUserLogserviceStatusResult.h" #include "model/EditRoutineConfRequest.h" #include "model/EditRoutineConfResult.h" -#include "model/ListDcdnEsTemplateInfoRequest.h" -#include "model/ListDcdnEsTemplateInfoResult.h" +#include "model/GetDcdnKvRequest.h" +#include "model/GetDcdnKvResult.h" +#include "model/GetDcdnKvStatusRequest.h" +#include "model/GetDcdnKvStatusResult.h" +#include "model/ListDcdnKvRequest.h" +#include "model/ListDcdnKvResult.h" #include "model/ListDcdnRealTimeDeliveryProjectRequest.h" #include "model/ListDcdnRealTimeDeliveryProjectResult.h" #include "model/ModifyDCdnDomainSchdmByPropertyRequest.h" #include "model/ModifyDCdnDomainSchdmByPropertyResult.h" +#include "model/ModifyDcdnWafGroupRequest.h" +#include "model/ModifyDcdnWafGroupResult.h" +#include "model/ModifyDcdnWafPolicyRequest.h" +#include "model/ModifyDcdnWafPolicyResult.h" +#include "model/ModifyDcdnWafPolicyDomainsRequest.h" +#include "model/ModifyDcdnWafPolicyDomainsResult.h" +#include "model/ModifyDcdnWafRuleRequest.h" +#include "model/ModifyDcdnWafRuleResult.h" #include "model/OpenDcdnServiceRequest.h" #include "model/OpenDcdnServiceResult.h" #include "model/PreloadDcdnObjectCachesRequest.h" @@ -288,18 +418,28 @@ #include "model/PublishDcdnStagingConfigToProductionResult.h" #include "model/PublishRoutineCodeRevisionRequest.h" #include "model/PublishRoutineCodeRevisionResult.h" +#include "model/PutDcdnKvRequest.h" +#include "model/PutDcdnKvResult.h" +#include "model/PutDcdnKvNamespaceRequest.h" +#include "model/PutDcdnKvNamespaceResult.h" +#include "model/PutDcdnKvWithHighCapacityRequest.h" +#include "model/PutDcdnKvWithHighCapacityResult.h" +#include "model/RefreshDcdnObjectCacheByCacheTagRequest.h" +#include "model/RefreshDcdnObjectCacheByCacheTagResult.h" #include "model/RefreshDcdnObjectCachesRequest.h" #include "model/RefreshDcdnObjectCachesResult.h" +#include "model/RefreshErObjectCachesRequest.h" +#include "model/RefreshErObjectCachesResult.h" #include "model/RollbackDcdnStagingConfigRequest.h" #include "model/RollbackDcdnStagingConfigResult.h" -#include "model/SetDcdnConfigOfVersionRequest.h" -#include "model/SetDcdnConfigOfVersionResult.h" #include "model/SetDcdnDomainCSRCertificateRequest.h" #include "model/SetDcdnDomainCSRCertificateResult.h" #include "model/SetDcdnDomainCertificateRequest.h" #include "model/SetDcdnDomainCertificateResult.h" #include "model/SetDcdnDomainSMCertificateRequest.h" #include "model/SetDcdnDomainSMCertificateResult.h" +#include "model/SetDcdnDomainSSLCertificateRequest.h" +#include "model/SetDcdnDomainSSLCertificateResult.h" #include "model/SetDcdnDomainStagingConfigRequest.h" #include "model/SetDcdnDomainStagingConfigResult.h" #include "model/SetDcdnFullDomainsBlockIPRequest.h" @@ -356,9 +496,30 @@ namespace AlibabaCloud typedef Outcome BatchAddDcdnDomainOutcome; typedef std::future BatchAddDcdnDomainOutcomeCallable; typedef std::function&)> BatchAddDcdnDomainAsyncHandler; + typedef Outcome BatchCreateDcdnWafRulesOutcome; + typedef std::future BatchCreateDcdnWafRulesOutcomeCallable; + typedef std::function&)> BatchCreateDcdnWafRulesAsyncHandler; typedef Outcome BatchDeleteDcdnDomainConfigsOutcome; typedef std::future BatchDeleteDcdnDomainConfigsOutcomeCallable; typedef std::function&)> BatchDeleteDcdnDomainConfigsAsyncHandler; + typedef Outcome BatchDeleteDcdnKvOutcome; + typedef std::future BatchDeleteDcdnKvOutcomeCallable; + typedef std::function&)> BatchDeleteDcdnKvAsyncHandler; + typedef Outcome BatchDeleteDcdnKvWithHighCapacityOutcome; + typedef std::future BatchDeleteDcdnKvWithHighCapacityOutcomeCallable; + typedef std::function&)> BatchDeleteDcdnKvWithHighCapacityAsyncHandler; + typedef Outcome BatchDeleteDcdnWafRulesOutcome; + typedef std::future BatchDeleteDcdnWafRulesOutcomeCallable; + typedef std::function&)> BatchDeleteDcdnWafRulesAsyncHandler; + typedef Outcome BatchModifyDcdnWafRulesOutcome; + typedef std::future BatchModifyDcdnWafRulesOutcomeCallable; + typedef std::function&)> BatchModifyDcdnWafRulesAsyncHandler; + typedef Outcome BatchPutDcdnKvOutcome; + typedef std::future BatchPutDcdnKvOutcomeCallable; + typedef std::function&)> BatchPutDcdnKvAsyncHandler; + typedef Outcome BatchPutDcdnKvWithHighCapacityOutcome; + typedef std::future BatchPutDcdnKvWithHighCapacityOutcomeCallable; + typedef std::function&)> BatchPutDcdnKvWithHighCapacityAsyncHandler; typedef Outcome BatchSetDcdnDomainCertificateOutcome; typedef std::future BatchSetDcdnDomainCertificateOutcomeCallable; typedef std::function&)> BatchSetDcdnDomainCertificateAsyncHandler; @@ -368,6 +529,9 @@ namespace AlibabaCloud typedef Outcome BatchSetDcdnIpaDomainConfigsOutcome; typedef std::future BatchSetDcdnIpaDomainConfigsOutcomeCallable; typedef std::function&)> BatchSetDcdnIpaDomainConfigsAsyncHandler; + typedef Outcome BatchSetDcdnWafDomainConfigsOutcome; + typedef std::future BatchSetDcdnWafDomainConfigsOutcomeCallable; + typedef std::function&)> BatchSetDcdnWafDomainConfigsAsyncHandler; typedef Outcome BatchStartDcdnDomainOutcome; typedef std::future BatchStartDcdnDomainOutcomeCallable; typedef std::function&)> BatchStartDcdnDomainAsyncHandler; @@ -392,15 +556,18 @@ namespace AlibabaCloud typedef Outcome CreateDcdnSubTaskOutcome; typedef std::future CreateDcdnSubTaskOutcomeCallable; typedef std::function&)> CreateDcdnSubTaskAsyncHandler; + typedef Outcome CreateDcdnWafGroupOutcome; + typedef std::future CreateDcdnWafGroupOutcomeCallable; + typedef std::function&)> CreateDcdnWafGroupAsyncHandler; + typedef Outcome CreateDcdnWafPolicyOutcome; + typedef std::future CreateDcdnWafPolicyOutcomeCallable; + typedef std::function&)> CreateDcdnWafPolicyAsyncHandler; typedef Outcome CreateRoutineOutcome; typedef std::future CreateRoutineOutcomeCallable; typedef std::function&)> CreateRoutineAsyncHandler; typedef Outcome CreateSlrAndSlsProjectOutcome; typedef std::future CreateSlrAndSlsProjectOutcomeCallable; typedef std::function&)> CreateSlrAndSlsProjectAsyncHandler; - typedef Outcome DcdnHttpRequestTestToolOutcome; - typedef std::future DcdnHttpRequestTestToolOutcomeCallable; - typedef std::function&)> DcdnHttpRequestTestToolAsyncHandler; typedef Outcome DeleteDcdnDeliverTaskOutcome; typedef std::future DeleteDcdnDeliverTaskOutcomeCallable; typedef std::function&)> DeleteDcdnDeliverTaskAsyncHandler; @@ -413,6 +580,12 @@ namespace AlibabaCloud typedef Outcome DeleteDcdnIpaSpecificConfigOutcome; typedef std::future DeleteDcdnIpaSpecificConfigOutcomeCallable; typedef std::function&)> DeleteDcdnIpaSpecificConfigAsyncHandler; + typedef Outcome DeleteDcdnKvOutcome; + typedef std::future DeleteDcdnKvOutcomeCallable; + typedef std::function&)> DeleteDcdnKvAsyncHandler; + typedef Outcome DeleteDcdnKvNamespaceOutcome; + typedef std::future DeleteDcdnKvNamespaceOutcomeCallable; + typedef std::function&)> DeleteDcdnKvNamespaceAsyncHandler; typedef Outcome DeleteDcdnRealTimeLogProjectOutcome; typedef std::future DeleteDcdnRealTimeLogProjectOutcomeCallable; typedef std::function&)> DeleteDcdnRealTimeLogProjectAsyncHandler; @@ -425,6 +598,15 @@ namespace AlibabaCloud typedef Outcome DeleteDcdnSubTaskOutcome; typedef std::future DeleteDcdnSubTaskOutcomeCallable; typedef std::function&)> DeleteDcdnSubTaskAsyncHandler; + typedef Outcome DeleteDcdnUserConfigOutcome; + typedef std::future DeleteDcdnUserConfigOutcomeCallable; + typedef std::function&)> DeleteDcdnUserConfigAsyncHandler; + typedef Outcome DeleteDcdnWafGroupOutcome; + typedef std::future DeleteDcdnWafGroupOutcomeCallable; + typedef std::function&)> DeleteDcdnWafGroupAsyncHandler; + typedef Outcome DeleteDcdnWafPolicyOutcome; + typedef std::future DeleteDcdnWafPolicyOutcomeCallable; + typedef std::function&)> DeleteDcdnWafPolicyAsyncHandler; typedef Outcome DeleteRoutineOutcome; typedef std::future DeleteRoutineOutcomeCallable; typedef std::function&)> DeleteRoutineAsyncHandler; @@ -452,12 +634,12 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnCertificateListOutcome; typedef std::future DescribeDcdnCertificateListOutcomeCallable; typedef std::function&)> DescribeDcdnCertificateListAsyncHandler; - typedef Outcome DescribeDcdnConfigGroupDetailOutcome; - typedef std::future DescribeDcdnConfigGroupDetailOutcomeCallable; - typedef std::function&)> DescribeDcdnConfigGroupDetailAsyncHandler; - typedef Outcome DescribeDcdnConfigOfVersionOutcome; - typedef std::future DescribeDcdnConfigOfVersionOutcomeCallable; - typedef std::function&)> DescribeDcdnConfigOfVersionAsyncHandler; + typedef Outcome DescribeDcdnDdosServiceOutcome; + typedef std::future DescribeDcdnDdosServiceOutcomeCallable; + typedef std::function&)> DescribeDcdnDdosServiceAsyncHandler; + typedef Outcome DescribeDcdnDdosSpecInfoOutcome; + typedef std::future DescribeDcdnDdosSpecInfoOutcomeCallable; + typedef std::function&)> DescribeDcdnDdosSpecInfoAsyncHandler; typedef Outcome DescribeDcdnDeletedDomainsOutcome; typedef std::future DescribeDcdnDeletedDomainsOutcomeCallable; typedef std::function&)> DescribeDcdnDeletedDomainsAsyncHandler; @@ -467,6 +649,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainBpsDataOutcome; typedef std::future DescribeDcdnDomainBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainBpsDataAsyncHandler; + typedef Outcome DescribeDcdnDomainBpsDataByLayerOutcome; + typedef std::future DescribeDcdnDomainBpsDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainBpsDataByLayerAsyncHandler; typedef Outcome DescribeDcdnDomainByCertificateOutcome; typedef std::future DescribeDcdnDomainByCertificateOutcomeCallable; typedef std::function&)> DescribeDcdnDomainByCertificateAsyncHandler; @@ -491,9 +676,15 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainHttpCodeDataOutcome; typedef std::future DescribeDcdnDomainHttpCodeDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainHttpCodeDataAsyncHandler; + typedef Outcome DescribeDcdnDomainHttpCodeDataByLayerOutcome; + typedef std::future DescribeDcdnDomainHttpCodeDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainHttpCodeDataByLayerAsyncHandler; typedef Outcome DescribeDcdnDomainIpaBpsDataOutcome; typedef std::future DescribeDcdnDomainIpaBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainIpaBpsDataAsyncHandler; + typedef Outcome DescribeDcdnDomainIpaConnDataOutcome; + typedef std::future DescribeDcdnDomainIpaConnDataOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainIpaConnDataAsyncHandler; typedef Outcome DescribeDcdnDomainIpaTrafficDataOutcome; typedef std::future DescribeDcdnDomainIpaTrafficDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainIpaTrafficDataAsyncHandler; @@ -503,6 +694,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainLogOutcome; typedef std::future DescribeDcdnDomainLogOutcomeCallable; typedef std::function&)> DescribeDcdnDomainLogAsyncHandler; + typedef Outcome DescribeDcdnDomainLogExTtlOutcome; + typedef std::future DescribeDcdnDomainLogExTtlOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainLogExTtlAsyncHandler; typedef Outcome DescribeDcdnDomainMultiUsageDataOutcome; typedef std::future DescribeDcdnDomainMultiUsageDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainMultiUsageDataAsyncHandler; @@ -521,6 +715,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainQpsDataOutcome; typedef std::future DescribeDcdnDomainQpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainQpsDataAsyncHandler; + typedef Outcome DescribeDcdnDomainQpsDataByLayerOutcome; + typedef std::future DescribeDcdnDomainQpsDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainQpsDataByLayerAsyncHandler; typedef Outcome DescribeDcdnDomainRealTimeBpsDataOutcome; typedef std::future DescribeDcdnDomainRealTimeBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainRealTimeBpsDataAsyncHandler; @@ -581,18 +778,27 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainWebsocketTrafficDataOutcome; typedef std::future DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainWebsocketTrafficDataAsyncHandler; - typedef Outcome DescribeDcdnEsExceptionDataOutcome; - typedef std::future DescribeDcdnEsExceptionDataOutcomeCallable; - typedef std::function&)> DescribeDcdnEsExceptionDataAsyncHandler; - typedef Outcome DescribeDcdnEsExecuteDataOutcome; - typedef std::future DescribeDcdnEsExecuteDataOutcomeCallable; - typedef std::function&)> DescribeDcdnEsExecuteDataAsyncHandler; + typedef Outcome DescribeDcdnDomainsBySourceOutcome; + typedef std::future DescribeDcdnDomainsBySourceOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainsBySourceAsyncHandler; + typedef Outcome DescribeDcdnErUsageDataOutcome; + typedef std::future DescribeDcdnErUsageDataOutcomeCallable; + typedef std::function&)> DescribeDcdnErUsageDataAsyncHandler; + typedef Outcome DescribeDcdnFullDomainsBlockIPConfigOutcome; + typedef std::future DescribeDcdnFullDomainsBlockIPConfigOutcomeCallable; + typedef std::function&)> DescribeDcdnFullDomainsBlockIPConfigAsyncHandler; + typedef Outcome DescribeDcdnFullDomainsBlockIPHistoryOutcome; + typedef std::future DescribeDcdnFullDomainsBlockIPHistoryOutcomeCallable; + typedef std::function&)> DescribeDcdnFullDomainsBlockIPHistoryAsyncHandler; typedef Outcome DescribeDcdnHttpsDomainListOutcome; typedef std::future DescribeDcdnHttpsDomainListOutcomeCallable; typedef std::function&)> DescribeDcdnHttpsDomainListAsyncHandler; typedef Outcome DescribeDcdnIpInfoOutcome; typedef std::future DescribeDcdnIpInfoOutcomeCallable; typedef std::function&)> DescribeDcdnIpInfoAsyncHandler; + typedef Outcome DescribeDcdnIpaDomainCidrOutcome; + typedef std::future DescribeDcdnIpaDomainCidrOutcomeCallable; + typedef std::function&)> DescribeDcdnIpaDomainCidrAsyncHandler; typedef Outcome DescribeDcdnIpaDomainConfigsOutcome; typedef std::future DescribeDcdnIpaDomainConfigsOutcomeCallable; typedef std::function&)> DescribeDcdnIpaDomainConfigsAsyncHandler; @@ -605,6 +811,24 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnIpaUserDomainsOutcome; typedef std::future DescribeDcdnIpaUserDomainsOutcomeCallable; typedef std::function&)> DescribeDcdnIpaUserDomainsAsyncHandler; + typedef Outcome DescribeDcdnKvAccountOutcome; + typedef std::future DescribeDcdnKvAccountOutcomeCallable; + typedef std::function&)> DescribeDcdnKvAccountAsyncHandler; + typedef Outcome DescribeDcdnKvAccountStatusOutcome; + typedef std::future DescribeDcdnKvAccountStatusOutcomeCallable; + typedef std::function&)> DescribeDcdnKvAccountStatusAsyncHandler; + typedef Outcome DescribeDcdnKvNamespaceOutcome; + typedef std::future DescribeDcdnKvNamespaceOutcomeCallable; + typedef std::function&)> DescribeDcdnKvNamespaceAsyncHandler; + typedef Outcome DescribeDcdnL2IpsOutcome; + typedef std::future DescribeDcdnL2IpsOutcomeCallable; + typedef std::function&)> DescribeDcdnL2IpsAsyncHandler; + typedef Outcome DescribeDcdnL2VipsOutcome; + typedef std::future DescribeDcdnL2VipsOutcomeCallable; + typedef std::function&)> DescribeDcdnL2VipsAsyncHandler; + typedef Outcome DescribeDcdnOriginSiteHealthStatusOutcome; + typedef std::future DescribeDcdnOriginSiteHealthStatusOutcomeCallable; + typedef std::function&)> DescribeDcdnOriginSiteHealthStatusAsyncHandler; typedef Outcome DescribeDcdnRealTimeDeliveryFieldOutcome; typedef std::future DescribeDcdnRealTimeDeliveryFieldOutcomeCallable; typedef std::function&)> DescribeDcdnRealTimeDeliveryFieldAsyncHandler; @@ -626,6 +850,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnReportListOutcome; typedef std::future DescribeDcdnReportListOutcomeCallable; typedef std::function&)> DescribeDcdnReportListAsyncHandler; + typedef Outcome DescribeDcdnSLSRealTimeLogTypeOutcome; + typedef std::future DescribeDcdnSLSRealTimeLogTypeOutcomeCallable; + typedef std::function&)> DescribeDcdnSLSRealTimeLogTypeAsyncHandler; typedef Outcome DescribeDcdnSLSRealtimeLogDeliveryOutcome; typedef std::future DescribeDcdnSLSRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> DescribeDcdnSLSRealtimeLogDeliveryAsyncHandler; @@ -635,6 +862,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnSMCertificateListOutcome; typedef std::future DescribeDcdnSMCertificateListOutcomeCallable; typedef std::function&)> DescribeDcdnSMCertificateListAsyncHandler; + typedef Outcome DescribeDcdnSSLCertificateListOutcome; + typedef std::future DescribeDcdnSSLCertificateListOutcomeCallable; + typedef std::function&)> DescribeDcdnSSLCertificateListAsyncHandler; typedef Outcome DescribeDcdnSecFuncInfoOutcome; typedef std::future DescribeDcdnSecFuncInfoOutcomeCallable; typedef std::function&)> DescribeDcdnSecFuncInfoAsyncHandler; @@ -662,6 +892,12 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnUserBillTypeOutcome; typedef std::future DescribeDcdnUserBillTypeOutcomeCallable; typedef std::function&)> DescribeDcdnUserBillTypeAsyncHandler; + typedef Outcome DescribeDcdnUserCertificateExpireCountOutcome; + typedef std::future DescribeDcdnUserCertificateExpireCountOutcomeCallable; + typedef std::function&)> DescribeDcdnUserCertificateExpireCountAsyncHandler; + typedef Outcome DescribeDcdnUserConfigsOutcome; + typedef std::future DescribeDcdnUserConfigsOutcomeCallable; + typedef std::function&)> DescribeDcdnUserConfigsAsyncHandler; typedef Outcome DescribeDcdnUserDomainsOutcome; typedef std::future DescribeDcdnUserDomainsOutcomeCallable; typedef std::function&)> DescribeDcdnUserDomainsAsyncHandler; @@ -686,15 +922,93 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnUserTagsOutcome; typedef std::future DescribeDcdnUserTagsOutcomeCallable; typedef std::function&)> DescribeDcdnUserTagsAsyncHandler; + typedef Outcome DescribeDcdnUserVipsByDomainOutcome; + typedef std::future DescribeDcdnUserVipsByDomainOutcomeCallable; + typedef std::function&)> DescribeDcdnUserVipsByDomainAsyncHandler; typedef Outcome DescribeDcdnVerifyContentOutcome; typedef std::future DescribeDcdnVerifyContentOutcomeCallable; typedef std::function&)> DescribeDcdnVerifyContentAsyncHandler; + typedef Outcome DescribeDcdnWafBotAppKeyOutcome; + typedef std::future DescribeDcdnWafBotAppKeyOutcomeCallable; + typedef std::function&)> DescribeDcdnWafBotAppKeyAsyncHandler; + typedef Outcome DescribeDcdnWafDefaultRulesOutcome; + typedef std::future DescribeDcdnWafDefaultRulesOutcomeCallable; + typedef std::function&)> DescribeDcdnWafDefaultRulesAsyncHandler; typedef Outcome DescribeDcdnWafDomainOutcome; typedef std::future DescribeDcdnWafDomainOutcomeCallable; typedef std::function&)> DescribeDcdnWafDomainAsyncHandler; + typedef Outcome DescribeDcdnWafDomainDetailOutcome; + typedef std::future DescribeDcdnWafDomainDetailOutcomeCallable; + typedef std::function&)> DescribeDcdnWafDomainDetailAsyncHandler; + typedef Outcome DescribeDcdnWafDomainsOutcome; + typedef std::future DescribeDcdnWafDomainsOutcomeCallable; + typedef std::function&)> DescribeDcdnWafDomainsAsyncHandler; + typedef Outcome DescribeDcdnWafFilterInfoOutcome; + typedef std::future DescribeDcdnWafFilterInfoOutcomeCallable; + typedef std::function&)> DescribeDcdnWafFilterInfoAsyncHandler; + typedef Outcome DescribeDcdnWafGeoInfoOutcome; + typedef std::future DescribeDcdnWafGeoInfoOutcomeCallable; + typedef std::function&)> DescribeDcdnWafGeoInfoAsyncHandler; + typedef Outcome DescribeDcdnWafGroupOutcome; + typedef std::future DescribeDcdnWafGroupOutcomeCallable; + typedef std::function&)> DescribeDcdnWafGroupAsyncHandler; + typedef Outcome DescribeDcdnWafGroupsOutcome; + typedef std::future DescribeDcdnWafGroupsOutcomeCallable; + typedef std::function&)> DescribeDcdnWafGroupsAsyncHandler; + typedef Outcome DescribeDcdnWafLogsOutcome; + typedef std::future DescribeDcdnWafLogsOutcomeCallable; + typedef std::function&)> DescribeDcdnWafLogsAsyncHandler; + typedef Outcome DescribeDcdnWafPoliciesOutcome; + typedef std::future DescribeDcdnWafPoliciesOutcomeCallable; + typedef std::function&)> DescribeDcdnWafPoliciesAsyncHandler; + typedef Outcome DescribeDcdnWafPolicyOutcome; + typedef std::future DescribeDcdnWafPolicyOutcomeCallable; + typedef std::function&)> DescribeDcdnWafPolicyAsyncHandler; + typedef Outcome DescribeDcdnWafPolicyDomainsOutcome; + typedef std::future DescribeDcdnWafPolicyDomainsOutcomeCallable; + typedef std::function&)> DescribeDcdnWafPolicyDomainsAsyncHandler; + typedef Outcome DescribeDcdnWafPolicyValidDomainsOutcome; + typedef std::future DescribeDcdnWafPolicyValidDomainsOutcomeCallable; + typedef std::function&)> DescribeDcdnWafPolicyValidDomainsAsyncHandler; + typedef Outcome DescribeDcdnWafRuleOutcome; + typedef std::future DescribeDcdnWafRuleOutcomeCallable; + typedef std::function&)> DescribeDcdnWafRuleAsyncHandler; + typedef Outcome DescribeDcdnWafRulesOutcome; + typedef std::future DescribeDcdnWafRulesOutcomeCallable; + typedef std::function&)> DescribeDcdnWafRulesAsyncHandler; + typedef Outcome DescribeDcdnWafScenesOutcome; + typedef std::future DescribeDcdnWafScenesOutcomeCallable; + typedef std::function&)> DescribeDcdnWafScenesAsyncHandler; + typedef Outcome DescribeDcdnWafServiceOutcome; + typedef std::future DescribeDcdnWafServiceOutcomeCallable; + typedef std::function&)> DescribeDcdnWafServiceAsyncHandler; + typedef Outcome DescribeDcdnWafSpecInfoOutcome; + typedef std::future DescribeDcdnWafSpecInfoOutcomeCallable; + typedef std::function&)> DescribeDcdnWafSpecInfoAsyncHandler; + typedef Outcome DescribeDcdnWafUsageDataOutcome; + typedef std::future DescribeDcdnWafUsageDataOutcomeCallable; + typedef std::function&)> DescribeDcdnWafUsageDataAsyncHandler; typedef Outcome DescribeDcdnsecServiceOutcome; typedef std::future DescribeDcdnsecServiceOutcomeCallable; typedef std::function&)> DescribeDcdnsecServiceAsyncHandler; + typedef Outcome DescribeDdosAllEventListOutcome; + typedef std::future DescribeDdosAllEventListOutcomeCallable; + typedef std::function&)> DescribeDdosAllEventListAsyncHandler; + typedef Outcome DescribeEncryptRoutineUidOutcome; + typedef std::future DescribeEncryptRoutineUidOutcomeCallable; + typedef std::function&)> DescribeEncryptRoutineUidAsyncHandler; + typedef Outcome DescribeHighlightInfoOutcome; + typedef std::future DescribeHighlightInfoOutcomeCallable; + typedef std::function&)> DescribeHighlightInfoAsyncHandler; + typedef Outcome DescribeKvUsageDataOutcome; + typedef std::future DescribeKvUsageDataOutcomeCallable; + typedef std::function&)> DescribeKvUsageDataAsyncHandler; + typedef Outcome DescribeRDDomainConfigOutcome; + typedef std::future DescribeRDDomainConfigOutcomeCallable; + typedef std::function&)> DescribeRDDomainConfigAsyncHandler; + typedef Outcome DescribeRDDomainsOutcome; + typedef std::future DescribeRDDomainsOutcomeCallable; + typedef std::function&)> DescribeRDDomainsAsyncHandler; typedef Outcome DescribeRoutineOutcome; typedef std::future DescribeRoutineOutcomeCallable; typedef std::function&)> DescribeRoutineAsyncHandler; @@ -704,6 +1018,9 @@ namespace AlibabaCloud typedef Outcome DescribeRoutineCodeRevisionOutcome; typedef std::future DescribeRoutineCodeRevisionOutcomeCallable; typedef std::function&)> DescribeRoutineCodeRevisionAsyncHandler; + typedef Outcome DescribeRoutineRelatedDomainsOutcome; + typedef std::future DescribeRoutineRelatedDomainsOutcomeCallable; + typedef std::function&)> DescribeRoutineRelatedDomainsAsyncHandler; typedef Outcome DescribeRoutineSpecOutcome; typedef std::future DescribeRoutineSpecOutcomeCallable; typedef std::function&)> DescribeRoutineSpecAsyncHandler; @@ -725,15 +1042,33 @@ namespace AlibabaCloud typedef Outcome EditRoutineConfOutcome; typedef std::future EditRoutineConfOutcomeCallable; typedef std::function&)> EditRoutineConfAsyncHandler; - typedef Outcome ListDcdnEsTemplateInfoOutcome; - typedef std::future ListDcdnEsTemplateInfoOutcomeCallable; - typedef std::function&)> ListDcdnEsTemplateInfoAsyncHandler; + typedef Outcome GetDcdnKvOutcome; + typedef std::future GetDcdnKvOutcomeCallable; + typedef std::function&)> GetDcdnKvAsyncHandler; + typedef Outcome GetDcdnKvStatusOutcome; + typedef std::future GetDcdnKvStatusOutcomeCallable; + typedef std::function&)> GetDcdnKvStatusAsyncHandler; + typedef Outcome ListDcdnKvOutcome; + typedef std::future ListDcdnKvOutcomeCallable; + typedef std::function&)> ListDcdnKvAsyncHandler; typedef Outcome ListDcdnRealTimeDeliveryProjectOutcome; typedef std::future ListDcdnRealTimeDeliveryProjectOutcomeCallable; typedef std::function&)> ListDcdnRealTimeDeliveryProjectAsyncHandler; typedef Outcome ModifyDCdnDomainSchdmByPropertyOutcome; typedef std::future ModifyDCdnDomainSchdmByPropertyOutcomeCallable; typedef std::function&)> ModifyDCdnDomainSchdmByPropertyAsyncHandler; + typedef Outcome ModifyDcdnWafGroupOutcome; + typedef std::future ModifyDcdnWafGroupOutcomeCallable; + typedef std::function&)> ModifyDcdnWafGroupAsyncHandler; + typedef Outcome ModifyDcdnWafPolicyOutcome; + typedef std::future ModifyDcdnWafPolicyOutcomeCallable; + typedef std::function&)> ModifyDcdnWafPolicyAsyncHandler; + typedef Outcome ModifyDcdnWafPolicyDomainsOutcome; + typedef std::future ModifyDcdnWafPolicyDomainsOutcomeCallable; + typedef std::function&)> ModifyDcdnWafPolicyDomainsAsyncHandler; + typedef Outcome ModifyDcdnWafRuleOutcome; + typedef std::future ModifyDcdnWafRuleOutcomeCallable; + typedef std::function&)> ModifyDcdnWafRuleAsyncHandler; typedef Outcome OpenDcdnServiceOutcome; typedef std::future OpenDcdnServiceOutcomeCallable; typedef std::function&)> OpenDcdnServiceAsyncHandler; @@ -746,15 +1081,27 @@ namespace AlibabaCloud typedef Outcome PublishRoutineCodeRevisionOutcome; typedef std::future PublishRoutineCodeRevisionOutcomeCallable; typedef std::function&)> PublishRoutineCodeRevisionAsyncHandler; + typedef Outcome PutDcdnKvOutcome; + typedef std::future PutDcdnKvOutcomeCallable; + typedef std::function&)> PutDcdnKvAsyncHandler; + typedef Outcome PutDcdnKvNamespaceOutcome; + typedef std::future PutDcdnKvNamespaceOutcomeCallable; + typedef std::function&)> PutDcdnKvNamespaceAsyncHandler; + typedef Outcome PutDcdnKvWithHighCapacityOutcome; + typedef std::future PutDcdnKvWithHighCapacityOutcomeCallable; + typedef std::function&)> PutDcdnKvWithHighCapacityAsyncHandler; + typedef Outcome RefreshDcdnObjectCacheByCacheTagOutcome; + typedef std::future RefreshDcdnObjectCacheByCacheTagOutcomeCallable; + typedef std::function&)> RefreshDcdnObjectCacheByCacheTagAsyncHandler; typedef Outcome RefreshDcdnObjectCachesOutcome; typedef std::future RefreshDcdnObjectCachesOutcomeCallable; typedef std::function&)> RefreshDcdnObjectCachesAsyncHandler; + typedef Outcome RefreshErObjectCachesOutcome; + typedef std::future RefreshErObjectCachesOutcomeCallable; + typedef std::function&)> RefreshErObjectCachesAsyncHandler; typedef Outcome RollbackDcdnStagingConfigOutcome; typedef std::future RollbackDcdnStagingConfigOutcomeCallable; typedef std::function&)> RollbackDcdnStagingConfigAsyncHandler; - typedef Outcome SetDcdnConfigOfVersionOutcome; - typedef std::future SetDcdnConfigOfVersionOutcomeCallable; - typedef std::function&)> SetDcdnConfigOfVersionAsyncHandler; typedef Outcome SetDcdnDomainCSRCertificateOutcome; typedef std::future SetDcdnDomainCSRCertificateOutcomeCallable; typedef std::function&)> SetDcdnDomainCSRCertificateAsyncHandler; @@ -764,6 +1111,9 @@ namespace AlibabaCloud typedef Outcome SetDcdnDomainSMCertificateOutcome; typedef std::future SetDcdnDomainSMCertificateOutcomeCallable; typedef std::function&)> SetDcdnDomainSMCertificateAsyncHandler; + typedef Outcome SetDcdnDomainSSLCertificateOutcome; + typedef std::future SetDcdnDomainSSLCertificateOutcomeCallable; + typedef std::function&)> SetDcdnDomainSSLCertificateAsyncHandler; typedef Outcome SetDcdnDomainStagingConfigOutcome; typedef std::future SetDcdnDomainStagingConfigOutcomeCallable; typedef std::function&)> SetDcdnDomainStagingConfigAsyncHandler; @@ -835,9 +1185,30 @@ namespace AlibabaCloud BatchAddDcdnDomainOutcome batchAddDcdnDomain(const Model::BatchAddDcdnDomainRequest &request)const; void batchAddDcdnDomainAsync(const Model::BatchAddDcdnDomainRequest& request, const BatchAddDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchAddDcdnDomainOutcomeCallable batchAddDcdnDomainCallable(const Model::BatchAddDcdnDomainRequest& request) const; + BatchCreateDcdnWafRulesOutcome batchCreateDcdnWafRules(const Model::BatchCreateDcdnWafRulesRequest &request)const; + void batchCreateDcdnWafRulesAsync(const Model::BatchCreateDcdnWafRulesRequest& request, const BatchCreateDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchCreateDcdnWafRulesOutcomeCallable batchCreateDcdnWafRulesCallable(const Model::BatchCreateDcdnWafRulesRequest& request) const; BatchDeleteDcdnDomainConfigsOutcome batchDeleteDcdnDomainConfigs(const Model::BatchDeleteDcdnDomainConfigsRequest &request)const; void batchDeleteDcdnDomainConfigsAsync(const Model::BatchDeleteDcdnDomainConfigsRequest& request, const BatchDeleteDcdnDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchDeleteDcdnDomainConfigsOutcomeCallable batchDeleteDcdnDomainConfigsCallable(const Model::BatchDeleteDcdnDomainConfigsRequest& request) const; + BatchDeleteDcdnKvOutcome batchDeleteDcdnKv(const Model::BatchDeleteDcdnKvRequest &request)const; + void batchDeleteDcdnKvAsync(const Model::BatchDeleteDcdnKvRequest& request, const BatchDeleteDcdnKvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteDcdnKvOutcomeCallable batchDeleteDcdnKvCallable(const Model::BatchDeleteDcdnKvRequest& request) const; + BatchDeleteDcdnKvWithHighCapacityOutcome batchDeleteDcdnKvWithHighCapacity(const Model::BatchDeleteDcdnKvWithHighCapacityRequest &request)const; + void batchDeleteDcdnKvWithHighCapacityAsync(const Model::BatchDeleteDcdnKvWithHighCapacityRequest& request, const BatchDeleteDcdnKvWithHighCapacityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteDcdnKvWithHighCapacityOutcomeCallable batchDeleteDcdnKvWithHighCapacityCallable(const Model::BatchDeleteDcdnKvWithHighCapacityRequest& request) const; + BatchDeleteDcdnWafRulesOutcome batchDeleteDcdnWafRules(const Model::BatchDeleteDcdnWafRulesRequest &request)const; + void batchDeleteDcdnWafRulesAsync(const Model::BatchDeleteDcdnWafRulesRequest& request, const BatchDeleteDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteDcdnWafRulesOutcomeCallable batchDeleteDcdnWafRulesCallable(const Model::BatchDeleteDcdnWafRulesRequest& request) const; + BatchModifyDcdnWafRulesOutcome batchModifyDcdnWafRules(const Model::BatchModifyDcdnWafRulesRequest &request)const; + void batchModifyDcdnWafRulesAsync(const Model::BatchModifyDcdnWafRulesRequest& request, const BatchModifyDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchModifyDcdnWafRulesOutcomeCallable batchModifyDcdnWafRulesCallable(const Model::BatchModifyDcdnWafRulesRequest& request) const; + BatchPutDcdnKvOutcome batchPutDcdnKv(const Model::BatchPutDcdnKvRequest &request)const; + void batchPutDcdnKvAsync(const Model::BatchPutDcdnKvRequest& request, const BatchPutDcdnKvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchPutDcdnKvOutcomeCallable batchPutDcdnKvCallable(const Model::BatchPutDcdnKvRequest& request) const; + BatchPutDcdnKvWithHighCapacityOutcome batchPutDcdnKvWithHighCapacity(const Model::BatchPutDcdnKvWithHighCapacityRequest &request)const; + void batchPutDcdnKvWithHighCapacityAsync(const Model::BatchPutDcdnKvWithHighCapacityRequest& request, const BatchPutDcdnKvWithHighCapacityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchPutDcdnKvWithHighCapacityOutcomeCallable batchPutDcdnKvWithHighCapacityCallable(const Model::BatchPutDcdnKvWithHighCapacityRequest& request) const; BatchSetDcdnDomainCertificateOutcome batchSetDcdnDomainCertificate(const Model::BatchSetDcdnDomainCertificateRequest &request)const; void batchSetDcdnDomainCertificateAsync(const Model::BatchSetDcdnDomainCertificateRequest& request, const BatchSetDcdnDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchSetDcdnDomainCertificateOutcomeCallable batchSetDcdnDomainCertificateCallable(const Model::BatchSetDcdnDomainCertificateRequest& request) const; @@ -847,6 +1218,9 @@ namespace AlibabaCloud BatchSetDcdnIpaDomainConfigsOutcome batchSetDcdnIpaDomainConfigs(const Model::BatchSetDcdnIpaDomainConfigsRequest &request)const; void batchSetDcdnIpaDomainConfigsAsync(const Model::BatchSetDcdnIpaDomainConfigsRequest& request, const BatchSetDcdnIpaDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchSetDcdnIpaDomainConfigsOutcomeCallable batchSetDcdnIpaDomainConfigsCallable(const Model::BatchSetDcdnIpaDomainConfigsRequest& request) const; + BatchSetDcdnWafDomainConfigsOutcome batchSetDcdnWafDomainConfigs(const Model::BatchSetDcdnWafDomainConfigsRequest &request)const; + void batchSetDcdnWafDomainConfigsAsync(const Model::BatchSetDcdnWafDomainConfigsRequest& request, const BatchSetDcdnWafDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchSetDcdnWafDomainConfigsOutcomeCallable batchSetDcdnWafDomainConfigsCallable(const Model::BatchSetDcdnWafDomainConfigsRequest& request) const; BatchStartDcdnDomainOutcome batchStartDcdnDomain(const Model::BatchStartDcdnDomainRequest &request)const; void batchStartDcdnDomainAsync(const Model::BatchStartDcdnDomainRequest& request, const BatchStartDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchStartDcdnDomainOutcomeCallable batchStartDcdnDomainCallable(const Model::BatchStartDcdnDomainRequest& request) const; @@ -871,15 +1245,18 @@ namespace AlibabaCloud CreateDcdnSubTaskOutcome createDcdnSubTask(const Model::CreateDcdnSubTaskRequest &request)const; void createDcdnSubTaskAsync(const Model::CreateDcdnSubTaskRequest& request, const CreateDcdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDcdnSubTaskOutcomeCallable createDcdnSubTaskCallable(const Model::CreateDcdnSubTaskRequest& request) const; + CreateDcdnWafGroupOutcome createDcdnWafGroup(const Model::CreateDcdnWafGroupRequest &request)const; + void createDcdnWafGroupAsync(const Model::CreateDcdnWafGroupRequest& request, const CreateDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDcdnWafGroupOutcomeCallable createDcdnWafGroupCallable(const Model::CreateDcdnWafGroupRequest& request) const; + CreateDcdnWafPolicyOutcome createDcdnWafPolicy(const Model::CreateDcdnWafPolicyRequest &request)const; + void createDcdnWafPolicyAsync(const Model::CreateDcdnWafPolicyRequest& request, const CreateDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDcdnWafPolicyOutcomeCallable createDcdnWafPolicyCallable(const Model::CreateDcdnWafPolicyRequest& request) const; CreateRoutineOutcome createRoutine(const Model::CreateRoutineRequest &request)const; void createRoutineAsync(const Model::CreateRoutineRequest& request, const CreateRoutineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateRoutineOutcomeCallable createRoutineCallable(const Model::CreateRoutineRequest& request) const; CreateSlrAndSlsProjectOutcome createSlrAndSlsProject(const Model::CreateSlrAndSlsProjectRequest &request)const; void createSlrAndSlsProjectAsync(const Model::CreateSlrAndSlsProjectRequest& request, const CreateSlrAndSlsProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSlrAndSlsProjectOutcomeCallable createSlrAndSlsProjectCallable(const Model::CreateSlrAndSlsProjectRequest& request) const; - DcdnHttpRequestTestToolOutcome dcdnHttpRequestTestTool(const Model::DcdnHttpRequestTestToolRequest &request)const; - void dcdnHttpRequestTestToolAsync(const Model::DcdnHttpRequestTestToolRequest& request, const DcdnHttpRequestTestToolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DcdnHttpRequestTestToolOutcomeCallable dcdnHttpRequestTestToolCallable(const Model::DcdnHttpRequestTestToolRequest& request) const; DeleteDcdnDeliverTaskOutcome deleteDcdnDeliverTask(const Model::DeleteDcdnDeliverTaskRequest &request)const; void deleteDcdnDeliverTaskAsync(const Model::DeleteDcdnDeliverTaskRequest& request, const DeleteDcdnDeliverTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnDeliverTaskOutcomeCallable deleteDcdnDeliverTaskCallable(const Model::DeleteDcdnDeliverTaskRequest& request) const; @@ -892,6 +1269,12 @@ namespace AlibabaCloud DeleteDcdnIpaSpecificConfigOutcome deleteDcdnIpaSpecificConfig(const Model::DeleteDcdnIpaSpecificConfigRequest &request)const; void deleteDcdnIpaSpecificConfigAsync(const Model::DeleteDcdnIpaSpecificConfigRequest& request, const DeleteDcdnIpaSpecificConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnIpaSpecificConfigOutcomeCallable deleteDcdnIpaSpecificConfigCallable(const Model::DeleteDcdnIpaSpecificConfigRequest& request) const; + DeleteDcdnKvOutcome deleteDcdnKv(const Model::DeleteDcdnKvRequest &request)const; + void deleteDcdnKvAsync(const Model::DeleteDcdnKvRequest& request, const DeleteDcdnKvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnKvOutcomeCallable deleteDcdnKvCallable(const Model::DeleteDcdnKvRequest& request) const; + DeleteDcdnKvNamespaceOutcome deleteDcdnKvNamespace(const Model::DeleteDcdnKvNamespaceRequest &request)const; + void deleteDcdnKvNamespaceAsync(const Model::DeleteDcdnKvNamespaceRequest& request, const DeleteDcdnKvNamespaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnKvNamespaceOutcomeCallable deleteDcdnKvNamespaceCallable(const Model::DeleteDcdnKvNamespaceRequest& request) const; DeleteDcdnRealTimeLogProjectOutcome deleteDcdnRealTimeLogProject(const Model::DeleteDcdnRealTimeLogProjectRequest &request)const; void deleteDcdnRealTimeLogProjectAsync(const Model::DeleteDcdnRealTimeLogProjectRequest& request, const DeleteDcdnRealTimeLogProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnRealTimeLogProjectOutcomeCallable deleteDcdnRealTimeLogProjectCallable(const Model::DeleteDcdnRealTimeLogProjectRequest& request) const; @@ -904,6 +1287,15 @@ namespace AlibabaCloud DeleteDcdnSubTaskOutcome deleteDcdnSubTask(const Model::DeleteDcdnSubTaskRequest &request)const; void deleteDcdnSubTaskAsync(const Model::DeleteDcdnSubTaskRequest& request, const DeleteDcdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnSubTaskOutcomeCallable deleteDcdnSubTaskCallable(const Model::DeleteDcdnSubTaskRequest& request) const; + DeleteDcdnUserConfigOutcome deleteDcdnUserConfig(const Model::DeleteDcdnUserConfigRequest &request)const; + void deleteDcdnUserConfigAsync(const Model::DeleteDcdnUserConfigRequest& request, const DeleteDcdnUserConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnUserConfigOutcomeCallable deleteDcdnUserConfigCallable(const Model::DeleteDcdnUserConfigRequest& request) const; + DeleteDcdnWafGroupOutcome deleteDcdnWafGroup(const Model::DeleteDcdnWafGroupRequest &request)const; + void deleteDcdnWafGroupAsync(const Model::DeleteDcdnWafGroupRequest& request, const DeleteDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnWafGroupOutcomeCallable deleteDcdnWafGroupCallable(const Model::DeleteDcdnWafGroupRequest& request) const; + DeleteDcdnWafPolicyOutcome deleteDcdnWafPolicy(const Model::DeleteDcdnWafPolicyRequest &request)const; + void deleteDcdnWafPolicyAsync(const Model::DeleteDcdnWafPolicyRequest& request, const DeleteDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnWafPolicyOutcomeCallable deleteDcdnWafPolicyCallable(const Model::DeleteDcdnWafPolicyRequest& request) const; DeleteRoutineOutcome deleteRoutine(const Model::DeleteRoutineRequest &request)const; void deleteRoutineAsync(const Model::DeleteRoutineRequest& request, const DeleteRoutineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRoutineOutcomeCallable deleteRoutineCallable(const Model::DeleteRoutineRequest& request) const; @@ -931,12 +1323,12 @@ namespace AlibabaCloud DescribeDcdnCertificateListOutcome describeDcdnCertificateList(const Model::DescribeDcdnCertificateListRequest &request)const; void describeDcdnCertificateListAsync(const Model::DescribeDcdnCertificateListRequest& request, const DescribeDcdnCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnCertificateListOutcomeCallable describeDcdnCertificateListCallable(const Model::DescribeDcdnCertificateListRequest& request) const; - DescribeDcdnConfigGroupDetailOutcome describeDcdnConfigGroupDetail(const Model::DescribeDcdnConfigGroupDetailRequest &request)const; - void describeDcdnConfigGroupDetailAsync(const Model::DescribeDcdnConfigGroupDetailRequest& request, const DescribeDcdnConfigGroupDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDcdnConfigGroupDetailOutcomeCallable describeDcdnConfigGroupDetailCallable(const Model::DescribeDcdnConfigGroupDetailRequest& request) const; - DescribeDcdnConfigOfVersionOutcome describeDcdnConfigOfVersion(const Model::DescribeDcdnConfigOfVersionRequest &request)const; - void describeDcdnConfigOfVersionAsync(const Model::DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDcdnConfigOfVersionOutcomeCallable describeDcdnConfigOfVersionCallable(const Model::DescribeDcdnConfigOfVersionRequest& request) const; + DescribeDcdnDdosServiceOutcome describeDcdnDdosService(const Model::DescribeDcdnDdosServiceRequest &request)const; + void describeDcdnDdosServiceAsync(const Model::DescribeDcdnDdosServiceRequest& request, const DescribeDcdnDdosServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDdosServiceOutcomeCallable describeDcdnDdosServiceCallable(const Model::DescribeDcdnDdosServiceRequest& request) const; + DescribeDcdnDdosSpecInfoOutcome describeDcdnDdosSpecInfo(const Model::DescribeDcdnDdosSpecInfoRequest &request)const; + void describeDcdnDdosSpecInfoAsync(const Model::DescribeDcdnDdosSpecInfoRequest& request, const DescribeDcdnDdosSpecInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDdosSpecInfoOutcomeCallable describeDcdnDdosSpecInfoCallable(const Model::DescribeDcdnDdosSpecInfoRequest& request) const; DescribeDcdnDeletedDomainsOutcome describeDcdnDeletedDomains(const Model::DescribeDcdnDeletedDomainsRequest &request)const; void describeDcdnDeletedDomainsAsync(const Model::DescribeDcdnDeletedDomainsRequest& request, const DescribeDcdnDeletedDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDeletedDomainsOutcomeCallable describeDcdnDeletedDomainsCallable(const Model::DescribeDcdnDeletedDomainsRequest& request) const; @@ -946,6 +1338,9 @@ namespace AlibabaCloud DescribeDcdnDomainBpsDataOutcome describeDcdnDomainBpsData(const Model::DescribeDcdnDomainBpsDataRequest &request)const; void describeDcdnDomainBpsDataAsync(const Model::DescribeDcdnDomainBpsDataRequest& request, const DescribeDcdnDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainBpsDataOutcomeCallable describeDcdnDomainBpsDataCallable(const Model::DescribeDcdnDomainBpsDataRequest& request) const; + DescribeDcdnDomainBpsDataByLayerOutcome describeDcdnDomainBpsDataByLayer(const Model::DescribeDcdnDomainBpsDataByLayerRequest &request)const; + void describeDcdnDomainBpsDataByLayerAsync(const Model::DescribeDcdnDomainBpsDataByLayerRequest& request, const DescribeDcdnDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainBpsDataByLayerOutcomeCallable describeDcdnDomainBpsDataByLayerCallable(const Model::DescribeDcdnDomainBpsDataByLayerRequest& request) const; DescribeDcdnDomainByCertificateOutcome describeDcdnDomainByCertificate(const Model::DescribeDcdnDomainByCertificateRequest &request)const; void describeDcdnDomainByCertificateAsync(const Model::DescribeDcdnDomainByCertificateRequest& request, const DescribeDcdnDomainByCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainByCertificateOutcomeCallable describeDcdnDomainByCertificateCallable(const Model::DescribeDcdnDomainByCertificateRequest& request) const; @@ -970,9 +1365,15 @@ namespace AlibabaCloud DescribeDcdnDomainHttpCodeDataOutcome describeDcdnDomainHttpCodeData(const Model::DescribeDcdnDomainHttpCodeDataRequest &request)const; void describeDcdnDomainHttpCodeDataAsync(const Model::DescribeDcdnDomainHttpCodeDataRequest& request, const DescribeDcdnDomainHttpCodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainHttpCodeDataOutcomeCallable describeDcdnDomainHttpCodeDataCallable(const Model::DescribeDcdnDomainHttpCodeDataRequest& request) const; + DescribeDcdnDomainHttpCodeDataByLayerOutcome describeDcdnDomainHttpCodeDataByLayer(const Model::DescribeDcdnDomainHttpCodeDataByLayerRequest &request)const; + void describeDcdnDomainHttpCodeDataByLayerAsync(const Model::DescribeDcdnDomainHttpCodeDataByLayerRequest& request, const DescribeDcdnDomainHttpCodeDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainHttpCodeDataByLayerOutcomeCallable describeDcdnDomainHttpCodeDataByLayerCallable(const Model::DescribeDcdnDomainHttpCodeDataByLayerRequest& request) const; DescribeDcdnDomainIpaBpsDataOutcome describeDcdnDomainIpaBpsData(const Model::DescribeDcdnDomainIpaBpsDataRequest &request)const; void describeDcdnDomainIpaBpsDataAsync(const Model::DescribeDcdnDomainIpaBpsDataRequest& request, const DescribeDcdnDomainIpaBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainIpaBpsDataOutcomeCallable describeDcdnDomainIpaBpsDataCallable(const Model::DescribeDcdnDomainIpaBpsDataRequest& request) const; + DescribeDcdnDomainIpaConnDataOutcome describeDcdnDomainIpaConnData(const Model::DescribeDcdnDomainIpaConnDataRequest &request)const; + void describeDcdnDomainIpaConnDataAsync(const Model::DescribeDcdnDomainIpaConnDataRequest& request, const DescribeDcdnDomainIpaConnDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainIpaConnDataOutcomeCallable describeDcdnDomainIpaConnDataCallable(const Model::DescribeDcdnDomainIpaConnDataRequest& request) const; DescribeDcdnDomainIpaTrafficDataOutcome describeDcdnDomainIpaTrafficData(const Model::DescribeDcdnDomainIpaTrafficDataRequest &request)const; void describeDcdnDomainIpaTrafficDataAsync(const Model::DescribeDcdnDomainIpaTrafficDataRequest& request, const DescribeDcdnDomainIpaTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainIpaTrafficDataOutcomeCallable describeDcdnDomainIpaTrafficDataCallable(const Model::DescribeDcdnDomainIpaTrafficDataRequest& request) const; @@ -982,6 +1383,9 @@ namespace AlibabaCloud DescribeDcdnDomainLogOutcome describeDcdnDomainLog(const Model::DescribeDcdnDomainLogRequest &request)const; void describeDcdnDomainLogAsync(const Model::DescribeDcdnDomainLogRequest& request, const DescribeDcdnDomainLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainLogOutcomeCallable describeDcdnDomainLogCallable(const Model::DescribeDcdnDomainLogRequest& request) const; + DescribeDcdnDomainLogExTtlOutcome describeDcdnDomainLogExTtl(const Model::DescribeDcdnDomainLogExTtlRequest &request)const; + void describeDcdnDomainLogExTtlAsync(const Model::DescribeDcdnDomainLogExTtlRequest& request, const DescribeDcdnDomainLogExTtlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainLogExTtlOutcomeCallable describeDcdnDomainLogExTtlCallable(const Model::DescribeDcdnDomainLogExTtlRequest& request) const; DescribeDcdnDomainMultiUsageDataOutcome describeDcdnDomainMultiUsageData(const Model::DescribeDcdnDomainMultiUsageDataRequest &request)const; void describeDcdnDomainMultiUsageDataAsync(const Model::DescribeDcdnDomainMultiUsageDataRequest& request, const DescribeDcdnDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainMultiUsageDataOutcomeCallable describeDcdnDomainMultiUsageDataCallable(const Model::DescribeDcdnDomainMultiUsageDataRequest& request) const; @@ -1000,6 +1404,9 @@ namespace AlibabaCloud DescribeDcdnDomainQpsDataOutcome describeDcdnDomainQpsData(const Model::DescribeDcdnDomainQpsDataRequest &request)const; void describeDcdnDomainQpsDataAsync(const Model::DescribeDcdnDomainQpsDataRequest& request, const DescribeDcdnDomainQpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainQpsDataOutcomeCallable describeDcdnDomainQpsDataCallable(const Model::DescribeDcdnDomainQpsDataRequest& request) const; + DescribeDcdnDomainQpsDataByLayerOutcome describeDcdnDomainQpsDataByLayer(const Model::DescribeDcdnDomainQpsDataByLayerRequest &request)const; + void describeDcdnDomainQpsDataByLayerAsync(const Model::DescribeDcdnDomainQpsDataByLayerRequest& request, const DescribeDcdnDomainQpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainQpsDataByLayerOutcomeCallable describeDcdnDomainQpsDataByLayerCallable(const Model::DescribeDcdnDomainQpsDataByLayerRequest& request) const; DescribeDcdnDomainRealTimeBpsDataOutcome describeDcdnDomainRealTimeBpsData(const Model::DescribeDcdnDomainRealTimeBpsDataRequest &request)const; void describeDcdnDomainRealTimeBpsDataAsync(const Model::DescribeDcdnDomainRealTimeBpsDataRequest& request, const DescribeDcdnDomainRealTimeBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainRealTimeBpsDataOutcomeCallable describeDcdnDomainRealTimeBpsDataCallable(const Model::DescribeDcdnDomainRealTimeBpsDataRequest& request) const; @@ -1060,18 +1467,27 @@ namespace AlibabaCloud DescribeDcdnDomainWebsocketTrafficDataOutcome describeDcdnDomainWebsocketTrafficData(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest &request)const; void describeDcdnDomainWebsocketTrafficDataAsync(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest& request, const DescribeDcdnDomainWebsocketTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable describeDcdnDomainWebsocketTrafficDataCallable(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest& request) const; - DescribeDcdnEsExceptionDataOutcome describeDcdnEsExceptionData(const Model::DescribeDcdnEsExceptionDataRequest &request)const; - void describeDcdnEsExceptionDataAsync(const Model::DescribeDcdnEsExceptionDataRequest& request, const DescribeDcdnEsExceptionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDcdnEsExceptionDataOutcomeCallable describeDcdnEsExceptionDataCallable(const Model::DescribeDcdnEsExceptionDataRequest& request) const; - DescribeDcdnEsExecuteDataOutcome describeDcdnEsExecuteData(const Model::DescribeDcdnEsExecuteDataRequest &request)const; - void describeDcdnEsExecuteDataAsync(const Model::DescribeDcdnEsExecuteDataRequest& request, const DescribeDcdnEsExecuteDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDcdnEsExecuteDataOutcomeCallable describeDcdnEsExecuteDataCallable(const Model::DescribeDcdnEsExecuteDataRequest& request) const; + DescribeDcdnDomainsBySourceOutcome describeDcdnDomainsBySource(const Model::DescribeDcdnDomainsBySourceRequest &request)const; + void describeDcdnDomainsBySourceAsync(const Model::DescribeDcdnDomainsBySourceRequest& request, const DescribeDcdnDomainsBySourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainsBySourceOutcomeCallable describeDcdnDomainsBySourceCallable(const Model::DescribeDcdnDomainsBySourceRequest& request) const; + DescribeDcdnErUsageDataOutcome describeDcdnErUsageData(const Model::DescribeDcdnErUsageDataRequest &request)const; + void describeDcdnErUsageDataAsync(const Model::DescribeDcdnErUsageDataRequest& request, const DescribeDcdnErUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnErUsageDataOutcomeCallable describeDcdnErUsageDataCallable(const Model::DescribeDcdnErUsageDataRequest& request) const; + DescribeDcdnFullDomainsBlockIPConfigOutcome describeDcdnFullDomainsBlockIPConfig(const Model::DescribeDcdnFullDomainsBlockIPConfigRequest &request)const; + void describeDcdnFullDomainsBlockIPConfigAsync(const Model::DescribeDcdnFullDomainsBlockIPConfigRequest& request, const DescribeDcdnFullDomainsBlockIPConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnFullDomainsBlockIPConfigOutcomeCallable describeDcdnFullDomainsBlockIPConfigCallable(const Model::DescribeDcdnFullDomainsBlockIPConfigRequest& request) const; + DescribeDcdnFullDomainsBlockIPHistoryOutcome describeDcdnFullDomainsBlockIPHistory(const Model::DescribeDcdnFullDomainsBlockIPHistoryRequest &request)const; + void describeDcdnFullDomainsBlockIPHistoryAsync(const Model::DescribeDcdnFullDomainsBlockIPHistoryRequest& request, const DescribeDcdnFullDomainsBlockIPHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnFullDomainsBlockIPHistoryOutcomeCallable describeDcdnFullDomainsBlockIPHistoryCallable(const Model::DescribeDcdnFullDomainsBlockIPHistoryRequest& request) const; DescribeDcdnHttpsDomainListOutcome describeDcdnHttpsDomainList(const Model::DescribeDcdnHttpsDomainListRequest &request)const; void describeDcdnHttpsDomainListAsync(const Model::DescribeDcdnHttpsDomainListRequest& request, const DescribeDcdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnHttpsDomainListOutcomeCallable describeDcdnHttpsDomainListCallable(const Model::DescribeDcdnHttpsDomainListRequest& request) const; DescribeDcdnIpInfoOutcome describeDcdnIpInfo(const Model::DescribeDcdnIpInfoRequest &request)const; void describeDcdnIpInfoAsync(const Model::DescribeDcdnIpInfoRequest& request, const DescribeDcdnIpInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnIpInfoOutcomeCallable describeDcdnIpInfoCallable(const Model::DescribeDcdnIpInfoRequest& request) const; + DescribeDcdnIpaDomainCidrOutcome describeDcdnIpaDomainCidr(const Model::DescribeDcdnIpaDomainCidrRequest &request)const; + void describeDcdnIpaDomainCidrAsync(const Model::DescribeDcdnIpaDomainCidrRequest& request, const DescribeDcdnIpaDomainCidrAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnIpaDomainCidrOutcomeCallable describeDcdnIpaDomainCidrCallable(const Model::DescribeDcdnIpaDomainCidrRequest& request) const; DescribeDcdnIpaDomainConfigsOutcome describeDcdnIpaDomainConfigs(const Model::DescribeDcdnIpaDomainConfigsRequest &request)const; void describeDcdnIpaDomainConfigsAsync(const Model::DescribeDcdnIpaDomainConfigsRequest& request, const DescribeDcdnIpaDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnIpaDomainConfigsOutcomeCallable describeDcdnIpaDomainConfigsCallable(const Model::DescribeDcdnIpaDomainConfigsRequest& request) const; @@ -1084,6 +1500,24 @@ namespace AlibabaCloud DescribeDcdnIpaUserDomainsOutcome describeDcdnIpaUserDomains(const Model::DescribeDcdnIpaUserDomainsRequest &request)const; void describeDcdnIpaUserDomainsAsync(const Model::DescribeDcdnIpaUserDomainsRequest& request, const DescribeDcdnIpaUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnIpaUserDomainsOutcomeCallable describeDcdnIpaUserDomainsCallable(const Model::DescribeDcdnIpaUserDomainsRequest& request) const; + DescribeDcdnKvAccountOutcome describeDcdnKvAccount(const Model::DescribeDcdnKvAccountRequest &request)const; + void describeDcdnKvAccountAsync(const Model::DescribeDcdnKvAccountRequest& request, const DescribeDcdnKvAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnKvAccountOutcomeCallable describeDcdnKvAccountCallable(const Model::DescribeDcdnKvAccountRequest& request) const; + DescribeDcdnKvAccountStatusOutcome describeDcdnKvAccountStatus(const Model::DescribeDcdnKvAccountStatusRequest &request)const; + void describeDcdnKvAccountStatusAsync(const Model::DescribeDcdnKvAccountStatusRequest& request, const DescribeDcdnKvAccountStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnKvAccountStatusOutcomeCallable describeDcdnKvAccountStatusCallable(const Model::DescribeDcdnKvAccountStatusRequest& request) const; + DescribeDcdnKvNamespaceOutcome describeDcdnKvNamespace(const Model::DescribeDcdnKvNamespaceRequest &request)const; + void describeDcdnKvNamespaceAsync(const Model::DescribeDcdnKvNamespaceRequest& request, const DescribeDcdnKvNamespaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnKvNamespaceOutcomeCallable describeDcdnKvNamespaceCallable(const Model::DescribeDcdnKvNamespaceRequest& request) const; + DescribeDcdnL2IpsOutcome describeDcdnL2Ips(const Model::DescribeDcdnL2IpsRequest &request)const; + void describeDcdnL2IpsAsync(const Model::DescribeDcdnL2IpsRequest& request, const DescribeDcdnL2IpsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnL2IpsOutcomeCallable describeDcdnL2IpsCallable(const Model::DescribeDcdnL2IpsRequest& request) const; + DescribeDcdnL2VipsOutcome describeDcdnL2Vips(const Model::DescribeDcdnL2VipsRequest &request)const; + void describeDcdnL2VipsAsync(const Model::DescribeDcdnL2VipsRequest& request, const DescribeDcdnL2VipsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnL2VipsOutcomeCallable describeDcdnL2VipsCallable(const Model::DescribeDcdnL2VipsRequest& request) const; + DescribeDcdnOriginSiteHealthStatusOutcome describeDcdnOriginSiteHealthStatus(const Model::DescribeDcdnOriginSiteHealthStatusRequest &request)const; + void describeDcdnOriginSiteHealthStatusAsync(const Model::DescribeDcdnOriginSiteHealthStatusRequest& request, const DescribeDcdnOriginSiteHealthStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnOriginSiteHealthStatusOutcomeCallable describeDcdnOriginSiteHealthStatusCallable(const Model::DescribeDcdnOriginSiteHealthStatusRequest& request) const; DescribeDcdnRealTimeDeliveryFieldOutcome describeDcdnRealTimeDeliveryField(const Model::DescribeDcdnRealTimeDeliveryFieldRequest &request)const; void describeDcdnRealTimeDeliveryFieldAsync(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request, const DescribeDcdnRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnRealTimeDeliveryFieldOutcomeCallable describeDcdnRealTimeDeliveryFieldCallable(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request) const; @@ -1105,6 +1539,9 @@ namespace AlibabaCloud DescribeDcdnReportListOutcome describeDcdnReportList(const Model::DescribeDcdnReportListRequest &request)const; void describeDcdnReportListAsync(const Model::DescribeDcdnReportListRequest& request, const DescribeDcdnReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnReportListOutcomeCallable describeDcdnReportListCallable(const Model::DescribeDcdnReportListRequest& request) const; + DescribeDcdnSLSRealTimeLogTypeOutcome describeDcdnSLSRealTimeLogType(const Model::DescribeDcdnSLSRealTimeLogTypeRequest &request)const; + void describeDcdnSLSRealTimeLogTypeAsync(const Model::DescribeDcdnSLSRealTimeLogTypeRequest& request, const DescribeDcdnSLSRealTimeLogTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnSLSRealTimeLogTypeOutcomeCallable describeDcdnSLSRealTimeLogTypeCallable(const Model::DescribeDcdnSLSRealTimeLogTypeRequest& request) const; DescribeDcdnSLSRealtimeLogDeliveryOutcome describeDcdnSLSRealtimeLogDelivery(const Model::DescribeDcdnSLSRealtimeLogDeliveryRequest &request)const; void describeDcdnSLSRealtimeLogDeliveryAsync(const Model::DescribeDcdnSLSRealtimeLogDeliveryRequest& request, const DescribeDcdnSLSRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnSLSRealtimeLogDeliveryOutcomeCallable describeDcdnSLSRealtimeLogDeliveryCallable(const Model::DescribeDcdnSLSRealtimeLogDeliveryRequest& request) const; @@ -1114,6 +1551,9 @@ namespace AlibabaCloud DescribeDcdnSMCertificateListOutcome describeDcdnSMCertificateList(const Model::DescribeDcdnSMCertificateListRequest &request)const; void describeDcdnSMCertificateListAsync(const Model::DescribeDcdnSMCertificateListRequest& request, const DescribeDcdnSMCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnSMCertificateListOutcomeCallable describeDcdnSMCertificateListCallable(const Model::DescribeDcdnSMCertificateListRequest& request) const; + DescribeDcdnSSLCertificateListOutcome describeDcdnSSLCertificateList(const Model::DescribeDcdnSSLCertificateListRequest &request)const; + void describeDcdnSSLCertificateListAsync(const Model::DescribeDcdnSSLCertificateListRequest& request, const DescribeDcdnSSLCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnSSLCertificateListOutcomeCallable describeDcdnSSLCertificateListCallable(const Model::DescribeDcdnSSLCertificateListRequest& request) const; DescribeDcdnSecFuncInfoOutcome describeDcdnSecFuncInfo(const Model::DescribeDcdnSecFuncInfoRequest &request)const; void describeDcdnSecFuncInfoAsync(const Model::DescribeDcdnSecFuncInfoRequest& request, const DescribeDcdnSecFuncInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnSecFuncInfoOutcomeCallable describeDcdnSecFuncInfoCallable(const Model::DescribeDcdnSecFuncInfoRequest& request) const; @@ -1141,6 +1581,12 @@ namespace AlibabaCloud DescribeDcdnUserBillTypeOutcome describeDcdnUserBillType(const Model::DescribeDcdnUserBillTypeRequest &request)const; void describeDcdnUserBillTypeAsync(const Model::DescribeDcdnUserBillTypeRequest& request, const DescribeDcdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserBillTypeOutcomeCallable describeDcdnUserBillTypeCallable(const Model::DescribeDcdnUserBillTypeRequest& request) const; + DescribeDcdnUserCertificateExpireCountOutcome describeDcdnUserCertificateExpireCount(const Model::DescribeDcdnUserCertificateExpireCountRequest &request)const; + void describeDcdnUserCertificateExpireCountAsync(const Model::DescribeDcdnUserCertificateExpireCountRequest& request, const DescribeDcdnUserCertificateExpireCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserCertificateExpireCountOutcomeCallable describeDcdnUserCertificateExpireCountCallable(const Model::DescribeDcdnUserCertificateExpireCountRequest& request) const; + DescribeDcdnUserConfigsOutcome describeDcdnUserConfigs(const Model::DescribeDcdnUserConfigsRequest &request)const; + void describeDcdnUserConfigsAsync(const Model::DescribeDcdnUserConfigsRequest& request, const DescribeDcdnUserConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserConfigsOutcomeCallable describeDcdnUserConfigsCallable(const Model::DescribeDcdnUserConfigsRequest& request) const; DescribeDcdnUserDomainsOutcome describeDcdnUserDomains(const Model::DescribeDcdnUserDomainsRequest &request)const; void describeDcdnUserDomainsAsync(const Model::DescribeDcdnUserDomainsRequest& request, const DescribeDcdnUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserDomainsOutcomeCallable describeDcdnUserDomainsCallable(const Model::DescribeDcdnUserDomainsRequest& request) const; @@ -1165,15 +1611,93 @@ namespace AlibabaCloud DescribeDcdnUserTagsOutcome describeDcdnUserTags(const Model::DescribeDcdnUserTagsRequest &request)const; void describeDcdnUserTagsAsync(const Model::DescribeDcdnUserTagsRequest& request, const DescribeDcdnUserTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserTagsOutcomeCallable describeDcdnUserTagsCallable(const Model::DescribeDcdnUserTagsRequest& request) const; + DescribeDcdnUserVipsByDomainOutcome describeDcdnUserVipsByDomain(const Model::DescribeDcdnUserVipsByDomainRequest &request)const; + void describeDcdnUserVipsByDomainAsync(const Model::DescribeDcdnUserVipsByDomainRequest& request, const DescribeDcdnUserVipsByDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserVipsByDomainOutcomeCallable describeDcdnUserVipsByDomainCallable(const Model::DescribeDcdnUserVipsByDomainRequest& request) const; DescribeDcdnVerifyContentOutcome describeDcdnVerifyContent(const Model::DescribeDcdnVerifyContentRequest &request)const; void describeDcdnVerifyContentAsync(const Model::DescribeDcdnVerifyContentRequest& request, const DescribeDcdnVerifyContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnVerifyContentOutcomeCallable describeDcdnVerifyContentCallable(const Model::DescribeDcdnVerifyContentRequest& request) const; + DescribeDcdnWafBotAppKeyOutcome describeDcdnWafBotAppKey(const Model::DescribeDcdnWafBotAppKeyRequest &request)const; + void describeDcdnWafBotAppKeyAsync(const Model::DescribeDcdnWafBotAppKeyRequest& request, const DescribeDcdnWafBotAppKeyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafBotAppKeyOutcomeCallable describeDcdnWafBotAppKeyCallable(const Model::DescribeDcdnWafBotAppKeyRequest& request) const; + DescribeDcdnWafDefaultRulesOutcome describeDcdnWafDefaultRules(const Model::DescribeDcdnWafDefaultRulesRequest &request)const; + void describeDcdnWafDefaultRulesAsync(const Model::DescribeDcdnWafDefaultRulesRequest& request, const DescribeDcdnWafDefaultRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafDefaultRulesOutcomeCallable describeDcdnWafDefaultRulesCallable(const Model::DescribeDcdnWafDefaultRulesRequest& request) const; DescribeDcdnWafDomainOutcome describeDcdnWafDomain(const Model::DescribeDcdnWafDomainRequest &request)const; void describeDcdnWafDomainAsync(const Model::DescribeDcdnWafDomainRequest& request, const DescribeDcdnWafDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnWafDomainOutcomeCallable describeDcdnWafDomainCallable(const Model::DescribeDcdnWafDomainRequest& request) const; + DescribeDcdnWafDomainDetailOutcome describeDcdnWafDomainDetail(const Model::DescribeDcdnWafDomainDetailRequest &request)const; + void describeDcdnWafDomainDetailAsync(const Model::DescribeDcdnWafDomainDetailRequest& request, const DescribeDcdnWafDomainDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafDomainDetailOutcomeCallable describeDcdnWafDomainDetailCallable(const Model::DescribeDcdnWafDomainDetailRequest& request) const; + DescribeDcdnWafDomainsOutcome describeDcdnWafDomains(const Model::DescribeDcdnWafDomainsRequest &request)const; + void describeDcdnWafDomainsAsync(const Model::DescribeDcdnWafDomainsRequest& request, const DescribeDcdnWafDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafDomainsOutcomeCallable describeDcdnWafDomainsCallable(const Model::DescribeDcdnWafDomainsRequest& request) const; + DescribeDcdnWafFilterInfoOutcome describeDcdnWafFilterInfo(const Model::DescribeDcdnWafFilterInfoRequest &request)const; + void describeDcdnWafFilterInfoAsync(const Model::DescribeDcdnWafFilterInfoRequest& request, const DescribeDcdnWafFilterInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafFilterInfoOutcomeCallable describeDcdnWafFilterInfoCallable(const Model::DescribeDcdnWafFilterInfoRequest& request) const; + DescribeDcdnWafGeoInfoOutcome describeDcdnWafGeoInfo(const Model::DescribeDcdnWafGeoInfoRequest &request)const; + void describeDcdnWafGeoInfoAsync(const Model::DescribeDcdnWafGeoInfoRequest& request, const DescribeDcdnWafGeoInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafGeoInfoOutcomeCallable describeDcdnWafGeoInfoCallable(const Model::DescribeDcdnWafGeoInfoRequest& request) const; + DescribeDcdnWafGroupOutcome describeDcdnWafGroup(const Model::DescribeDcdnWafGroupRequest &request)const; + void describeDcdnWafGroupAsync(const Model::DescribeDcdnWafGroupRequest& request, const DescribeDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafGroupOutcomeCallable describeDcdnWafGroupCallable(const Model::DescribeDcdnWafGroupRequest& request) const; + DescribeDcdnWafGroupsOutcome describeDcdnWafGroups(const Model::DescribeDcdnWafGroupsRequest &request)const; + void describeDcdnWafGroupsAsync(const Model::DescribeDcdnWafGroupsRequest& request, const DescribeDcdnWafGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafGroupsOutcomeCallable describeDcdnWafGroupsCallable(const Model::DescribeDcdnWafGroupsRequest& request) const; + DescribeDcdnWafLogsOutcome describeDcdnWafLogs(const Model::DescribeDcdnWafLogsRequest &request)const; + void describeDcdnWafLogsAsync(const Model::DescribeDcdnWafLogsRequest& request, const DescribeDcdnWafLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafLogsOutcomeCallable describeDcdnWafLogsCallable(const Model::DescribeDcdnWafLogsRequest& request) const; + DescribeDcdnWafPoliciesOutcome describeDcdnWafPolicies(const Model::DescribeDcdnWafPoliciesRequest &request)const; + void describeDcdnWafPoliciesAsync(const Model::DescribeDcdnWafPoliciesRequest& request, const DescribeDcdnWafPoliciesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafPoliciesOutcomeCallable describeDcdnWafPoliciesCallable(const Model::DescribeDcdnWafPoliciesRequest& request) const; + DescribeDcdnWafPolicyOutcome describeDcdnWafPolicy(const Model::DescribeDcdnWafPolicyRequest &request)const; + void describeDcdnWafPolicyAsync(const Model::DescribeDcdnWafPolicyRequest& request, const DescribeDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafPolicyOutcomeCallable describeDcdnWafPolicyCallable(const Model::DescribeDcdnWafPolicyRequest& request) const; + DescribeDcdnWafPolicyDomainsOutcome describeDcdnWafPolicyDomains(const Model::DescribeDcdnWafPolicyDomainsRequest &request)const; + void describeDcdnWafPolicyDomainsAsync(const Model::DescribeDcdnWafPolicyDomainsRequest& request, const DescribeDcdnWafPolicyDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafPolicyDomainsOutcomeCallable describeDcdnWafPolicyDomainsCallable(const Model::DescribeDcdnWafPolicyDomainsRequest& request) const; + DescribeDcdnWafPolicyValidDomainsOutcome describeDcdnWafPolicyValidDomains(const Model::DescribeDcdnWafPolicyValidDomainsRequest &request)const; + void describeDcdnWafPolicyValidDomainsAsync(const Model::DescribeDcdnWafPolicyValidDomainsRequest& request, const DescribeDcdnWafPolicyValidDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafPolicyValidDomainsOutcomeCallable describeDcdnWafPolicyValidDomainsCallable(const Model::DescribeDcdnWafPolicyValidDomainsRequest& request) const; + DescribeDcdnWafRuleOutcome describeDcdnWafRule(const Model::DescribeDcdnWafRuleRequest &request)const; + void describeDcdnWafRuleAsync(const Model::DescribeDcdnWafRuleRequest& request, const DescribeDcdnWafRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafRuleOutcomeCallable describeDcdnWafRuleCallable(const Model::DescribeDcdnWafRuleRequest& request) const; + DescribeDcdnWafRulesOutcome describeDcdnWafRules(const Model::DescribeDcdnWafRulesRequest &request)const; + void describeDcdnWafRulesAsync(const Model::DescribeDcdnWafRulesRequest& request, const DescribeDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafRulesOutcomeCallable describeDcdnWafRulesCallable(const Model::DescribeDcdnWafRulesRequest& request) const; + DescribeDcdnWafScenesOutcome describeDcdnWafScenes(const Model::DescribeDcdnWafScenesRequest &request)const; + void describeDcdnWafScenesAsync(const Model::DescribeDcdnWafScenesRequest& request, const DescribeDcdnWafScenesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafScenesOutcomeCallable describeDcdnWafScenesCallable(const Model::DescribeDcdnWafScenesRequest& request) const; + DescribeDcdnWafServiceOutcome describeDcdnWafService(const Model::DescribeDcdnWafServiceRequest &request)const; + void describeDcdnWafServiceAsync(const Model::DescribeDcdnWafServiceRequest& request, const DescribeDcdnWafServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafServiceOutcomeCallable describeDcdnWafServiceCallable(const Model::DescribeDcdnWafServiceRequest& request) const; + DescribeDcdnWafSpecInfoOutcome describeDcdnWafSpecInfo(const Model::DescribeDcdnWafSpecInfoRequest &request)const; + void describeDcdnWafSpecInfoAsync(const Model::DescribeDcdnWafSpecInfoRequest& request, const DescribeDcdnWafSpecInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafSpecInfoOutcomeCallable describeDcdnWafSpecInfoCallable(const Model::DescribeDcdnWafSpecInfoRequest& request) const; + DescribeDcdnWafUsageDataOutcome describeDcdnWafUsageData(const Model::DescribeDcdnWafUsageDataRequest &request)const; + void describeDcdnWafUsageDataAsync(const Model::DescribeDcdnWafUsageDataRequest& request, const DescribeDcdnWafUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnWafUsageDataOutcomeCallable describeDcdnWafUsageDataCallable(const Model::DescribeDcdnWafUsageDataRequest& request) const; DescribeDcdnsecServiceOutcome describeDcdnsecService(const Model::DescribeDcdnsecServiceRequest &request)const; void describeDcdnsecServiceAsync(const Model::DescribeDcdnsecServiceRequest& request, const DescribeDcdnsecServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnsecServiceOutcomeCallable describeDcdnsecServiceCallable(const Model::DescribeDcdnsecServiceRequest& request) const; + DescribeDdosAllEventListOutcome describeDdosAllEventList(const Model::DescribeDdosAllEventListRequest &request)const; + void describeDdosAllEventListAsync(const Model::DescribeDdosAllEventListRequest& request, const DescribeDdosAllEventListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDdosAllEventListOutcomeCallable describeDdosAllEventListCallable(const Model::DescribeDdosAllEventListRequest& request) const; + DescribeEncryptRoutineUidOutcome describeEncryptRoutineUid(const Model::DescribeEncryptRoutineUidRequest &request)const; + void describeEncryptRoutineUidAsync(const Model::DescribeEncryptRoutineUidRequest& request, const DescribeEncryptRoutineUidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeEncryptRoutineUidOutcomeCallable describeEncryptRoutineUidCallable(const Model::DescribeEncryptRoutineUidRequest& request) const; + DescribeHighlightInfoOutcome describeHighlightInfo(const Model::DescribeHighlightInfoRequest &request)const; + void describeHighlightInfoAsync(const Model::DescribeHighlightInfoRequest& request, const DescribeHighlightInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeHighlightInfoOutcomeCallable describeHighlightInfoCallable(const Model::DescribeHighlightInfoRequest& request) const; + DescribeKvUsageDataOutcome describeKvUsageData(const Model::DescribeKvUsageDataRequest &request)const; + void describeKvUsageDataAsync(const Model::DescribeKvUsageDataRequest& request, const DescribeKvUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeKvUsageDataOutcomeCallable describeKvUsageDataCallable(const Model::DescribeKvUsageDataRequest& request) const; + DescribeRDDomainConfigOutcome describeRDDomainConfig(const Model::DescribeRDDomainConfigRequest &request)const; + void describeRDDomainConfigAsync(const Model::DescribeRDDomainConfigRequest& request, const DescribeRDDomainConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRDDomainConfigOutcomeCallable describeRDDomainConfigCallable(const Model::DescribeRDDomainConfigRequest& request) const; + DescribeRDDomainsOutcome describeRDDomains(const Model::DescribeRDDomainsRequest &request)const; + void describeRDDomainsAsync(const Model::DescribeRDDomainsRequest& request, const DescribeRDDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRDDomainsOutcomeCallable describeRDDomainsCallable(const Model::DescribeRDDomainsRequest& request) const; DescribeRoutineOutcome describeRoutine(const Model::DescribeRoutineRequest &request)const; void describeRoutineAsync(const Model::DescribeRoutineRequest& request, const DescribeRoutineAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRoutineOutcomeCallable describeRoutineCallable(const Model::DescribeRoutineRequest& request) const; @@ -1183,6 +1707,9 @@ namespace AlibabaCloud DescribeRoutineCodeRevisionOutcome describeRoutineCodeRevision(const Model::DescribeRoutineCodeRevisionRequest &request)const; void describeRoutineCodeRevisionAsync(const Model::DescribeRoutineCodeRevisionRequest& request, const DescribeRoutineCodeRevisionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRoutineCodeRevisionOutcomeCallable describeRoutineCodeRevisionCallable(const Model::DescribeRoutineCodeRevisionRequest& request) const; + DescribeRoutineRelatedDomainsOutcome describeRoutineRelatedDomains(const Model::DescribeRoutineRelatedDomainsRequest &request)const; + void describeRoutineRelatedDomainsAsync(const Model::DescribeRoutineRelatedDomainsRequest& request, const DescribeRoutineRelatedDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRoutineRelatedDomainsOutcomeCallable describeRoutineRelatedDomainsCallable(const Model::DescribeRoutineRelatedDomainsRequest& request) const; DescribeRoutineSpecOutcome describeRoutineSpec(const Model::DescribeRoutineSpecRequest &request)const; void describeRoutineSpecAsync(const Model::DescribeRoutineSpecRequest& request, const DescribeRoutineSpecAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRoutineSpecOutcomeCallable describeRoutineSpecCallable(const Model::DescribeRoutineSpecRequest& request) const; @@ -1204,15 +1731,33 @@ namespace AlibabaCloud EditRoutineConfOutcome editRoutineConf(const Model::EditRoutineConfRequest &request)const; void editRoutineConfAsync(const Model::EditRoutineConfRequest& request, const EditRoutineConfAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EditRoutineConfOutcomeCallable editRoutineConfCallable(const Model::EditRoutineConfRequest& request) const; - ListDcdnEsTemplateInfoOutcome listDcdnEsTemplateInfo(const Model::ListDcdnEsTemplateInfoRequest &request)const; - void listDcdnEsTemplateInfoAsync(const Model::ListDcdnEsTemplateInfoRequest& request, const ListDcdnEsTemplateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDcdnEsTemplateInfoOutcomeCallable listDcdnEsTemplateInfoCallable(const Model::ListDcdnEsTemplateInfoRequest& request) const; + GetDcdnKvOutcome getDcdnKv(const Model::GetDcdnKvRequest &request)const; + void getDcdnKvAsync(const Model::GetDcdnKvRequest& request, const GetDcdnKvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDcdnKvOutcomeCallable getDcdnKvCallable(const Model::GetDcdnKvRequest& request) const; + GetDcdnKvStatusOutcome getDcdnKvStatus(const Model::GetDcdnKvStatusRequest &request)const; + void getDcdnKvStatusAsync(const Model::GetDcdnKvStatusRequest& request, const GetDcdnKvStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDcdnKvStatusOutcomeCallable getDcdnKvStatusCallable(const Model::GetDcdnKvStatusRequest& request) const; + ListDcdnKvOutcome listDcdnKv(const Model::ListDcdnKvRequest &request)const; + void listDcdnKvAsync(const Model::ListDcdnKvRequest& request, const ListDcdnKvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDcdnKvOutcomeCallable listDcdnKvCallable(const Model::ListDcdnKvRequest& request) const; ListDcdnRealTimeDeliveryProjectOutcome listDcdnRealTimeDeliveryProject(const Model::ListDcdnRealTimeDeliveryProjectRequest &request)const; void listDcdnRealTimeDeliveryProjectAsync(const Model::ListDcdnRealTimeDeliveryProjectRequest& request, const ListDcdnRealTimeDeliveryProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDcdnRealTimeDeliveryProjectOutcomeCallable listDcdnRealTimeDeliveryProjectCallable(const Model::ListDcdnRealTimeDeliveryProjectRequest& request) const; ModifyDCdnDomainSchdmByPropertyOutcome modifyDCdnDomainSchdmByProperty(const Model::ModifyDCdnDomainSchdmByPropertyRequest &request)const; void modifyDCdnDomainSchdmByPropertyAsync(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request, const ModifyDCdnDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDCdnDomainSchdmByPropertyOutcomeCallable modifyDCdnDomainSchdmByPropertyCallable(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request) const; + ModifyDcdnWafGroupOutcome modifyDcdnWafGroup(const Model::ModifyDcdnWafGroupRequest &request)const; + void modifyDcdnWafGroupAsync(const Model::ModifyDcdnWafGroupRequest& request, const ModifyDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDcdnWafGroupOutcomeCallable modifyDcdnWafGroupCallable(const Model::ModifyDcdnWafGroupRequest& request) const; + ModifyDcdnWafPolicyOutcome modifyDcdnWafPolicy(const Model::ModifyDcdnWafPolicyRequest &request)const; + void modifyDcdnWafPolicyAsync(const Model::ModifyDcdnWafPolicyRequest& request, const ModifyDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDcdnWafPolicyOutcomeCallable modifyDcdnWafPolicyCallable(const Model::ModifyDcdnWafPolicyRequest& request) const; + ModifyDcdnWafPolicyDomainsOutcome modifyDcdnWafPolicyDomains(const Model::ModifyDcdnWafPolicyDomainsRequest &request)const; + void modifyDcdnWafPolicyDomainsAsync(const Model::ModifyDcdnWafPolicyDomainsRequest& request, const ModifyDcdnWafPolicyDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDcdnWafPolicyDomainsOutcomeCallable modifyDcdnWafPolicyDomainsCallable(const Model::ModifyDcdnWafPolicyDomainsRequest& request) const; + ModifyDcdnWafRuleOutcome modifyDcdnWafRule(const Model::ModifyDcdnWafRuleRequest &request)const; + void modifyDcdnWafRuleAsync(const Model::ModifyDcdnWafRuleRequest& request, const ModifyDcdnWafRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDcdnWafRuleOutcomeCallable modifyDcdnWafRuleCallable(const Model::ModifyDcdnWafRuleRequest& request) const; OpenDcdnServiceOutcome openDcdnService(const Model::OpenDcdnServiceRequest &request)const; void openDcdnServiceAsync(const Model::OpenDcdnServiceRequest& request, const OpenDcdnServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OpenDcdnServiceOutcomeCallable openDcdnServiceCallable(const Model::OpenDcdnServiceRequest& request) const; @@ -1225,15 +1770,27 @@ namespace AlibabaCloud PublishRoutineCodeRevisionOutcome publishRoutineCodeRevision(const Model::PublishRoutineCodeRevisionRequest &request)const; void publishRoutineCodeRevisionAsync(const Model::PublishRoutineCodeRevisionRequest& request, const PublishRoutineCodeRevisionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PublishRoutineCodeRevisionOutcomeCallable publishRoutineCodeRevisionCallable(const Model::PublishRoutineCodeRevisionRequest& request) const; + PutDcdnKvOutcome putDcdnKv(const Model::PutDcdnKvRequest &request)const; + void putDcdnKvAsync(const Model::PutDcdnKvRequest& request, const PutDcdnKvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PutDcdnKvOutcomeCallable putDcdnKvCallable(const Model::PutDcdnKvRequest& request) const; + PutDcdnKvNamespaceOutcome putDcdnKvNamespace(const Model::PutDcdnKvNamespaceRequest &request)const; + void putDcdnKvNamespaceAsync(const Model::PutDcdnKvNamespaceRequest& request, const PutDcdnKvNamespaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PutDcdnKvNamespaceOutcomeCallable putDcdnKvNamespaceCallable(const Model::PutDcdnKvNamespaceRequest& request) const; + PutDcdnKvWithHighCapacityOutcome putDcdnKvWithHighCapacity(const Model::PutDcdnKvWithHighCapacityRequest &request)const; + void putDcdnKvWithHighCapacityAsync(const Model::PutDcdnKvWithHighCapacityRequest& request, const PutDcdnKvWithHighCapacityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PutDcdnKvWithHighCapacityOutcomeCallable putDcdnKvWithHighCapacityCallable(const Model::PutDcdnKvWithHighCapacityRequest& request) const; + RefreshDcdnObjectCacheByCacheTagOutcome refreshDcdnObjectCacheByCacheTag(const Model::RefreshDcdnObjectCacheByCacheTagRequest &request)const; + void refreshDcdnObjectCacheByCacheTagAsync(const Model::RefreshDcdnObjectCacheByCacheTagRequest& request, const RefreshDcdnObjectCacheByCacheTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefreshDcdnObjectCacheByCacheTagOutcomeCallable refreshDcdnObjectCacheByCacheTagCallable(const Model::RefreshDcdnObjectCacheByCacheTagRequest& request) const; RefreshDcdnObjectCachesOutcome refreshDcdnObjectCaches(const Model::RefreshDcdnObjectCachesRequest &request)const; void refreshDcdnObjectCachesAsync(const Model::RefreshDcdnObjectCachesRequest& request, const RefreshDcdnObjectCachesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RefreshDcdnObjectCachesOutcomeCallable refreshDcdnObjectCachesCallable(const Model::RefreshDcdnObjectCachesRequest& request) const; + RefreshErObjectCachesOutcome refreshErObjectCaches(const Model::RefreshErObjectCachesRequest &request)const; + void refreshErObjectCachesAsync(const Model::RefreshErObjectCachesRequest& request, const RefreshErObjectCachesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefreshErObjectCachesOutcomeCallable refreshErObjectCachesCallable(const Model::RefreshErObjectCachesRequest& request) const; RollbackDcdnStagingConfigOutcome rollbackDcdnStagingConfig(const Model::RollbackDcdnStagingConfigRequest &request)const; void rollbackDcdnStagingConfigAsync(const Model::RollbackDcdnStagingConfigRequest& request, const RollbackDcdnStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RollbackDcdnStagingConfigOutcomeCallable rollbackDcdnStagingConfigCallable(const Model::RollbackDcdnStagingConfigRequest& request) const; - SetDcdnConfigOfVersionOutcome setDcdnConfigOfVersion(const Model::SetDcdnConfigOfVersionRequest &request)const; - void setDcdnConfigOfVersionAsync(const Model::SetDcdnConfigOfVersionRequest& request, const SetDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetDcdnConfigOfVersionOutcomeCallable setDcdnConfigOfVersionCallable(const Model::SetDcdnConfigOfVersionRequest& request) const; SetDcdnDomainCSRCertificateOutcome setDcdnDomainCSRCertificate(const Model::SetDcdnDomainCSRCertificateRequest &request)const; void setDcdnDomainCSRCertificateAsync(const Model::SetDcdnDomainCSRCertificateRequest& request, const SetDcdnDomainCSRCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDcdnDomainCSRCertificateOutcomeCallable setDcdnDomainCSRCertificateCallable(const Model::SetDcdnDomainCSRCertificateRequest& request) const; @@ -1243,6 +1800,9 @@ namespace AlibabaCloud SetDcdnDomainSMCertificateOutcome setDcdnDomainSMCertificate(const Model::SetDcdnDomainSMCertificateRequest &request)const; void setDcdnDomainSMCertificateAsync(const Model::SetDcdnDomainSMCertificateRequest& request, const SetDcdnDomainSMCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDcdnDomainSMCertificateOutcomeCallable setDcdnDomainSMCertificateCallable(const Model::SetDcdnDomainSMCertificateRequest& request) const; + SetDcdnDomainSSLCertificateOutcome setDcdnDomainSSLCertificate(const Model::SetDcdnDomainSSLCertificateRequest &request)const; + void setDcdnDomainSSLCertificateAsync(const Model::SetDcdnDomainSSLCertificateRequest& request, const SetDcdnDomainSSLCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDcdnDomainSSLCertificateOutcomeCallable setDcdnDomainSSLCertificateCallable(const Model::SetDcdnDomainSSLCertificateRequest& request) const; SetDcdnDomainStagingConfigOutcome setDcdnDomainStagingConfig(const Model::SetDcdnDomainStagingConfigRequest &request)const; void setDcdnDomainStagingConfigAsync(const Model::SetDcdnDomainStagingConfigRequest& request, const SetDcdnDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetDcdnDomainStagingConfigOutcomeCallable setDcdnDomainStagingConfigCallable(const Model::SetDcdnDomainStagingConfigRequest& request) const; diff --git a/dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h index 18f11f09f..eff41548e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/AddDcdnDomainRequest.h @@ -1,72 +1,79 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT AddDcdnDomainRequest : public RpcServiceRequest - { - - public: - AddDcdnDomainRequest(); - ~AddDcdnDomainRequest(); - - 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 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 scope_; - std::string topLevelDomain_; - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string checkUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT AddDcdnDomainRequest : public RpcServiceRequest { +public: + struct Tag { + std::string value; + std::string key; + }; + AddDcdnDomainRequest(); + ~AddDcdnDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getScene() const; + void setScene(const std::string &scene); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getScope() const; + void setScope(const std::string &scope); + std::vector getTag() const; + void setTag(const std::vector &tag); + 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); + std::string getFunctionType() const; + void setFunctionType(const std::string &functionType); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCheckUrl() const; + void setCheckUrl(const std::string &checkUrl); + +private: + std::string sources_; + std::string scene_; + std::string resourceGroupId_; + std::string securityToken_; + std::string scope_; + std::vector tag_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + std::string functionType_; + long ownerId_; + std::string checkUrl_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_ADDDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/AddDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/AddDcdnIpaDomainRequest.h index f863abd31..06952ec0f 100644 --- a/dcdn/include/alibabacloud/dcdn/model/AddDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/AddDcdnIpaDomainRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_ADDDCDNIPADOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_ADDDCDNIPADOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT AddDcdnIpaDomainRequest : public RpcServiceRequest - { - - public: - AddDcdnIpaDomainRequest(); - ~AddDcdnIpaDomainRequest(); - - std::string getSources()const; - void setSources(const std::string& sources); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getProtocol()const; - void setProtocol(const std::string& protocol); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - 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 protocol_; - std::string securityToken_; - std::string scope_; - std::string topLevelDomain_; - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string checkUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_ADDDCDNIPADOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_ADDDCDNIPADOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_ADDDCDNIPADOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT AddDcdnIpaDomainRequest : public RpcServiceRequest { +public: + AddDcdnIpaDomainRequest(); + ~AddDcdnIpaDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + 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 protocol_; + std::string securityToken_; + std::string scope_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string checkUrl_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_ADDDCDNIPADOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchAddDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchAddDcdnDomainRequest.h index b19a05557..645bfd610 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchAddDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchAddDcdnDomainRequest.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_DCDN_MODEL_BATCHADDDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHADDDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchAddDcdnDomainRequest : public RpcServiceRequest - { - - public: - BatchAddDcdnDomainRequest(); - ~BatchAddDcdnDomainRequest(); - - 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 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 scope_; - std::string topLevelDomain_; - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string checkUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHADDDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHADDDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHADDDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchAddDcdnDomainRequest : public RpcServiceRequest { +public: + BatchAddDcdnDomainRequest(); + ~BatchAddDcdnDomainRequest(); + 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 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 scope_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string checkUrl_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHADDDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesRequest.h new file mode 100644 index 000000000..907ea2b15 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHCREATEDCDNWAFRULESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHCREATEDCDNWAFRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchCreateDcdnWafRulesRequest : public RpcServiceRequest { +public: + BatchCreateDcdnWafRulesRequest(); + ~BatchCreateDcdnWafRulesRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + std::string getRuleConfigs() const; + void setRuleConfigs(const std::string &ruleConfigs); + +private: + long policyId_; + std::string ruleConfigs_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHCREATEDCDNWAFRULESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesResult.h similarity index 63% rename from dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolResult.h rename to dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesResult.h index 62d1959fe..a1e17bec8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchCreateDcdnWafRulesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_DCDNHTTPREQUESTTESTTOOLRESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_DCDNHTTPREQUESTTESTTOOLRESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHCREATEDCDNWAFRULESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHCREATEDCDNWAFRULESRESULT_H_ #include #include @@ -29,27 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT DcdnHttpRequestTestToolResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT BatchCreateDcdnWafRulesResult : public ServiceResult { public: - DcdnHttpRequestTestToolResult(); - explicit DcdnHttpRequestTestToolResult(const std::string &payload); - ~DcdnHttpRequestTestToolResult(); - std::string getHeader()const; - std::string getBody()const; - int getStatusCode()const; + BatchCreateDcdnWafRulesResult(); + explicit BatchCreateDcdnWafRulesResult(const std::string &payload); + ~BatchCreateDcdnWafRulesResult(); + std::vector getRuleIds()const; protected: void parse(const std::string &payload); private: - std::string header_; - std::string body_; - int statusCode_; + std::vector ruleIds_; }; } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_DCDNHTTPREQUESTTESTTOOLRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHCREATEDCDNWAFRULESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.h index 13b4aade9..a8ea74a18 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnDomainConfigsRequest.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_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchDeleteDcdnDomainConfigsRequest(); - ~BatchDeleteDcdnDomainConfigsRequest(); - - 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_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnDomainConfigsRequest : public RpcServiceRequest { +public: + BatchDeleteDcdnDomainConfigsRequest(); + ~BatchDeleteDcdnDomainConfigsRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + 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 functionNames_; + std::string domainNames_; + std::string securityToken_; + std::string ownerAccount_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNDOMAINCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvRequest.h new file mode 100644 index 000000000..2e6b9adec --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnKvRequest : public RpcServiceRequest { +public: + BatchDeleteDcdnKvRequest(); + ~BatchDeleteDcdnKvRequest(); + std::vector getKeys() const; + void setKeys(const std::vector &keys); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + +private: + std::vector keys_; + std::string _namespace_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvResult.h new file mode 100644 index 000000000..1bb3c0487 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnKvResult : public ServiceResult + { + public: + + + BatchDeleteDcdnKvResult(); + explicit BatchDeleteDcdnKvResult(const std::string &payload); + ~BatchDeleteDcdnKvResult(); + std::vector getFailKeys()const; + std::vector getSuccessKeys()const; + + protected: + void parse(const std::string &payload); + private: + std::vector failKeys_; + std::vector successKeys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityRequest.h new file mode 100644 index 000000000..11bc09a5a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVWITHHIGHCAPACITYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVWITHHIGHCAPACITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnKvWithHighCapacityRequest : public RpcServiceRequest { +public: + BatchDeleteDcdnKvWithHighCapacityRequest(); + ~BatchDeleteDcdnKvWithHighCapacityRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getUrl() const; + void setUrl(const std::string &url); + +private: + std::string _namespace_; + std::string url_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVWITHHIGHCAPACITYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityResult.h new file mode 100644 index 000000000..ed2ebb2c3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnKvWithHighCapacityResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVWITHHIGHCAPACITYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVWITHHIGHCAPACITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnKvWithHighCapacityResult : public ServiceResult + { + public: + + + BatchDeleteDcdnKvWithHighCapacityResult(); + explicit BatchDeleteDcdnKvWithHighCapacityResult(const std::string &payload); + ~BatchDeleteDcdnKvWithHighCapacityResult(); + std::vector getFailKeys()const; + std::vector getSuccessKeys()const; + + protected: + void parse(const std::string &payload); + private: + std::vector failKeys_; + std::vector successKeys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNKVWITHHIGHCAPACITYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesRequest.h new file mode 100644 index 000000000..49328048c --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNWAFRULESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNWAFRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnWafRulesRequest : public RpcServiceRequest { +public: + BatchDeleteDcdnWafRulesRequest(); + ~BatchDeleteDcdnWafRulesRequest(); + std::string getRuleIds() const; + void setRuleIds(const std::string &ruleIds); + +private: + std::string ruleIds_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNWAFRULESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesResult.h new file mode 100644 index 000000000..583f97acf --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchDeleteDcdnWafRulesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNWAFRULESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNWAFRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchDeleteDcdnWafRulesResult : public ServiceResult + { + public: + + + BatchDeleteDcdnWafRulesResult(); + explicit BatchDeleteDcdnWafRulesResult(const std::string &payload); + ~BatchDeleteDcdnWafRulesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHDELETEDCDNWAFRULESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesRequest.h new file mode 100644 index 000000000..0df4e4efc --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHMODIFYDCDNWAFRULESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHMODIFYDCDNWAFRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchModifyDcdnWafRulesRequest : public RpcServiceRequest { +public: + BatchModifyDcdnWafRulesRequest(); + ~BatchModifyDcdnWafRulesRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + std::string getRuleConfigs() const; + void setRuleConfigs(const std::string &ruleConfigs); + +private: + long policyId_; + std::string ruleConfigs_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHMODIFYDCDNWAFRULESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesResult.h new file mode 100644 index 000000000..89a7f9e8f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchModifyDcdnWafRulesResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHMODIFYDCDNWAFRULESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHMODIFYDCDNWAFRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchModifyDcdnWafRulesResult : public ServiceResult + { + public: + + + BatchModifyDcdnWafRulesResult(); + explicit BatchModifyDcdnWafRulesResult(const std::string &payload); + ~BatchModifyDcdnWafRulesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHMODIFYDCDNWAFRULESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvRequest.h new file mode 100644 index 000000000..5250b5758 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchPutDcdnKvRequest : public RpcServiceRequest { +public: + struct KvList { + std::string key; + std::string value; + long expiration; + long expirationTtl; + }; + BatchPutDcdnKvRequest(); + ~BatchPutDcdnKvRequest(); + std::vector getKvList() const; + void setKvList(const std::vector &kvList); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + +private: + std::vector kvList_; + std::string _namespace_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvResult.h new file mode 100644 index 000000000..d15e82b08 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchPutDcdnKvResult : public ServiceResult + { + public: + + + BatchPutDcdnKvResult(); + explicit BatchPutDcdnKvResult(const std::string &payload); + ~BatchPutDcdnKvResult(); + std::vector getFailKeys()const; + std::vector getSuccessKeys()const; + + protected: + void parse(const std::string &payload); + private: + std::vector failKeys_; + std::vector successKeys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityRequest.h new file mode 100644 index 000000000..a0ae674a9 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVWITHHIGHCAPACITYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVWITHHIGHCAPACITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchPutDcdnKvWithHighCapacityRequest : public RpcServiceRequest { +public: + BatchPutDcdnKvWithHighCapacityRequest(); + ~BatchPutDcdnKvWithHighCapacityRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getUrl() const; + void setUrl(const std::string &url); + +private: + std::string _namespace_; + std::string url_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVWITHHIGHCAPACITYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityResult.h new file mode 100644 index 000000000..d39344001 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchPutDcdnKvWithHighCapacityResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVWITHHIGHCAPACITYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVWITHHIGHCAPACITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchPutDcdnKvWithHighCapacityResult : public ServiceResult + { + public: + + + BatchPutDcdnKvWithHighCapacityResult(); + explicit BatchPutDcdnKvWithHighCapacityResult(const std::string &payload); + ~BatchPutDcdnKvWithHighCapacityResult(); + std::vector getFailKeys()const; + std::vector getSuccessKeys()const; + + protected: + void parse(const std::string &payload); + private: + std::vector failKeys_; + std::vector successKeys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHPUTDCDNKVWITHHIGHCAPACITYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainCertificateRequest.h index 2f8a99172..821aa1bf1 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainCertificateRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainCertificateRequest.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_DCDN_MODEL_BATCHSETDCDNDOMAINCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnDomainCertificateRequest : public RpcServiceRequest - { - - public: - BatchSetDcdnDomainCertificateRequest(); - ~BatchSetDcdnDomainCertificateRequest(); - - 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 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 certName_; - std::string domainName_; - long ownerId_; - std::string sSLPub_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnDomainCertificateRequest : public RpcServiceRequest { +public: + BatchSetDcdnDomainCertificateRequest(); + ~BatchSetDcdnDomainCertificateRequest(); + 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 getCertName() const; + void setCertName(const std::string &certName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string sSLProtocol_; + std::string securityToken_; + std::string certType_; + std::string sSLPri_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string sSLPub_; + std::string region_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCERTIFICATEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h index fcedb038b..4871c3416 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.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_DCDN_MODEL_BATCHSETDCDNDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchSetDcdnDomainConfigsRequest(); - ~BatchSetDcdnDomainConfigsRequest(); - - 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_DCDN_MODEL_BATCHSETDCDNDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnDomainConfigsRequest : public RpcServiceRequest { +public: + BatchSetDcdnDomainConfigsRequest(); + ~BatchSetDcdnDomainConfigsRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functions_; + std::string domainNames_; + std::string securityToken_; + std::string ownerAccount_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNDOMAINCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsResult.h index 6923cfdca..eb9095034 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsResult.h @@ -32,15 +32,23 @@ namespace AlibabaCloud class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnDomainConfigsResult : public ServiceResult { public: + struct DomainConfigModel + { + std::string functionName; + std::string domainName; + long configId; + }; BatchSetDcdnDomainConfigsResult(); explicit BatchSetDcdnDomainConfigsResult(const std::string &payload); ~BatchSetDcdnDomainConfigsResult(); + std::vector getDomainConfigList()const; protected: void parse(const std::string &payload); private: + std::vector domainConfigList_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnIpaDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnIpaDomainConfigsRequest.h index e742a140f..57ffbb945 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnIpaDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnIpaDomainConfigsRequest.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_DCDN_MODEL_BATCHSETDCDNIPADOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNIPADOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnIpaDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchSetDcdnIpaDomainConfigsRequest(); - ~BatchSetDcdnIpaDomainConfigsRequest(); - - 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_DCDN_MODEL_BATCHSETDCDNIPADOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNIPADOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNIPADOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnIpaDomainConfigsRequest : public RpcServiceRequest { +public: + BatchSetDcdnIpaDomainConfigsRequest(); + ~BatchSetDcdnIpaDomainConfigsRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functions_; + std::string domainNames_; + std::string securityToken_; + std::string ownerAccount_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNIPADOMAINCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsRequest.h new file mode 100644 index 000000000..0393c446d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNWAFDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNWAFDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnWafDomainConfigsRequest : public RpcServiceRequest { +public: + BatchSetDcdnWafDomainConfigsRequest(); + ~BatchSetDcdnWafDomainConfigsRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getClientIpTag() const; + void setClientIpTag(const std::string &clientIpTag); + std::string getDefenseStatus() const; + void setDefenseStatus(const std::string &defenseStatus); + +private: + std::string domainNames_; + std::string clientIpTag_; + std::string defenseStatus_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNWAFDOMAINCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsResult.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsResult.h new file mode 100644 index 000000000..24e7b5215 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnWafDomainConfigsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNWAFDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNWAFDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT BatchSetDcdnWafDomainConfigsResult : public ServiceResult + { + public: + + + BatchSetDcdnWafDomainConfigsResult(); + explicit BatchSetDcdnWafDomainConfigsResult(const std::string &payload); + ~BatchSetDcdnWafDomainConfigsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSETDCDNWAFDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchStartDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchStartDcdnDomainRequest.h index 93779965c..424fef15a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchStartDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchStartDcdnDomainRequest.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_DCDN_MODEL_BATCHSTARTDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHSTARTDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchStartDcdnDomainRequest : public RpcServiceRequest - { - - public: - BatchStartDcdnDomainRequest(); - ~BatchStartDcdnDomainRequest(); - - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainNames_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSTARTDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSTARTDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSTARTDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchStartDcdnDomainRequest : public RpcServiceRequest { +public: + BatchStartDcdnDomainRequest(); + ~BatchStartDcdnDomainRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainNames_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSTARTDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchStopDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchStopDcdnDomainRequest.h index d5f72d93e..0a1f68ca5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchStopDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchStopDcdnDomainRequest.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_DCDN_MODEL_BATCHSTOPDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_BATCHSTOPDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT BatchStopDcdnDomainRequest : public RpcServiceRequest - { - - public: - BatchStopDcdnDomainRequest(); - ~BatchStopDcdnDomainRequest(); - - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainNames_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSTOPDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_BATCHSTOPDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_BATCHSTOPDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT BatchStopDcdnDomainRequest : public RpcServiceRequest { +public: + BatchStopDcdnDomainRequest(); + ~BatchStopDcdnDomainRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainNames_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_BATCHSTOPDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h b/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h index 4bff031ef..8c7dc8e27 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CheckDcdnProjectExistRequest : public RpcServiceRequest - { - - public: - CheckDcdnProjectExistRequest(); - ~CheckDcdnProjectExistRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string projectName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CheckDcdnProjectExistRequest : public RpcServiceRequest { +public: + CheckDcdnProjectExistRequest(); + ~CheckDcdnProjectExistRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + +private: + std::string projectName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h b/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h index e90f44217..911687b51 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h @@ -1,54 +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_DCDN_MODEL_COMMITSTAGINGROUTINECODEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CommitStagingRoutineCodeRequest : public RpcServiceRequest - { - - public: - CommitStagingRoutineCodeRequest(); - ~CommitStagingRoutineCodeRequest(); - - std::string getCodeDescription()const; - void setCodeDescription(const std::string& codeDescription); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string codeDescription_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CommitStagingRoutineCodeRequest : public RpcServiceRequest { +public: + CommitStagingRoutineCodeRequest(); + ~CommitStagingRoutineCodeRequest(); + std::string getCodeDescription() const; + void setCodeDescription(const std::string &codeDescription); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string codeDescription_; + std::string name_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h index 0112d4ca4..8e83e1830 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h @@ -1,72 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNCERTIFICATESIGNINGREQUESTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNCERTIFICATESIGNINGREQUESTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CreateDcdnCertificateSigningRequestRequest : public RpcServiceRequest - { - - public: - CreateDcdnCertificateSigningRequestRequest(); - ~CreateDcdnCertificateSigningRequestRequest(); - - 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_DCDN_MODEL_CREATEDCDNCERTIFICATESIGNINGREQUESTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNCERTIFICATESIGNINGREQUESTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNCERTIFICATESIGNINGREQUESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateDcdnCertificateSigningRequestRequest : public RpcServiceRequest { +public: + CreateDcdnCertificateSigningRequestRequest(); + ~CreateDcdnCertificateSigningRequestRequest(); + std::string getCountry() const; + void setCountry(const std::string &country); + std::string getCommonName() const; + void setCommonName(const std::string &commonName); + std::string getCity() const; + void setCity(const std::string &city); + std::string getSANs() const; + void setSANs(const std::string &sANs); + std::string getOrganization() const; + void setOrganization(const std::string &organization); + std::string getState() const; + void setState(const std::string &state); + std::string getOrganizationUnit() const; + void setOrganizationUnit(const std::string &organizationUnit); + std::string getEmail() const; + void setEmail(const std::string &email); + +private: + std::string country_; + std::string commonName_; + std::string city_; + std::string sANs_; + std::string organization_; + std::string state_; + std::string organizationUnit_; + std::string email_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNCERTIFICATESIGNINGREQUESTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h index a0d31b2c2..934c5bb52 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h @@ -37,15 +37,15 @@ namespace AlibabaCloud CreateDcdnCertificateSigningRequestResult(); explicit CreateDcdnCertificateSigningRequestResult(const std::string &payload); ~CreateDcdnCertificateSigningRequestResult(); - std::string getCsr()const; std::string getPubMd5()const; + std::string getCsr()const; std::string getCommonName()const; protected: void parse(const std::string &payload); private: - std::string csr_; std::string pubMd5_; + std::string csr_; std::string commonName_; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h index 0c44ac8ff..896ccbd70 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h @@ -1,63 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDELIVERTASKREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDELIVERTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CreateDcdnDeliverTaskRequest : public RpcServiceRequest - { - - public: - CreateDcdnDeliverTaskRequest(); - ~CreateDcdnDeliverTaskRequest(); - - 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_DCDN_MODEL_CREATEDCDNDELIVERTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateDcdnDeliverTaskRequest : public RpcServiceRequest { +public: + CreateDcdnDeliverTaskRequest(); + ~CreateDcdnDeliverTaskRequest(); + std::string getReports() const; + void setReports(const std::string &reports); + std::string getSchedule() const; + void setSchedule(const std::string &schedule); + std::string getName() const; + void setName(const std::string &name); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getDeliver() const; + void setDeliver(const std::string &deliver); + +private: + std::string reports_; + std::string schedule_; + std::string name_; + std::string domainName_; + std::string deliver_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDELIVERTASKREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h index d199d8e3f..30ee1e257 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h @@ -37,10 +37,12 @@ namespace AlibabaCloud CreateDcdnDeliverTaskResult(); explicit CreateDcdnDeliverTaskResult(const std::string &payload); ~CreateDcdnDeliverTaskResult(); + std::string getDeliverId()const; protected: void parse(const std::string &payload); private: + std::string deliverId_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h index ee8ace69b..43b536df9 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h @@ -1,72 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CreateDcdnSLSRealTimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - CreateDcdnSLSRealTimeLogDeliveryRequest(); - ~CreateDcdnSLSRealTimeLogDeliveryRequest(); - - std::string getSLSLogStore()const; - void setSLSLogStore(const std::string& sLSLogStore); - std::string getSLSProject()const; - void setSLSProject(const std::string& sLSProject); - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - std::string getSLSRegion()const; - void setSLSRegion(const std::string& sLSRegion); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getSamplingRate()const; - void setSamplingRate(const std::string& samplingRate); - std::string getDataCenter()const; - void setDataCenter(const std::string& dataCenter); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string sLSLogStore_; - std::string sLSProject_; - std::string businessType_; - std::string sLSRegion_; - std::string projectName_; - std::string domainName_; - std::string samplingRate_; - std::string dataCenter_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateDcdnSLSRealTimeLogDeliveryRequest : public RpcServiceRequest { +public: + CreateDcdnSLSRealTimeLogDeliveryRequest(); + ~CreateDcdnSLSRealTimeLogDeliveryRequest(); + std::string getSLSLogStore() const; + void setSLSLogStore(const std::string &sLSLogStore); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getSamplingRate() const; + void setSamplingRate(const std::string &samplingRate); + std::string getDataCenter() const; + void setDataCenter(const std::string &dataCenter); + std::string getSLSProject() const; + void setSLSProject(const std::string &sLSProject); + std::string getSLSRegion() const; + void setSLSRegion(const std::string &sLSRegion); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + +private: + std::string sLSLogStore_; + std::string projectName_; + std::string domainName_; + std::string samplingRate_; + std::string dataCenter_; + std::string sLSProject_; + std::string sLSRegion_; + std::string businessType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h index 60b8bfc7a..fe1948b7d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h @@ -1,54 +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_DCDN_MODEL_CREATEDCDNSUBTASKREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSUBTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CreateDcdnSubTaskRequest : public RpcServiceRequest - { - - public: - CreateDcdnSubTaskRequest(); - ~CreateDcdnSubTaskRequest(); - - 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_DCDN_MODEL_CREATEDCDNSUBTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateDcdnSubTaskRequest : public RpcServiceRequest { +public: + CreateDcdnSubTaskRequest(); + ~CreateDcdnSubTaskRequest(); + std::string getReportIds() const; + void setReportIds(const std::string &reportIds); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string reportIds_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSUBTASKREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupRequest.h new file mode 100644 index 000000000..b1cda46f9 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFGROUPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateDcdnWafGroupRequest : public RpcServiceRequest { +public: + CreateDcdnWafGroupRequest(); + ~CreateDcdnWafGroupRequest(); + std::string getSubscribe() const; + void setSubscribe(const std::string &subscribe); + std::string getName() const; + void setName(const std::string &name); + long getTemplateId() const; + void setTemplateId(long templateId); + +private: + std::string subscribe_; + std::string name_; + long templateId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFGROUPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupResult.h new file mode 100644 index 000000000..dcd7f138f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafGroupResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFGROUPRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateDcdnWafGroupResult : public ServiceResult + { + public: + + + CreateDcdnWafGroupResult(); + explicit CreateDcdnWafGroupResult(const std::string &payload); + ~CreateDcdnWafGroupResult(); + long getId()const; + + protected: + void parse(const std::string &payload); + private: + long id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFGROUPRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyRequest.h new file mode 100644 index 000000000..40efd8290 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFPOLICYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateDcdnWafPolicyRequest : public RpcServiceRequest { +public: + CreateDcdnWafPolicyRequest(); + ~CreateDcdnWafPolicyRequest(); + std::string getDefenseScene() const; + void setDefenseScene(const std::string &defenseScene); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getPolicyStatus() const; + void setPolicyStatus(const std::string &policyStatus); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string defenseScene_; + std::string policyType_; + std::string policyStatus_; + std::string policyName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFPOLICYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyResult.h new file mode 100644 index 000000000..a09265da9 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnWafPolicyResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFPOLICYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateDcdnWafPolicyResult : public ServiceResult + { + public: + + + CreateDcdnWafPolicyResult(); + explicit CreateDcdnWafPolicyResult(const std::string &payload); + ~CreateDcdnWafPolicyResult(); + long getPolicyId()const; + + protected: + void parse(const std::string &payload); + private: + long policyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNWAFPOLICYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.h index 40892dac1..627bb4794 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEROUTINEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CREATEROUTINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CreateRoutineRequest : public RpcServiceRequest - { - - public: - CreateRoutineRequest(); - ~CreateRoutineRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getEnvConf()const; - void setEnvConf(const std::string& envConf); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string description_; - std::string envConf_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEROUTINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEROUTINEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEROUTINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateRoutineRequest : public RpcServiceRequest { +public: + CreateRoutineRequest(); + ~CreateRoutineRequest(); + std::string getEnvConf() const; + void setEnvConf(const std::string &envConf); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + +private: + std::string envConf_; + std::string name_; + std::string description_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEROUTINEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h index a93fe2be4..7b15ba25e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.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_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT CreateSlrAndSlsProjectRequest : public RpcServiceRequest - { - - public: - CreateSlrAndSlsProjectRequest(); - ~CreateSlrAndSlsProjectRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - long ownerId_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT CreateSlrAndSlsProjectRequest : public RpcServiceRequest { +public: + CreateSlrAndSlsProjectRequest(); + ~CreateSlrAndSlsProjectRequest(); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + +private: + std::string region_; + std::string businessType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolRequest.h b/dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolRequest.h deleted file mode 100644 index a319f0a72..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/DcdnHttpRequestTestToolRequest.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_DCDN_MODEL_DCDNHTTPREQUESTTESTTOOLREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DCDNHTTPREQUESTTESTTOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DcdnHttpRequestTestToolRequest : public RpcServiceRequest - { - - public: - DcdnHttpRequestTestToolRequest(); - ~DcdnHttpRequestTestToolRequest(); - - std::string getProxyIp()const; - void setProxyIp(const std::string& proxyIp); - std::string getScheme()const; - void setScheme(const std::string& scheme); - std::string getBody()const; - void setBody(const std::string& body); - std::string getHost()const; - void setHost(const std::string& host); - std::string getMethod()const; - void setMethod(const std::string& method); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getUri()const; - void setUri(const std::string& uri); - std::string getArgs()const; - void setArgs(const std::string& args); - std::string getHeader()const; - void setHeader(const std::string& header); - - private: - std::string proxyIp_; - std::string scheme_; - std::string body_; - std::string host_; - std::string method_; - long ownerId_; - std::string uri_; - std::string args_; - std::string header_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DCDNHTTPREQUESTTESTTOOLREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h index 229954e77..ed359c6cf 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDELIVERTASKREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDELIVERTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnDeliverTaskRequest : public RpcServiceRequest - { - - public: - DeleteDcdnDeliverTaskRequest(); - ~DeleteDcdnDeliverTaskRequest(); - - long getDeliverId()const; - void setDeliverId(long deliverId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long deliverId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDELIVERTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnDeliverTaskRequest : public RpcServiceRequest { +public: + DeleteDcdnDeliverTaskRequest(); + ~DeleteDcdnDeliverTaskRequest(); + long getDeliverId() const; + void setDeliverId(long deliverId); + +private: + long deliverId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDELIVERTASKREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h index 687c46b07..27319a1b5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.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_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnDomainRequest : public RpcServiceRequest - { - - public: - DeleteDcdnDomainRequest(); - ~DeleteDcdnDomainRequest(); - - 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_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnDomainRequest : public RpcServiceRequest { +public: + DeleteDcdnDomainRequest(); + ~DeleteDcdnDomainRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h index 273740462..3a3a4b7b8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainRequest.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_DCDN_MODEL_DELETEDCDNIPADOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPADOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnIpaDomainRequest : public RpcServiceRequest - { - - public: - DeleteDcdnIpaDomainRequest(); - ~DeleteDcdnIpaDomainRequest(); - - 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 getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPADOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPADOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPADOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnIpaDomainRequest : public RpcServiceRequest { +public: + DeleteDcdnIpaDomainRequest(); + ~DeleteDcdnIpaDomainRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPADOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigRequest.h index 6d196df84..8fb66046f 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigRequest.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_DCDN_MODEL_DELETEDCDNIPASPECIFICCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPASPECIFICCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnIpaSpecificConfigRequest : public RpcServiceRequest - { - - public: - DeleteDcdnIpaSpecificConfigRequest(); - ~DeleteDcdnIpaSpecificConfigRequest(); - - 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_DCDN_MODEL_DELETEDCDNIPASPECIFICCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPASPECIFICCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPASPECIFICCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnIpaSpecificConfigRequest : public RpcServiceRequest { +public: + DeleteDcdnIpaSpecificConfigRequest(); + ~DeleteDcdnIpaSpecificConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNIPASPECIFICCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceRequest.h new file mode 100644 index 000000000..52865f512 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVNAMESPACEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVNAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnKvNamespaceRequest : public RpcServiceRequest { +public: + DeleteDcdnKvNamespaceRequest(); + ~DeleteDcdnKvNamespaceRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + +private: + std::string _namespace_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVNAMESPACEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceResult.h similarity index 68% rename from dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h rename to dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceResult.h index 6b1ecc911..510dc8ec3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvNamespaceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVNAMESPACERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVNAMESPACERESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnConfigOfVersionResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnKvNamespaceResult : public ServiceResult { public: - SetDcdnConfigOfVersionResult(); - explicit SetDcdnConfigOfVersionResult(const std::string &payload); - ~SetDcdnConfigOfVersionResult(); + DeleteDcdnKvNamespaceResult(); + explicit DeleteDcdnKvNamespaceResult(const std::string &payload); + ~DeleteDcdnKvNamespaceResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVNAMESPACERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvRequest.h new file mode 100644 index 000000000..6c10c5ba7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnKvRequest : public RpcServiceRequest { +public: + DeleteDcdnKvRequest(); + ~DeleteDcdnKvRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string _namespace_; + std::string key_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvResult.h new file mode 100644 index 000000000..a06a569cb --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnKvResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnKvResult : public ServiceResult + { + public: + + + DeleteDcdnKvResult(); + explicit DeleteDcdnKvResult(const std::string &payload); + ~DeleteDcdnKvResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNKVRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h index 65a7636e7..a71e106bf 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h @@ -1,54 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnRealTimeLogProjectRequest : public RpcServiceRequest - { - - public: - DeleteDcdnRealTimeLogProjectRequest(); - ~DeleteDcdnRealTimeLogProjectRequest(); - - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string businessType_; - std::string projectName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnRealTimeLogProjectRequest : public RpcServiceRequest { +public: + DeleteDcdnRealTimeLogProjectRequest(); + ~DeleteDcdnRealTimeLogProjectRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + +private: + std::string projectName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h index 9f8ecd140..d1a36b1c3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.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_DCDN_MODEL_DELETEDCDNSPECIFICCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificConfigRequest : public RpcServiceRequest - { - - public: - DeleteDcdnSpecificConfigRequest(); - ~DeleteDcdnSpecificConfigRequest(); - - 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_DCDN_MODEL_DELETEDCDNSPECIFICCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificConfigRequest : public RpcServiceRequest { +public: + DeleteDcdnSpecificConfigRequest(); + ~DeleteDcdnSpecificConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h index a88b227e8..89e9f782b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.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_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificStagingConfigRequest : public RpcServiceRequest - { - - public: - DeleteDcdnSpecificStagingConfigRequest(); - ~DeleteDcdnSpecificStagingConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - - private: - std::string securityToken_; - std::string domainName_; - long ownerId_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSpecificStagingConfigRequest : public RpcServiceRequest { +public: + DeleteDcdnSpecificStagingConfigRequest(); + ~DeleteDcdnSpecificStagingConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSPECIFICSTAGINGCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSubTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSubTaskRequest.h index bb0802c34..bc624d115 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSubTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnSubTaskRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSUBTASKREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSUBTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSubTaskRequest : public RpcServiceRequest - { - - public: - DeleteDcdnSubTaskRequest(); - ~DeleteDcdnSubTaskRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSUBTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnSubTaskRequest : public RpcServiceRequest { +public: + DeleteDcdnSubTaskRequest(); + ~DeleteDcdnSubTaskRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNSUBTASKREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigRequest.h new file mode 100644 index 000000000..5fe38fee5 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNUSERCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNUSERCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnUserConfigRequest : public RpcServiceRequest { +public: + DeleteDcdnUserConfigRequest(); + ~DeleteDcdnUserConfigRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + +private: + std::string functionName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNUSERCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigResult.h new file mode 100644 index 000000000..fb532f4dc --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnUserConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNUSERCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNUSERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnUserConfigResult : public ServiceResult + { + public: + + + DeleteDcdnUserConfigResult(); + explicit DeleteDcdnUserConfigResult(const std::string &payload); + ~DeleteDcdnUserConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNUSERCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupRequest.h new file mode 100644 index 000000000..23edc5f2a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFGROUPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnWafGroupRequest : public RpcServiceRequest { +public: + DeleteDcdnWafGroupRequest(); + ~DeleteDcdnWafGroupRequest(); + long getId() const; + void setId(long id); + +private: + long id_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFGROUPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupResult.h new file mode 100644 index 000000000..4b7ba2171 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFGROUPRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnWafGroupResult : public ServiceResult + { + public: + + + DeleteDcdnWafGroupResult(); + explicit DeleteDcdnWafGroupResult(const std::string &payload); + ~DeleteDcdnWafGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFGROUPRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyRequest.h new file mode 100644 index 000000000..d57e0e34a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFPOLICYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnWafPolicyRequest : public RpcServiceRequest { +public: + DeleteDcdnWafPolicyRequest(); + ~DeleteDcdnWafPolicyRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + +private: + long policyId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFPOLICYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyResult.h new file mode 100644 index 000000000..77b5daf11 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnWafPolicyResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFPOLICYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnWafPolicyResult : public ServiceResult + { + public: + + + DeleteDcdnWafPolicyResult(); + explicit DeleteDcdnWafPolicyResult(const std::string &payload); + ~DeleteDcdnWafPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNWAFPOLICYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.h index 52fc5d4e4..addee63bb 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.h @@ -1,54 +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_DCDN_MODEL_DELETEROUTINECODEREVISIONREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineCodeRevisionRequest : public RpcServiceRequest - { - - public: - DeleteRoutineCodeRevisionRequest(); - ~DeleteRoutineCodeRevisionRequest(); - - std::string getSelectCodeRevision()const; - void setSelectCodeRevision(const std::string& selectCodeRevision); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string selectCodeRevision_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineCodeRevisionRequest : public RpcServiceRequest { +public: + DeleteRoutineCodeRevisionRequest(); + ~DeleteRoutineCodeRevisionRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getSelectCodeRevision() const; + void setSelectCodeRevision(const std::string &selectCodeRevision); + +private: + std::string name_; + std::string selectCodeRevision_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h index 5913e0ca4..778d86077 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h @@ -1,54 +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_DCDN_MODEL_DELETEROUTINECONFENVSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineConfEnvsRequest : public RpcServiceRequest - { - - public: - DeleteRoutineConfEnvsRequest(); - ~DeleteRoutineConfEnvsRequest(); - - std::string getEnvs()const; - void setEnvs(const std::string& envs); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string envs_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineConfEnvsRequest : public RpcServiceRequest { +public: + DeleteRoutineConfEnvsRequest(); + ~DeleteRoutineConfEnvsRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getEnvs() const; + void setEnvs(const std::string &envs); + +private: + std::string name_; + std::string envs_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.h index 13b1566ae..d28517da8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEROUTINEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineRequest : public RpcServiceRequest - { - - public: - DeleteRoutineRequest(); - ~DeleteRoutineRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DELETEROUTINEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineRequest : public RpcServiceRequest { +public: + DeleteRoutineRequest(); + ~DeleteRoutineRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h index 60a765bee..198e90956 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnAclFieldsRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnAclFieldsRequest : public RpcServiceRequest - { - - public: - DescribeDcdnAclFieldsRequest(); - ~DescribeDcdnAclFieldsRequest(); - - std::string getLang()const; - void setLang(const std::string& lang); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string lang_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnAclFieldsRequest : public RpcServiceRequest { +public: + DescribeDcdnAclFieldsRequest(); + ~DescribeDcdnAclFieldsRequest(); + std::string getLang() const; + void setLang(const std::string &lang); + +private: + std::string lang_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNACLFIELDSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h index d882cfc9f..c4eb7ce33 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h @@ -1,60 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnBgpBpsDataRequest(); - ~DescribeDcdnBgpBpsDataRequest(); - - std::string getIsp()const; - void setIsp(const std::string& isp); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string isp_; - std::string startTime_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnBgpBpsDataRequest(); + ~DescribeDcdnBgpBpsDataRequest(); + std::string getIsp() const; + void setIsp(const std::string &isp); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getDeviceName() const; + void setDeviceName(const std::string &deviceName); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDevicePort() const; + void setDevicePort(const std::string &devicePort); + +private: + std::string isp_; + std::string endTime_; + std::string interval_; + std::string deviceName_; + std::string startTime_; + std::string devicePort_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPBPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h index aaff77973..3183cddca 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnBgpTrafficDataRequest(); - ~DescribeDcdnBgpTrafficDataRequest(); - - std::string getIsp()const; - void setIsp(const std::string& isp); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string isp_; - std::string startTime_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBgpTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnBgpTrafficDataRequest(); + ~DescribeDcdnBgpTrafficDataRequest(); + std::string getIsp() const; + void setIsp(const std::string &isp); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string isp_; + std::string endTime_; + std::string interval_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBGPTRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsRequest.h index edd278128..daff1d18b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnBlockedRegionsRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBlockedRegionsRequest : public RpcServiceRequest - { - - public: - DescribeDcdnBlockedRegionsRequest(); - ~DescribeDcdnBlockedRegionsRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnBlockedRegionsRequest : public RpcServiceRequest { +public: + DescribeDcdnBlockedRegionsRequest(); + ~DescribeDcdnBlockedRegionsRequest(); + std::string getLanguage() const; + void setLanguage(const std::string &language); + +private: + std::string language_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNBLOCKEDREGIONSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h index e0dc1e1b2..9d3302d28 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNCERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATEDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnCertificateDetailRequest : public RpcServiceRequest - { - - public: - DescribeDcdnCertificateDetailRequest(); - ~DescribeDcdnCertificateDetailRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNCERTIFICATEDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnCertificateDetailRequest : public RpcServiceRequest { +public: + DescribeDcdnCertificateDetailRequest(); + ~DescribeDcdnCertificateDetailRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertName() const; + void setCertName(const std::string &certName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string certName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATEDETAILREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h index 7f08a00b7..9e56f9bc5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateDetailResult.h @@ -38,16 +38,16 @@ namespace AlibabaCloud explicit DescribeDcdnCertificateDetailResult(const std::string &payload); ~DescribeDcdnCertificateDetailResult(); long getCertId()const; - std::string getCert()const; std::string getCertName()const; + std::string getCert()const; std::string getKey()const; protected: void parse(const std::string &payload); private: long certId_; - std::string cert_; std::string certName_; + std::string cert_; std::string key_; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h index abd42af6f..15758fd48 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnCertificateListRequest.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_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeDcdnCertificateListRequest(); - ~DescribeDcdnCertificateListRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnCertificateListRequest : public RpcServiceRequest { +public: + DescribeDcdnCertificateListRequest(); + ~DescribeDcdnCertificateListRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCERTIFICATELISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.h deleted file mode 100644 index ac80f448b..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigGroupDetailRequest : public RpcServiceRequest - { - - public: - DescribeDcdnConfigGroupDetailRequest(); - ~DescribeDcdnConfigGroupDetailRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h deleted file mode 100644 index 581228a63..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.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_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigOfVersionRequest : public RpcServiceRequest - { - - public: - DescribeDcdnConfigOfVersionRequest(); - ~DescribeDcdnConfigOfVersionRequest(); - - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - long getGroupId()const; - void setGroupId(long groupId); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getFunctionId()const; - void setFunctionId(int functionId); - - private: - std::string versionId_; - std::string securityToken_; - std::string functionName_; - long groupId_; - long ownerId_; - int functionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceRequest.h new file mode 100644 index 000000000..6a18ede72 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSERVICEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDdosServiceRequest : public RpcServiceRequest { +public: + DescribeDcdnDdosServiceRequest(); + ~DescribeDcdnDdosServiceRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSERVICEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceResult.h new file mode 100644 index 000000000..de8964046 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosServiceResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSERVICERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDdosServiceResult : public ServiceResult + { + public: + + + DescribeDcdnDdosServiceResult(); + explicit DescribeDcdnDdosServiceResult(const std::string &payload); + ~DescribeDcdnDdosServiceResult(); + std::string getStatus()const; + std::string getChangingEdition()const; + std::string getInstanceId()const; + std::string getOpeningTime()const; + std::string getEnabled()const; + std::string getEndingTime()const; + std::string getChangingAffectTime()const; + std::string getEdition()const; + int getChangingProtectNum()const; + std::string getChangingChargeType()const; + int getProtectNum()const; + std::string getChargeType()const; + int getDomianNum()const; + int getChangingDomianNum()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string changingEdition_; + std::string instanceId_; + std::string openingTime_; + std::string enabled_; + std::string endingTime_; + std::string changingAffectTime_; + std::string edition_; + int changingProtectNum_; + std::string changingChargeType_; + int protectNum_; + std::string chargeType_; + int domianNum_; + int changingDomianNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSERVICERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoRequest.h new file mode 100644 index 000000000..65ee73a03 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSPECINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSPECINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDdosSpecInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnDdosSpecInfoRequest(); + ~DescribeDcdnDdosSpecInfoRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSPECINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoResult.h new file mode 100644 index 000000000..836845de2 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDdosSpecInfoResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSPECINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSPECINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDdosSpecInfoResult : public ServiceResult + { + public: + struct RuleInfoItem + { + struct ConfigItem + { + std::string expr; + std::string config; + std::string value; + }; + std::vector configs; + std::string rule; + }; + + + DescribeDcdnDdosSpecInfoResult(); + explicit DescribeDcdnDdosSpecInfoResult(const std::string &payload); + ~DescribeDcdnDdosSpecInfoResult(); + std::string getQpsLimit()const; + std::string getIsSpecialPort()const; + std::string getProtectedArea()const; + std::string getEnable()const; + std::vector getSpecInfos()const; + std::string getEdition()const; + std::string getBandwidthLimit()const; + + protected: + void parse(const std::string &payload); + private: + std::string qpsLimit_; + std::string isSpecialPort_; + std::string protectedArea_; + std::string enable_; + std::vector specInfos_; + std::string edition_; + std::string bandwidthLimit_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDDOSSPECINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.h index ad473cbe7..7ac739e1c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.h @@ -1,54 +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_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDeletedDomainsRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDeletedDomainsRequest(); - ~DescribeDcdnDeletedDomainsRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDeletedDomainsRequest : public RpcServiceRequest { +public: + DescribeDcdnDeletedDomainsRequest(); + ~DescribeDcdnDeletedDomainsRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h index 6a0608358..8e5ca04b6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELIVERLISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELIVERLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDeliverListRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDeliverListRequest(); - ~DescribeDcdnDeliverListRequest(); - - long getDeliverId()const; - void setDeliverId(long deliverId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long deliverId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELIVERLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELIVERLISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELIVERLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDeliverListRequest : public RpcServiceRequest { +public: + DescribeDcdnDeliverListRequest(); + ~DescribeDcdnDeliverListRequest(); + long getDeliverId() const; + void setDeliverId(long deliverId); + +private: + long deliverId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELIVERLISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerRequest.h new file mode 100644 index 000000000..b770b7090 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainBpsDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainBpsDataByLayerRequest(); + ~DescribeDcdnDomainBpsDataByLayerRequest(); + 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); + std::string getLayer() const; + void setLayer(const std::string &layer); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATABYLAYERREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerResult.h new file mode 100644 index 000000000..858190a8d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataByLayerResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainBpsDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + std::string staticTrafficValue; + std::string dynamicTrafficValue; + std::string value; + std::string staticValue; + std::string trafficValue; + std::string timeStamp; + std::string dynamicValue; + }; + + + DescribeDcdnDomainBpsDataByLayerResult(); + explicit DescribeDcdnDomainBpsDataByLayerResult(const std::string &payload); + ~DescribeDcdnDomainBpsDataByLayerResult(); + std::vector getBpsDataInterval()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector bpsDataInterval_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h index 02255b529..1f260c026 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainBpsDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainBpsDataRequest(); - ~DescribeDcdnDomainBpsDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainBpsDataRequest(); + ~DescribeDcdnDomainBpsDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h index 4748715a7..ee1db5816 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateRequest.h @@ -1,51 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBYCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBYCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainByCertificateRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainByCertificateRequest(); - ~DescribeDcdnDomainByCertificateRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINBYCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBYCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBYCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainByCertificateRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainByCertificateRequest(); + ~DescribeDcdnDomainByCertificateRequest(); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + bool getExact() const; + void setExact(bool exact); + bool getSSLStatus() const; + void setSSLStatus(bool sSLStatus); + +private: + std::string sSLPub_; + bool exact_; + bool sSLStatus_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINBYCERTIFICATEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateResult.h index cfff7b3b6..9aaed6030 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct CertInfo { std::string certExpired; - std::string issuer; std::string certSubjectCommonName; + std::string issuer; std::string certCaIsLegacy; std::string certType; std::string certExpireTime; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h index 525025adb..fbb1d20b2 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h @@ -1,72 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCcActivityLogRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainCcActivityLogRequest(); - ~DescribeDcdnDomainCcActivityLogRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCcActivityLogRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainCcActivityLogRequest(); + ~DescribeDcdnDomainCcActivityLogRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + 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); + std::string getValue() const; + void setValue(const std::string &value); + long getPageNumber() const; + void setPageNumber(long pageNumber); + +private: + std::string domainName_; + long pageSize_; + std::string endTime_; + std::string ruleName_; + std::string startTime_; + std::string triggerObject_; + std::string value_; + long pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoRequest.h index dc354d864..7497c2902 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCERTIFICATEINFOREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCERTIFICATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCertificateInfoRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainCertificateInfoRequest(); - ~DescribeDcdnDomainCertificateInfoRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINCERTIFICATEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCERTIFICATEINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCERTIFICATEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCertificateInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainCertificateInfoRequest(); + ~DescribeDcdnDomainCertificateInfoRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCERTIFICATEINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoResult.h index 7222af24c..fa0e9fe74 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoResult.h @@ -38,6 +38,8 @@ namespace AlibabaCloud std::string certLife; std::string domainName; std::string sSLPub; + std::string certId; + std::string certRegion; std::string certDomainName; std::string certOrg; std::string certType; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameRequest.h index 670bb7f49..6bc4be2f6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCnameRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainCnameRequest(); - ~DescribeDcdnDomainCnameRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCnameRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainCnameRequest(); + ~DescribeDcdnDomainCnameRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCNAMEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h index f5336bb47..a1e4f9df0 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.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_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainConfigsRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainConfigsRequest(); - ~DescribeDcdnDomainConfigsRequest(); - - 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); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - - private: - std::string functionNames_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainConfigsRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainConfigsRequest(); + ~DescribeDcdnDomainConfigsRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string functionNames_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsResult.h index 612b551d3..a1d52a7e1 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsResult.h @@ -40,6 +40,7 @@ namespace AlibabaCloud std::string argName; }; std::string status; + std::string parentId; std::string functionName; std::vector functionArgs; std::string configId; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailRequest.h index 45a144965..c6fc590ea 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainDetailRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainDetailRequest(); - ~DescribeDcdnDomainDetailRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainDetailRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainDetailRequest(); + ~DescribeDcdnDomainDetailRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINDETAILREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailResult.h index 06b24092f..66c8da06c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainDetailResult.h @@ -37,24 +37,25 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string enabled; std::string weight; }; std::string description; - std::string scope; std::string resourceGroupId; std::string domainName; std::string sSLPub; + std::string functionType; std::string gmtModified; std::string gmtCreated; - std::string certName; + std::string scene; std::vector sources; std::string cname; - std::string domainStatus; std::string sSLProtocol; + std::string scope; + std::string domainStatus; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataRequest.h index edbdf3df6..7f7701de8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHitRateDataRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainHitRateDataRequest(); - ~DescribeDcdnDomainHitRateDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainHitRateDataRequest(); + ~DescribeDcdnDomainHitRateDataRequest(); + 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 getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHITRATEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.h new file mode 100644 index 000000000..06b9844bf --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHttpCodeDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainHttpCodeDataByLayerRequest(); + ~DescribeDcdnDomainHttpCodeDataByLayerRequest(); + 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); + std::string getLayer() const; + void setLayer(const std::string &layer); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATABYLAYERREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerResult.h new file mode 100644 index 000000000..0bd600b04 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataByLayerResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHttpCodeDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + std::string totalValue; + std::string value; + std::string timeStamp; + }; + + + DescribeDcdnDomainHttpCodeDataByLayerResult(); + explicit DescribeDcdnDomainHttpCodeDataByLayerResult(const std::string &payload); + ~DescribeDcdnDomainHttpCodeDataByLayerResult(); + std::string getDataInterval()const; + std::vector getHttpCodeDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string dataInterval_; + std::vector httpCodeDataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataRequest.h index f65eb5c01..1b49049e8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainHttpCodeDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainHttpCodeDataRequest(); - ~DescribeDcdnDomainHttpCodeDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainHttpCodeDataRequest(); + ~DescribeDcdnDomainHttpCodeDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINHTTPCODEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaBpsDataRequest.h index 071ff4ed2..9b613b440 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaBpsDataRequest.h @@ -1,72 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPABPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPABPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIpaBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainIpaBpsDataRequest(); - ~DescribeDcdnDomainIpaBpsDataRequest(); - - 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 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 locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string fixTimeGap_; - std::string timeMerge_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPABPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPABPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPABPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIpaBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainIpaBpsDataRequest(); + ~DescribeDcdnDomainIpaBpsDataRequest(); + 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); + 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 fixTimeGap_; + std::string timeMerge_; + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPABPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataRequest.h new file mode 100644 index 000000000..f2da54e81 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPACONNDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPACONNDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIpaConnDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainIpaConnDataRequest(); + ~DescribeDcdnDomainIpaConnDataRequest(); + 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); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; + std::string splitBy_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPACONNDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataResult.h new file mode 100644 index 000000000..0d15633b1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaConnDataResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPACONNDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPACONNDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIpaConnDataResult : public ServiceResult + { + public: + struct DataModule + { + long connections; + std::string domain; + std::string timeStamp; + }; + + + DescribeDcdnDomainIpaConnDataResult(); + explicit DescribeDcdnDomainIpaConnDataResult(const std::string &payload); + ~DescribeDcdnDomainIpaConnDataResult(); + std::vector getConnectionDataPerInterval()const; + std::string getEndTime()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::vector connectionDataPerInterval_; + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPACONNDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaTrafficDataRequest.h index 1e90f0823..6fc84c721 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIpaTrafficDataRequest.h @@ -1,72 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPATRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPATRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIpaTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainIpaTrafficDataRequest(); - ~DescribeDcdnDomainIpaTrafficDataRequest(); - - 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 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 locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string fixTimeGap_; - std::string timeMerge_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPATRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPATRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPATRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIpaTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainIpaTrafficDataRequest(); + ~DescribeDcdnDomainIpaTrafficDataRequest(); + 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); + 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 fixTimeGap_; + std::string timeMerge_; + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINIPATRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataRequest.h index d0a1ee5db..16214cf35 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINISPDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINISPDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIspDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainIspDataRequest(); - ~DescribeDcdnDomainIspDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINISPDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINISPDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINISPDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainIspDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainIspDataRequest(); + ~DescribeDcdnDomainIspDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINISPDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h index fe544112c..1b08a98e4 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainIspDataResult.h @@ -37,11 +37,11 @@ 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 proportion; std::string totalBytes; + std::string isp; std::string avgResponseRate; std::string ispEname; std::string avgResponseTime; @@ -54,8 +54,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); @@ -63,8 +63,8 @@ namespace AlibabaCloud std::string endTime_; std::string domainName_; std::vector value_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlRequest.h new file mode 100644 index 000000000..fabf9b83f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGEXTTLREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGEXTTLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainLogExTtlRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainLogExTtlRequest(); + ~DescribeDcdnDomainLogExTtlRequest(); + std::string getLogType() const; + void setLogType(const std::string &logType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + +private: + std::string logType_; + std::string domainName_; + long pageSize_; + std::string endTime_; + std::string startTime_; + long pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGEXTTLREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlResult.h new file mode 100644 index 000000000..b62028a81 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogExTtlResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGEXTTLRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGEXTTLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainLogExTtlResult : public ServiceResult + { + public: + struct DomainLogDetail + { + struct PageInfos + { + long pageSize; + long total; + long pageIndex; + }; + struct LogInfoDetail + { + long logSize; + std::string endTime; + std::string startTime; + std::string logName; + std::string logPath; + }; + std::string domainName; + std::vector logInfos; + PageInfos pageInfos; + long logCount; + }; + + + DescribeDcdnDomainLogExTtlResult(); + explicit DescribeDcdnDomainLogExTtlResult(const std::string &payload); + ~DescribeDcdnDomainLogExTtlResult(); + std::vector getDomainLogDetails()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainLogDetails_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGEXTTLRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h index 38d6f1e50..df5774ee5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainLogRequest.h @@ -1,63 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainLogRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainLogRequest(); - ~DescribeDcdnDomainLogRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainLogRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainLogRequest(); + ~DescribeDcdnDomainLogRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + +private: + std::string domainName_; + long pageSize_; + std::string endTime_; + std::string startTime_; + long pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINLOGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h index bb4197e7f..08c2f6bcc 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainMultiUsageDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainMultiUsageDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainMultiUsageDataRequest(); - ~DescribeDcdnDomainMultiUsageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainMultiUsageDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainMultiUsageDataRequest(); + ~DescribeDcdnDomainMultiUsageDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINMULTIUSAGEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h index 87ef80488..382e4783c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginBpsDataRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainOriginBpsDataRequest(); - ~DescribeDcdnDomainOriginBpsDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainOriginBpsDataRequest(); + ~DescribeDcdnDomainOriginBpsDataRequest(); + 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 getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINBPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h index f8252c37d..cb1586ddd 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainOriginTrafficDataRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainOriginTrafficDataRequest(); - ~DescribeDcdnDomainOriginTrafficDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainOriginTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainOriginTrafficDataRequest(); + ~DescribeDcdnDomainOriginTrafficDataRequest(); + 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 getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINORIGINTRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPropertyRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPropertyRequest.h index 14902f36c..2532d11b5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPropertyRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPropertyRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPROPERTYREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPROPERTYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainPropertyRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainPropertyRequest(); - ~DescribeDcdnDomainPropertyRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINPROPERTYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPROPERTYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPROPERTYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainPropertyRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainPropertyRequest(); + ~DescribeDcdnDomainPropertyRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPROPERTYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPvDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPvDataRequest.h index 8f7fa979d..2c2c6ae59 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPvDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainPvDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPVDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPVDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainPvDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainPvDataRequest(); - ~DescribeDcdnDomainPvDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPVDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPVDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPVDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainPvDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainPvDataRequest(); + ~DescribeDcdnDomainPvDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINPVDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerRequest.h new file mode 100644 index 000000000..bd403d470 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainQpsDataByLayerRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainQpsDataByLayerRequest(); + ~DescribeDcdnDomainQpsDataByLayerRequest(); + 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); + std::string getLayer() const; + void setLayer(const std::string &layer); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATABYLAYERREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerResult.h new file mode 100644 index 000000000..dab53d4cc --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataByLayerResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATABYLAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainQpsDataByLayerResult : public ServiceResult + { + public: + struct DataModule + { + std::string overseasValue; + std::string accDomesticValue; + std::string value; + std::string accOverseasValue; + std::string accValue; + std::string timeStamp; + std::string domesticValue; + }; + + + DescribeDcdnDomainQpsDataByLayerResult(); + explicit DescribeDcdnDomainQpsDataByLayerResult(const std::string &payload); + ~DescribeDcdnDomainQpsDataByLayerResult(); + 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_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataRequest.h index d199c5d31..66c603ad4 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainQpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainQpsDataRequest(); - ~DescribeDcdnDomainQpsDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainQpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainQpsDataRequest(); + ~DescribeDcdnDomainQpsDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINQPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataResult.h index fcfae78dd..96bc2a79e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainQpsDataResult.h @@ -35,11 +35,11 @@ namespace AlibabaCloud struct DataModule { float dynamicHttpsQps; - float staticHttpsQps; float acc; + float staticHttpsQps; float dynamicHttpAcc; - float staticHttpAcc; float staticHttpsAcc; + float staticHttpAcc; float dynamicHttpQps; float qps; float staticHttpQps; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeBpsDataRequest.h index 15bc036ed..175a4104d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeBpsDataRequest.h @@ -1,63 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeBpsDataRequest(); - ~DescribeDcdnDomainRealTimeBpsDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeBpsDataRequest(); + ~DescribeDcdnDomainRealTimeBpsDataRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string locationNameEn_; + std::string ispNameEn_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.h index 0150a9b9b..d6d4f08d2 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeByteHitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeByteHitRateDataRequest(); - ~DescribeDcdnDomainRealTimeByteHitRateDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeByteHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeByteHitRateDataRequest(); + ~DescribeDcdnDomainRealTimeByteHitRateDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEBYTEHITRATEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeDetailDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeDetailDataRequest.h index bfb991912..fa6b874d9 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeDetailDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeDetailDataRequest.h @@ -1,72 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEDETAILDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEDETAILDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeDetailDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeDetailDataRequest(); - ~DescribeDcdnDomainRealTimeDetailDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEDETAILDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEDETAILDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEDETAILDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeDetailDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeDetailDataRequest(); + ~DescribeDcdnDomainRealTimeDetailDataRequest(); + std::string getField() const; + void setField(const std::string &field); + 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); + 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 field_; + std::string merge_; + std::string domainName_; + std::string endTime_; + std::string mergeLocIsp_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEDETAILDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.h index f2c5dd3b4..e38cb1cfd 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.h @@ -1,63 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeHttpCodeDataRequest(); - ~DescribeDcdnDomainRealTimeHttpCodeDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeHttpCodeDataRequest(); + ~DescribeDcdnDomainRealTimeHttpCodeDataRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + 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 domainName_; + std::string endTime_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeQpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeQpsDataRequest.h index 8f4d996e2..808a93f25 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeQpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeQpsDataRequest.h @@ -1,63 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEQPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEQPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeQpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeQpsDataRequest(); - ~DescribeDcdnDomainRealTimeQpsDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEQPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEQPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEQPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeQpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeQpsDataRequest(); + ~DescribeDcdnDomainRealTimeQpsDataRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string locationNameEn_; + std::string ispNameEn_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEQPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.h index 6718cd9ff..cad32d81b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeReqHitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeReqHitRateDataRequest(); - ~DescribeDcdnDomainRealTimeReqHitRateDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeReqHitRateDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeReqHitRateDataRequest(); + ~DescribeDcdnDomainRealTimeReqHitRateDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMEREQHITRATEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h index 6a2255a5c..1c7b8cd94 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCBPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeSrcBpsDataRequest(); - ~DescribeDcdnDomainRealTimeSrcBpsDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeSrcBpsDataRequest(); + ~DescribeDcdnDomainRealTimeSrcBpsDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCBPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h index 866639458..c6bfecf10 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.h @@ -1,63 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest(); - ~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest(); + ~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + 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 domainName_; + std::string endTime_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCHTTPCODEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h index f1fc6a166..47dd1c194 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeSrcTrafficDataRequest(); - ~DescribeDcdnDomainRealTimeSrcTrafficDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeSrcTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeSrcTrafficDataRequest(); + ~DescribeDcdnDomainRealTimeSrcTrafficDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMESRCTRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeTrafficDataRequest.h index 720ae01cb..1669eca0b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRealTimeTrafficDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMETRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMETRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRealTimeTrafficDataRequest(); - ~DescribeDcdnDomainRealTimeTrafficDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMETRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMETRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMETRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRealTimeTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRealTimeTrafficDataRequest(); + ~DescribeDcdnDomainRealTimeTrafficDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREALTIMETRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataRequest.h index 6cc42d430..afd5adbd6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREGIONDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREGIONDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRegionDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainRegionDataRequest(); - ~DescribeDcdnDomainRegionDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREGIONDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREGIONDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREGIONDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainRegionDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainRegionDataRequest(); + ~DescribeDcdnDomainRegionDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINREGIONDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataResult.h index 9563dd3ee..06286666c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainRegionDataResult.h @@ -37,9 +37,9 @@ namespace AlibabaCloud std::string avgObjectSize; std::string bytesProportion; std::string bps; - std::string proportion; std::string qps; std::string totalQuery; + std::string proportion; std::string totalBytes; std::string avgResponseRate; std::string region; @@ -54,8 +54,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); @@ -63,8 +63,8 @@ namespace AlibabaCloud std::string endTime_; std::string domainName_; std::vector value_; - std::string dataInterval_; std::string startTime_; + std::string dataInterval_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h index 8922cf064..4fc1acbec 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainStagingConfigRequest.h @@ -1,54 +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_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainStagingConfigRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainStagingConfigRequest(); - ~DescribeDcdnDomainStagingConfigRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionNames_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainStagingConfigRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainStagingConfigRequest(); + ~DescribeDcdnDomainStagingConfigRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string functionNames_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSTAGINGCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h index dc2b4b0a8..981f1fc58 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopReferVisitRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPREFERVISITREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPREFERVISITREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTopReferVisitRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainTopReferVisitRequest(); - ~DescribeDcdnDomainTopReferVisitRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - - private: - std::string startTime_; - std::string domainName_; - long ownerId_; - std::string sortBy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPREFERVISITREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPREFERVISITREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPREFERVISITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTopReferVisitRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainTopReferVisitRequest(); + ~DescribeDcdnDomainTopReferVisitRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string domainName_; + std::string sortBy_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPREFERVISITREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitRequest.h index 6de4a2e24..ac6738ec5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPURLVISITREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPURLVISITREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTopUrlVisitRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainTopUrlVisitRequest(); - ~DescribeDcdnDomainTopUrlVisitRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - - private: - std::string startTime_; - std::string domainName_; - long ownerId_; - std::string sortBy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPURLVISITREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPURLVISITREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPURLVISITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTopUrlVisitRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainTopUrlVisitRequest(); + ~DescribeDcdnDomainTopUrlVisitRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string domainName_; + std::string sortBy_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTOPURLVISITREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataRequest.h index f82f347ec..272f4fb98 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainTrafficDataRequest(); - ~DescribeDcdnDomainTrafficDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainTrafficDataRequest(); + ~DescribeDcdnDomainTrafficDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINTRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h index 0a7004eb3..8d641e400 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainUsageDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainUsageDataRequest(); - ~DescribeDcdnDomainUsageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - 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 dataProtocol_; - std::string area_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string field_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainUsageDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainUsageDataRequest(); + ~DescribeDcdnDomainUsageDataRequest(); + std::string getArea() const; + void setArea(const std::string &area); + std::string getField() const; + void setField(const std::string &field); + 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 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); + +private: + std::string area_; + std::string field_; + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string startTime_; + std::string type_; + std::string dataProtocol_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUvDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUvDataRequest.h index fbb18fcb4..36ecec489 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUvDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUvDataRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUVDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUVDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainUvDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainUvDataRequest(); - ~DescribeDcdnDomainUvDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUVDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUVDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUVDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainUvDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainUvDataRequest(); + ~DescribeDcdnDomainUvDataRequest(); + 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); + +private: + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUVDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketBpsDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketBpsDataRequest.h index 22774507a..cd9c93e9c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketBpsDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketBpsDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETBPSDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainWebsocketBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainWebsocketBpsDataRequest(); - ~DescribeDcdnDomainWebsocketBpsDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETBPSDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainWebsocketBpsDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainWebsocketBpsDataRequest(); + ~DescribeDcdnDomainWebsocketBpsDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETBPSDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.h index a47fc5695..1922c1ee2 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainWebsocketHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainWebsocketHttpCodeDataRequest(); - ~DescribeDcdnDomainWebsocketHttpCodeDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETHTTPCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainWebsocketHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainWebsocketHttpCodeDataRequest(); + ~DescribeDcdnDomainWebsocketHttpCodeDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETHTTPCODEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h index 9064ec83d..afe6cd96f 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainWebsocketTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnDomainWebsocketTrafficDataRequest(); - ~DescribeDcdnDomainWebsocketTrafficDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainWebsocketTrafficDataRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainWebsocketTrafficDataRequest(); + ~DescribeDcdnDomainWebsocketTrafficDataRequest(); + 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 domainName_; + std::string endTime_; + std::string interval_; + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINWEBSOCKETTRAFFICDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceRequest.h new file mode 100644 index 000000000..a6fc28442 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSBYSOURCEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSBYSOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainsBySourceRequest : public RpcServiceRequest { +public: + DescribeDcdnDomainsBySourceRequest(); + ~DescribeDcdnDomainsBySourceRequest(); + std::string getProduct() const; + void setProduct(const std::string &product); + std::string getSources() const; + void setSources(const std::string &sources); + +private: + std::string product_; + std::string sources_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSBYSOURCEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceResult.h new file mode 100644 index 000000000..bfc08641d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainsBySourceResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSBYSOURCERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSBYSOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainsBySourceResult : public ServiceResult + { + public: + struct DomainInfoData + { + struct DomainInfoList + { + std::string status; + std::string domainType; + std::string domainName; + std::string createTime; + std::string updateTime; + std::string domainCname; + }; + std::vector domainList; + std::string source; + }; + + + DescribeDcdnDomainsBySourceResult(); + explicit DescribeDcdnDomainsBySourceResult(const std::string &payload); + ~DescribeDcdnDomainsBySourceResult(); + std::vector getDomainInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINSBYSOURCERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataRequest.h new file mode 100644 index 000000000..e7cb5459b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNERUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNERUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnErUsageDataRequest : public RpcServiceRequest { +public: + DescribeDcdnErUsageDataRequest(); + ~DescribeDcdnErUsageDataRequest(); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getRoutineID() const; + void setRoutineID(const std::string &routineID); + std::string getSpec() const; + void setSpec(const std::string &spec); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + +private: + std::string endTime_; + std::string startTime_; + std::string routineID_; + std::string spec_; + std::string splitBy_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNERUSAGEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataResult.h new file mode 100644 index 000000000..e05fabd30 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnErUsageDataResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNERUSAGEDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNERUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnErUsageDataResult : public ServiceResult + { + public: + struct ErAccItem + { + long erAcc; + std::string routine; + std::string spec; + std::string timeStamp; + }; + + + DescribeDcdnErUsageDataResult(); + explicit DescribeDcdnErUsageDataResult(const std::string &payload); + ~DescribeDcdnErUsageDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getErAccData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector erAccData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNERUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h deleted file mode 100644 index 5d94a3e10..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.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_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExceptionDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnEsExceptionDataRequest(); - ~DescribeDcdnEsExceptionDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h deleted file mode 100644 index ba8e3da2a..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.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_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExecuteDataRequest : public RpcServiceRequest - { - - public: - DescribeDcdnEsExecuteDataRequest(); - ~DescribeDcdnEsExecuteDataRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigRequest.h new file mode 100644 index 000000000..72cd7c4ae --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnFullDomainsBlockIPConfigRequest : public RpcServiceRequest { +public: + DescribeDcdnFullDomainsBlockIPConfigRequest(); + ~DescribeDcdnFullDomainsBlockIPConfigRequest(); + std::string getIPList() const; + void setIPList(const std::string &iPList); + +private: + std::string iPList_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigResult.h new file mode 100644 index 000000000..f8b80d5d3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPConfigResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnFullDomainsBlockIPConfigResult : public ServiceResult + { + public: + + + DescribeDcdnFullDomainsBlockIPConfigResult(); + explicit DescribeDcdnFullDomainsBlockIPConfigResult(const std::string &payload); + ~DescribeDcdnFullDomainsBlockIPConfigResult(); + std::string getMessage()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.h new file mode 100644 index 000000000..4a9c00eec --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPHISTORYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnFullDomainsBlockIPHistoryRequest : public RpcServiceRequest { +public: + DescribeDcdnFullDomainsBlockIPHistoryRequest(); + ~DescribeDcdnFullDomainsBlockIPHistoryRequest(); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIPList() const; + void setIPList(const std::string &iPList); + +private: + std::string endTime_; + std::string startTime_; + std::string iPList_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPHISTORYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryResult.h similarity index 55% rename from dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h rename to dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryResult.h index e003d1796..9f34aa095 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigGroupDetailResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnFullDomainsBlockIPHistoryResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILRESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILRESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPHISTORYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPHISTORYRESULT_H_ #include #include @@ -29,33 +29,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigGroupDetailResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnFullDomainsBlockIPHistoryResult : public ServiceResult { public: + struct IPBlockHistory + { + std::string status; + std::string blockIP; + std::string deliverTime; + }; - DescribeDcdnConfigGroupDetailResult(); - explicit DescribeDcdnConfigGroupDetailResult(const std::string &payload); - ~DescribeDcdnConfigGroupDetailResult(); - std::string getConfigGroupId()const; + DescribeDcdnFullDomainsBlockIPHistoryResult(); + explicit DescribeDcdnFullDomainsBlockIPHistoryResult(const std::string &payload); + ~DescribeDcdnFullDomainsBlockIPHistoryResult(); std::string getDescription()const; - std::string getCreateTime()const; - std::string getConfigGroupName()const; - std::string getUpdateTime()const; - std::string getBizName()const; + std::vector getIPBlockInfo()const; + int getCode()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_; + std::vector iPBlockInfo_; + int code_; }; } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGGROUPDETAILRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNFULLDOMAINSBLOCKIPHISTORYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h index 5230c97f9..5f72bf9e3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNHTTPSDOMAINLISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNHTTPSDOMAINLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnHttpsDomainListRequest : public RpcServiceRequest - { - - public: - DescribeDcdnHttpsDomainListRequest(); - ~DescribeDcdnHttpsDomainListRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNHTTPSDOMAINLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNHTTPSDOMAINLISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNHTTPSDOMAINLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnHttpsDomainListRequest : public RpcServiceRequest { +public: + DescribeDcdnHttpsDomainListRequest(); + ~DescribeDcdnHttpsDomainListRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + std::string keyword_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNHTTPSDOMAINLISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h index 59fd7800e..75ee3ce27 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string certUpdateTime; std::string certStatus; std::string domainName; - std::string certCommonName; std::string certType; + std::string certCommonName; std::string certExpireTime; std::string certName; std::string certStartTime; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h index 7a36bc624..7941f5e86 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h @@ -1,54 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpInfoRequest : public RpcServiceRequest - { - - public: - DescribeDcdnIpInfoRequest(); - ~DescribeDcdnIpInfoRequest(); - - std::string getIP()const; - void setIP(const std::string& iP); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string iP_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnIpInfoRequest(); + ~DescribeDcdnIpInfoRequest(); + std::string getIP() const; + void setIP(const std::string &iP); + +private: + std::string iP_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h index 547ed990c..cd52730eb 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpInfoResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud std::string getISP()const; std::string getRegion()const; std::string getIspEname()const; - std::string getDcdnIp()const; std::string getRegionEname()const; + std::string getDcdnIp()const; protected: void parse(const std::string &payload); @@ -49,8 +49,8 @@ namespace AlibabaCloud std::string iSP_; std::string region_; std::string ispEname_; - std::string dcdnIp_; std::string regionEname_; + std::string dcdnIp_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrRequest.h new file mode 100644 index 000000000..c475cb229 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCIDRREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCIDRREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaDomainCidrRequest : public RpcServiceRequest { +public: + DescribeDcdnIpaDomainCidrRequest(); + ~DescribeDcdnIpaDomainCidrRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCIDRREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrResult.h similarity index 61% rename from dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h rename to dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrResult.h index 5987d1767..e21b9972b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainCidrResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCIDRRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCIDRRESULT_H_ #include #include @@ -29,29 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExecuteDataResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaDomainCidrResult : public ServiceResult { public: - struct Content - { - std::vector points; - std::vector columns; - std::string name; - }; - DescribeDcdnEsExecuteDataResult(); - explicit DescribeDcdnEsExecuteDataResult(const std::string &payload); - ~DescribeDcdnEsExecuteDataResult(); - std::vector getContents()const; + DescribeDcdnIpaDomainCidrResult(); + explicit DescribeDcdnIpaDomainCidrResult(const std::string &payload); + ~DescribeDcdnIpaDomainCidrResult(); + std::vector getCidr()const; protected: void parse(const std::string &payload); private: - std::vector contents_; + std::vector cidr_; }; } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCIDRRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.h index 8d53a920a..8090d2312 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainConfigsRequest.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_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaDomainConfigsRequest : public RpcServiceRequest - { - - public: - DescribeDcdnIpaDomainConfigsRequest(); - ~DescribeDcdnIpaDomainConfigsRequest(); - - 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); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functionNames_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaDomainConfigsRequest : public RpcServiceRequest { +public: + DescribeDcdnIpaDomainConfigsRequest(); + ~DescribeDcdnIpaDomainConfigsRequest(); + 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); + +private: + std::string functionNames_; + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.h index 21b2069d5..41e099f3e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNIPADOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaDomainDetailRequest : public RpcServiceRequest - { - - public: - DescribeDcdnIpaDomainDetailRequest(); - ~DescribeDcdnIpaDomainDetailRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNIPADOMAINDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaDomainDetailRequest : public RpcServiceRequest { +public: + DescribeDcdnIpaDomainDetailRequest(); + ~DescribeDcdnIpaDomainDetailRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPADOMAINDETAILREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailResult.h index 66fdd2370..57c6c542d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaDomainDetailResult.h @@ -37,15 +37,15 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string enabled; std::string weight; }; std::string description; - std::string scope; std::string resourceGroupId; + std::string scope; std::string domainName; std::string sSLPub; std::string gmtModified; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceRequest.h index f24fba7cf..f609ce710 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceRequest.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_DCDN_MODEL_DESCRIBEDCDNIPASERVICEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPASERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaServiceRequest : public RpcServiceRequest - { - - public: - DescribeDcdnIpaServiceRequest(); - ~DescribeDcdnIpaServiceRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNIPASERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPASERVICEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPASERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaServiceRequest : public RpcServiceRequest { +public: + DescribeDcdnIpaServiceRequest(); + ~DescribeDcdnIpaServiceRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPASERVICEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h index 1021ced1d..5ead40855 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h @@ -1,87 +1,76 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPAUSERDOMAINSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPAUSERDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaUserDomainsRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeDcdnIpaUserDomainsRequest(); - ~DescribeDcdnIpaUserDomainsRequest(); - - 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); - 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 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: - int pageNumber_; - bool checkDomainShow_; - std::string resourceGroupId_; - std::string securityToken_; - int pageSize_; - std::vector tag_; - std::string funcFilter_; - std::string domainName_; - long ownerId_; - std::string funcId_; - std::string domainStatus_; - std::string domainSearchType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPAUSERDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPAUSERDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPAUSERDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaUserDomainsRequest : public RpcServiceRequest { +public: + struct Tag { + std::string value; + std::string key; + }; + DescribeDcdnIpaUserDomainsRequest(); + ~DescribeDcdnIpaUserDomainsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + bool getCheckDomainShow() const; + void setCheckDomainShow(bool checkDomainShow); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + 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 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: + int pageNumber_; + bool checkDomainShow_; + std::string resourceGroupId_; + int pageSize_; + std::vector tag_; + std::string funcFilter_; + std::string domainName_; + long ownerId_; + std::string funcId_; + std::string domainStatus_; + std::string domainSearchType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNIPAUSERDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h index f2548bfb1..b8e8abc5d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string weight; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountRequest.h new file mode 100644 index 000000000..d2889e372 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnKvAccountRequest : public RpcServiceRequest { +public: + DescribeDcdnKvAccountRequest(); + ~DescribeDcdnKvAccountRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountResult.h new file mode 100644 index 000000000..2b2995d4b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnKvAccountResult : public ServiceResult + { + public: + struct Namespaces + { + std::string status; + std::string capacityUsedString; + std::string description; + std::string capacityString; + std::string _namespace; + std::string namespaceId; + }; + + + DescribeDcdnKvAccountResult(); + explicit DescribeDcdnKvAccountResult(const std::string &payload); + ~DescribeDcdnKvAccountResult(); + std::string getStatus()const; + int getNamespaceUsed()const; + std::string getCapacityUsedString()const; + std::string getCapacityString()const; + int getNamespaceQuota()const; + std::vector getNamespaceList()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + int namespaceUsed_; + std::string capacityUsedString_; + std::string capacityString_; + int namespaceQuota_; + std::vector namespaceList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusRequest.h new file mode 100644 index 000000000..78020f854 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTSTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnKvAccountStatusRequest : public RpcServiceRequest { +public: + DescribeDcdnKvAccountStatusRequest(); + ~DescribeDcdnKvAccountStatusRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTSTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusResult.h similarity index 61% rename from dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h rename to dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusResult.h index bebf8a0cd..fedb967ae 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvAccountStatusResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTSTATUSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTSTATUSRESULT_H_ #include #include @@ -29,29 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExceptionDataResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnKvAccountStatusResult : public ServiceResult { public: - struct Content - { - std::vector points; - std::vector columns; - std::string name; - }; - DescribeDcdnEsExceptionDataResult(); - explicit DescribeDcdnEsExceptionDataResult(const std::string &payload); - ~DescribeDcdnEsExceptionDataResult(); - std::vector getContents()const; + DescribeDcdnKvAccountStatusResult(); + explicit DescribeDcdnKvAccountStatusResult(const std::string &payload); + ~DescribeDcdnKvAccountStatusResult(); + std::string getStatus()const; protected: void parse(const std::string &payload); private: - std::vector contents_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVACCOUNTSTATUSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceRequest.h new file mode 100644 index 000000000..bf1b547c7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVNAMESPACEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVNAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnKvNamespaceRequest : public RpcServiceRequest { +public: + DescribeDcdnKvNamespaceRequest(); + ~DescribeDcdnKvNamespaceRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + +private: + std::string _namespace_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVNAMESPACEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceResult.h new file mode 100644 index 000000000..8c027330d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnKvNamespaceResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVNAMESPACERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVNAMESPACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnKvNamespaceResult : public ServiceResult + { + public: + + + DescribeDcdnKvNamespaceResult(); + explicit DescribeDcdnKvNamespaceResult(const std::string &payload); + ~DescribeDcdnKvNamespaceResult(); + std::string getStatus()const; + std::string getCapacityUsedString()const; + std::string getDescription()const; + std::string getCapacityString()const; + std::string getMode()const; + std::string get_Namespace()const; + std::string getNamespaceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string capacityUsedString_; + std::string description_; + std::string capacityString_; + std::string mode_; + std::string _namespace_; + std::string namespaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNKVNAMESPACERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsRequest.h new file mode 100644 index 000000000..c602bc9ed --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2IPSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2IPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnL2IpsRequest : public RpcServiceRequest { +public: + DescribeDcdnL2IpsRequest(); + ~DescribeDcdnL2IpsRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2IPSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsResult.h new file mode 100644 index 000000000..cd7445929 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2IpsResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2IPSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2IPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnL2IpsResult : public ServiceResult + { + public: + + + DescribeDcdnL2IpsResult(); + explicit DescribeDcdnL2IpsResult(const std::string &payload); + ~DescribeDcdnL2IpsResult(); + std::vector getVips()const; + + protected: + void parse(const std::string &payload); + private: + std::vector vips_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2IPSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsRequest.h new file mode 100644 index 000000000..1ed5400e4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2VIPSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2VIPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnL2VipsRequest : public RpcServiceRequest { +public: + DescribeDcdnL2VipsRequest(); + ~DescribeDcdnL2VipsRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2VIPSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsResult.h new file mode 100644 index 000000000..be35c4790 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnL2VipsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2VIPSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2VIPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnL2VipsResult : public ServiceResult + { + public: + + + DescribeDcdnL2VipsResult(); + explicit DescribeDcdnL2VipsResult(const std::string &payload); + ~DescribeDcdnL2VipsResult(); + std::string getDomainName()const; + std::vector getVips()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::vector vips_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNL2VIPSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusRequest.h new file mode 100644 index 000000000..2ed31d877 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNORIGINSITEHEALTHSTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNORIGINSITEHEALTHSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOriginSiteHealthStatusRequest : public RpcServiceRequest { +public: + DescribeDcdnOriginSiteHealthStatusRequest(); + ~DescribeDcdnOriginSiteHealthStatusRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNORIGINSITEHEALTHSTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusResult.h new file mode 100644 index 000000000..a203c4396 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnOriginSiteHealthStatusResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNORIGINSITEHEALTHSTATUSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNORIGINSITEHEALTHSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOriginSiteHealthStatusResult : public ServiceResult + { + public: + struct OriginSiteStatusItem + { + std::string healthStatus; + std::string host; + }; + + + DescribeDcdnOriginSiteHealthStatusResult(); + explicit DescribeDcdnOriginSiteHealthStatusResult(const std::string &payload); + ~DescribeDcdnOriginSiteHealthStatusResult(); + std::vector getOriginSiteStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::vector originSiteStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNORIGINSITEHEALTHSTATUSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h index 260966696..fd5db38b3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRealTimeDeliveryFieldRequest : public RpcServiceRequest - { - - public: - DescribeDcdnRealTimeDeliveryFieldRequest(); - ~DescribeDcdnRealTimeDeliveryFieldRequest(); - - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string businessType_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRealTimeDeliveryFieldRequest : public RpcServiceRequest { +public: + DescribeDcdnRealTimeDeliveryFieldRequest(); + ~DescribeDcdnRealTimeDeliveryFieldRequest(); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + +private: + std::string businessType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h index 41ff119a6..d429cf9f5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.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_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshQuotaRequest : public RpcServiceRequest - { - - public: - DescribeDcdnRefreshQuotaRequest(); - ~DescribeDcdnRefreshQuotaRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshQuotaRequest : public RpcServiceRequest { +public: + DescribeDcdnRefreshQuotaRequest(); + ~DescribeDcdnRefreshQuotaRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHQUOTAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h index 86a8790fb..a55084254 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h @@ -38,28 +38,32 @@ namespace AlibabaCloud explicit DescribeDcdnRefreshQuotaResult(const std::string &payload); ~DescribeDcdnRefreshQuotaResult(); std::string getUrlRemain()const; - std::string getPreloadRemain()const; std::string getBlockRemain()const; + std::string getPreloadRemain()const; + std::string getIgnoreParamsRemain()const; std::string getRegexRemain()const; - std::string getDirRemain()const; std::string getBlockQuota()const; + std::string getDirRemain()const; std::string getRegexQuota()const; std::string getUrlQuota()const; std::string getDirQuota()const; + std::string getIgnoreParamsQuota()const; std::string getPreloadQuota()const; protected: void parse(const std::string &payload); private: std::string urlRemain_; - std::string preloadRemain_; std::string blockRemain_; + std::string preloadRemain_; + std::string ignoreParamsRemain_; std::string regexRemain_; - std::string dirRemain_; std::string blockQuota_; + std::string dirRemain_; std::string regexQuota_; std::string urlQuota_; std::string dirQuota_; + std::string ignoreParamsQuota_; std::string preloadQuota_; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdRequest.h index 389d17991..733a0643d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKBYIDREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKBYIDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshTaskByIdRequest : public RpcServiceRequest - { - - public: - DescribeDcdnRefreshTaskByIdRequest(); - ~DescribeDcdnRefreshTaskByIdRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKBYIDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKBYIDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKBYIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshTaskByIdRequest : public RpcServiceRequest { +public: + DescribeDcdnRefreshTaskByIdRequest(); + ~DescribeDcdnRefreshTaskByIdRequest(); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + std::string taskId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKBYIDREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdResult.h index b4c95b7e7..a59a3c240 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string status; std::string objectType; std::string objectPath; - std::string taskId; std::string description; + std::string taskId; std::string creationTime; std::string process; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.h index 2664bfaa4..23b45c0f5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksRequest.h @@ -1,78 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshTasksRequest : public RpcServiceRequest - { - - public: - DescribeDcdnRefreshTasksRequest(); - ~DescribeDcdnRefreshTasksRequest(); - - 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 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 securityToken_; - int pageSize_; - std::string objectType_; - std::string taskId_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRefreshTasksRequest : public RpcServiceRequest { +public: + DescribeDcdnRefreshTasksRequest(); + ~DescribeDcdnRefreshTasksRequest(); + 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 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 securityToken_; + int pageSize_; + std::string objectType_; + std::string taskId_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string status_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREFRESHTASKSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h index 9afc1d922..5019130fd 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRefreshTasksResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string status; std::string objectType; std::string objectPath; - std::string taskId; std::string description; + std::string taskId; std::string creationTime; std::string process; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRegionAndIspRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRegionAndIspRequest.h index 1c7ab5a0c..fed3fd1ce 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRegionAndIspRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRegionAndIspRequest.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_DCDN_MODEL_DESCRIBEDCDNREGIONANDISPREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREGIONANDISPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRegionAndIspRequest : public RpcServiceRequest - { - - public: - DescribeDcdnRegionAndIspRequest(); - ~DescribeDcdnRegionAndIspRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNREGIONANDISPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREGIONANDISPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREGIONANDISPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRegionAndIspRequest : public RpcServiceRequest { +public: + DescribeDcdnRegionAndIspRequest(); + ~DescribeDcdnRegionAndIspRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREGIONANDISPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h index 3af1c38a4..7b475af34 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTLISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnReportListRequest : public RpcServiceRequest - { - - public: - DescribeDcdnReportListRequest(); - ~DescribeDcdnReportListRequest(); - - long getReportId()const; - void setReportId(long reportId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long reportId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTLISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnReportListRequest : public RpcServiceRequest { +public: + DescribeDcdnReportListRequest(); + ~DescribeDcdnReportListRequest(); + long getReportId() const; + void setReportId(long reportId); + +private: + long reportId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTLISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportRequest.h index 891a926e5..75cf66650 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportRequest.h @@ -1,69 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnReportRequest : public RpcServiceRequest - { - - public: - DescribeDcdnReportRequest(); - ~DescribeDcdnReportRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnReportRequest : public RpcServiceRequest { +public: + DescribeDcdnReportRequest(); + ~DescribeDcdnReportRequest(); + std::string getArea() const; + void setArea(const std::string &area); + long getReportId() const; + void setReportId(long reportId); + std::string getIsOverseas() const; + void setIsOverseas(const std::string &isOverseas); + 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); + std::string getHttpCode() const; + void setHttpCode(const std::string &httpCode); + +private: + std::string area_; + long reportId_; + std::string isOverseas_; + std::string domainName_; + std::string endTime_; + std::string startTime_; + std::string httpCode_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREPORTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeRequest.h new file mode 100644 index 000000000..a0fcecd45 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGTYPEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGTYPEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSLSRealTimeLogTypeRequest : public RpcServiceRequest { +public: + DescribeDcdnSLSRealTimeLogTypeRequest(); + ~DescribeDcdnSLSRealTimeLogTypeRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGTYPEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeResult.h new file mode 100644 index 000000000..725c63033 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealTimeLogTypeResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGTYPERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSLSRealTimeLogTypeResult : public ServiceResult + { + public: + struct Business + { + std::string desc; + std::string businessType; + }; + + + DescribeDcdnSLSRealTimeLogTypeResult(); + explicit DescribeDcdnSLSRealTimeLogTypeResult(const std::string &payload); + ~DescribeDcdnSLSRealTimeLogTypeResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGTYPERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h index 639a8abfe..7427dc9f7 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h @@ -1,54 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSLSRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - DescribeDcdnSLSRealtimeLogDeliveryRequest(); - ~DescribeDcdnSLSRealtimeLogDeliveryRequest(); - - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string businessType_; - std::string projectName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSLSRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DescribeDcdnSLSRealtimeLogDeliveryRequest(); + ~DescribeDcdnSLSRealtimeLogDeliveryRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + +private: + std::string projectName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h index b1b86a8d6..d24a61f58 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h @@ -34,6 +34,7 @@ namespace AlibabaCloud public: struct Content { + std::string status; std::string type; std::string dataCenter; std::string sLSProject; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h index b4a53722b..e53cd1bc0 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateDetailRequest : public RpcServiceRequest - { - - public: - DescribeDcdnSMCertificateDetailRequest(); - ~DescribeDcdnSMCertificateDetailRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateDetailRequest : public RpcServiceRequest { +public: + DescribeDcdnSMCertificateDetailRequest(); + ~DescribeDcdnSMCertificateDetailRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + +private: + std::string securityToken_; + long ownerId_; + std::string certIdentifier_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATEDETAILREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h index 11525c252..9681ab10d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud std::string getSans()const; std::string getCertOrg()const; std::string getCertIdentifier()const; - std::string getSignCertificate()const; std::string getCertExpireTime()const; + std::string getSignCertificate()const; std::string getCertName()const; std::string getEncryptCertificate()const; std::string getCommonName()const; @@ -52,8 +52,8 @@ namespace AlibabaCloud std::string sans_; std::string certOrg_; std::string certIdentifier_; - std::string signCertificate_; std::string certExpireTime_; + std::string signCertificate_; std::string certName_; std::string encryptCertificate_; std::string commonName_; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h index 554c16441..7bc852d5a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeDcdnSMCertificateListRequest(); - ~DescribeDcdnSMCertificateListRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSMCertificateListRequest : public RpcServiceRequest { +public: + DescribeDcdnSMCertificateListRequest(); + ~DescribeDcdnSMCertificateListRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSMCERTIFICATELISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListRequest.h new file mode 100644 index 000000000..68e839c28 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSSLCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSSLCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSSLCertificateListRequest : public RpcServiceRequest { +public: + DescribeDcdnSSLCertificateListRequest(); + ~DescribeDcdnSSLCertificateListRequest(); + long getPageNumber() const; + void setPageNumber(long pageNumber); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getMatchType() const; + void setMatchType(const std::string &matchType); + std::string getAlgorithm() const; + void setAlgorithm(const std::string &algorithm); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSearchKeyword() const; + void setSearchKeyword(const std::string &searchKeyword); + +private: + long pageNumber_; + std::string securityToken_; + long pageSize_; + std::string matchType_; + std::string algorithm_; + std::string domainName_; + long ownerId_; + std::string searchKeyword_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSSLCERTIFICATELISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListResult.h new file mode 100644 index 000000000..9c453465d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSSLCertificateListResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSSLCERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSSLCERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSSLCertificateListResult : public ServiceResult + { + public: + struct CertificateListModel + { + struct Cert + { + std::string fingerprint; + std::string issuer; + long certId; + std::string certRegion; + std::string certName; + long lastTime; + std::string common; + }; + std::vector certList; + long pageSize; + long pageNumber; + int count; + }; + + + DescribeDcdnSSLCertificateListResult(); + explicit DescribeDcdnSSLCertificateListResult(const std::string &payload); + ~DescribeDcdnSSLCertificateListResult(); + CertificateListModel getCertificateListModel()const; + + protected: + void parse(const std::string &payload); + private: + CertificateListModel certificateListModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSSLCERTIFICATELISTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoRequest.h index 6aea62d94..9de82a654 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecFuncInfoRequest.h @@ -1,54 +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_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSecFuncInfoRequest : public RpcServiceRequest - { - - public: - DescribeDcdnSecFuncInfoRequest(); - ~DescribeDcdnSecFuncInfoRequest(); - - std::string getLang()const; - void setLang(const std::string& lang); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecFuncType()const; - void setSecFuncType(const std::string& secFuncType); - - private: - std::string lang_; - long ownerId_; - std::string secFuncType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSecFuncInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnSecFuncInfoRequest(); + ~DescribeDcdnSecFuncInfoRequest(); + std::string getSecFuncType() const; + void setSecFuncType(const std::string &secFuncType); + std::string getLang() const; + void setLang(const std::string &lang); + +private: + std::string secFuncType_; + std::string lang_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECFUNCINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h index 333b51d37..a8ab1e6b9 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSecSpecInfoRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSecSpecInfoRequest : public RpcServiceRequest - { - - public: - DescribeDcdnSecSpecInfoRequest(); - ~DescribeDcdnSecSpecInfoRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSecSpecInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnSecSpecInfoRequest(); + ~DescribeDcdnSecSpecInfoRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSPECINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h index 23c51fbfa..39a4195c6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceRequest.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_DCDN_MODEL_DESCRIBEDCDNSERVICEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnServiceRequest : public RpcServiceRequest - { - - public: - DescribeDcdnServiceRequest(); - ~DescribeDcdnServiceRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNSERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSERVICEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnServiceRequest : public RpcServiceRequest { +public: + DescribeDcdnServiceRequest(); + ~DescribeDcdnServiceRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSERVICEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h index bb8c54a9d..387ed043f 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnServiceResult.h @@ -48,8 +48,8 @@ namespace AlibabaCloud std::string getOpeningTime()const; std::vector getOperationLocks()const; std::string getChangingAffectTime()const; - std::string getInternetChargeType()const; std::string getWebsocketChangingTime()const; + std::string getInternetChargeType()const; protected: void parse(const std::string &payload); @@ -61,8 +61,8 @@ namespace AlibabaCloud std::string openingTime_; std::vector operationLocks_; std::string changingAffectTime_; - std::string internetChargeType_; std::string websocketChangingTime_; + std::string internetChargeType_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h index 9b77b459f..026706a11 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnStagingIpRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpRequest : public RpcServiceRequest - { - - public: - DescribeDcdnStagingIpRequest(); - ~DescribeDcdnStagingIpRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnStagingIpRequest : public RpcServiceRequest { +public: + DescribeDcdnStagingIpRequest(); + ~DescribeDcdnStagingIpRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSTAGINGIPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h index ebe171c2a..d4c53dccc 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSUBLISTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSUBLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSubListRequest : public RpcServiceRequest - { - - public: - DescribeDcdnSubListRequest(); - ~DescribeDcdnSubListRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSUBLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSUBLISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSUBLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSubListRequest : public RpcServiceRequest { +public: + DescribeDcdnSubListRequest(); + ~DescribeDcdnSubListRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSUBLISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h index 3cd81cd46..7252a1055 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTagResourcesRequest.h @@ -1,66 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTagResourcesRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string key; - std::string value; - }; - - public: - DescribeDcdnTagResourcesRequest(); - ~DescribeDcdnTagResourcesRequest(); - - std::string getScope()const; - void setScope(const std::string& scope); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - - private: - std::string scope_; - std::vector tag_; - std::vector resourceId_; - long ownerId_; - std::string resourceType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTagResourcesRequest : public RpcServiceRequest { +public: + struct Tag { + std::string key; + std::string value; + }; + DescribeDcdnTagResourcesRequest(); + ~DescribeDcdnTagResourcesRequest(); + std::vector getResourceId() const; + void setResourceId(const std::vector &resourceId); + std::string getScope() const; + void setScope(const std::string &scope); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + +private: + std::vector resourceId_; + std::string scope_; + std::vector tag_; + std::string resourceType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTAGRESOURCESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowRequest.h index ae1ed449c..8b4020885 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnTopDomainsByFlowRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTOPDOMAINSBYFLOWREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTOPDOMAINSBYFLOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTopDomainsByFlowRequest : public RpcServiceRequest - { - - public: - DescribeDcdnTopDomainsByFlowRequest(); - ~DescribeDcdnTopDomainsByFlowRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNTOPDOMAINSBYFLOWREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTOPDOMAINSBYFLOWREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTOPDOMAINSBYFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnTopDomainsByFlowRequest : public RpcServiceRequest { +public: + DescribeDcdnTopDomainsByFlowRequest(); + ~DescribeDcdnTopDomainsByFlowRequest(); + long getLimit() const; + void setLimit(long limit); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + long limit_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNTOPDOMAINSBYFLOWREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillHistoryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillHistoryRequest.h index 0993fb67f..9e54f515b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillHistoryRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillHistoryRequest.h @@ -1,54 +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_DCDN_MODEL_DESCRIBEDCDNUSERBILLHISTORYREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLHISTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillHistoryRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserBillHistoryRequest(); - ~DescribeDcdnUserBillHistoryRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLHISTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLHISTORYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillHistoryRequest : public RpcServiceRequest { +public: + DescribeDcdnUserBillHistoryRequest(); + ~DescribeDcdnUserBillHistoryRequest(); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLHISTORYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h index a39565162..f2fc2d257 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserBillTypeRequest.h @@ -1,54 +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_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillTypeRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserBillTypeRequest(); - ~DescribeDcdnUserBillTypeRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserBillTypeRequest : public RpcServiceRequest { +public: + DescribeDcdnUserBillTypeRequest(); + ~DescribeDcdnUserBillTypeRequest(); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + +private: + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERBILLTYPEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountRequest.h new file mode 100644 index 000000000..1b1b3f276 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserCertificateExpireCountRequest : public RpcServiceRequest { +public: + DescribeDcdnUserCertificateExpireCountRequest(); + ~DescribeDcdnUserCertificateExpireCountRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCERTIFICATEEXPIRECOUNTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountResult.h new file mode 100644 index 000000000..053bff40d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserCertificateExpireCountResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCERTIFICATEEXPIRECOUNTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCERTIFICATEEXPIRECOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserCertificateExpireCountResult : public ServiceResult + { + public: + + + DescribeDcdnUserCertificateExpireCountResult(); + explicit DescribeDcdnUserCertificateExpireCountResult(const std::string &payload); + ~DescribeDcdnUserCertificateExpireCountResult(); + int getExpireWithin30DaysCount()const; + int getExpiredCount()const; + + protected: + void parse(const std::string &payload); + private: + int expireWithin30DaysCount_; + int expiredCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCERTIFICATEEXPIRECOUNTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsRequest.h new file mode 100644 index 000000000..ff8922281 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCONFIGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserConfigsRequest : public RpcServiceRequest { +public: + DescribeDcdnUserConfigsRequest(); + ~DescribeDcdnUserConfigsRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + +private: + std::string functionName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCONFIGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsResult.h new file mode 100644 index 000000000..4e031c479 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserConfigsResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCONFIGSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserConfigsResult : public ServiceResult + { + public: + struct Config + { + std::string functionName; + std::string argValue; + std::string argName; + }; + + + DescribeDcdnUserConfigsResult(); + explicit DescribeDcdnUserConfigsResult(const std::string &payload); + ~DescribeDcdnUserConfigsResult(); + std::vector getConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector configs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERCONFIGSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h index d730206c0..6255c15c6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.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_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsByFuncRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserDomainsByFuncRequest(); - ~DescribeDcdnUserDomainsByFuncRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - 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); - int getFuncId()const; - void setFuncId(int funcId); - - private: - int pageNumber_; - std::string resourceGroupId_; - int pageSize_; - std::string funcFilter_; - std::string domainName_; - long ownerId_; - int funcId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsByFuncRequest : public RpcServiceRequest { +public: + DescribeDcdnUserDomainsByFuncRequest(); + ~DescribeDcdnUserDomainsByFuncRequest(); + std::string getFuncFilter() const; + void setFuncFilter(const std::string &funcFilter); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getMatchType() const; + void setMatchType(const std::string &matchType); + int getFuncId() const; + void setFuncId(int funcId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string funcFilter_; + std::string resourceGroupId_; + std::string domainName_; + int pageSize_; + std::string matchType_; + int funcId_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSBYFUNCREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h index 4f336a1b3..046a23d92 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h @@ -37,13 +37,13 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string weight; }; - std::string description; std::string sslProtocol; + std::string description; std::string resourceGroupId; std::string domainName; std::string gmtModified; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h index bd339c733..048234ac2 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h @@ -1,96 +1,91 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeDcdnUserDomainsRequest(); - ~DescribeDcdnUserDomainsRequest(); - - 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 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: - int pageNumber_; - bool checkDomainShow_; - std::string resourceGroupId_; - std::string securityToken_; - 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_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsRequest : public RpcServiceRequest { +public: + struct Tag { + std::string value; + std::string key; + }; + DescribeDcdnUserDomainsRequest(); + ~DescribeDcdnUserDomainsRequest(); + 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 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 getWebSiteType() const; + void setWebSiteType(const std::string &webSiteType); + 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: + int pageNumber_; + bool checkDomainShow_; + std::string resourceGroupId_; + std::string securityToken_; + std::string changeEndTime_; + int pageSize_; + std::vector tag_; + std::string webSiteType_; + std::string funcFilter_; + std::string coverage_; + std::string domainName_; + long ownerId_; + std::string funcId_; + std::string domainStatus_; + std::string domainSearchType_; + std::string changeStartTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h index a771f2a40..65f96f390 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsResult.h @@ -37,21 +37,24 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string weight; }; std::string description; std::string resourceGroupId; std::string domainName; + std::string functionType; std::string gmtModified; std::string gmtCreated; + std::string scene; std::vector sources; std::string cname; - std::string domainStatus; std::string sSLProtocol; std::string sandbox; + long domainId; + std::string domainStatus; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h index 88f424486..6f64d3821 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.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_DCDN_MODEL_DESCRIBEDCDNUSERQUOTAREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERQUOTAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserQuotaRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserQuotaRequest(); - ~DescribeDcdnUserQuotaRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNUSERQUOTAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERQUOTAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERQUOTAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserQuotaRequest : public RpcServiceRequest { +public: + DescribeDcdnUserQuotaRequest(); + ~DescribeDcdnUserQuotaRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERQUOTAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h index 34eb0b4a0..7d81ea1a7 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h @@ -38,26 +38,30 @@ namespace AlibabaCloud explicit DescribeDcdnUserQuotaResult(const std::string &payload); ~DescribeDcdnUserQuotaResult(); int getRefreshUrlQuota()const; - int getPreloadRemain()const; int getBlockRemain()const; + int getPreloadRemain()const; + int getIgnoreParamsRemain()const; int getRefreshDirRemain()const; - int getRefreshDirQuota()const; int getBlockQuota()const; + int getRefreshDirQuota()const; int getDomainQuota()const; int getRefreshUrlRemain()const; + int getIgnoreParamsQuota()const; int getPreloadQuota()const; protected: void parse(const std::string &payload); private: int refreshUrlQuota_; - int preloadRemain_; int blockRemain_; + int preloadRemain_; + int ignoreParamsRemain_; int refreshDirRemain_; - int refreshDirQuota_; int blockQuota_; + int refreshDirQuota_; int domainQuota_; int refreshUrlRemain_; + int ignoreParamsQuota_; int preloadQuota_; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h index 260799931..62b71d91e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserRealTimeDeliveryFieldRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserRealTimeDeliveryFieldRequest(); - ~DescribeDcdnUserRealTimeDeliveryFieldRequest(); - - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string businessType_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserRealTimeDeliveryFieldRequest : public RpcServiceRequest { +public: + DescribeDcdnUserRealTimeDeliveryFieldRequest(); + ~DescribeDcdnUserRealTimeDeliveryFieldRequest(); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + +private: + std::string businessType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h index 66c7a3d11..a3e1bbc5e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.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_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserResourcePackageRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserResourcePackageRequest(); - ~DescribeDcdnUserResourcePackageRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserResourcePackageRequest : public RpcServiceRequest { +public: + DescribeDcdnUserResourcePackageRequest(); + ~DescribeDcdnUserResourcePackageRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string securityToken_; + long ownerId_; + std::string status_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERRESOURCEPACKAGEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h index 2726ca72a..d6d680d5d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h @@ -35,12 +35,12 @@ namespace AlibabaCloud struct ResourcePackageInfo { std::string status; - std::string initCapacity; std::string endTime; + std::string initCapacity; std::string instanceId; - std::string commodityCode; std::string displayName; std::string startTime; + std::string commodityCode; std::string templateName; std::string currCapacity; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteRequest.h index 02a22f690..570ab32ca 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteRequest.h @@ -1,75 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserSecDropByMinuteRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserSecDropByMinuteRequest(); - ~DescribeDcdnUserSecDropByMinuteRequest(); - - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - 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 getLang()const; - void setLang(const std::string& lang); - 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 getSecFunc()const; - void setSecFunc(const std::string& secFunc); - std::string getObject()const; - void setObject(const std::string& object); - - private: - std::string ruleName_; - std::string startTime_; - long pageNumber_; - long pageSize_; - std::string lang_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string secFunc_; - std::string object_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserSecDropByMinuteRequest : public RpcServiceRequest { +public: + DescribeDcdnUserSecDropByMinuteRequest(); + ~DescribeDcdnUserSecDropByMinuteRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getRuleName() const; + void setRuleName(const std::string &ruleName); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSecFunc() const; + void setSecFunc(const std::string &secFunc); + std::string getLang() const; + void setLang(const std::string &lang); + long getPageNumber() const; + void setPageNumber(long pageNumber); + std::string getObject() const; + void setObject(const std::string &object); + +private: + std::string domainName_; + long pageSize_; + std::string endTime_; + std::string ruleName_; + std::string startTime_; + std::string secFunc_; + std::string lang_; + long pageNumber_; + std::string object_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPBYMINUTEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteResult.h index b469d566d..fca24b837 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropByMinuteResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { std::string secFunc; int drops; - std::string object; std::string tmStr; + std::string object; std::string domain; std::string ruleName; }; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropRequest.h index 5c0b79f50..e9c5123ac 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserSecDropRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserSecDropRequest(); - ~DescribeDcdnUserSecDropRequest(); - - std::string getData()const; - void setData(const std::string& data); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getMetric()const; - void setMetric(const std::string& metric); - std::string getSecFunc()const; - void setSecFunc(const std::string& secFunc); - - private: - std::string data_; - long ownerId_; - std::string metric_; - std::string secFunc_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserSecDropRequest : public RpcServiceRequest { +public: + DescribeDcdnUserSecDropRequest(); + ~DescribeDcdnUserSecDropRequest(); + std::string getData() const; + void setData(const std::string &data); + std::string getMetric() const; + void setMetric(const std::string &metric); + std::string getSecFunc() const; + void setSecFunc(const std::string &secFunc); + +private: + std::string data_; + std::string metric_; + std::string secFunc_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERSECDROPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h index 71a74c4fa..a5c65f146 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserTagsRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsRequest : public RpcServiceRequest - { - - public: - DescribeDcdnUserTagsRequest(); - ~DescribeDcdnUserTagsRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserTagsRequest : public RpcServiceRequest { +public: + DescribeDcdnUserTagsRequest(); + ~DescribeDcdnUserTagsRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERTAGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainRequest.h new file mode 100644 index 000000000..5260256a5 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERVIPSBYDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERVIPSBYDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserVipsByDomainRequest : public RpcServiceRequest { +public: + DescribeDcdnUserVipsByDomainRequest(); + ~DescribeDcdnUserVipsByDomainRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getAvailable() const; + void setAvailable(const std::string &available); + +private: + std::string domainName_; + std::string available_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERVIPSBYDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainResult.h new file mode 100644 index 000000000..776e2b108 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserVipsByDomainResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERVIPSBYDOMAINRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERVIPSBYDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserVipsByDomainResult : public ServiceResult + { + public: + + + DescribeDcdnUserVipsByDomainResult(); + explicit DescribeDcdnUserVipsByDomainResult(const std::string &payload); + ~DescribeDcdnUserVipsByDomainResult(); + std::string getDomainName()const; + std::vector getVips()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::vector vips_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERVIPSBYDOMAINRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h index afbf02376..a2bc115ec 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNVERIFYCONTENTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNVERIFYCONTENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnVerifyContentRequest : public RpcServiceRequest - { - - public: - DescribeDcdnVerifyContentRequest(); - ~DescribeDcdnVerifyContentRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNVERIFYCONTENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNVERIFYCONTENTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNVERIFYCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnVerifyContentRequest : public RpcServiceRequest { +public: + DescribeDcdnVerifyContentRequest(); + ~DescribeDcdnVerifyContentRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNVERIFYCONTENTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyRequest.h new file mode 100644 index 000000000..9f8d76553 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFBOTAPPKEYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFBOTAPPKEYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafBotAppKeyRequest : public RpcServiceRequest { +public: + DescribeDcdnWafBotAppKeyRequest(); + ~DescribeDcdnWafBotAppKeyRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFBOTAPPKEYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyResult.h new file mode 100644 index 000000000..6c99b468b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafBotAppKeyResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFBOTAPPKEYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFBOTAPPKEYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafBotAppKeyResult : public ServiceResult + { + public: + + + DescribeDcdnWafBotAppKeyResult(); + explicit DescribeDcdnWafBotAppKeyResult(const std::string &payload); + ~DescribeDcdnWafBotAppKeyResult(); + std::string getAppKey()const; + + protected: + void parse(const std::string &payload); + private: + std::string appKey_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFBOTAPPKEYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesRequest.h new file mode 100644 index 000000000..8c5403446 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDEFAULTRULESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDEFAULTRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDefaultRulesRequest : public RpcServiceRequest { +public: + DescribeDcdnWafDefaultRulesRequest(); + ~DescribeDcdnWafDefaultRulesRequest(); + std::string getQueryArgs() const; + void setQueryArgs(const std::string &queryArgs); + +private: + std::string queryArgs_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDEFAULTRULESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesResult.h new file mode 100644 index 000000000..113901c4d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDefaultRulesResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDEFAULTRULESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDEFAULTRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDefaultRulesResult : public ServiceResult + { + public: + struct _Default + { + struct Rule + { + std::string status; + std::string type; + std::string action; + std::string config; + std::string name; + }; + std::string defenseScene; + std::vector<_Default::Rule> rules; + }; + + + DescribeDcdnWafDefaultRulesResult(); + explicit DescribeDcdnWafDefaultRulesResult(const std::string &payload); + ~DescribeDcdnWafDefaultRulesResult(); + std::vector<_Default> getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector<_Default> content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDEFAULTRULESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailRequest.h new file mode 100644 index 000000000..b4b281bb8 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainDetailRequest : public RpcServiceRequest { +public: + DescribeDcdnWafDomainDetailRequest(); + ~DescribeDcdnWafDomainDetailRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINDETAILREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailResult.h new file mode 100644 index 000000000..37f52a8f0 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainDetailResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINDETAILRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainDetailResult : public ServiceResult + { + public: + struct Domain + { + struct DefenseSceneItem + { + std::string defenseScene; + std::string policyIds; + long policyId; + }; + std::vector defenseScenes; + std::string domainName; + }; + + + DescribeDcdnWafDomainDetailResult(); + explicit DescribeDcdnWafDomainDetailResult(const std::string &payload); + ~DescribeDcdnWafDomainDetailResult(); + Domain getDomain()const; + + protected: + void parse(const std::string &payload); + private: + Domain domain_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINDETAILRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h index db70b24ce..5017a92d0 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainRequest : public RpcServiceRequest - { - - public: - DescribeDcdnWafDomainRequest(); - ~DescribeDcdnWafDomainRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainRequest : public RpcServiceRequest { +public: + DescribeDcdnWafDomainRequest(); + ~DescribeDcdnWafDomainRequest(); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string resourceGroupId_; + std::string regionId_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsRequest.h new file mode 100644 index 000000000..cb5389506 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainsRequest : public RpcServiceRequest { +public: + DescribeDcdnWafDomainsRequest(); + ~DescribeDcdnWafDomainsRequest(); + std::string getQueryArgs() const; + void setQueryArgs(const std::string &queryArgs); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string queryArgs_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsResult.h similarity index 65% rename from dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoResult.h rename to dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsResult.h index 6af76f886..d22eeed84 100644 --- a/dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_LISTDCDNESTEMPLATEINFORESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNESTEMPLATEINFORESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINSRESULT_H_ #include #include @@ -29,36 +29,35 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT ListDcdnEsTemplateInfoResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainsResult : public ServiceResult { public: - struct DataItem + struct DomainItem { - std::string tmplDef; - int id; - std::string tmplDesc; - std::string tmplName; + std::string domainName; + int policyCount; + std::string clientIpTag; }; - ListDcdnEsTemplateInfoResult(); - explicit ListDcdnEsTemplateInfoResult(const std::string &payload); - ~ListDcdnEsTemplateInfoResult(); + DescribeDcdnWafDomainsResult(); + explicit DescribeDcdnWafDomainsResult(const std::string &payload); + ~DescribeDcdnWafDomainsResult(); + std::vector getDomains()const; int getTotalCount()const; int getPageSize()const; - std::vector getDataItems()const; int getPageNumber()const; protected: void parse(const std::string &payload); private: + std::vector domains_; int totalCount_; int pageSize_; - std::vector dataItems_; int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNESTEMPLATEINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoRequest.h new file mode 100644 index 000000000..9314fd20f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFFILTERINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFFILTERINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafFilterInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnWafFilterInfoRequest(); + ~DescribeDcdnWafFilterInfoRequest(); + std::string getDefenseScenes() const; + void setDefenseScenes(const std::string &defenseScenes); + std::string getLanguage() const; + void setLanguage(const std::string &language); + +private: + std::string defenseScenes_; + std::string language_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFFILTERINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoResult.h new file mode 100644 index 000000000..0014cd41f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafFilterInfoResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFFILTERINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFFILTERINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafFilterInfoResult : public ServiceResult + { + public: + struct FilterInfo + { + struct Field + { + struct Logic + { + struct Regexp + { + std::string pattern; + std::string errMsg; + }; + std::string type; + std::string description; + Regexp regexp; + std::string symbol; + int attributes; + std::string tip; + int maxLength; + }; + std::string extendField; + std::vector logicalSymbol; + std::string matchField; + }; + std::vector fields; + std::string defenseScene; + }; + + + DescribeDcdnWafFilterInfoResult(); + explicit DescribeDcdnWafFilterInfoResult(const std::string &payload); + ~DescribeDcdnWafFilterInfoResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFFILTERINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoRequest.h new file mode 100644 index 000000000..0903f8553 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGEOINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGEOINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafGeoInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnWafGeoInfoRequest(); + ~DescribeDcdnWafGeoInfoRequest(); + std::string getLanguage() const; + void setLanguage(const std::string &language); + +private: + std::string language_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGEOINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoResult.h new file mode 100644 index 000000000..a27d55742 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGeoInfoResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGEOINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGEOINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafGeoInfoResult : public ServiceResult + { + public: + struct GeoInfo + { + struct ContinentsItem + { + struct RegionsItem + { + std::string value; + std::string name; + }; + std::vector regions; + std::string name; + }; + std::string type; + std::vector continents; + }; + + + DescribeDcdnWafGeoInfoResult(); + explicit DescribeDcdnWafGeoInfoResult(const std::string &payload); + ~DescribeDcdnWafGeoInfoResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGEOINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupRequest.h new file mode 100644 index 000000000..6033dcfa5 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafGroupRequest : public RpcServiceRequest { +public: + DescribeDcdnWafGroupRequest(); + ~DescribeDcdnWafGroupRequest(); + std::string getQueryArgs() const; + void setQueryArgs(const std::string &queryArgs); + std::string getScope() const; + void setScope(const std::string &scope); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getLanguage() const; + void setLanguage(const std::string &language); + long getId() const; + void setId(long id); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string queryArgs_; + std::string scope_; + int pageSize_; + std::string language_; + long id_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupResult.h new file mode 100644 index 000000000..835c56ab9 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafGroupResult : public ServiceResult + { + public: + struct RuleItem + { + int applicationType; + std::string description; + int protectionType; + std::string gmtModified; + std::string cveId; + long id; + int riskLevel; + std::string name; + std::string cveUrl; + }; + + + DescribeDcdnWafGroupResult(); + explicit DescribeDcdnWafGroupResult(const std::string &payload); + ~DescribeDcdnWafGroupResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + long getId()const; + std::string getSubscribe()const; + std::vector getRules()const; + long getTemplateId()const; + std::string getName()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + long id_; + std::string subscribe_; + std::vector rules_; + long templateId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsRequest.h new file mode 100644 index 000000000..e4a9dce65 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafGroupsRequest : public RpcServiceRequest { +public: + DescribeDcdnWafGroupsRequest(); + ~DescribeDcdnWafGroupsRequest(); + std::string getQueryArgs() const; + void setQueryArgs(const std::string &queryArgs); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getLanguage() const; + void setLanguage(const std::string &language); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string queryArgs_; + int pageSize_; + std::string language_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsResult.h new file mode 100644 index 000000000..62645a36e --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafGroupsResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafGroupsResult : public ServiceResult + { + public: + struct WafGroupItem + { + struct PolicyItem + { + std::string type; + long id; + std::string name; + }; + int ruleCount; + std::vector policies; + std::string gmtModified; + long id; + std::string subscribe; + long templateId; + std::string name; + }; + + + DescribeDcdnWafGroupsResult(); + explicit DescribeDcdnWafGroupsResult(const std::string &payload); + ~DescribeDcdnWafGroupsResult(); + std::vector getWafGroups()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector wafGroups_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFGROUPSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsRequest.h new file mode 100644 index 000000000..58c5a874a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFLOGSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFLOGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafLogsRequest : public RpcServiceRequest { +public: + DescribeDcdnWafLogsRequest(); + ~DescribeDcdnWafLogsRequest(); + std::string getLogType() const; + void setLogType(const std::string &logType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + +private: + std::string logType_; + std::string domainName_; + long pageSize_; + std::string endTime_; + std::string startTime_; + long pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFLOGSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsResult.h new file mode 100644 index 000000000..99a70865f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafLogsResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFLOGSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafLogsResult : public ServiceResult + { + public: + struct DomainLogDetail + { + struct PageInfos + { + long pageSize; + long total; + long pageIndex; + }; + struct LogInfoDetail + { + long logSize; + std::string endTime; + std::string startTime; + std::string logName; + std::string logPath; + }; + std::string domainName; + std::vector logInfos; + PageInfos pageInfos; + long logCount; + }; + + + DescribeDcdnWafLogsResult(); + explicit DescribeDcdnWafLogsResult(const std::string &payload); + ~DescribeDcdnWafLogsResult(); + std::vector getDomainLogDetails()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainLogDetails_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFLOGSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesRequest.h new file mode 100644 index 000000000..d9efa27d4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICIESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPoliciesRequest : public RpcServiceRequest { +public: + DescribeDcdnWafPoliciesRequest(); + ~DescribeDcdnWafPoliciesRequest(); + std::string getQueryArgs() const; + void setQueryArgs(const std::string &queryArgs); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string queryArgs_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICIESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesResult.h new file mode 100644 index 000000000..ca40d4ed7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPoliciesResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICIESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPoliciesResult : public ServiceResult + { + public: + struct PolicyItem + { + long ruleCount; + std::string policyType; + std::string policyStatus; + std::string policyName; + std::string defenseScene; + std::string gmtModified; + long policyId; + int domainCount; + }; + + + DescribeDcdnWafPoliciesResult(); + explicit DescribeDcdnWafPoliciesResult(const std::string &payload); + ~DescribeDcdnWafPoliciesResult(); + int getTotalCount()const; + std::vector getPolicies()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector policies_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICIESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsRequest.h new file mode 100644 index 000000000..d4e3af1a8 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPolicyDomainsRequest : public RpcServiceRequest { +public: + DescribeDcdnWafPolicyDomainsRequest(); + ~DescribeDcdnWafPolicyDomainsRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + long policyId_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsResult.h new file mode 100644 index 000000000..d60ff88b0 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyDomainsResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPolicyDomainsResult : public ServiceResult + { + public: + struct DomainItem + { + std::string domainName; + }; + + + DescribeDcdnWafPolicyDomainsResult(); + explicit DescribeDcdnWafPolicyDomainsResult(const std::string &payload); + ~DescribeDcdnWafPolicyDomainsResult(); + std::vector getDomains()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyRequest.h new file mode 100644 index 000000000..38a54dc20 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPolicyRequest : public RpcServiceRequest { +public: + DescribeDcdnWafPolicyRequest(); + ~DescribeDcdnWafPolicyRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + +private: + long policyId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyResult.h new file mode 100644 index 000000000..f04843420 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPolicyResult : public ServiceResult + { + public: + struct Policy + { + long ruleCount; + std::string policyType; + std::string ruleConfigs; + std::string policyStatus; + std::string policyName; + std::string defenseScene; + std::string gmtModified; + long policyId; + int domainCount; + }; + + + DescribeDcdnWafPolicyResult(); + explicit DescribeDcdnWafPolicyResult(const std::string &payload); + ~DescribeDcdnWafPolicyResult(); + Policy getPolicy()const; + + protected: + void parse(const std::string &payload); + private: + Policy policy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsRequest.h new file mode 100644 index 000000000..851870f3d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYVALIDDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYVALIDDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPolicyValidDomainsRequest : public RpcServiceRequest { +public: + DescribeDcdnWafPolicyValidDomainsRequest(); + ~DescribeDcdnWafPolicyValidDomainsRequest(); + std::string getDefenseScene() const; + void setDefenseScene(const std::string &defenseScene); + std::string getDomainNameLike() const; + void setDomainNameLike(const std::string &domainNameLike); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string defenseScene_; + std::string domainNameLike_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYVALIDDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsResult.h new file mode 100644 index 000000000..a10123ffa --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafPolicyValidDomainsResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYVALIDDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYVALIDDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafPolicyValidDomainsResult : public ServiceResult + { + public: + struct DomainItem + { + struct Policy + { + std::string type; + long id; + std::string name; + }; + std::string policyType; + std::vector policies; + std::string domainName; + std::string policyName; + long policyId; + }; + + + DescribeDcdnWafPolicyValidDomainsResult(); + explicit DescribeDcdnWafPolicyValidDomainsResult(const std::string &payload); + ~DescribeDcdnWafPolicyValidDomainsResult(); + std::vector getDomains()const; + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domains_; + int totalCount_; + int pageSize_; + int pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFPOLICYVALIDDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleRequest.h new file mode 100644 index 000000000..e012eacda --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafRuleRequest : public RpcServiceRequest { +public: + DescribeDcdnWafRuleRequest(); + ~DescribeDcdnWafRuleRequest(); + long getRuleId() const; + void setRuleId(long ruleId); + +private: + long ruleId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleResult.h new file mode 100644 index 000000000..4e17f3c14 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRuleResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafRuleResult : public ServiceResult + { + public: + struct Rule + { + long ruleId; + std::string defenseScene; + std::string gmtModified; + std::string ruleStatus; + std::string ruleConfig; + long policyId; + std::string ruleName; + }; + + + DescribeDcdnWafRuleResult(); + explicit DescribeDcdnWafRuleResult(const std::string &payload); + ~DescribeDcdnWafRuleResult(); + Rule getRule()const; + + protected: + void parse(const std::string &payload); + private: + Rule rule_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesRequest.h new file mode 100644 index 000000000..f3f2862de --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafRulesRequest : public RpcServiceRequest { +public: + DescribeDcdnWafRulesRequest(); + ~DescribeDcdnWafRulesRequest(); + std::string getQueryArgs() const; + void setQueryArgs(const std::string &queryArgs); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string queryArgs_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesResult.h new file mode 100644 index 000000000..49db7b459 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafRulesResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafRulesResult : public ServiceResult + { + public: + struct RuleItem + { + long ruleId; + std::string defenseScene; + std::string gmtModified; + std::string ruleStatus; + std::string ruleConfig; + long policyId; + std::string ruleName; + }; + + + DescribeDcdnWafRulesResult(); + explicit DescribeDcdnWafRulesResult(const std::string &payload); + ~DescribeDcdnWafRulesResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getRules()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector rules_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFRULESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesRequest.h new file mode 100644 index 000000000..70e93dc36 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSCENESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSCENESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafScenesRequest : public RpcServiceRequest { +public: + DescribeDcdnWafScenesRequest(); + ~DescribeDcdnWafScenesRequest(); + std::string getDefenseScenes() const; + void setDefenseScenes(const std::string &defenseScenes); + +private: + std::string defenseScenes_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSCENESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesResult.h new file mode 100644 index 000000000..44775ebcf --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafScenesResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSCENESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSCENESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafScenesResult : public ServiceResult + { + public: + struct DefenseSceneItem + { + int ruleCount; + std::string defenseScene; + int policyCount; + }; + + + DescribeDcdnWafScenesResult(); + explicit DescribeDcdnWafScenesResult(const std::string &payload); + ~DescribeDcdnWafScenesResult(); + std::vector getDefenseScenes()const; + + protected: + void parse(const std::string &payload); + private: + std::vector defenseScenes_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSCENESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceRequest.h new file mode 100644 index 000000000..eb551da76 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSERVICEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafServiceRequest : public RpcServiceRequest { +public: + DescribeDcdnWafServiceRequest(); + ~DescribeDcdnWafServiceRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSERVICEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceResult.h new file mode 100644 index 000000000..6b2f08338 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafServiceResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSERVICERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafServiceResult : public ServiceResult + { + public: + + + DescribeDcdnWafServiceResult(); + explicit DescribeDcdnWafServiceResult(const std::string &payload); + ~DescribeDcdnWafServiceResult(); + std::string getStatus()const; + std::string getRuleBillingType()const; + std::string getRequestBillingType()const; + std::string getOpeningTime()const; + std::string getEnabled()const; + std::string getEdition()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string ruleBillingType_; + std::string requestBillingType_; + std::string openingTime_; + std::string enabled_; + std::string edition_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSERVICERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoRequest.h new file mode 100644 index 000000000..7f64d4e2d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSPECINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSPECINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafSpecInfoRequest : public RpcServiceRequest { +public: + DescribeDcdnWafSpecInfoRequest(); + ~DescribeDcdnWafSpecInfoRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSPECINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoResult.h new file mode 100644 index 000000000..f3cc34e29 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafSpecInfoResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSPECINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSPECINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafSpecInfoResult : public ServiceResult + { + public: + struct RuleInfoItem + { + struct ConfigItem + { + std::string expr; + std::string config; + std::string value; + }; + std::vector configs; + std::string defenseScene; + }; + + + DescribeDcdnWafSpecInfoResult(); + explicit DescribeDcdnWafSpecInfoResult(const std::string &payload); + ~DescribeDcdnWafSpecInfoResult(); + std::vector getSpecInfos()const; + std::string getEdition()const; + + protected: + void parse(const std::string &payload); + private: + std::vector specInfos_; + std::string edition_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFSPECINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataRequest.h new file mode 100644 index 000000000..ef81c8e02 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafUsageDataRequest : public RpcServiceRequest { +public: + DescribeDcdnWafUsageDataRequest(); + ~DescribeDcdnWafUsageDataRequest(); + 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 getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + +private: + std::string domainName_; + std::string endTime_; + std::string interval_; + std::string startTime_; + std::string splitBy_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFUSAGEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataResult.h new file mode 100644 index 000000000..b3a7c05b6 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafUsageDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFUSAGEDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafUsageDataResult : public ServiceResult + { + public: + struct WafUsageDataItem + { + long blockCnt; + long observeCnt; + long secCu; + long accessCnt; + std::string domain; + std::string timeStamp; + }; + + + DescribeDcdnWafUsageDataResult(); + explicit DescribeDcdnWafUsageDataResult(const std::string &payload); + ~DescribeDcdnWafUsageDataResult(); + std::string getEndTime()const; + std::vector getWafUsageData()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::vector wafUsageData_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h index a753598fd..482a8e050 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.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_DCDN_MODEL_DESCRIBEDCDNSECSERVICEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnsecServiceRequest : public RpcServiceRequest - { - - public: - DescribeDcdnsecServiceRequest(); - ~DescribeDcdnsecServiceRequest(); - - 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_DCDN_MODEL_DESCRIBEDCDNSECSERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnsecServiceRequest : public RpcServiceRequest { +public: + DescribeDcdnsecServiceRequest(); + ~DescribeDcdnsecServiceRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h index d6533c80d..77b8fc271 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h @@ -43,30 +43,30 @@ namespace AlibabaCloud ~DescribeDcdnsecServiceResult(); std::string getChangingChargeType()const; std::string getEndTime()const; - std::string getInstanceId()const; std::string getVersion()const; + std::string getInstanceId()const; std::string getStartTime()const; - std::string getFlowType()const; std::string getDomainNum()const; + std::string getFlowType()const; std::vector getOperationLocks()const; std::string getChangingAffectTime()const; - std::string getInternetChargeType()const; std::string getRequestType()const; + std::string getInternetChargeType()const; protected: void parse(const std::string &payload); private: std::string changingChargeType_; std::string endTime_; - std::string instanceId_; std::string version_; + std::string instanceId_; std::string startTime_; - std::string flowType_; std::string domainNum_; + std::string flowType_; std::vector operationLocks_; std::string changingAffectTime_; - std::string internetChargeType_; std::string requestType_; + std::string internetChargeType_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListRequest.h new file mode 100644 index 000000000..d95350126 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDDOSALLEVENTLISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDDOSALLEVENTLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeDdosAllEventListRequest : public RpcServiceRequest { +public: + DescribeDdosAllEventListRequest(); + ~DescribeDdosAllEventListRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getEventType() const; + void setEventType(const std::string &eventType); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + std::string endTime_; + std::string eventType_; + std::string startTime_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDDOSALLEVENTLISTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListResult.h new file mode 100644 index 000000000..a211cd40b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDdosAllEventListResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDDOSALLEVENTLISTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDDOSALLEVENTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDdosAllEventListResult : public ServiceResult + { + public: + struct DdosDomainAttackEvent + { + std::string target; + long pps; + std::string endTime; + long bps; + std::string eventType; + long qps; + long cps; + std::string startTime; + std::string eventId; + }; + + + DescribeDdosAllEventListResult(); + explicit DescribeDdosAllEventListResult(const std::string &payload); + ~DescribeDdosAllEventListResult(); + std::vector getDataList()const; + int getPageSize()const; + int getPageNumber()const; + long getTotal()const; + + protected: + void parse(const std::string &payload); + private: + std::vector dataList_; + int pageSize_; + int pageNumber_; + long total_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDDOSALLEVENTLISTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidRequest.h new file mode 100644 index 000000000..e186229e2 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidRequest.h @@ -0,0 +1,39 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEENCRYPTROUTINEUIDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEENCRYPTROUTINEUIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeEncryptRoutineUidRequest : public RpcServiceRequest { +public: + DescribeEncryptRoutineUidRequest(); + ~DescribeEncryptRoutineUidRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEENCRYPTROUTINEUIDREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidResult.h new file mode 100644 index 000000000..8e296eb8a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeEncryptRoutineUidResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEENCRYPTROUTINEUIDRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEENCRYPTROUTINEUIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeEncryptRoutineUidResult : public ServiceResult + { + public: + + + DescribeEncryptRoutineUidResult(); + explicit DescribeEncryptRoutineUidResult(const std::string &payload); + ~DescribeEncryptRoutineUidResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEENCRYPTROUTINEUIDRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoRequest.h new file mode 100644 index 000000000..516d3bf13 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEHIGHLIGHTINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEHIGHLIGHTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeHighlightInfoRequest : public RpcServiceRequest { +public: + DescribeHighlightInfoRequest(); + ~DescribeHighlightInfoRequest(); + std::string getTraceId() const; + void setTraceId(const std::string &traceId); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getLang() const; + void setLang(const std::string &lang); + +private: + std::string traceId_; + std::string endTime_; + std::string startTime_; + std::string lang_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEHIGHLIGHTINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoResult.h new file mode 100644 index 000000000..0d5e2391f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeHighlightInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEHIGHLIGHTINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEHIGHLIGHTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeHighlightInfoResult : public ServiceResult + { + public: + struct DataItem + { + std::string hit; + std::string raw; + std::string key; + }; + + + DescribeHighlightInfoResult(); + explicit DescribeHighlightInfoResult(const std::string &payload); + ~DescribeHighlightInfoResult(); + std::vector getDataModule()const; + + protected: + void parse(const std::string &payload); + private: + std::vector dataModule_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEHIGHLIGHTINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataRequest.h new file mode 100644 index 000000000..193613722 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEKVUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEKVUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeKvUsageDataRequest : public RpcServiceRequest { +public: + DescribeKvUsageDataRequest(); + ~DescribeKvUsageDataRequest(); + std::string getAccessType() const; + void setAccessType(const std::string &accessType); + std::string getField() const; + void setField(const std::string &field); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getResponseType() const; + void setResponseType(const std::string &responseType); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + +private: + std::string accessType_; + std::string field_; + std::string namespaceId_; + std::string endTime_; + std::string startTime_; + std::string responseType_; + std::string splitBy_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEKVUSAGEDATAREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataResult.h new file mode 100644 index 000000000..6c1cffe86 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeKvUsageDataResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEKVUSAGEDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEKVUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeKvUsageDataResult : public ServiceResult + { + public: + struct KvUsageDataItem + { + long acc; + std::string namespaceId; + std::string timeStamp; + std::string accessType; + }; + + + DescribeKvUsageDataResult(); + explicit DescribeKvUsageDataResult(const std::string &payload); + ~DescribeKvUsageDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getKvUsageData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector kvUsageData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEKVUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigRequest.h new file mode 100644 index 000000000..7595718a8 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRDDomainConfigRequest : public RpcServiceRequest { +public: + DescribeRDDomainConfigRequest(); + ~DescribeRDDomainConfigRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string functionName_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigResult.h similarity index 62% rename from dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h rename to dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigResult.h index 55f91d114..c65e7d621 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainConfigResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_ +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINCONFIGRESULT_H_ #include #include @@ -29,10 +29,10 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnConfigOfVersionResult : public ServiceResult + class ALIBABACLOUD_DCDN_EXPORT DescribeRDDomainConfigResult : public ServiceResult { public: - struct VersionConfig + struct DomainConfig { struct FunctionArg { @@ -40,24 +40,25 @@ namespace AlibabaCloud std::string argName; }; std::string status; + std::string parentId; std::string functionName; - std::vector functionArgs; - std::string configId; + std::vector functionArgs; + long configId; }; - DescribeDcdnConfigOfVersionResult(); - explicit DescribeDcdnConfigOfVersionResult(const std::string &payload); - ~DescribeDcdnConfigOfVersionResult(); - std::vector getVersionConfigs()const; + DescribeRDDomainConfigResult(); + explicit DescribeRDDomainConfigResult(const std::string &payload); + ~DescribeRDDomainConfigResult(); + std::vector getDomainConfigs()const; protected: void parse(const std::string &payload); private: - std::vector versionConfigs_; + std::vector domainConfigs_; }; } } } -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNCONFIGOFVERSIONRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsRequest.h new file mode 100644 index 000000000..b2cc27a8f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRDDomainsRequest : public RpcServiceRequest { +public: + DescribeRDDomainsRequest(); + ~DescribeRDDomainsRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsResult.h new file mode 100644 index 000000000..110247043 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRDDomainsResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBERDDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRDDomainsResult : public ServiceResult + { + public: + struct PageData + { + struct Source + { + std::string type; + std::string priority; + std::string content; + int port; + std::string weight; + }; + std::string sslProtocol; + std::string serviceCode; + std::string description; + std::string resourceGroupId; + std::string domainName; + std::string gmtModified; + std::string bizName; + std::string gmtCreated; + std::vector sources; + std::string cname; + std::string domainStatus; + std::string sandbox; + }; + + + DescribeRDDomainsResult(); + explicit DescribeRDDomainsResult(const std::string &payload); + ~DescribeRDDomainsResult(); + 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_DCDN_MODEL_DESCRIBERDDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsRequest.h index fefdd2b51..77dccf0c7 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineCanaryEnvsRequest : public RpcServiceRequest - { - - public: - DescribeRoutineCanaryEnvsRequest(); - ~DescribeRoutineCanaryEnvsRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineCanaryEnvsRequest : public RpcServiceRequest { +public: + DescribeRoutineCanaryEnvsRequest(); + ~DescribeRoutineCanaryEnvsRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h index b470f1036..76925ccf0 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h @@ -1,54 +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_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineCodeRevisionRequest : public RpcServiceRequest - { - - public: - DescribeRoutineCodeRevisionRequest(); - ~DescribeRoutineCodeRevisionRequest(); - - std::string getSelectCodeRevision()const; - void setSelectCodeRevision(const std::string& selectCodeRevision); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string selectCodeRevision_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineCodeRevisionRequest : public RpcServiceRequest { +public: + DescribeRoutineCodeRevisionRequest(); + ~DescribeRoutineCodeRevisionRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getSelectCodeRevision() const; + void setSelectCodeRevision(const std::string &selectCodeRevision); + +private: + std::string name_; + std::string selectCodeRevision_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsRequest.h new file mode 100644 index 000000000..8fc81c19b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERELATEDDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERELATEDDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineRelatedDomainsRequest : public RpcServiceRequest { +public: + DescribeRoutineRelatedDomainsRequest(); + ~DescribeRoutineRelatedDomainsRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERELATEDDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsResult.h new file mode 100644 index 000000000..35ca777dc --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRelatedDomainsResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERELATEDDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERELATEDDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineRelatedDomainsResult : public ServiceResult + { + public: + + + DescribeRoutineRelatedDomainsResult(); + explicit DescribeRoutineRelatedDomainsResult(const std::string &payload); + ~DescribeRoutineRelatedDomainsResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERELATEDDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRequest.h index f88c48989..002cd2def 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineRequest : public RpcServiceRequest - { - - public: - DescribeRoutineRequest(); - ~DescribeRoutineRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineRequest : public RpcServiceRequest { +public: + DescribeRoutineRequest(); + ~DescribeRoutineRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h index 9b24ed5e0..9661f7d06 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineSpecRequest : public RpcServiceRequest - { - - public: - DescribeRoutineSpecRequest(); - ~DescribeRoutineSpecRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineSpecRequest : public RpcServiceRequest { +public: + DescribeRoutineSpecRequest(); + ~DescribeRoutineSpecRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h index 27937d781..560ce1196 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h @@ -1,48 +1,39 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFOREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineUserInfoRequest : public RpcServiceRequest - { - - public: - DescribeRoutineUserInfoRequest(); - ~DescribeRoutineUserInfoRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFOREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineUserInfoRequest : public RpcServiceRequest { +public: + DescribeRoutineUserInfoRequest(); + ~DescribeRoutineUserInfoRequest(); + +private: +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFOREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h index 87c67a478..121b73df7 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.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_DCDN_MODEL_DESCRIBEUSERDCDNIPASTATUSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNIPASTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeUserDcdnIpaStatusRequest : public RpcServiceRequest - { - - public: - DescribeUserDcdnIpaStatusRequest(); - ~DescribeUserDcdnIpaStatusRequest(); - - 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_DCDN_MODEL_DESCRIBEUSERDCDNIPASTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNIPASTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNIPASTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeUserDcdnIpaStatusRequest : public RpcServiceRequest { +public: + DescribeUserDcdnIpaStatusRequest(); + ~DescribeUserDcdnIpaStatusRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNIPASTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h index 56aebec15..e81fec121 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNSTATUSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeUserDcdnStatusRequest : public RpcServiceRequest - { - - public: - DescribeUserDcdnStatusRequest(); - ~DescribeUserDcdnStatusRequest(); - - 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_DCDN_MODEL_DESCRIBEUSERDCDNSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNSTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeUserDcdnStatusRequest : public RpcServiceRequest { +public: + DescribeUserDcdnStatusRequest(); + ~DescribeUserDcdnStatusRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERDCDNSTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeUserErStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeUserErStatusRequest.h index 9f1b9f3af..d919bf7b9 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeUserErStatusRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeUserErStatusRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeUserErStatusRequest : public RpcServiceRequest - { - - public: - DescribeUserErStatusRequest(); - ~DescribeUserErStatusRequest(); - - 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_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeUserErStatusRequest : public RpcServiceRequest { +public: + DescribeUserErStatusRequest(); + ~DescribeUserErStatusRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERERSTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusRequest.h index 171bfc392..c69e713ed 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusRequest.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_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT DescribeUserLogserviceStatusRequest : public RpcServiceRequest - { - - public: - DescribeUserLogserviceStatusRequest(); - ~DescribeUserLogserviceStatusRequest(); - - 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_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT DescribeUserLogserviceStatusRequest : public RpcServiceRequest { +public: + DescribeUserLogserviceStatusRequest(); + ~DescribeUserLogserviceStatusRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEUSERLOGSERVICESTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.h b/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.h index 5504d7bb2..a60a3f311 100644 --- a/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT EditRoutineConfRequest : public RpcServiceRequest - { - - public: - EditRoutineConfRequest(); - ~EditRoutineConfRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getEnvConf()const; - void setEnvConf(const std::string& envConf); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string description_; - std::string envConf_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT EditRoutineConfRequest : public RpcServiceRequest { +public: + EditRoutineConfRequest(); + ~EditRoutineConfRequest(); + std::string getEnvConf() const; + void setEnvConf(const std::string &envConf); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + +private: + std::string envConf_; + std::string name_; + std::string description_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvRequest.h b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvRequest.h new file mode 100644 index 000000000..5e721d74b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_GETDCDNKVREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_GETDCDNKVREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT GetDcdnKvRequest : public RpcServiceRequest { +public: + GetDcdnKvRequest(); + ~GetDcdnKvRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string _namespace_; + std::string key_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_GETDCDNKVREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvResult.h b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvResult.h new file mode 100644 index 000000000..9bd188ec4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_GETDCDNKVRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_GETDCDNKVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT GetDcdnKvResult : public ServiceResult + { + public: + + + GetDcdnKvResult(); + explicit GetDcdnKvResult(const std::string &payload); + ~GetDcdnKvResult(); + std::string getValue()const; + + protected: + void parse(const std::string &payload); + private: + std::string value_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_GETDCDNKVRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusRequest.h b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusRequest.h new file mode 100644 index 000000000..337158187 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_GETDCDNKVSTATUSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_GETDCDNKVSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT GetDcdnKvStatusRequest : public RpcServiceRequest { +public: + GetDcdnKvStatusRequest(); + ~GetDcdnKvStatusRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string _namespace_; + std::string key_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_GETDCDNKVSTATUSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusResult.h b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusResult.h new file mode 100644 index 000000000..234358a10 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/GetDcdnKvStatusResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_GETDCDNKVSTATUSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_GETDCDNKVSTATUSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT GetDcdnKvStatusResult : public ServiceResult + { + public: + + + GetDcdnKvStatusResult(); + explicit GetDcdnKvStatusResult(const std::string &payload); + ~GetDcdnKvStatusResult(); + std::string getExpire()const; + bool getComplete()const; + + protected: + void parse(const std::string &payload); + private: + std::string expire_; + bool complete_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_GETDCDNKVSTATUSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoRequest.h deleted file mode 100644 index 03d91e4b8..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/ListDcdnEsTemplateInfoRequest.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_DCDN_MODEL_LISTDCDNESTEMPLATEINFOREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNESTEMPLATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT ListDcdnEsTemplateInfoRequest : public RpcServiceRequest - { - - public: - ListDcdnEsTemplateInfoRequest(); - ~ListDcdnEsTemplateInfoRequest(); - - std::string getLanguage()const; - void setLanguage(const std::string& language); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOp()const; - void setOp(const std::string& op); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string language_; - int pageNumber_; - int pageSize_; - std::string op_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNESTEMPLATEINFOREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnKvRequest.h b/dcdn/include/alibabacloud/dcdn/model/ListDcdnKvRequest.h new file mode 100644 index 000000000..3ae1125fa --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ListDcdnKvRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_LISTDCDNKVREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNKVREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ListDcdnKvRequest : public RpcServiceRequest { +public: + ListDcdnKvRequest(); + ~ListDcdnKvRequest(); + std::string getPrefix() const; + void setPrefix(const std::string &prefix); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string prefix_; + std::string _namespace_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNKVREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnKvResult.h b/dcdn/include/alibabacloud/dcdn/model/ListDcdnKvResult.h new file mode 100644 index 000000000..ef1433751 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ListDcdnKvResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_LISTDCDNKVRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNKVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ListDcdnKvResult : public ServiceResult + { + public: + struct Key + { + std::string updateTime; + std::string name; + }; + + + ListDcdnKvResult(); + explicit ListDcdnKvResult(const std::string &payload); + ~ListDcdnKvResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::vector getKeys()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::vector keys_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNKVRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h b/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h index c658948bf..3cb48041a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT ListDcdnRealTimeDeliveryProjectRequest : public RpcServiceRequest - { - - public: - ListDcdnRealTimeDeliveryProjectRequest(); - ~ListDcdnRealTimeDeliveryProjectRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNumber_; - std::string businessType_; - int pageSize_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ListDcdnRealTimeDeliveryProjectRequest : public RpcServiceRequest { +public: + ListDcdnRealTimeDeliveryProjectRequest(); + ~ListDcdnRealTimeDeliveryProjectRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + +private: + std::string domainName_; + int pageSize_; + int pageNumber_; + std::string businessType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h index 56001c1f8..e54e09434 100644 --- a/dcdn/include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h @@ -1,54 +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_DCDN_MODEL_MODIFYDCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT ModifyDCdnDomainSchdmByPropertyRequest : public RpcServiceRequest - { - - public: - ModifyDCdnDomainSchdmByPropertyRequest(); - ~ModifyDCdnDomainSchdmByPropertyRequest(); - - std::string getProperty()const; - void setProperty(const std::string& property); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string property_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ModifyDCdnDomainSchdmByPropertyRequest : public RpcServiceRequest { +public: + ModifyDCdnDomainSchdmByPropertyRequest(); + ~ModifyDCdnDomainSchdmByPropertyRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getProperty() const; + void setProperty(const std::string &property); + +private: + std::string domainName_; + std::string property_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNDOMAINSCHDMBYPROPERTYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupRequest.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupRequest.h new file mode 100644 index 000000000..10c4b59b2 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFGROUPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafGroupRequest : public RpcServiceRequest { +public: + ModifyDcdnWafGroupRequest(); + ~ModifyDcdnWafGroupRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getRules() const; + void setRules(const std::string &rules); + long getId() const; + void setId(long id); + +private: + std::string name_; + std::string rules_; + long id_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFGROUPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupResult.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupResult.h new file mode 100644 index 000000000..828de8590 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFGROUPRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafGroupResult : public ServiceResult + { + public: + + + ModifyDcdnWafGroupResult(); + explicit ModifyDcdnWafGroupResult(const std::string &payload); + ~ModifyDcdnWafGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFGROUPRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsRequest.h new file mode 100644 index 000000000..499fc42ad --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYDOMAINSREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafPolicyDomainsRequest : public RpcServiceRequest { +public: + ModifyDcdnWafPolicyDomainsRequest(); + ~ModifyDcdnWafPolicyDomainsRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + int getMethod() const; + void setMethod(int method); + std::string getBindDomains() const; + void setBindDomains(const std::string &bindDomains); + std::string getUnbindDomains() const; + void setUnbindDomains(const std::string &unbindDomains); + +private: + long policyId_; + int method_; + std::string bindDomains_; + std::string unbindDomains_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYDOMAINSREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsResult.h new file mode 100644 index 000000000..da6127110 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyDomainsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafPolicyDomainsResult : public ServiceResult + { + public: + + + ModifyDcdnWafPolicyDomainsResult(); + explicit ModifyDcdnWafPolicyDomainsResult(const std::string &payload); + ~ModifyDcdnWafPolicyDomainsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyRequest.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyRequest.h new file mode 100644 index 000000000..6248fb3a7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafPolicyRequest : public RpcServiceRequest { +public: + ModifyDcdnWafPolicyRequest(); + ~ModifyDcdnWafPolicyRequest(); + long getPolicyId() const; + void setPolicyId(long policyId); + std::string getPolicyStatus() const; + void setPolicyStatus(const std::string &policyStatus); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + long policyId_; + std::string policyStatus_; + std::string policyName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyResult.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyResult.h new file mode 100644 index 000000000..f766f3afb --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafPolicyResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafPolicyResult : public ServiceResult + { + public: + + + ModifyDcdnWafPolicyResult(); + explicit ModifyDcdnWafPolicyResult(const std::string &payload); + ~ModifyDcdnWafPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFPOLICYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleRequest.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleRequest.h new file mode 100644 index 000000000..318b0f196 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFRULEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafRuleRequest : public RpcServiceRequest { +public: + ModifyDcdnWafRuleRequest(); + ~ModifyDcdnWafRuleRequest(); + std::string getRuleConfig() const; + void setRuleConfig(const std::string &ruleConfig); + std::string getRuleStatus() const; + void setRuleStatus(const std::string &ruleStatus); + std::string getRuleName() const; + void setRuleName(const std::string &ruleName); + long getRuleId() const; + void setRuleId(long ruleId); + +private: + std::string ruleConfig_; + std::string ruleStatus_; + std::string ruleName_; + long ruleId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFRULEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleResult.h b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleResult.h new file mode 100644 index 000000000..5559e0f25 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ModifyDcdnWafRuleResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFRULERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFRULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ModifyDcdnWafRuleResult : public ServiceResult + { + public: + + + ModifyDcdnWafRuleResult(); + explicit ModifyDcdnWafRuleResult(const std::string &payload); + ~ModifyDcdnWafRuleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_MODIFYDCDNWAFRULERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/OpenDcdnServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/OpenDcdnServiceRequest.h index a536226ba..dbb587440 100644 --- a/dcdn/include/alibabacloud/dcdn/model/OpenDcdnServiceRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/OpenDcdnServiceRequest.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_DCDN_MODEL_OPENDCDNSERVICEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_OPENDCDNSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT OpenDcdnServiceRequest : public RpcServiceRequest - { - - public: - OpenDcdnServiceRequest(); - ~OpenDcdnServiceRequest(); - - std::string getWebsocketBillType()const; - void setWebsocketBillType(const std::string& websocketBillType); - std::string getBillType()const; - void setBillType(const std::string& billType); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string websocketBillType_; - std::string billType_; - std::string securityToken_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_OPENDCDNSERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_OPENDCDNSERVICEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_OPENDCDNSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT OpenDcdnServiceRequest : public RpcServiceRequest { +public: + OpenDcdnServiceRequest(); + ~OpenDcdnServiceRequest(); + std::string getWebsocketBillType() const; + void setWebsocketBillType(const std::string &websocketBillType); + std::string getBillType() const; + void setBillType(const std::string &billType); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string websocketBillType_; + std::string billType_; + std::string securityToken_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_OPENDCDNSERVICEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h b/dcdn/include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h index a0f604cce..5c503d228 100644 --- a/dcdn/include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesRequest.h @@ -1,57 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT PreloadDcdnObjectCachesRequest : public RpcServiceRequest - { - - public: - PreloadDcdnObjectCachesRequest(); - ~PreloadDcdnObjectCachesRequest(); - - std::string getArea()const; - void setArea(const std::string& area); - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string area_; - std::string objectPath_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT PreloadDcdnObjectCachesRequest : public RpcServiceRequest { +public: + PreloadDcdnObjectCachesRequest(); + ~PreloadDcdnObjectCachesRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + bool getL2Preload() const; + void setL2Preload(bool l2Preload); + std::string getArea() const; + void setArea(const std::string &area); + std::string getWithHeader() const; + void setWithHeader(const std::string &withHeader); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string objectPath_; + std::string securityToken_; + bool l2Preload_; + std::string area_; + std::string withHeader_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_PRELOADDCDNOBJECTCACHESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h b/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h index 3f32890a1..935c0b3c6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h @@ -1,54 +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_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT PublishDcdnStagingConfigToProductionRequest : public RpcServiceRequest - { - - public: - PublishDcdnStagingConfigToProductionRequest(); - ~PublishDcdnStagingConfigToProductionRequest(); - - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT PublishDcdnStagingConfigToProductionRequest : public RpcServiceRequest { +public: + PublishDcdnStagingConfigToProductionRequest(); + ~PublishDcdnStagingConfigToProductionRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string functionName_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHDCDNSTAGINGCONFIGTOPRODUCTIONREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h b/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h index b4d59ba72..13492499d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h @@ -1,57 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT PublishRoutineCodeRevisionRequest : public RpcServiceRequest - { - - public: - PublishRoutineCodeRevisionRequest(); - ~PublishRoutineCodeRevisionRequest(); - - std::string getSelectCodeRevision()const; - void setSelectCodeRevision(const std::string& selectCodeRevision); - std::string getEnvs()const; - void setEnvs(const std::string& envs); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string selectCodeRevision_; - std::string envs_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT PublishRoutineCodeRevisionRequest : public RpcServiceRequest { +public: + PublishRoutineCodeRevisionRequest(); + ~PublishRoutineCodeRevisionRequest(); + std::string getName() const; + void setName(const std::string &name); + std::string getSelectCodeRevision() const; + void setSelectCodeRevision(const std::string &selectCodeRevision); + std::string getEnvs() const; + void setEnvs(const std::string &envs); + +private: + std::string name_; + std::string selectCodeRevision_; + std::string envs_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceRequest.h b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceRequest.h new file mode 100644 index 000000000..3fab97147 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVNAMESPACEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVNAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT PutDcdnKvNamespaceRequest : public RpcServiceRequest { +public: + PutDcdnKvNamespaceRequest(); + ~PutDcdnKvNamespaceRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getDescription() const; + void setDescription(const std::string &description); + +private: + std::string _namespace_; + std::string description_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVNAMESPACEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceResult.h b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceResult.h new file mode 100644 index 000000000..230548930 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvNamespaceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVNAMESPACERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVNAMESPACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT PutDcdnKvNamespaceResult : public ServiceResult + { + public: + + + PutDcdnKvNamespaceResult(); + explicit PutDcdnKvNamespaceResult(const std::string &payload); + ~PutDcdnKvNamespaceResult(); + std::string getStatus()const; + std::string getDescription()const; + std::string get_Namespace()const; + std::string getNamespaceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string description_; + std::string _namespace_; + std::string namespaceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVNAMESPACERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvRequest.h b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvRequest.h new file mode 100644 index 000000000..d87a036e7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT PutDcdnKvRequest : public RpcServiceRequest { +public: + PutDcdnKvRequest(); + ~PutDcdnKvRequest(); + long getExpirationTtl() const; + void setExpirationTtl(long expirationTtl); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + long getExpiration() const; + void setExpiration(long expiration); + std::string getValue() const; + void setValue(const std::string &value); + std::string getKey() const; + void setKey(const std::string &key); + +private: + long expirationTtl_; + std::string _namespace_; + long expiration_; + std::string value_; + std::string key_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvResult.h b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvResult.h new file mode 100644 index 000000000..c08149cb5 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT PutDcdnKvResult : public ServiceResult + { + public: + + + PutDcdnKvResult(); + explicit PutDcdnKvResult(const std::string &payload); + ~PutDcdnKvResult(); + int getLength()const; + std::string getValue()const; + + protected: + void parse(const std::string &payload); + private: + int length_; + std::string value_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityRequest.h b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityRequest.h new file mode 100644 index 000000000..b9acc3e48 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVWITHHIGHCAPACITYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVWITHHIGHCAPACITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT PutDcdnKvWithHighCapacityRequest : public RpcServiceRequest { +public: + PutDcdnKvWithHighCapacityRequest(); + ~PutDcdnKvWithHighCapacityRequest(); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + std::string getKey() const; + void setKey(const std::string &key); + std::string getUrl() const; + void setUrl(const std::string &url); + +private: + std::string _namespace_; + std::string key_; + std::string url_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVWITHHIGHCAPACITYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityResult.h b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityResult.h new file mode 100644 index 000000000..0b53d306f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PutDcdnKvWithHighCapacityResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVWITHHIGHCAPACITYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVWITHHIGHCAPACITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT PutDcdnKvWithHighCapacityResult : public ServiceResult + { + public: + + + PutDcdnKvWithHighCapacityResult(); + explicit PutDcdnKvWithHighCapacityResult(const std::string &payload); + ~PutDcdnKvWithHighCapacityResult(); + int getLength()const; + std::string getValue()const; + + protected: + void parse(const std::string &payload); + private: + int length_; + std::string value_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_PUTDCDNKVWITHHIGHCAPACITYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagRequest.h b/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagRequest.h new file mode 100644 index 000000000..5a9462e42 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHEBYCACHETAGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHEBYCACHETAGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT RefreshDcdnObjectCacheByCacheTagRequest : public RpcServiceRequest { +public: + RefreshDcdnObjectCacheByCacheTagRequest(); + ~RefreshDcdnObjectCacheByCacheTagRequest(); + std::string getCacheTag() const; + void setCacheTag(const std::string &cacheTag); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + bool getForce() const; + void setForce(bool force); + +private: + std::string cacheTag_; + std::string domainName_; + bool force_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHEBYCACHETAGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagResult.h b/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagResult.h new file mode 100644 index 000000000..a302ea378 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCacheByCacheTagResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHEBYCACHETAGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHEBYCACHETAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT RefreshDcdnObjectCacheByCacheTagResult : public ServiceResult + { + public: + + + RefreshDcdnObjectCacheByCacheTagResult(); + explicit RefreshDcdnObjectCacheByCacheTagResult(const std::string &payload); + ~RefreshDcdnObjectCacheByCacheTagResult(); + std::string getRefreshTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string refreshTaskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHEBYCACHETAGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h b/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h index b65d6ff2f..b56af082e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.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_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT RefreshDcdnObjectCachesRequest : public RpcServiceRequest - { - - public: - RefreshDcdnObjectCachesRequest(); - ~RefreshDcdnObjectCachesRequest(); - - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - - private: - std::string objectPath_; - long ownerId_; - std::string securityToken_; - std::string objectType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT RefreshDcdnObjectCachesRequest : public RpcServiceRequest { +public: + RefreshDcdnObjectCachesRequest(); + ~RefreshDcdnObjectCachesRequest(); + 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); + bool getForce() const; + void setForce(bool force); + +private: + std::string objectPath_; + std::string securityToken_; + std::string objectType_; + long ownerId_; + bool force_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHDCDNOBJECTCACHESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesRequest.h b/dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesRequest.h new file mode 100644 index 000000000..11736301c --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_REFRESHEROBJECTCACHESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_REFRESHEROBJECTCACHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT RefreshErObjectCachesRequest : public RpcServiceRequest { +public: + RefreshErObjectCachesRequest(); + ~RefreshErObjectCachesRequest(); + std::string getMergeDomainName() const; + void setMergeDomainName(const std::string &mergeDomainName); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + bool getForce() const; + void setForce(bool force); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getRoutineId() const; + void setRoutineId(const std::string &routineId); + +private: + std::string mergeDomainName_; + std::string objectPath_; + bool force_; + std::string objectType_; + std::string routineId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHEROBJECTCACHESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesResult.h b/dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesResult.h new file mode 100644 index 000000000..04148b569 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/RefreshErObjectCachesResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_REFRESHEROBJECTCACHESRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_REFRESHEROBJECTCACHESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT RefreshErObjectCachesResult : public ServiceResult + { + public: + + + RefreshErObjectCachesResult(); + explicit RefreshErObjectCachesResult(const std::string &payload); + ~RefreshErObjectCachesResult(); + std::string getRefreshTaskId()const; + + protected: + void parse(const std::string &payload); + private: + std::string refreshTaskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_REFRESHEROBJECTCACHESRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h index a767b2799..c9850af4c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT RollbackDcdnStagingConfigRequest : public RpcServiceRequest - { - - public: - RollbackDcdnStagingConfigRequest(); - ~RollbackDcdnStagingConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT RollbackDcdnStagingConfigRequest : public RpcServiceRequest { +public: + RollbackDcdnStagingConfigRequest(); + ~RollbackDcdnStagingConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_ROLLBACKDCDNSTAGINGCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.h deleted file mode 100644 index ac5546b02..000000000 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnConfigOfVersionRequest.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_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnConfigOfVersionRequest : public RpcServiceRequest - { - - public: - SetDcdnConfigOfVersionRequest(); - ~SetDcdnConfigOfVersionRequest(); - - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - std::string getFunctionArgs()const; - void setFunctionArgs(const std::string& functionArgs); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - long getFunctionId()const; - void setFunctionId(long functionId); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - - private: - std::string versionId_; - std::string securityToken_; - std::string functionName_; - std::string functionArgs_; - std::string ownerAccount_; - long ownerId_; - long functionId_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNCONFIGOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateRequest.h index 9b8435aec..4cd68f6ce 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCSRCertificateRequest.h @@ -1,54 +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_DCDN_MODEL_SETDCDNDOMAINCSRCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCSRCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainCSRCertificateRequest : public RpcServiceRequest - { - - public: - SetDcdnDomainCSRCertificateRequest(); - ~SetDcdnDomainCSRCertificateRequest(); - - 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_DCDN_MODEL_SETDCDNDOMAINCSRCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCSRCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCSRCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainCSRCertificateRequest : public RpcServiceRequest { +public: + SetDcdnDomainCSRCertificateRequest(); + ~SetDcdnDomainCSRCertificateRequest(); + std::string getServerCertificate() const; + void setServerCertificate(const std::string &serverCertificate); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string serverCertificate_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCSRCERTIFICATEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h index 592f06f86..998f6ddd8 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainCertificateRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainCertificateRequest : public RpcServiceRequest - { - - public: - SetDcdnDomainCertificateRequest(); - ~SetDcdnDomainCertificateRequest(); - - 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_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainCertificateRequest : public RpcServiceRequest { +public: + SetDcdnDomainCertificateRequest(); + ~SetDcdnDomainCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertType() const; + void setCertType(const std::string &certType); + std::string getSSLPri() const; + void setSSLPri(const std::string &sSLPri); + std::string getForceSet() const; + void setForceSet(const std::string &forceSet); + std::string getCertName() const; + void setCertName(const std::string &certName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string sSLProtocol_; + std::string securityToken_; + std::string certType_; + std::string sSLPri_; + std::string forceSet_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string sSLPub_; + std::string region_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINCERTIFICATEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h index 10672e425..428a62b0c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.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_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainSMCertificateRequest : public RpcServiceRequest - { - - public: - SetDcdnDomainSMCertificateRequest(); - ~SetDcdnDomainSMCertificateRequest(); - - 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_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainSMCertificateRequest : public RpcServiceRequest { +public: + SetDcdnDomainSMCertificateRequest(); + ~SetDcdnDomainSMCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + 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 getCertIdentifier() const; + void setCertIdentifier(const std::string &certIdentifier); + +private: + std::string sSLProtocol_; + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string certIdentifier_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSMCERTIFICATEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateRequest.h new file mode 100644 index 000000000..37a8677d2 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSSLCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSSLCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainSSLCertificateRequest : public RpcServiceRequest { +public: + SetDcdnDomainSSLCertificateRequest(); + ~SetDcdnDomainSSLCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + long getCertId() const; + void setCertId(long certId); + 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 getCertRegion() const; + void setCertRegion(const std::string &certRegion); + 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 getEnv() const; + void setEnv(const std::string &env); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + +private: + std::string sSLProtocol_; + long certId_; + std::string securityToken_; + std::string certType_; + std::string sSLPri_; + std::string certRegion_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string env_; + std::string sSLPub_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSSLCERTIFICATEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateResult.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateResult.h new file mode 100644 index 000000000..4b749088e --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSSLCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSSLCERTIFICATERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSSLCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainSSLCertificateResult : public ServiceResult + { + public: + + + SetDcdnDomainSSLCertificateResult(); + explicit SetDcdnDomainSSLCertificateResult(const std::string &payload); + ~SetDcdnDomainSSLCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSSLCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h index a0bdc5b38..38c795a1d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h @@ -1,54 +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_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainStagingConfigRequest : public RpcServiceRequest - { - - public: - SetDcdnDomainStagingConfigRequest(); - ~SetDcdnDomainStagingConfigRequest(); - - std::string getFunctions()const; - void setFunctions(const std::string& functions); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functions_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnDomainStagingConfigRequest : public RpcServiceRequest { +public: + SetDcdnDomainStagingConfigRequest(); + ~SetDcdnDomainStagingConfigRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + +private: + std::string functions_; + std::string domainName_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNDOMAINSTAGINGCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h index 5963fbf10..c1ce90ab9 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.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_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnFullDomainsBlockIPRequest : public RpcServiceRequest - { - - public: - SetDcdnFullDomainsBlockIPRequest(); - ~SetDcdnFullDomainsBlockIPRequest(); - - std::string getIPList()const; - void setIPList(const std::string& iPList); - int getBlockInterval()const; - void setBlockInterval(int blockInterval); - std::string getOperationType()const; - void setOperationType(const std::string& operationType); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string iPList_; - int blockInterval_; - std::string operationType_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnFullDomainsBlockIPRequest : public RpcServiceRequest { +public: + SetDcdnFullDomainsBlockIPRequest(); + ~SetDcdnFullDomainsBlockIPRequest(); + int getBlockInterval() const; + void setBlockInterval(int blockInterval); + std::string getUpdateType() const; + void setUpdateType(const std::string &updateType); + std::string getOperationType() const; + void setOperationType(const std::string &operationType); + std::string getIPList() const; + void setIPList(const std::string &iPList); + +private: + int blockInterval_; + std::string updateType_; + std::string operationType_; + std::string iPList_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h index 1941a3b61..f59b01867 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.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_DCDN_MODEL_SETDCDNUSERCONFIGREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetDcdnUserConfigRequest : public RpcServiceRequest - { - - public: - SetDcdnUserConfigRequest(); - ~SetDcdnUserConfigRequest(); - - std::string getConfigs()const; - void setConfigs(const std::string& configs); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getFunctionId()const; - void setFunctionId(int functionId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string configs_; - std::string ownerAccount_; - long ownerId_; - int functionId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetDcdnUserConfigRequest : public RpcServiceRequest { +public: + SetDcdnUserConfigRequest(); + ~SetDcdnUserConfigRequest(); + std::string getConfigs() const; + void setConfigs(const std::string &configs); + 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); + int getFunctionId() const; + void setFunctionId(int functionId); + +private: + std::string configs_; + std::string securityToken_; + std::string ownerAccount_; + long ownerId_; + int functionId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h index d91576bac..fa303075a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h @@ -1,51 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT SetRoutineSubdomainRequest : public RpcServiceRequest - { - - public: - SetRoutineSubdomainRequest(); - ~SetRoutineSubdomainRequest(); - - std::string getSubdomains()const; - void setSubdomains(const std::string& subdomains); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string subdomains_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT SetRoutineSubdomainRequest : public RpcServiceRequest { +public: + SetRoutineSubdomainRequest(); + ~SetRoutineSubdomainRequest(); + std::string getSubdomains() const; + void setSubdomains(const std::string &subdomains); + +private: + std::string subdomains_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h index 85f5f291a..5c8221288 100644 --- a/dcdn/include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/StartDcdnDomainRequest.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_DCDN_MODEL_STARTDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_STARTDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT StartDcdnDomainRequest : public RpcServiceRequest - { - - public: - StartDcdnDomainRequest(); - ~StartDcdnDomainRequest(); - - 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_DCDN_MODEL_STARTDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_STARTDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_STARTDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT StartDcdnDomainRequest : public RpcServiceRequest { +public: + StartDcdnDomainRequest(); + ~StartDcdnDomainRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_STARTDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h index e5af780c6..4c10be6b3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.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_DCDN_MODEL_STARTDCDNIPADOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_STARTDCDNIPADOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT StartDcdnIpaDomainRequest : public RpcServiceRequest - { - - public: - StartDcdnIpaDomainRequest(); - ~StartDcdnIpaDomainRequest(); - - 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_DCDN_MODEL_STARTDCDNIPADOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_STARTDCDNIPADOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_STARTDCDNIPADOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT StartDcdnIpaDomainRequest : public RpcServiceRequest { +public: + StartDcdnIpaDomainRequest(); + ~StartDcdnIpaDomainRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_STARTDCDNIPADOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainRequest.h index 8b3dd7fc3..2a705bdb0 100644 --- a/dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/StopDcdnDomainRequest.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_DCDN_MODEL_STOPDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_STOPDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT StopDcdnDomainRequest : public RpcServiceRequest - { - - public: - StopDcdnDomainRequest(); - ~StopDcdnDomainRequest(); - - 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_DCDN_MODEL_STOPDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_STOPDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_STOPDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT StopDcdnDomainRequest : public RpcServiceRequest { +public: + StopDcdnDomainRequest(); + ~StopDcdnDomainRequest(); + 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 Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_STOPDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h index 1e10ae048..c35fe8a3e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.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_DCDN_MODEL_STOPDCDNIPADOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_STOPDCDNIPADOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT StopDcdnIpaDomainRequest : public RpcServiceRequest - { - - public: - StopDcdnIpaDomainRequest(); - ~StopDcdnIpaDomainRequest(); - - 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_DCDN_MODEL_STOPDCDNIPADOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_STOPDCDNIPADOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_STOPDCDNIPADOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT StopDcdnIpaDomainRequest : public RpcServiceRequest { +public: + StopDcdnIpaDomainRequest(); + ~StopDcdnIpaDomainRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_STOPDCDNIPADOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h b/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h index 18b2297a6..5e20f0a1c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/TagDcdnResourcesRequest.h @@ -1,63 +1,52 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT TagDcdnResourcesRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string key; - std::string value; - }; - - public: - TagDcdnResourcesRequest(); - ~TagDcdnResourcesRequest(); - - std::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_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT TagDcdnResourcesRequest : public RpcServiceRequest { +public: + struct Tag { + std::string key; + std::string value; + }; + TagDcdnResourcesRequest(); + ~TagDcdnResourcesRequest(); + std::vector getResourceId() const; + void setResourceId(const std::vector &resourceId); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + +private: + std::vector resourceId_; + std::vector tag_; + std::string resourceType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_TAGDCDNRESOURCESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h b/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h index a02b83a0f..515c4a9ff 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UntagDcdnResourcesRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UntagDcdnResourcesRequest : public RpcServiceRequest - { - - public: - UntagDcdnResourcesRequest(); - ~UntagDcdnResourcesRequest(); - - 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_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UntagDcdnResourcesRequest : public RpcServiceRequest { +public: + UntagDcdnResourcesRequest(); + ~UntagDcdnResourcesRequest(); + bool getAll() const; + void setAll(bool all); + std::vector getResourceId() const; + void setResourceId(const std::vector &resourceId); + std::vector getTagKey() const; + void setTagKey(const std::vector &tagKey); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + +private: + bool all_; + std::vector resourceId_; + std::vector tagKey_; + std::string resourceType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UNTAGDCDNRESOURCESREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h index 97241ef96..6ef1c4ab9 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDELIVERTASKREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDELIVERTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnDeliverTaskRequest : public RpcServiceRequest - { - - public: - UpdateDcdnDeliverTaskRequest(); - ~UpdateDcdnDeliverTaskRequest(); - - 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_DCDN_MODEL_UPDATEDCDNDELIVERTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDELIVERTASKREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDELIVERTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnDeliverTaskRequest : public RpcServiceRequest { +public: + UpdateDcdnDeliverTaskRequest(); + ~UpdateDcdnDeliverTaskRequest(); + std::string getReports() const; + void setReports(const std::string &reports); + std::string getSchedule() const; + void setSchedule(const std::string &schedule); + std::string getName() const; + void setName(const std::string &name); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getDeliver() const; + void setDeliver(const std::string &deliver); + long getDeliverId() const; + void setDeliverId(long deliverId); + +private: + std::string reports_; + std::string schedule_; + std::string name_; + std::string domainName_; + std::string deliver_; + long deliverId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDELIVERTASKREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h index 2912efeb7..1c3f09526 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDomainRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnDomainRequest : public RpcServiceRequest - { - - public: - UpdateDcdnDomainRequest(); - ~UpdateDcdnDomainRequest(); - - 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_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnDomainRequest : public RpcServiceRequest { +public: + UpdateDcdnDomainRequest(); + ~UpdateDcdnDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string sources_; + std::string resourceGroupId_; + std::string securityToken_; + std::string topLevelDomain_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNDOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h index 88e82e7ef..7ab206de5 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNIPADOMAINREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNIPADOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnIpaDomainRequest : public RpcServiceRequest - { - - public: - UpdateDcdnIpaDomainRequest(); - ~UpdateDcdnIpaDomainRequest(); - - 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_DCDN_MODEL_UPDATEDCDNIPADOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNIPADOMAINREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNIPADOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnIpaDomainRequest : public RpcServiceRequest { +public: + UpdateDcdnIpaDomainRequest(); + ~UpdateDcdnIpaDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string sources_; + std::string resourceGroupId_; + std::string securityToken_; + std::string topLevelDomain_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNIPADOMAINREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h index bd6c69596..bd593bb65 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h @@ -1,69 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnSLSRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - UpdateDcdnSLSRealtimeLogDeliveryRequest(); - ~UpdateDcdnSLSRealtimeLogDeliveryRequest(); - - std::string getSLSLogStore()const; - void setSLSLogStore(const std::string& sLSLogStore); - std::string getSLSProject()const; - void setSLSProject(const std::string& sLSProject); - std::string getSLSRegion()const; - void setSLSRegion(const std::string& sLSRegion); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getSamplingRate()const; - void setSamplingRate(const std::string& samplingRate); - std::string getDataCenter()const; - void setDataCenter(const std::string& dataCenter); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string sLSLogStore_; - std::string sLSProject_; - std::string sLSRegion_; - std::string projectName_; - std::string domainName_; - std::string samplingRate_; - std::string dataCenter_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnSLSRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + UpdateDcdnSLSRealtimeLogDeliveryRequest(); + ~UpdateDcdnSLSRealtimeLogDeliveryRequest(); + std::string getSLSLogStore() const; + void setSLSLogStore(const std::string &sLSLogStore); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getSamplingRate() const; + void setSamplingRate(const std::string &samplingRate); + std::string getDataCenter() const; + void setDataCenter(const std::string &dataCenter); + std::string getSLSProject() const; + void setSLSProject(const std::string &sLSProject); + std::string getSLSRegion() const; + void setSLSRegion(const std::string &sLSRegion); + +private: + std::string sLSLogStore_; + std::string projectName_; + std::string domainName_; + std::string samplingRate_; + std::string dataCenter_; + std::string sLSProject_; + std::string sLSRegion_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h index 8a47b19a3..aed917765 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h @@ -1,60 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSUBTASKREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSUBTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnSubTaskRequest : public RpcServiceRequest - { - - public: - UpdateDcdnSubTaskRequest(); - ~UpdateDcdnSubTaskRequest(); - - 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_DCDN_MODEL_UPDATEDCDNSUBTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSUBTASKREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSUBTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnSubTaskRequest : public RpcServiceRequest { +public: + UpdateDcdnSubTaskRequest(); + ~UpdateDcdnSubTaskRequest(); + std::string getReportIds() const; + void setReportIds(const std::string &reportIds); + 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); + +private: + std::string reportIds_; + std::string domainName_; + std::string endTime_; + std::string startTime_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSUBTASKREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h index 255bbedec..67e0fa07a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h @@ -1,54 +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_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnUserRealTimeDeliveryFieldRequest : public RpcServiceRequest - { - - public: - UpdateDcdnUserRealTimeDeliveryFieldRequest(); - ~UpdateDcdnUserRealTimeDeliveryFieldRequest(); - - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getFields()const; - void setFields(const std::string& fields); - - private: - std::string businessType_; - long ownerId_; - std::string fields_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnUserRealTimeDeliveryFieldRequest : public RpcServiceRequest { +public: + UpdateDcdnUserRealTimeDeliveryFieldRequest(); + ~UpdateDcdnUserRealTimeDeliveryFieldRequest(); + std::string getFields() const; + void setFields(const std::string &fields); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + +private: + std::string fields_; + std::string businessType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h b/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h index 0b9892eda..d66922c3c 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h @@ -1,54 +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_DCDN_MODEL_UPLOADROUTINECODEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UploadRoutineCodeRequest : public RpcServiceRequest - { - - public: - UploadRoutineCodeRequest(); - ~UploadRoutineCodeRequest(); - - std::string getCodeDescription()const; - void setCodeDescription(const std::string& codeDescription); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string codeDescription_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UploadRoutineCodeRequest : public RpcServiceRequest { +public: + UploadRoutineCodeRequest(); + ~UploadRoutineCodeRequest(); + std::string getCodeDescription() const; + void setCodeDescription(const std::string &codeDescription); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string codeDescription_; + std::string name_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h b/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h index f21844da9..d9aa930c6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h @@ -1,54 +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_DCDN_MODEL_UPLOADSTAGINGROUTINECODEREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT UploadStagingRoutineCodeRequest : public RpcServiceRequest - { - - public: - UploadStagingRoutineCodeRequest(); - ~UploadStagingRoutineCodeRequest(); - - std::string getCodeDescription()const; - void setCodeDescription(const std::string& codeDescription); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string codeDescription_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODEREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT UploadStagingRoutineCodeRequest : public RpcServiceRequest { +public: + UploadStagingRoutineCodeRequest(); + ~UploadStagingRoutineCodeRequest(); + std::string getCodeDescription() const; + void setCodeDescription(const std::string &codeDescription); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string codeDescription_; + std::string name_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODEREQUEST_H_ diff --git a/dcdn/include/alibabacloud/dcdn/model/VerifyDcdnDomainOwnerRequest.h b/dcdn/include/alibabacloud/dcdn/model/VerifyDcdnDomainOwnerRequest.h index b75a3002b..9c3d8c10e 100644 --- a/dcdn/include/alibabacloud/dcdn/model/VerifyDcdnDomainOwnerRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/VerifyDcdnDomainOwnerRequest.h @@ -1,54 +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_DCDN_MODEL_VERIFYDCDNDOMAINOWNERREQUEST_H_ -#define ALIBABACLOUD_DCDN_MODEL_VERIFYDCDNDOMAINOWNERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dcdn - { - namespace Model - { - class ALIBABACLOUD_DCDN_EXPORT VerifyDcdnDomainOwnerRequest : public RpcServiceRequest - { - - public: - VerifyDcdnDomainOwnerRequest(); - ~VerifyDcdnDomainOwnerRequest(); - - 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_DCDN_MODEL_VERIFYDCDNDOMAINOWNERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_VERIFYDCDNDOMAINOWNERREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_VERIFYDCDNDOMAINOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dcdn { +namespace Model { +class ALIBABACLOUD_DCDN_EXPORT VerifyDcdnDomainOwnerRequest : public RpcServiceRequest { +public: + VerifyDcdnDomainOwnerRequest(); + ~VerifyDcdnDomainOwnerRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getVerifyType() const; + void setVerifyType(const std::string &verifyType); + +private: + std::string domainName_; + std::string verifyType_; +}; +} // namespace Model +} // namespace Dcdn +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DCDN_MODEL_VERIFYDCDNDOMAINOWNERREQUEST_H_ diff --git a/dcdn/src/DcdnClient.cc b/dcdn/src/DcdnClient.cc index b739450c5..79be2fe09 100644 --- a/dcdn/src/DcdnClient.cc +++ b/dcdn/src/DcdnClient.cc @@ -159,6 +159,42 @@ DcdnClient::BatchAddDcdnDomainOutcomeCallable DcdnClient::batchAddDcdnDomainCall return task->get_future(); } +DcdnClient::BatchCreateDcdnWafRulesOutcome DcdnClient::batchCreateDcdnWafRules(const BatchCreateDcdnWafRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchCreateDcdnWafRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchCreateDcdnWafRulesOutcome(BatchCreateDcdnWafRulesResult(outcome.result())); + else + return BatchCreateDcdnWafRulesOutcome(outcome.error()); +} + +void DcdnClient::batchCreateDcdnWafRulesAsync(const BatchCreateDcdnWafRulesRequest& request, const BatchCreateDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchCreateDcdnWafRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchCreateDcdnWafRulesOutcomeCallable DcdnClient::batchCreateDcdnWafRulesCallable(const BatchCreateDcdnWafRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchCreateDcdnWafRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::BatchDeleteDcdnDomainConfigsOutcome DcdnClient::batchDeleteDcdnDomainConfigs(const BatchDeleteDcdnDomainConfigsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +231,222 @@ DcdnClient::BatchDeleteDcdnDomainConfigsOutcomeCallable DcdnClient::batchDeleteD return task->get_future(); } +DcdnClient::BatchDeleteDcdnKvOutcome DcdnClient::batchDeleteDcdnKv(const BatchDeleteDcdnKvRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteDcdnKvOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteDcdnKvOutcome(BatchDeleteDcdnKvResult(outcome.result())); + else + return BatchDeleteDcdnKvOutcome(outcome.error()); +} + +void DcdnClient::batchDeleteDcdnKvAsync(const BatchDeleteDcdnKvRequest& request, const BatchDeleteDcdnKvAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteDcdnKv(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchDeleteDcdnKvOutcomeCallable DcdnClient::batchDeleteDcdnKvCallable(const BatchDeleteDcdnKvRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteDcdnKv(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::BatchDeleteDcdnKvWithHighCapacityOutcome DcdnClient::batchDeleteDcdnKvWithHighCapacity(const BatchDeleteDcdnKvWithHighCapacityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteDcdnKvWithHighCapacityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteDcdnKvWithHighCapacityOutcome(BatchDeleteDcdnKvWithHighCapacityResult(outcome.result())); + else + return BatchDeleteDcdnKvWithHighCapacityOutcome(outcome.error()); +} + +void DcdnClient::batchDeleteDcdnKvWithHighCapacityAsync(const BatchDeleteDcdnKvWithHighCapacityRequest& request, const BatchDeleteDcdnKvWithHighCapacityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteDcdnKvWithHighCapacity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchDeleteDcdnKvWithHighCapacityOutcomeCallable DcdnClient::batchDeleteDcdnKvWithHighCapacityCallable(const BatchDeleteDcdnKvWithHighCapacityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteDcdnKvWithHighCapacity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::BatchDeleteDcdnWafRulesOutcome DcdnClient::batchDeleteDcdnWafRules(const BatchDeleteDcdnWafRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteDcdnWafRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteDcdnWafRulesOutcome(BatchDeleteDcdnWafRulesResult(outcome.result())); + else + return BatchDeleteDcdnWafRulesOutcome(outcome.error()); +} + +void DcdnClient::batchDeleteDcdnWafRulesAsync(const BatchDeleteDcdnWafRulesRequest& request, const BatchDeleteDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteDcdnWafRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchDeleteDcdnWafRulesOutcomeCallable DcdnClient::batchDeleteDcdnWafRulesCallable(const BatchDeleteDcdnWafRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteDcdnWafRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::BatchModifyDcdnWafRulesOutcome DcdnClient::batchModifyDcdnWafRules(const BatchModifyDcdnWafRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchModifyDcdnWafRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchModifyDcdnWafRulesOutcome(BatchModifyDcdnWafRulesResult(outcome.result())); + else + return BatchModifyDcdnWafRulesOutcome(outcome.error()); +} + +void DcdnClient::batchModifyDcdnWafRulesAsync(const BatchModifyDcdnWafRulesRequest& request, const BatchModifyDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchModifyDcdnWafRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchModifyDcdnWafRulesOutcomeCallable DcdnClient::batchModifyDcdnWafRulesCallable(const BatchModifyDcdnWafRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchModifyDcdnWafRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::BatchPutDcdnKvOutcome DcdnClient::batchPutDcdnKv(const BatchPutDcdnKvRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchPutDcdnKvOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchPutDcdnKvOutcome(BatchPutDcdnKvResult(outcome.result())); + else + return BatchPutDcdnKvOutcome(outcome.error()); +} + +void DcdnClient::batchPutDcdnKvAsync(const BatchPutDcdnKvRequest& request, const BatchPutDcdnKvAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchPutDcdnKv(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchPutDcdnKvOutcomeCallable DcdnClient::batchPutDcdnKvCallable(const BatchPutDcdnKvRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchPutDcdnKv(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::BatchPutDcdnKvWithHighCapacityOutcome DcdnClient::batchPutDcdnKvWithHighCapacity(const BatchPutDcdnKvWithHighCapacityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchPutDcdnKvWithHighCapacityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchPutDcdnKvWithHighCapacityOutcome(BatchPutDcdnKvWithHighCapacityResult(outcome.result())); + else + return BatchPutDcdnKvWithHighCapacityOutcome(outcome.error()); +} + +void DcdnClient::batchPutDcdnKvWithHighCapacityAsync(const BatchPutDcdnKvWithHighCapacityRequest& request, const BatchPutDcdnKvWithHighCapacityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchPutDcdnKvWithHighCapacity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchPutDcdnKvWithHighCapacityOutcomeCallable DcdnClient::batchPutDcdnKvWithHighCapacityCallable(const BatchPutDcdnKvWithHighCapacityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchPutDcdnKvWithHighCapacity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::BatchSetDcdnDomainCertificateOutcome DcdnClient::batchSetDcdnDomainCertificate(const BatchSetDcdnDomainCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +555,42 @@ DcdnClient::BatchSetDcdnIpaDomainConfigsOutcomeCallable DcdnClient::batchSetDcdn return task->get_future(); } +DcdnClient::BatchSetDcdnWafDomainConfigsOutcome DcdnClient::batchSetDcdnWafDomainConfigs(const BatchSetDcdnWafDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchSetDcdnWafDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchSetDcdnWafDomainConfigsOutcome(BatchSetDcdnWafDomainConfigsResult(outcome.result())); + else + return BatchSetDcdnWafDomainConfigsOutcome(outcome.error()); +} + +void DcdnClient::batchSetDcdnWafDomainConfigsAsync(const BatchSetDcdnWafDomainConfigsRequest& request, const BatchSetDcdnWafDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchSetDcdnWafDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::BatchSetDcdnWafDomainConfigsOutcomeCallable DcdnClient::batchSetDcdnWafDomainConfigsCallable(const BatchSetDcdnWafDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchSetDcdnWafDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::BatchStartDcdnDomainOutcome DcdnClient::batchStartDcdnDomain(const BatchStartDcdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,6 +879,78 @@ DcdnClient::CreateDcdnSubTaskOutcomeCallable DcdnClient::createDcdnSubTaskCallab return task->get_future(); } +DcdnClient::CreateDcdnWafGroupOutcome DcdnClient::createDcdnWafGroup(const CreateDcdnWafGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDcdnWafGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDcdnWafGroupOutcome(CreateDcdnWafGroupResult(outcome.result())); + else + return CreateDcdnWafGroupOutcome(outcome.error()); +} + +void DcdnClient::createDcdnWafGroupAsync(const CreateDcdnWafGroupRequest& request, const CreateDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDcdnWafGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CreateDcdnWafGroupOutcomeCallable DcdnClient::createDcdnWafGroupCallable(const CreateDcdnWafGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDcdnWafGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::CreateDcdnWafPolicyOutcome DcdnClient::createDcdnWafPolicy(const CreateDcdnWafPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDcdnWafPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDcdnWafPolicyOutcome(CreateDcdnWafPolicyResult(outcome.result())); + else + return CreateDcdnWafPolicyOutcome(outcome.error()); +} + +void DcdnClient::createDcdnWafPolicyAsync(const CreateDcdnWafPolicyRequest& request, const CreateDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDcdnWafPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CreateDcdnWafPolicyOutcomeCallable DcdnClient::createDcdnWafPolicyCallable(const CreateDcdnWafPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDcdnWafPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::CreateRoutineOutcome DcdnClient::createRoutine(const CreateRoutineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,42 +1023,6 @@ DcdnClient::CreateSlrAndSlsProjectOutcomeCallable DcdnClient::createSlrAndSlsPro return task->get_future(); } -DcdnClient::DcdnHttpRequestTestToolOutcome DcdnClient::dcdnHttpRequestTestTool(const DcdnHttpRequestTestToolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DcdnHttpRequestTestToolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DcdnHttpRequestTestToolOutcome(DcdnHttpRequestTestToolResult(outcome.result())); - else - return DcdnHttpRequestTestToolOutcome(outcome.error()); -} - -void DcdnClient::dcdnHttpRequestTestToolAsync(const DcdnHttpRequestTestToolRequest& request, const DcdnHttpRequestTestToolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, dcdnHttpRequestTestTool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DcdnClient::DcdnHttpRequestTestToolOutcomeCallable DcdnClient::dcdnHttpRequestTestToolCallable(const DcdnHttpRequestTestToolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->dcdnHttpRequestTestTool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DcdnClient::DeleteDcdnDeliverTaskOutcome DcdnClient::deleteDcdnDeliverTask(const DeleteDcdnDeliverTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -843,6 +1167,78 @@ DcdnClient::DeleteDcdnIpaSpecificConfigOutcomeCallable DcdnClient::deleteDcdnIpa return task->get_future(); } +DcdnClient::DeleteDcdnKvOutcome DcdnClient::deleteDcdnKv(const DeleteDcdnKvRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnKvOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnKvOutcome(DeleteDcdnKvResult(outcome.result())); + else + return DeleteDcdnKvOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnKvAsync(const DeleteDcdnKvRequest& request, const DeleteDcdnKvAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnKv(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnKvOutcomeCallable DcdnClient::deleteDcdnKvCallable(const DeleteDcdnKvRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnKv(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DeleteDcdnKvNamespaceOutcome DcdnClient::deleteDcdnKvNamespace(const DeleteDcdnKvNamespaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnKvNamespaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnKvNamespaceOutcome(DeleteDcdnKvNamespaceResult(outcome.result())); + else + return DeleteDcdnKvNamespaceOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnKvNamespaceAsync(const DeleteDcdnKvNamespaceRequest& request, const DeleteDcdnKvNamespaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnKvNamespace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnKvNamespaceOutcomeCallable DcdnClient::deleteDcdnKvNamespaceCallable(const DeleteDcdnKvNamespaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnKvNamespace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DeleteDcdnRealTimeLogProjectOutcome DcdnClient::deleteDcdnRealTimeLogProject(const DeleteDcdnRealTimeLogProjectRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,6 +1383,114 @@ DcdnClient::DeleteDcdnSubTaskOutcomeCallable DcdnClient::deleteDcdnSubTaskCallab return task->get_future(); } +DcdnClient::DeleteDcdnUserConfigOutcome DcdnClient::deleteDcdnUserConfig(const DeleteDcdnUserConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnUserConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnUserConfigOutcome(DeleteDcdnUserConfigResult(outcome.result())); + else + return DeleteDcdnUserConfigOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnUserConfigAsync(const DeleteDcdnUserConfigRequest& request, const DeleteDcdnUserConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnUserConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnUserConfigOutcomeCallable DcdnClient::deleteDcdnUserConfigCallable(const DeleteDcdnUserConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnUserConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DeleteDcdnWafGroupOutcome DcdnClient::deleteDcdnWafGroup(const DeleteDcdnWafGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnWafGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnWafGroupOutcome(DeleteDcdnWafGroupResult(outcome.result())); + else + return DeleteDcdnWafGroupOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnWafGroupAsync(const DeleteDcdnWafGroupRequest& request, const DeleteDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnWafGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnWafGroupOutcomeCallable DcdnClient::deleteDcdnWafGroupCallable(const DeleteDcdnWafGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnWafGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DeleteDcdnWafPolicyOutcome DcdnClient::deleteDcdnWafPolicy(const DeleteDcdnWafPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnWafPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnWafPolicyOutcome(DeleteDcdnWafPolicyResult(outcome.result())); + else + return DeleteDcdnWafPolicyOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnWafPolicyAsync(const DeleteDcdnWafPolicyRequest& request, const DeleteDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnWafPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnWafPolicyOutcomeCallable DcdnClient::deleteDcdnWafPolicyCallable(const DeleteDcdnWafPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnWafPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DeleteRoutineOutcome DcdnClient::deleteRoutine(const DeleteRoutineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1311,72 +1815,72 @@ DcdnClient::DescribeDcdnCertificateListOutcomeCallable DcdnClient::describeDcdnC return task->get_future(); } -DcdnClient::DescribeDcdnConfigGroupDetailOutcome DcdnClient::describeDcdnConfigGroupDetail(const DescribeDcdnConfigGroupDetailRequest &request) const +DcdnClient::DescribeDcdnDdosServiceOutcome DcdnClient::describeDcdnDdosService(const DescribeDcdnDdosServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeDcdnConfigGroupDetailOutcome(endpointOutcome.error()); + return DescribeDcdnDdosServiceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeDcdnConfigGroupDetailOutcome(DescribeDcdnConfigGroupDetailResult(outcome.result())); + return DescribeDcdnDdosServiceOutcome(DescribeDcdnDdosServiceResult(outcome.result())); else - return DescribeDcdnConfigGroupDetailOutcome(outcome.error()); + return DescribeDcdnDdosServiceOutcome(outcome.error()); } -void DcdnClient::describeDcdnConfigGroupDetailAsync(const DescribeDcdnConfigGroupDetailRequest& request, const DescribeDcdnConfigGroupDetailAsyncHandler& handler, const std::shared_ptr& context) const +void DcdnClient::describeDcdnDdosServiceAsync(const DescribeDcdnDdosServiceRequest& request, const DescribeDcdnDdosServiceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeDcdnConfigGroupDetail(request), context); + handler(this, request, describeDcdnDdosService(request), context); }; asyncExecute(new Runnable(fn)); } -DcdnClient::DescribeDcdnConfigGroupDetailOutcomeCallable DcdnClient::describeDcdnConfigGroupDetailCallable(const DescribeDcdnConfigGroupDetailRequest &request) const +DcdnClient::DescribeDcdnDdosServiceOutcomeCallable DcdnClient::describeDcdnDdosServiceCallable(const DescribeDcdnDdosServiceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeDcdnConfigGroupDetail(request); + return this->describeDcdnDdosService(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -DcdnClient::DescribeDcdnConfigOfVersionOutcome DcdnClient::describeDcdnConfigOfVersion(const DescribeDcdnConfigOfVersionRequest &request) const +DcdnClient::DescribeDcdnDdosSpecInfoOutcome DcdnClient::describeDcdnDdosSpecInfo(const DescribeDcdnDdosSpecInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeDcdnConfigOfVersionOutcome(endpointOutcome.error()); + return DescribeDcdnDdosSpecInfoOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeDcdnConfigOfVersionOutcome(DescribeDcdnConfigOfVersionResult(outcome.result())); + return DescribeDcdnDdosSpecInfoOutcome(DescribeDcdnDdosSpecInfoResult(outcome.result())); else - return DescribeDcdnConfigOfVersionOutcome(outcome.error()); + return DescribeDcdnDdosSpecInfoOutcome(outcome.error()); } -void DcdnClient::describeDcdnConfigOfVersionAsync(const DescribeDcdnConfigOfVersionRequest& request, const DescribeDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +void DcdnClient::describeDcdnDdosSpecInfoAsync(const DescribeDcdnDdosSpecInfoRequest& request, const DescribeDcdnDdosSpecInfoAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeDcdnConfigOfVersion(request), context); + handler(this, request, describeDcdnDdosSpecInfo(request), context); }; asyncExecute(new Runnable(fn)); } -DcdnClient::DescribeDcdnConfigOfVersionOutcomeCallable DcdnClient::describeDcdnConfigOfVersionCallable(const DescribeDcdnConfigOfVersionRequest &request) const +DcdnClient::DescribeDcdnDdosSpecInfoOutcomeCallable DcdnClient::describeDcdnDdosSpecInfoCallable(const DescribeDcdnDdosSpecInfoRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeDcdnConfigOfVersion(request); + return this->describeDcdnDdosSpecInfo(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1491,6 +1995,42 @@ DcdnClient::DescribeDcdnDomainBpsDataOutcomeCallable DcdnClient::describeDcdnDom return task->get_future(); } +DcdnClient::DescribeDcdnDomainBpsDataByLayerOutcome DcdnClient::describeDcdnDomainBpsDataByLayer(const DescribeDcdnDomainBpsDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainBpsDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainBpsDataByLayerOutcome(DescribeDcdnDomainBpsDataByLayerResult(outcome.result())); + else + return DescribeDcdnDomainBpsDataByLayerOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainBpsDataByLayerAsync(const DescribeDcdnDomainBpsDataByLayerRequest& request, const DescribeDcdnDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainBpsDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainBpsDataByLayerOutcomeCallable DcdnClient::describeDcdnDomainBpsDataByLayerCallable(const DescribeDcdnDomainBpsDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainBpsDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainByCertificateOutcome DcdnClient::describeDcdnDomainByCertificate(const DescribeDcdnDomainByCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1779,6 +2319,42 @@ DcdnClient::DescribeDcdnDomainHttpCodeDataOutcomeCallable DcdnClient::describeDc return task->get_future(); } +DcdnClient::DescribeDcdnDomainHttpCodeDataByLayerOutcome DcdnClient::describeDcdnDomainHttpCodeDataByLayer(const DescribeDcdnDomainHttpCodeDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainHttpCodeDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainHttpCodeDataByLayerOutcome(DescribeDcdnDomainHttpCodeDataByLayerResult(outcome.result())); + else + return DescribeDcdnDomainHttpCodeDataByLayerOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainHttpCodeDataByLayerAsync(const DescribeDcdnDomainHttpCodeDataByLayerRequest& request, const DescribeDcdnDomainHttpCodeDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainHttpCodeDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainHttpCodeDataByLayerOutcomeCallable DcdnClient::describeDcdnDomainHttpCodeDataByLayerCallable(const DescribeDcdnDomainHttpCodeDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainHttpCodeDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainIpaBpsDataOutcome DcdnClient::describeDcdnDomainIpaBpsData(const DescribeDcdnDomainIpaBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1815,6 +2391,42 @@ DcdnClient::DescribeDcdnDomainIpaBpsDataOutcomeCallable DcdnClient::describeDcdn return task->get_future(); } +DcdnClient::DescribeDcdnDomainIpaConnDataOutcome DcdnClient::describeDcdnDomainIpaConnData(const DescribeDcdnDomainIpaConnDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainIpaConnDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainIpaConnDataOutcome(DescribeDcdnDomainIpaConnDataResult(outcome.result())); + else + return DescribeDcdnDomainIpaConnDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainIpaConnDataAsync(const DescribeDcdnDomainIpaConnDataRequest& request, const DescribeDcdnDomainIpaConnDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainIpaConnData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainIpaConnDataOutcomeCallable DcdnClient::describeDcdnDomainIpaConnDataCallable(const DescribeDcdnDomainIpaConnDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainIpaConnData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainIpaTrafficDataOutcome DcdnClient::describeDcdnDomainIpaTrafficData(const DescribeDcdnDomainIpaTrafficDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1923,6 +2535,42 @@ DcdnClient::DescribeDcdnDomainLogOutcomeCallable DcdnClient::describeDcdnDomainL return task->get_future(); } +DcdnClient::DescribeDcdnDomainLogExTtlOutcome DcdnClient::describeDcdnDomainLogExTtl(const DescribeDcdnDomainLogExTtlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainLogExTtlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainLogExTtlOutcome(DescribeDcdnDomainLogExTtlResult(outcome.result())); + else + return DescribeDcdnDomainLogExTtlOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainLogExTtlAsync(const DescribeDcdnDomainLogExTtlRequest& request, const DescribeDcdnDomainLogExTtlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainLogExTtl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainLogExTtlOutcomeCallable DcdnClient::describeDcdnDomainLogExTtlCallable(const DescribeDcdnDomainLogExTtlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainLogExTtl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainMultiUsageDataOutcome DcdnClient::describeDcdnDomainMultiUsageData(const DescribeDcdnDomainMultiUsageDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2139,6 +2787,42 @@ DcdnClient::DescribeDcdnDomainQpsDataOutcomeCallable DcdnClient::describeDcdnDom return task->get_future(); } +DcdnClient::DescribeDcdnDomainQpsDataByLayerOutcome DcdnClient::describeDcdnDomainQpsDataByLayer(const DescribeDcdnDomainQpsDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainQpsDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainQpsDataByLayerOutcome(DescribeDcdnDomainQpsDataByLayerResult(outcome.result())); + else + return DescribeDcdnDomainQpsDataByLayerOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainQpsDataByLayerAsync(const DescribeDcdnDomainQpsDataByLayerRequest& request, const DescribeDcdnDomainQpsDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainQpsDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainQpsDataByLayerOutcomeCallable DcdnClient::describeDcdnDomainQpsDataByLayerCallable(const DescribeDcdnDomainQpsDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainQpsDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainRealTimeBpsDataOutcome DcdnClient::describeDcdnDomainRealTimeBpsData(const DescribeDcdnDomainRealTimeBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2859,72 +3543,144 @@ DcdnClient::DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable DcdnClient::de return task->get_future(); } -DcdnClient::DescribeDcdnEsExceptionDataOutcome DcdnClient::describeDcdnEsExceptionData(const DescribeDcdnEsExceptionDataRequest &request) const +DcdnClient::DescribeDcdnDomainsBySourceOutcome DcdnClient::describeDcdnDomainsBySource(const DescribeDcdnDomainsBySourceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeDcdnEsExceptionDataOutcome(endpointOutcome.error()); + return DescribeDcdnDomainsBySourceOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeDcdnEsExceptionDataOutcome(DescribeDcdnEsExceptionDataResult(outcome.result())); + return DescribeDcdnDomainsBySourceOutcome(DescribeDcdnDomainsBySourceResult(outcome.result())); else - return DescribeDcdnEsExceptionDataOutcome(outcome.error()); + return DescribeDcdnDomainsBySourceOutcome(outcome.error()); } -void DcdnClient::describeDcdnEsExceptionDataAsync(const DescribeDcdnEsExceptionDataRequest& request, const DescribeDcdnEsExceptionDataAsyncHandler& handler, const std::shared_ptr& context) const +void DcdnClient::describeDcdnDomainsBySourceAsync(const DescribeDcdnDomainsBySourceRequest& request, const DescribeDcdnDomainsBySourceAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeDcdnEsExceptionData(request), context); + handler(this, request, describeDcdnDomainsBySource(request), context); }; asyncExecute(new Runnable(fn)); } -DcdnClient::DescribeDcdnEsExceptionDataOutcomeCallable DcdnClient::describeDcdnEsExceptionDataCallable(const DescribeDcdnEsExceptionDataRequest &request) const +DcdnClient::DescribeDcdnDomainsBySourceOutcomeCallable DcdnClient::describeDcdnDomainsBySourceCallable(const DescribeDcdnDomainsBySourceRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeDcdnEsExceptionData(request); + return this->describeDcdnDomainsBySource(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -DcdnClient::DescribeDcdnEsExecuteDataOutcome DcdnClient::describeDcdnEsExecuteData(const DescribeDcdnEsExecuteDataRequest &request) const +DcdnClient::DescribeDcdnErUsageDataOutcome DcdnClient::describeDcdnErUsageData(const DescribeDcdnErUsageDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeDcdnEsExecuteDataOutcome(endpointOutcome.error()); + return DescribeDcdnErUsageDataOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeDcdnEsExecuteDataOutcome(DescribeDcdnEsExecuteDataResult(outcome.result())); + return DescribeDcdnErUsageDataOutcome(DescribeDcdnErUsageDataResult(outcome.result())); else - return DescribeDcdnEsExecuteDataOutcome(outcome.error()); + return DescribeDcdnErUsageDataOutcome(outcome.error()); } -void DcdnClient::describeDcdnEsExecuteDataAsync(const DescribeDcdnEsExecuteDataRequest& request, const DescribeDcdnEsExecuteDataAsyncHandler& handler, const std::shared_ptr& context) const +void DcdnClient::describeDcdnErUsageDataAsync(const DescribeDcdnErUsageDataRequest& request, const DescribeDcdnErUsageDataAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeDcdnEsExecuteData(request), context); + handler(this, request, describeDcdnErUsageData(request), context); }; asyncExecute(new Runnable(fn)); } -DcdnClient::DescribeDcdnEsExecuteDataOutcomeCallable DcdnClient::describeDcdnEsExecuteDataCallable(const DescribeDcdnEsExecuteDataRequest &request) const +DcdnClient::DescribeDcdnErUsageDataOutcomeCallable DcdnClient::describeDcdnErUsageDataCallable(const DescribeDcdnErUsageDataRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeDcdnEsExecuteData(request); + return this->describeDcdnErUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnFullDomainsBlockIPConfigOutcome DcdnClient::describeDcdnFullDomainsBlockIPConfig(const DescribeDcdnFullDomainsBlockIPConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnFullDomainsBlockIPConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnFullDomainsBlockIPConfigOutcome(DescribeDcdnFullDomainsBlockIPConfigResult(outcome.result())); + else + return DescribeDcdnFullDomainsBlockIPConfigOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnFullDomainsBlockIPConfigAsync(const DescribeDcdnFullDomainsBlockIPConfigRequest& request, const DescribeDcdnFullDomainsBlockIPConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnFullDomainsBlockIPConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnFullDomainsBlockIPConfigOutcomeCallable DcdnClient::describeDcdnFullDomainsBlockIPConfigCallable(const DescribeDcdnFullDomainsBlockIPConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnFullDomainsBlockIPConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnFullDomainsBlockIPHistoryOutcome DcdnClient::describeDcdnFullDomainsBlockIPHistory(const DescribeDcdnFullDomainsBlockIPHistoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnFullDomainsBlockIPHistoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnFullDomainsBlockIPHistoryOutcome(DescribeDcdnFullDomainsBlockIPHistoryResult(outcome.result())); + else + return DescribeDcdnFullDomainsBlockIPHistoryOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnFullDomainsBlockIPHistoryAsync(const DescribeDcdnFullDomainsBlockIPHistoryRequest& request, const DescribeDcdnFullDomainsBlockIPHistoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnFullDomainsBlockIPHistory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnFullDomainsBlockIPHistoryOutcomeCallable DcdnClient::describeDcdnFullDomainsBlockIPHistoryCallable(const DescribeDcdnFullDomainsBlockIPHistoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnFullDomainsBlockIPHistory(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -3003,6 +3759,42 @@ DcdnClient::DescribeDcdnIpInfoOutcomeCallable DcdnClient::describeDcdnIpInfoCall return task->get_future(); } +DcdnClient::DescribeDcdnIpaDomainCidrOutcome DcdnClient::describeDcdnIpaDomainCidr(const DescribeDcdnIpaDomainCidrRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnIpaDomainCidrOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnIpaDomainCidrOutcome(DescribeDcdnIpaDomainCidrResult(outcome.result())); + else + return DescribeDcdnIpaDomainCidrOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnIpaDomainCidrAsync(const DescribeDcdnIpaDomainCidrRequest& request, const DescribeDcdnIpaDomainCidrAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnIpaDomainCidr(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnIpaDomainCidrOutcomeCallable DcdnClient::describeDcdnIpaDomainCidrCallable(const DescribeDcdnIpaDomainCidrRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnIpaDomainCidr(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnIpaDomainConfigsOutcome DcdnClient::describeDcdnIpaDomainConfigs(const DescribeDcdnIpaDomainConfigsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3147,6 +3939,222 @@ DcdnClient::DescribeDcdnIpaUserDomainsOutcomeCallable DcdnClient::describeDcdnIp return task->get_future(); } +DcdnClient::DescribeDcdnKvAccountOutcome DcdnClient::describeDcdnKvAccount(const DescribeDcdnKvAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnKvAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnKvAccountOutcome(DescribeDcdnKvAccountResult(outcome.result())); + else + return DescribeDcdnKvAccountOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnKvAccountAsync(const DescribeDcdnKvAccountRequest& request, const DescribeDcdnKvAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnKvAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnKvAccountOutcomeCallable DcdnClient::describeDcdnKvAccountCallable(const DescribeDcdnKvAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnKvAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnKvAccountStatusOutcome DcdnClient::describeDcdnKvAccountStatus(const DescribeDcdnKvAccountStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnKvAccountStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnKvAccountStatusOutcome(DescribeDcdnKvAccountStatusResult(outcome.result())); + else + return DescribeDcdnKvAccountStatusOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnKvAccountStatusAsync(const DescribeDcdnKvAccountStatusRequest& request, const DescribeDcdnKvAccountStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnKvAccountStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnKvAccountStatusOutcomeCallable DcdnClient::describeDcdnKvAccountStatusCallable(const DescribeDcdnKvAccountStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnKvAccountStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnKvNamespaceOutcome DcdnClient::describeDcdnKvNamespace(const DescribeDcdnKvNamespaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnKvNamespaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnKvNamespaceOutcome(DescribeDcdnKvNamespaceResult(outcome.result())); + else + return DescribeDcdnKvNamespaceOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnKvNamespaceAsync(const DescribeDcdnKvNamespaceRequest& request, const DescribeDcdnKvNamespaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnKvNamespace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnKvNamespaceOutcomeCallable DcdnClient::describeDcdnKvNamespaceCallable(const DescribeDcdnKvNamespaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnKvNamespace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnL2IpsOutcome DcdnClient::describeDcdnL2Ips(const DescribeDcdnL2IpsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnL2IpsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnL2IpsOutcome(DescribeDcdnL2IpsResult(outcome.result())); + else + return DescribeDcdnL2IpsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnL2IpsAsync(const DescribeDcdnL2IpsRequest& request, const DescribeDcdnL2IpsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnL2Ips(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnL2IpsOutcomeCallable DcdnClient::describeDcdnL2IpsCallable(const DescribeDcdnL2IpsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnL2Ips(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnL2VipsOutcome DcdnClient::describeDcdnL2Vips(const DescribeDcdnL2VipsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnL2VipsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnL2VipsOutcome(DescribeDcdnL2VipsResult(outcome.result())); + else + return DescribeDcdnL2VipsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnL2VipsAsync(const DescribeDcdnL2VipsRequest& request, const DescribeDcdnL2VipsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnL2Vips(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnL2VipsOutcomeCallable DcdnClient::describeDcdnL2VipsCallable(const DescribeDcdnL2VipsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnL2Vips(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnOriginSiteHealthStatusOutcome DcdnClient::describeDcdnOriginSiteHealthStatus(const DescribeDcdnOriginSiteHealthStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnOriginSiteHealthStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnOriginSiteHealthStatusOutcome(DescribeDcdnOriginSiteHealthStatusResult(outcome.result())); + else + return DescribeDcdnOriginSiteHealthStatusOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnOriginSiteHealthStatusAsync(const DescribeDcdnOriginSiteHealthStatusRequest& request, const DescribeDcdnOriginSiteHealthStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnOriginSiteHealthStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnOriginSiteHealthStatusOutcomeCallable DcdnClient::describeDcdnOriginSiteHealthStatusCallable(const DescribeDcdnOriginSiteHealthStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnOriginSiteHealthStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnRealTimeDeliveryFieldOutcome DcdnClient::describeDcdnRealTimeDeliveryField(const DescribeDcdnRealTimeDeliveryFieldRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3399,6 +4407,42 @@ DcdnClient::DescribeDcdnReportListOutcomeCallable DcdnClient::describeDcdnReport return task->get_future(); } +DcdnClient::DescribeDcdnSLSRealTimeLogTypeOutcome DcdnClient::describeDcdnSLSRealTimeLogType(const DescribeDcdnSLSRealTimeLogTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnSLSRealTimeLogTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnSLSRealTimeLogTypeOutcome(DescribeDcdnSLSRealTimeLogTypeResult(outcome.result())); + else + return DescribeDcdnSLSRealTimeLogTypeOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnSLSRealTimeLogTypeAsync(const DescribeDcdnSLSRealTimeLogTypeRequest& request, const DescribeDcdnSLSRealTimeLogTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnSLSRealTimeLogType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnSLSRealTimeLogTypeOutcomeCallable DcdnClient::describeDcdnSLSRealTimeLogTypeCallable(const DescribeDcdnSLSRealTimeLogTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnSLSRealTimeLogType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnSLSRealtimeLogDeliveryOutcome DcdnClient::describeDcdnSLSRealtimeLogDelivery(const DescribeDcdnSLSRealtimeLogDeliveryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3507,6 +4551,42 @@ DcdnClient::DescribeDcdnSMCertificateListOutcomeCallable DcdnClient::describeDcd return task->get_future(); } +DcdnClient::DescribeDcdnSSLCertificateListOutcome DcdnClient::describeDcdnSSLCertificateList(const DescribeDcdnSSLCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnSSLCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnSSLCertificateListOutcome(DescribeDcdnSSLCertificateListResult(outcome.result())); + else + return DescribeDcdnSSLCertificateListOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnSSLCertificateListAsync(const DescribeDcdnSSLCertificateListRequest& request, const DescribeDcdnSSLCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnSSLCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnSSLCertificateListOutcomeCallable DcdnClient::describeDcdnSSLCertificateListCallable(const DescribeDcdnSSLCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnSSLCertificateList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnSecFuncInfoOutcome DcdnClient::describeDcdnSecFuncInfo(const DescribeDcdnSecFuncInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3831,6 +4911,78 @@ DcdnClient::DescribeDcdnUserBillTypeOutcomeCallable DcdnClient::describeDcdnUser return task->get_future(); } +DcdnClient::DescribeDcdnUserCertificateExpireCountOutcome DcdnClient::describeDcdnUserCertificateExpireCount(const DescribeDcdnUserCertificateExpireCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserCertificateExpireCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserCertificateExpireCountOutcome(DescribeDcdnUserCertificateExpireCountResult(outcome.result())); + else + return DescribeDcdnUserCertificateExpireCountOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserCertificateExpireCountAsync(const DescribeDcdnUserCertificateExpireCountRequest& request, const DescribeDcdnUserCertificateExpireCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserCertificateExpireCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserCertificateExpireCountOutcomeCallable DcdnClient::describeDcdnUserCertificateExpireCountCallable(const DescribeDcdnUserCertificateExpireCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserCertificateExpireCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnUserConfigsOutcome DcdnClient::describeDcdnUserConfigs(const DescribeDcdnUserConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserConfigsOutcome(DescribeDcdnUserConfigsResult(outcome.result())); + else + return DescribeDcdnUserConfigsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserConfigsAsync(const DescribeDcdnUserConfigsRequest& request, const DescribeDcdnUserConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserConfigsOutcomeCallable DcdnClient::describeDcdnUserConfigsCallable(const DescribeDcdnUserConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnUserDomainsOutcome DcdnClient::describeDcdnUserDomains(const DescribeDcdnUserDomainsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4119,6 +5271,42 @@ DcdnClient::DescribeDcdnUserTagsOutcomeCallable DcdnClient::describeDcdnUserTags return task->get_future(); } +DcdnClient::DescribeDcdnUserVipsByDomainOutcome DcdnClient::describeDcdnUserVipsByDomain(const DescribeDcdnUserVipsByDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserVipsByDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserVipsByDomainOutcome(DescribeDcdnUserVipsByDomainResult(outcome.result())); + else + return DescribeDcdnUserVipsByDomainOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserVipsByDomainAsync(const DescribeDcdnUserVipsByDomainRequest& request, const DescribeDcdnUserVipsByDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserVipsByDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserVipsByDomainOutcomeCallable DcdnClient::describeDcdnUserVipsByDomainCallable(const DescribeDcdnUserVipsByDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserVipsByDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnVerifyContentOutcome DcdnClient::describeDcdnVerifyContent(const DescribeDcdnVerifyContentRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,6 +5343,78 @@ DcdnClient::DescribeDcdnVerifyContentOutcomeCallable DcdnClient::describeDcdnVer return task->get_future(); } +DcdnClient::DescribeDcdnWafBotAppKeyOutcome DcdnClient::describeDcdnWafBotAppKey(const DescribeDcdnWafBotAppKeyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafBotAppKeyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafBotAppKeyOutcome(DescribeDcdnWafBotAppKeyResult(outcome.result())); + else + return DescribeDcdnWafBotAppKeyOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafBotAppKeyAsync(const DescribeDcdnWafBotAppKeyRequest& request, const DescribeDcdnWafBotAppKeyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafBotAppKey(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafBotAppKeyOutcomeCallable DcdnClient::describeDcdnWafBotAppKeyCallable(const DescribeDcdnWafBotAppKeyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafBotAppKey(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafDefaultRulesOutcome DcdnClient::describeDcdnWafDefaultRules(const DescribeDcdnWafDefaultRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafDefaultRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafDefaultRulesOutcome(DescribeDcdnWafDefaultRulesResult(outcome.result())); + else + return DescribeDcdnWafDefaultRulesOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafDefaultRulesAsync(const DescribeDcdnWafDefaultRulesRequest& request, const DescribeDcdnWafDefaultRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafDefaultRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafDefaultRulesOutcomeCallable DcdnClient::describeDcdnWafDefaultRulesCallable(const DescribeDcdnWafDefaultRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafDefaultRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnWafDomainOutcome DcdnClient::describeDcdnWafDomain(const DescribeDcdnWafDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4191,6 +5451,618 @@ DcdnClient::DescribeDcdnWafDomainOutcomeCallable DcdnClient::describeDcdnWafDoma return task->get_future(); } +DcdnClient::DescribeDcdnWafDomainDetailOutcome DcdnClient::describeDcdnWafDomainDetail(const DescribeDcdnWafDomainDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafDomainDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafDomainDetailOutcome(DescribeDcdnWafDomainDetailResult(outcome.result())); + else + return DescribeDcdnWafDomainDetailOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafDomainDetailAsync(const DescribeDcdnWafDomainDetailRequest& request, const DescribeDcdnWafDomainDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafDomainDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafDomainDetailOutcomeCallable DcdnClient::describeDcdnWafDomainDetailCallable(const DescribeDcdnWafDomainDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafDomainDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafDomainsOutcome DcdnClient::describeDcdnWafDomains(const DescribeDcdnWafDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafDomainsOutcome(DescribeDcdnWafDomainsResult(outcome.result())); + else + return DescribeDcdnWafDomainsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafDomainsAsync(const DescribeDcdnWafDomainsRequest& request, const DescribeDcdnWafDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafDomainsOutcomeCallable DcdnClient::describeDcdnWafDomainsCallable(const DescribeDcdnWafDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafFilterInfoOutcome DcdnClient::describeDcdnWafFilterInfo(const DescribeDcdnWafFilterInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafFilterInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafFilterInfoOutcome(DescribeDcdnWafFilterInfoResult(outcome.result())); + else + return DescribeDcdnWafFilterInfoOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafFilterInfoAsync(const DescribeDcdnWafFilterInfoRequest& request, const DescribeDcdnWafFilterInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafFilterInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafFilterInfoOutcomeCallable DcdnClient::describeDcdnWafFilterInfoCallable(const DescribeDcdnWafFilterInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafFilterInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafGeoInfoOutcome DcdnClient::describeDcdnWafGeoInfo(const DescribeDcdnWafGeoInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafGeoInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafGeoInfoOutcome(DescribeDcdnWafGeoInfoResult(outcome.result())); + else + return DescribeDcdnWafGeoInfoOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafGeoInfoAsync(const DescribeDcdnWafGeoInfoRequest& request, const DescribeDcdnWafGeoInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafGeoInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafGeoInfoOutcomeCallable DcdnClient::describeDcdnWafGeoInfoCallable(const DescribeDcdnWafGeoInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafGeoInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafGroupOutcome DcdnClient::describeDcdnWafGroup(const DescribeDcdnWafGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafGroupOutcome(DescribeDcdnWafGroupResult(outcome.result())); + else + return DescribeDcdnWafGroupOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafGroupAsync(const DescribeDcdnWafGroupRequest& request, const DescribeDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafGroupOutcomeCallable DcdnClient::describeDcdnWafGroupCallable(const DescribeDcdnWafGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafGroupsOutcome DcdnClient::describeDcdnWafGroups(const DescribeDcdnWafGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafGroupsOutcome(DescribeDcdnWafGroupsResult(outcome.result())); + else + return DescribeDcdnWafGroupsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafGroupsAsync(const DescribeDcdnWafGroupsRequest& request, const DescribeDcdnWafGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafGroupsOutcomeCallable DcdnClient::describeDcdnWafGroupsCallable(const DescribeDcdnWafGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafLogsOutcome DcdnClient::describeDcdnWafLogs(const DescribeDcdnWafLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafLogsOutcome(DescribeDcdnWafLogsResult(outcome.result())); + else + return DescribeDcdnWafLogsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafLogsAsync(const DescribeDcdnWafLogsRequest& request, const DescribeDcdnWafLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafLogsOutcomeCallable DcdnClient::describeDcdnWafLogsCallable(const DescribeDcdnWafLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafPoliciesOutcome DcdnClient::describeDcdnWafPolicies(const DescribeDcdnWafPoliciesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafPoliciesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafPoliciesOutcome(DescribeDcdnWafPoliciesResult(outcome.result())); + else + return DescribeDcdnWafPoliciesOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafPoliciesAsync(const DescribeDcdnWafPoliciesRequest& request, const DescribeDcdnWafPoliciesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafPolicies(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafPoliciesOutcomeCallable DcdnClient::describeDcdnWafPoliciesCallable(const DescribeDcdnWafPoliciesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafPolicies(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafPolicyOutcome DcdnClient::describeDcdnWafPolicy(const DescribeDcdnWafPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafPolicyOutcome(DescribeDcdnWafPolicyResult(outcome.result())); + else + return DescribeDcdnWafPolicyOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafPolicyAsync(const DescribeDcdnWafPolicyRequest& request, const DescribeDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafPolicyOutcomeCallable DcdnClient::describeDcdnWafPolicyCallable(const DescribeDcdnWafPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafPolicyDomainsOutcome DcdnClient::describeDcdnWafPolicyDomains(const DescribeDcdnWafPolicyDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafPolicyDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafPolicyDomainsOutcome(DescribeDcdnWafPolicyDomainsResult(outcome.result())); + else + return DescribeDcdnWafPolicyDomainsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafPolicyDomainsAsync(const DescribeDcdnWafPolicyDomainsRequest& request, const DescribeDcdnWafPolicyDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafPolicyDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafPolicyDomainsOutcomeCallable DcdnClient::describeDcdnWafPolicyDomainsCallable(const DescribeDcdnWafPolicyDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafPolicyDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafPolicyValidDomainsOutcome DcdnClient::describeDcdnWafPolicyValidDomains(const DescribeDcdnWafPolicyValidDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafPolicyValidDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafPolicyValidDomainsOutcome(DescribeDcdnWafPolicyValidDomainsResult(outcome.result())); + else + return DescribeDcdnWafPolicyValidDomainsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafPolicyValidDomainsAsync(const DescribeDcdnWafPolicyValidDomainsRequest& request, const DescribeDcdnWafPolicyValidDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafPolicyValidDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafPolicyValidDomainsOutcomeCallable DcdnClient::describeDcdnWafPolicyValidDomainsCallable(const DescribeDcdnWafPolicyValidDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafPolicyValidDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafRuleOutcome DcdnClient::describeDcdnWafRule(const DescribeDcdnWafRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafRuleOutcome(DescribeDcdnWafRuleResult(outcome.result())); + else + return DescribeDcdnWafRuleOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafRuleAsync(const DescribeDcdnWafRuleRequest& request, const DescribeDcdnWafRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafRuleOutcomeCallable DcdnClient::describeDcdnWafRuleCallable(const DescribeDcdnWafRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafRulesOutcome DcdnClient::describeDcdnWafRules(const DescribeDcdnWafRulesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafRulesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafRulesOutcome(DescribeDcdnWafRulesResult(outcome.result())); + else + return DescribeDcdnWafRulesOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafRulesAsync(const DescribeDcdnWafRulesRequest& request, const DescribeDcdnWafRulesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafRules(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafRulesOutcomeCallable DcdnClient::describeDcdnWafRulesCallable(const DescribeDcdnWafRulesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafRules(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafScenesOutcome DcdnClient::describeDcdnWafScenes(const DescribeDcdnWafScenesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafScenesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafScenesOutcome(DescribeDcdnWafScenesResult(outcome.result())); + else + return DescribeDcdnWafScenesOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafScenesAsync(const DescribeDcdnWafScenesRequest& request, const DescribeDcdnWafScenesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafScenes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafScenesOutcomeCallable DcdnClient::describeDcdnWafScenesCallable(const DescribeDcdnWafScenesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafScenes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafServiceOutcome DcdnClient::describeDcdnWafService(const DescribeDcdnWafServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafServiceOutcome(DescribeDcdnWafServiceResult(outcome.result())); + else + return DescribeDcdnWafServiceOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafServiceAsync(const DescribeDcdnWafServiceRequest& request, const DescribeDcdnWafServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafServiceOutcomeCallable DcdnClient::describeDcdnWafServiceCallable(const DescribeDcdnWafServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafSpecInfoOutcome DcdnClient::describeDcdnWafSpecInfo(const DescribeDcdnWafSpecInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafSpecInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafSpecInfoOutcome(DescribeDcdnWafSpecInfoResult(outcome.result())); + else + return DescribeDcdnWafSpecInfoOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafSpecInfoAsync(const DescribeDcdnWafSpecInfoRequest& request, const DescribeDcdnWafSpecInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafSpecInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafSpecInfoOutcomeCallable DcdnClient::describeDcdnWafSpecInfoCallable(const DescribeDcdnWafSpecInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafSpecInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeDcdnWafUsageDataOutcome DcdnClient::describeDcdnWafUsageData(const DescribeDcdnWafUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnWafUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnWafUsageDataOutcome(DescribeDcdnWafUsageDataResult(outcome.result())); + else + return DescribeDcdnWafUsageDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnWafUsageDataAsync(const DescribeDcdnWafUsageDataRequest& request, const DescribeDcdnWafUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnWafUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnWafUsageDataOutcomeCallable DcdnClient::describeDcdnWafUsageDataCallable(const DescribeDcdnWafUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnWafUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnsecServiceOutcome DcdnClient::describeDcdnsecService(const DescribeDcdnsecServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4227,6 +6099,222 @@ DcdnClient::DescribeDcdnsecServiceOutcomeCallable DcdnClient::describeDcdnsecSer return task->get_future(); } +DcdnClient::DescribeDdosAllEventListOutcome DcdnClient::describeDdosAllEventList(const DescribeDdosAllEventListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDdosAllEventListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDdosAllEventListOutcome(DescribeDdosAllEventListResult(outcome.result())); + else + return DescribeDdosAllEventListOutcome(outcome.error()); +} + +void DcdnClient::describeDdosAllEventListAsync(const DescribeDdosAllEventListRequest& request, const DescribeDdosAllEventListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDdosAllEventList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDdosAllEventListOutcomeCallable DcdnClient::describeDdosAllEventListCallable(const DescribeDdosAllEventListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDdosAllEventList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeEncryptRoutineUidOutcome DcdnClient::describeEncryptRoutineUid(const DescribeEncryptRoutineUidRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeEncryptRoutineUidOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeEncryptRoutineUidOutcome(DescribeEncryptRoutineUidResult(outcome.result())); + else + return DescribeEncryptRoutineUidOutcome(outcome.error()); +} + +void DcdnClient::describeEncryptRoutineUidAsync(const DescribeEncryptRoutineUidRequest& request, const DescribeEncryptRoutineUidAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeEncryptRoutineUid(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeEncryptRoutineUidOutcomeCallable DcdnClient::describeEncryptRoutineUidCallable(const DescribeEncryptRoutineUidRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeEncryptRoutineUid(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeHighlightInfoOutcome DcdnClient::describeHighlightInfo(const DescribeHighlightInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeHighlightInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeHighlightInfoOutcome(DescribeHighlightInfoResult(outcome.result())); + else + return DescribeHighlightInfoOutcome(outcome.error()); +} + +void DcdnClient::describeHighlightInfoAsync(const DescribeHighlightInfoRequest& request, const DescribeHighlightInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeHighlightInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeHighlightInfoOutcomeCallable DcdnClient::describeHighlightInfoCallable(const DescribeHighlightInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeHighlightInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeKvUsageDataOutcome DcdnClient::describeKvUsageData(const DescribeKvUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeKvUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeKvUsageDataOutcome(DescribeKvUsageDataResult(outcome.result())); + else + return DescribeKvUsageDataOutcome(outcome.error()); +} + +void DcdnClient::describeKvUsageDataAsync(const DescribeKvUsageDataRequest& request, const DescribeKvUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeKvUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeKvUsageDataOutcomeCallable DcdnClient::describeKvUsageDataCallable(const DescribeKvUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeKvUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRDDomainConfigOutcome DcdnClient::describeRDDomainConfig(const DescribeRDDomainConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRDDomainConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRDDomainConfigOutcome(DescribeRDDomainConfigResult(outcome.result())); + else + return DescribeRDDomainConfigOutcome(outcome.error()); +} + +void DcdnClient::describeRDDomainConfigAsync(const DescribeRDDomainConfigRequest& request, const DescribeRDDomainConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRDDomainConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRDDomainConfigOutcomeCallable DcdnClient::describeRDDomainConfigCallable(const DescribeRDDomainConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRDDomainConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRDDomainsOutcome DcdnClient::describeRDDomains(const DescribeRDDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRDDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRDDomainsOutcome(DescribeRDDomainsResult(outcome.result())); + else + return DescribeRDDomainsOutcome(outcome.error()); +} + +void DcdnClient::describeRDDomainsAsync(const DescribeRDDomainsRequest& request, const DescribeRDDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRDDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRDDomainsOutcomeCallable DcdnClient::describeRDDomainsCallable(const DescribeRDDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRDDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeRoutineOutcome DcdnClient::describeRoutine(const DescribeRoutineRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4335,6 +6423,42 @@ DcdnClient::DescribeRoutineCodeRevisionOutcomeCallable DcdnClient::describeRouti return task->get_future(); } +DcdnClient::DescribeRoutineRelatedDomainsOutcome DcdnClient::describeRoutineRelatedDomains(const DescribeRoutineRelatedDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoutineRelatedDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoutineRelatedDomainsOutcome(DescribeRoutineRelatedDomainsResult(outcome.result())); + else + return DescribeRoutineRelatedDomainsOutcome(outcome.error()); +} + +void DcdnClient::describeRoutineRelatedDomainsAsync(const DescribeRoutineRelatedDomainsRequest& request, const DescribeRoutineRelatedDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoutineRelatedDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRoutineRelatedDomainsOutcomeCallable DcdnClient::describeRoutineRelatedDomainsCallable(const DescribeRoutineRelatedDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoutineRelatedDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeRoutineSpecOutcome DcdnClient::describeRoutineSpec(const DescribeRoutineSpecRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4587,36 +6711,108 @@ DcdnClient::EditRoutineConfOutcomeCallable DcdnClient::editRoutineConfCallable(c return task->get_future(); } -DcdnClient::ListDcdnEsTemplateInfoOutcome DcdnClient::listDcdnEsTemplateInfo(const ListDcdnEsTemplateInfoRequest &request) const +DcdnClient::GetDcdnKvOutcome DcdnClient::getDcdnKv(const GetDcdnKvRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListDcdnEsTemplateInfoOutcome(endpointOutcome.error()); + return GetDcdnKvOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListDcdnEsTemplateInfoOutcome(ListDcdnEsTemplateInfoResult(outcome.result())); + return GetDcdnKvOutcome(GetDcdnKvResult(outcome.result())); else - return ListDcdnEsTemplateInfoOutcome(outcome.error()); + return GetDcdnKvOutcome(outcome.error()); } -void DcdnClient::listDcdnEsTemplateInfoAsync(const ListDcdnEsTemplateInfoRequest& request, const ListDcdnEsTemplateInfoAsyncHandler& handler, const std::shared_ptr& context) const +void DcdnClient::getDcdnKvAsync(const GetDcdnKvRequest& request, const GetDcdnKvAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listDcdnEsTemplateInfo(request), context); + handler(this, request, getDcdnKv(request), context); }; asyncExecute(new Runnable(fn)); } -DcdnClient::ListDcdnEsTemplateInfoOutcomeCallable DcdnClient::listDcdnEsTemplateInfoCallable(const ListDcdnEsTemplateInfoRequest &request) const +DcdnClient::GetDcdnKvOutcomeCallable DcdnClient::getDcdnKvCallable(const GetDcdnKvRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listDcdnEsTemplateInfo(request); + return this->getDcdnKv(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::GetDcdnKvStatusOutcome DcdnClient::getDcdnKvStatus(const GetDcdnKvStatusRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDcdnKvStatusOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDcdnKvStatusOutcome(GetDcdnKvStatusResult(outcome.result())); + else + return GetDcdnKvStatusOutcome(outcome.error()); +} + +void DcdnClient::getDcdnKvStatusAsync(const GetDcdnKvStatusRequest& request, const GetDcdnKvStatusAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDcdnKvStatus(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::GetDcdnKvStatusOutcomeCallable DcdnClient::getDcdnKvStatusCallable(const GetDcdnKvStatusRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDcdnKvStatus(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::ListDcdnKvOutcome DcdnClient::listDcdnKv(const ListDcdnKvRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDcdnKvOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDcdnKvOutcome(ListDcdnKvResult(outcome.result())); + else + return ListDcdnKvOutcome(outcome.error()); +} + +void DcdnClient::listDcdnKvAsync(const ListDcdnKvRequest& request, const ListDcdnKvAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDcdnKv(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::ListDcdnKvOutcomeCallable DcdnClient::listDcdnKvCallable(const ListDcdnKvRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDcdnKv(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -4695,6 +6891,150 @@ DcdnClient::ModifyDCdnDomainSchdmByPropertyOutcomeCallable DcdnClient::modifyDCd return task->get_future(); } +DcdnClient::ModifyDcdnWafGroupOutcome DcdnClient::modifyDcdnWafGroup(const ModifyDcdnWafGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDcdnWafGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDcdnWafGroupOutcome(ModifyDcdnWafGroupResult(outcome.result())); + else + return ModifyDcdnWafGroupOutcome(outcome.error()); +} + +void DcdnClient::modifyDcdnWafGroupAsync(const ModifyDcdnWafGroupRequest& request, const ModifyDcdnWafGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDcdnWafGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::ModifyDcdnWafGroupOutcomeCallable DcdnClient::modifyDcdnWafGroupCallable(const ModifyDcdnWafGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDcdnWafGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::ModifyDcdnWafPolicyOutcome DcdnClient::modifyDcdnWafPolicy(const ModifyDcdnWafPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDcdnWafPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDcdnWafPolicyOutcome(ModifyDcdnWafPolicyResult(outcome.result())); + else + return ModifyDcdnWafPolicyOutcome(outcome.error()); +} + +void DcdnClient::modifyDcdnWafPolicyAsync(const ModifyDcdnWafPolicyRequest& request, const ModifyDcdnWafPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDcdnWafPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::ModifyDcdnWafPolicyOutcomeCallable DcdnClient::modifyDcdnWafPolicyCallable(const ModifyDcdnWafPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDcdnWafPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::ModifyDcdnWafPolicyDomainsOutcome DcdnClient::modifyDcdnWafPolicyDomains(const ModifyDcdnWafPolicyDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDcdnWafPolicyDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDcdnWafPolicyDomainsOutcome(ModifyDcdnWafPolicyDomainsResult(outcome.result())); + else + return ModifyDcdnWafPolicyDomainsOutcome(outcome.error()); +} + +void DcdnClient::modifyDcdnWafPolicyDomainsAsync(const ModifyDcdnWafPolicyDomainsRequest& request, const ModifyDcdnWafPolicyDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDcdnWafPolicyDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::ModifyDcdnWafPolicyDomainsOutcomeCallable DcdnClient::modifyDcdnWafPolicyDomainsCallable(const ModifyDcdnWafPolicyDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDcdnWafPolicyDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::ModifyDcdnWafRuleOutcome DcdnClient::modifyDcdnWafRule(const ModifyDcdnWafRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDcdnWafRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDcdnWafRuleOutcome(ModifyDcdnWafRuleResult(outcome.result())); + else + return ModifyDcdnWafRuleOutcome(outcome.error()); +} + +void DcdnClient::modifyDcdnWafRuleAsync(const ModifyDcdnWafRuleRequest& request, const ModifyDcdnWafRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDcdnWafRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::ModifyDcdnWafRuleOutcomeCallable DcdnClient::modifyDcdnWafRuleCallable(const ModifyDcdnWafRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDcdnWafRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::OpenDcdnServiceOutcome DcdnClient::openDcdnService(const OpenDcdnServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4839,6 +7179,150 @@ DcdnClient::PublishRoutineCodeRevisionOutcomeCallable DcdnClient::publishRoutine return task->get_future(); } +DcdnClient::PutDcdnKvOutcome DcdnClient::putDcdnKv(const PutDcdnKvRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PutDcdnKvOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PutDcdnKvOutcome(PutDcdnKvResult(outcome.result())); + else + return PutDcdnKvOutcome(outcome.error()); +} + +void DcdnClient::putDcdnKvAsync(const PutDcdnKvRequest& request, const PutDcdnKvAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, putDcdnKv(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::PutDcdnKvOutcomeCallable DcdnClient::putDcdnKvCallable(const PutDcdnKvRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->putDcdnKv(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::PutDcdnKvNamespaceOutcome DcdnClient::putDcdnKvNamespace(const PutDcdnKvNamespaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PutDcdnKvNamespaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PutDcdnKvNamespaceOutcome(PutDcdnKvNamespaceResult(outcome.result())); + else + return PutDcdnKvNamespaceOutcome(outcome.error()); +} + +void DcdnClient::putDcdnKvNamespaceAsync(const PutDcdnKvNamespaceRequest& request, const PutDcdnKvNamespaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, putDcdnKvNamespace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::PutDcdnKvNamespaceOutcomeCallable DcdnClient::putDcdnKvNamespaceCallable(const PutDcdnKvNamespaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->putDcdnKvNamespace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::PutDcdnKvWithHighCapacityOutcome DcdnClient::putDcdnKvWithHighCapacity(const PutDcdnKvWithHighCapacityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PutDcdnKvWithHighCapacityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PutDcdnKvWithHighCapacityOutcome(PutDcdnKvWithHighCapacityResult(outcome.result())); + else + return PutDcdnKvWithHighCapacityOutcome(outcome.error()); +} + +void DcdnClient::putDcdnKvWithHighCapacityAsync(const PutDcdnKvWithHighCapacityRequest& request, const PutDcdnKvWithHighCapacityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, putDcdnKvWithHighCapacity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::PutDcdnKvWithHighCapacityOutcomeCallable DcdnClient::putDcdnKvWithHighCapacityCallable(const PutDcdnKvWithHighCapacityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->putDcdnKvWithHighCapacity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::RefreshDcdnObjectCacheByCacheTagOutcome DcdnClient::refreshDcdnObjectCacheByCacheTag(const RefreshDcdnObjectCacheByCacheTagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefreshDcdnObjectCacheByCacheTagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefreshDcdnObjectCacheByCacheTagOutcome(RefreshDcdnObjectCacheByCacheTagResult(outcome.result())); + else + return RefreshDcdnObjectCacheByCacheTagOutcome(outcome.error()); +} + +void DcdnClient::refreshDcdnObjectCacheByCacheTagAsync(const RefreshDcdnObjectCacheByCacheTagRequest& request, const RefreshDcdnObjectCacheByCacheTagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refreshDcdnObjectCacheByCacheTag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::RefreshDcdnObjectCacheByCacheTagOutcomeCallable DcdnClient::refreshDcdnObjectCacheByCacheTagCallable(const RefreshDcdnObjectCacheByCacheTagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refreshDcdnObjectCacheByCacheTag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::RefreshDcdnObjectCachesOutcome DcdnClient::refreshDcdnObjectCaches(const RefreshDcdnObjectCachesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4875,6 +7359,42 @@ DcdnClient::RefreshDcdnObjectCachesOutcomeCallable DcdnClient::refreshDcdnObject return task->get_future(); } +DcdnClient::RefreshErObjectCachesOutcome DcdnClient::refreshErObjectCaches(const RefreshErObjectCachesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RefreshErObjectCachesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RefreshErObjectCachesOutcome(RefreshErObjectCachesResult(outcome.result())); + else + return RefreshErObjectCachesOutcome(outcome.error()); +} + +void DcdnClient::refreshErObjectCachesAsync(const RefreshErObjectCachesRequest& request, const RefreshErObjectCachesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, refreshErObjectCaches(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::RefreshErObjectCachesOutcomeCallable DcdnClient::refreshErObjectCachesCallable(const RefreshErObjectCachesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->refreshErObjectCaches(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::RollbackDcdnStagingConfigOutcome DcdnClient::rollbackDcdnStagingConfig(const RollbackDcdnStagingConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4911,42 +7431,6 @@ DcdnClient::RollbackDcdnStagingConfigOutcomeCallable DcdnClient::rollbackDcdnSta return task->get_future(); } -DcdnClient::SetDcdnConfigOfVersionOutcome DcdnClient::setDcdnConfigOfVersion(const SetDcdnConfigOfVersionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetDcdnConfigOfVersionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetDcdnConfigOfVersionOutcome(SetDcdnConfigOfVersionResult(outcome.result())); - else - return SetDcdnConfigOfVersionOutcome(outcome.error()); -} - -void DcdnClient::setDcdnConfigOfVersionAsync(const SetDcdnConfigOfVersionRequest& request, const SetDcdnConfigOfVersionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setDcdnConfigOfVersion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -DcdnClient::SetDcdnConfigOfVersionOutcomeCallable DcdnClient::setDcdnConfigOfVersionCallable(const SetDcdnConfigOfVersionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setDcdnConfigOfVersion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - DcdnClient::SetDcdnDomainCSRCertificateOutcome DcdnClient::setDcdnDomainCSRCertificate(const SetDcdnDomainCSRCertificateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5055,6 +7539,42 @@ DcdnClient::SetDcdnDomainSMCertificateOutcomeCallable DcdnClient::setDcdnDomainS return task->get_future(); } +DcdnClient::SetDcdnDomainSSLCertificateOutcome DcdnClient::setDcdnDomainSSLCertificate(const SetDcdnDomainSSLCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDcdnDomainSSLCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDcdnDomainSSLCertificateOutcome(SetDcdnDomainSSLCertificateResult(outcome.result())); + else + return SetDcdnDomainSSLCertificateOutcome(outcome.error()); +} + +void DcdnClient::setDcdnDomainSSLCertificateAsync(const SetDcdnDomainSSLCertificateRequest& request, const SetDcdnDomainSSLCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDcdnDomainSSLCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetDcdnDomainSSLCertificateOutcomeCallable DcdnClient::setDcdnDomainSSLCertificateCallable(const SetDcdnDomainSSLCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDcdnDomainSSLCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::SetDcdnDomainStagingConfigOutcome DcdnClient::setDcdnDomainStagingConfig(const SetDcdnDomainStagingConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dcdn/src/model/AddDcdnDomainRequest.cc b/dcdn/src/model/AddDcdnDomainRequest.cc index 2de834154..4c33a92d3 100644 --- a/dcdn/src/model/AddDcdnDomainRequest.cc +++ b/dcdn/src/model/AddDcdnDomainRequest.cc @@ -1,128 +1,140 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::AddDcdnDomainRequest; - -AddDcdnDomainRequest::AddDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "AddDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -AddDcdnDomainRequest::~AddDcdnDomainRequest() -{} - -std::string AddDcdnDomainRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::AddDcdnDomainRequest; + +AddDcdnDomainRequest::AddDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "AddDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void AddDcdnDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +AddDcdnDomainRequest::~AddDcdnDomainRequest() {} + +std::string AddDcdnDomainRequest::getSources() const { + return sources_; } -std::string AddDcdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void AddDcdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void AddDcdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string AddDcdnDomainRequest::getScene() const { + return scene_; } -std::string AddDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void AddDcdnDomainRequest::setScene(const std::string &scene) { + scene_ = scene; + setParameter(std::string("Scene"), scene); } -void AddDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string AddDcdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string AddDcdnDomainRequest::getScope()const -{ - return scope_; +void AddDcdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void AddDcdnDomainRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +std::string AddDcdnDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string AddDcdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void AddDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddDcdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string AddDcdnDomainRequest::getScope() const { + return scope_; } -std::string AddDcdnDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; +void AddDcdnDomainRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -void AddDcdnDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::vector AddDcdnDomainRequest::getTag() const { + return tag_; } -std::string AddDcdnDomainRequest::getDomainName()const -{ - return domainName_; +void AddDcdnDomainRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } } -void AddDcdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddDcdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -long AddDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void AddDcdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void AddDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string AddDcdnDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string AddDcdnDomainRequest::getCheckUrl()const -{ - return checkUrl_; +void AddDcdnDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void AddDcdnDomainRequest::setCheckUrl(const std::string& checkUrl) -{ - checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); +std::string AddDcdnDomainRequest::getDomainName() const { + return domainName_; +} + +void AddDcdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string AddDcdnDomainRequest::getFunctionType() const { + return functionType_; +} + +void AddDcdnDomainRequest::setFunctionType(const std::string &functionType) { + functionType_ = functionType; + setParameter(std::string("FunctionType"), functionType); +} + +long AddDcdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void AddDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string AddDcdnDomainRequest::getCheckUrl() const { + return checkUrl_; +} + +void AddDcdnDomainRequest::setCheckUrl(const std::string &checkUrl) { + checkUrl_ = checkUrl; + setParameter(std::string("CheckUrl"), checkUrl); } diff --git a/dcdn/src/model/AddDcdnIpaDomainRequest.cc b/dcdn/src/model/AddDcdnIpaDomainRequest.cc index 5956b6af5..ee87351f3 100644 --- a/dcdn/src/model/AddDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/AddDcdnIpaDomainRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::AddDcdnIpaDomainRequest; - -AddDcdnIpaDomainRequest::AddDcdnIpaDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "AddDcdnIpaDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -AddDcdnIpaDomainRequest::~AddDcdnIpaDomainRequest() -{} - -std::string AddDcdnIpaDomainRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::AddDcdnIpaDomainRequest; + +AddDcdnIpaDomainRequest::AddDcdnIpaDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "AddDcdnIpaDomain") { + setMethod(HttpRequest::Method::Post); } -void AddDcdnIpaDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +AddDcdnIpaDomainRequest::~AddDcdnIpaDomainRequest() {} + +std::string AddDcdnIpaDomainRequest::getSources() const { + return sources_; } -std::string AddDcdnIpaDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void AddDcdnIpaDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void AddDcdnIpaDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string AddDcdnIpaDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string AddDcdnIpaDomainRequest::getProtocol()const -{ - return protocol_; +void AddDcdnIpaDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void AddDcdnIpaDomainRequest::setProtocol(const std::string& protocol) -{ - protocol_ = protocol; - setParameter("Protocol", protocol); +std::string AddDcdnIpaDomainRequest::getProtocol() const { + return protocol_; } -std::string AddDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; +void AddDcdnIpaDomainRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); } -void AddDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string AddDcdnIpaDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string AddDcdnIpaDomainRequest::getScope()const -{ - return scope_; +void AddDcdnIpaDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddDcdnIpaDomainRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +std::string AddDcdnIpaDomainRequest::getScope() const { + return scope_; } -std::string AddDcdnIpaDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void AddDcdnIpaDomainRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -void AddDcdnIpaDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string AddDcdnIpaDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string AddDcdnIpaDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; +void AddDcdnIpaDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void AddDcdnIpaDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string AddDcdnIpaDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string AddDcdnIpaDomainRequest::getDomainName()const -{ - return domainName_; +void AddDcdnIpaDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void AddDcdnIpaDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddDcdnIpaDomainRequest::getDomainName() const { + return domainName_; } -long AddDcdnIpaDomainRequest::getOwnerId()const -{ - return ownerId_; +void AddDcdnIpaDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddDcdnIpaDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddDcdnIpaDomainRequest::getOwnerId() const { + return ownerId_; } -std::string AddDcdnIpaDomainRequest::getCheckUrl()const -{ - return checkUrl_; +void AddDcdnIpaDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddDcdnIpaDomainRequest::setCheckUrl(const std::string& checkUrl) -{ - checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); +std::string AddDcdnIpaDomainRequest::getCheckUrl() const { + return checkUrl_; +} + +void AddDcdnIpaDomainRequest::setCheckUrl(const std::string &checkUrl) { + checkUrl_ = checkUrl; + setParameter(std::string("CheckUrl"), checkUrl); } diff --git a/dcdn/src/model/BatchAddDcdnDomainRequest.cc b/dcdn/src/model/BatchAddDcdnDomainRequest.cc index dd18d4b42..7f1af02e5 100644 --- a/dcdn/src/model/BatchAddDcdnDomainRequest.cc +++ b/dcdn/src/model/BatchAddDcdnDomainRequest.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::Dcdn::Model::BatchAddDcdnDomainRequest; - -BatchAddDcdnDomainRequest::BatchAddDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchAddDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchAddDcdnDomainRequest::~BatchAddDcdnDomainRequest() -{} - -std::string BatchAddDcdnDomainRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchAddDcdnDomainRequest; + +BatchAddDcdnDomainRequest::BatchAddDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchAddDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void BatchAddDcdnDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +BatchAddDcdnDomainRequest::~BatchAddDcdnDomainRequest() {} + +std::string BatchAddDcdnDomainRequest::getSources() const { + return sources_; } -std::string BatchAddDcdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void BatchAddDcdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void BatchAddDcdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string BatchAddDcdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string BatchAddDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void BatchAddDcdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void BatchAddDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchAddDcdnDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string BatchAddDcdnDomainRequest::getScope()const -{ - return scope_; +void BatchAddDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void BatchAddDcdnDomainRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +std::string BatchAddDcdnDomainRequest::getScope() const { + return scope_; } -std::string BatchAddDcdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void BatchAddDcdnDomainRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -void BatchAddDcdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string BatchAddDcdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string BatchAddDcdnDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; +void BatchAddDcdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void BatchAddDcdnDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string BatchAddDcdnDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string BatchAddDcdnDomainRequest::getDomainName()const -{ - return domainName_; +void BatchAddDcdnDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void BatchAddDcdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string BatchAddDcdnDomainRequest::getDomainName() const { + return domainName_; } -long BatchAddDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void BatchAddDcdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void BatchAddDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchAddDcdnDomainRequest::getOwnerId() const { + return ownerId_; } -std::string BatchAddDcdnDomainRequest::getCheckUrl()const -{ - return checkUrl_; +void BatchAddDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BatchAddDcdnDomainRequest::setCheckUrl(const std::string& checkUrl) -{ - checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); +std::string BatchAddDcdnDomainRequest::getCheckUrl() const { + return checkUrl_; +} + +void BatchAddDcdnDomainRequest::setCheckUrl(const std::string &checkUrl) { + checkUrl_ = checkUrl; + setParameter(std::string("CheckUrl"), checkUrl); } diff --git a/dcdn/src/model/BatchCreateDcdnWafRulesRequest.cc b/dcdn/src/model/BatchCreateDcdnWafRulesRequest.cc new file mode 100644 index 000000000..05f6e2bdf --- /dev/null +++ b/dcdn/src/model/BatchCreateDcdnWafRulesRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchCreateDcdnWafRulesRequest; + +BatchCreateDcdnWafRulesRequest::BatchCreateDcdnWafRulesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchCreateDcdnWafRules") { + setMethod(HttpRequest::Method::Post); +} + +BatchCreateDcdnWafRulesRequest::~BatchCreateDcdnWafRulesRequest() {} + +long BatchCreateDcdnWafRulesRequest::getPolicyId() const { + return policyId_; +} + +void BatchCreateDcdnWafRulesRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setBodyParameter(std::string("PolicyId"), std::to_string(policyId)); +} + +std::string BatchCreateDcdnWafRulesRequest::getRuleConfigs() const { + return ruleConfigs_; +} + +void BatchCreateDcdnWafRulesRequest::setRuleConfigs(const std::string &ruleConfigs) { + ruleConfigs_ = ruleConfigs; + setBodyParameter(std::string("RuleConfigs"), ruleConfigs); +} + diff --git a/dcdn/src/model/DcdnHttpRequestTestToolResult.cc b/dcdn/src/model/BatchCreateDcdnWafRulesResult.cc similarity index 55% rename from dcdn/src/model/DcdnHttpRequestTestToolResult.cc rename to dcdn/src/model/BatchCreateDcdnWafRulesResult.cc index 9a51cfcc3..289936f7a 100644 --- a/dcdn/src/model/DcdnHttpRequestTestToolResult.cc +++ b/dcdn/src/model/BatchCreateDcdnWafRulesResult.cc @@ -14,52 +14,39 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dcdn; using namespace AlibabaCloud::Dcdn::Model; -DcdnHttpRequestTestToolResult::DcdnHttpRequestTestToolResult() : +BatchCreateDcdnWafRulesResult::BatchCreateDcdnWafRulesResult() : ServiceResult() {} -DcdnHttpRequestTestToolResult::DcdnHttpRequestTestToolResult(const std::string &payload) : +BatchCreateDcdnWafRulesResult::BatchCreateDcdnWafRulesResult(const std::string &payload) : ServiceResult() { parse(payload); } -DcdnHttpRequestTestToolResult::~DcdnHttpRequestTestToolResult() +BatchCreateDcdnWafRulesResult::~BatchCreateDcdnWafRulesResult() {} -void DcdnHttpRequestTestToolResult::parse(const std::string &payload) +void BatchCreateDcdnWafRulesResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Header"].isNull()) - header_ = value["Header"].asString(); - if(!value["Body"].isNull()) - body_ = value["Body"].asString(); - if(!value["StatusCode"].isNull()) - statusCode_ = std::stoi(value["StatusCode"].asString()); + auto allRuleIds = value["RuleIds"]["RuleId"]; + for (const auto &item : allRuleIds) + ruleIds_.push_back(item.asString()); } -std::string DcdnHttpRequestTestToolResult::getHeader()const +std::vector BatchCreateDcdnWafRulesResult::getRuleIds()const { - return header_; -} - -std::string DcdnHttpRequestTestToolResult::getBody()const -{ - return body_; -} - -int DcdnHttpRequestTestToolResult::getStatusCode()const -{ - return statusCode_; + return ruleIds_; } diff --git a/dcdn/src/model/BatchDeleteDcdnDomainConfigsRequest.cc b/dcdn/src/model/BatchDeleteDcdnDomainConfigsRequest.cc index f2a38c3a3..0c2bec62a 100644 --- a/dcdn/src/model/BatchDeleteDcdnDomainConfigsRequest.cc +++ b/dcdn/src/model/BatchDeleteDcdnDomainConfigsRequest.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::Dcdn::Model::BatchDeleteDcdnDomainConfigsRequest; - -BatchDeleteDcdnDomainConfigsRequest::BatchDeleteDcdnDomainConfigsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchDeleteDcdnDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchDeleteDcdnDomainConfigsRequest::~BatchDeleteDcdnDomainConfigsRequest() -{} - -std::string BatchDeleteDcdnDomainConfigsRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchDeleteDcdnDomainConfigsRequest; + +BatchDeleteDcdnDomainConfigsRequest::BatchDeleteDcdnDomainConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchDeleteDcdnDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void BatchDeleteDcdnDomainConfigsRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +BatchDeleteDcdnDomainConfigsRequest::~BatchDeleteDcdnDomainConfigsRequest() {} + +std::string BatchDeleteDcdnDomainConfigsRequest::getFunctionNames() const { + return functionNames_; } -std::string BatchDeleteDcdnDomainConfigsRequest::getDomainNames()const -{ - return domainNames_; +void BatchDeleteDcdnDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void BatchDeleteDcdnDomainConfigsRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +std::string BatchDeleteDcdnDomainConfigsRequest::getDomainNames() const { + return domainNames_; } -std::string BatchDeleteDcdnDomainConfigsRequest::getOwnerAccount()const -{ - return ownerAccount_; +void BatchDeleteDcdnDomainConfigsRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchDeleteDcdnDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string BatchDeleteDcdnDomainConfigsRequest::getSecurityToken() const { + return securityToken_; } -long BatchDeleteDcdnDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void BatchDeleteDcdnDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void BatchDeleteDcdnDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string BatchDeleteDcdnDomainConfigsRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string BatchDeleteDcdnDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void BatchDeleteDcdnDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void BatchDeleteDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long BatchDeleteDcdnDomainConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void BatchDeleteDcdnDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/BatchDeleteDcdnKvRequest.cc b/dcdn/src/model/BatchDeleteDcdnKvRequest.cc new file mode 100644 index 000000000..b0f66f7aa --- /dev/null +++ b/dcdn/src/model/BatchDeleteDcdnKvRequest.cc @@ -0,0 +1,47 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchDeleteDcdnKvRequest; + +BatchDeleteDcdnKvRequest::BatchDeleteDcdnKvRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchDeleteDcdnKv") { + setMethod(HttpRequest::Method::Post); +} + +BatchDeleteDcdnKvRequest::~BatchDeleteDcdnKvRequest() {} + +std::vector BatchDeleteDcdnKvRequest::getKeys() const { + return keys_; +} + +void BatchDeleteDcdnKvRequest::setKeys(const std::vector &keys) { + keys_ = keys; + for(int dep1 = 0; dep1 != keys.size(); dep1++) { + setBodyParameter(std::string("Keys") + "." + std::to_string(dep1 + 1), keys[dep1]); + } +} + +std::string BatchDeleteDcdnKvRequest::get_Namespace() const { + return _namespace_; +} + +void BatchDeleteDcdnKvRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + diff --git a/dcdn/src/model/BatchDeleteDcdnKvResult.cc b/dcdn/src/model/BatchDeleteDcdnKvResult.cc new file mode 100644 index 000000000..0ed7b5478 --- /dev/null +++ b/dcdn/src/model/BatchDeleteDcdnKvResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchDeleteDcdnKvResult::BatchDeleteDcdnKvResult() : + ServiceResult() +{} + +BatchDeleteDcdnKvResult::BatchDeleteDcdnKvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteDcdnKvResult::~BatchDeleteDcdnKvResult() +{} + +void BatchDeleteDcdnKvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFailKeys = value["FailKeys"]["failKeys"]; + for (const auto &item : allFailKeys) + failKeys_.push_back(item.asString()); + auto allSuccessKeys = value["SuccessKeys"]["successKeys"]; + for (const auto &item : allSuccessKeys) + successKeys_.push_back(item.asString()); + +} + +std::vector BatchDeleteDcdnKvResult::getFailKeys()const +{ + return failKeys_; +} + +std::vector BatchDeleteDcdnKvResult::getSuccessKeys()const +{ + return successKeys_; +} + diff --git a/dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityRequest.cc b/dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityRequest.cc new file mode 100644 index 000000000..67398d163 --- /dev/null +++ b/dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchDeleteDcdnKvWithHighCapacityRequest; + +BatchDeleteDcdnKvWithHighCapacityRequest::BatchDeleteDcdnKvWithHighCapacityRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchDeleteDcdnKvWithHighCapacity") { + setMethod(HttpRequest::Method::Post); +} + +BatchDeleteDcdnKvWithHighCapacityRequest::~BatchDeleteDcdnKvWithHighCapacityRequest() {} + +std::string BatchDeleteDcdnKvWithHighCapacityRequest::get_Namespace() const { + return _namespace_; +} + +void BatchDeleteDcdnKvWithHighCapacityRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +std::string BatchDeleteDcdnKvWithHighCapacityRequest::getUrl() const { + return url_; +} + +void BatchDeleteDcdnKvWithHighCapacityRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + diff --git a/dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityResult.cc b/dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityResult.cc new file mode 100644 index 000000000..687697b9a --- /dev/null +++ b/dcdn/src/model/BatchDeleteDcdnKvWithHighCapacityResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchDeleteDcdnKvWithHighCapacityResult::BatchDeleteDcdnKvWithHighCapacityResult() : + ServiceResult() +{} + +BatchDeleteDcdnKvWithHighCapacityResult::BatchDeleteDcdnKvWithHighCapacityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteDcdnKvWithHighCapacityResult::~BatchDeleteDcdnKvWithHighCapacityResult() +{} + +void BatchDeleteDcdnKvWithHighCapacityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFailKeys = value["FailKeys"]["failKeys"]; + for (const auto &item : allFailKeys) + failKeys_.push_back(item.asString()); + auto allSuccessKeys = value["SuccessKeys"]["successKeys"]; + for (const auto &item : allSuccessKeys) + successKeys_.push_back(item.asString()); + +} + +std::vector BatchDeleteDcdnKvWithHighCapacityResult::getFailKeys()const +{ + return failKeys_; +} + +std::vector BatchDeleteDcdnKvWithHighCapacityResult::getSuccessKeys()const +{ + return successKeys_; +} + diff --git a/dcdn/src/model/BatchDeleteDcdnWafRulesRequest.cc b/dcdn/src/model/BatchDeleteDcdnWafRulesRequest.cc new file mode 100644 index 000000000..8d3b14740 --- /dev/null +++ b/dcdn/src/model/BatchDeleteDcdnWafRulesRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchDeleteDcdnWafRulesRequest; + +BatchDeleteDcdnWafRulesRequest::BatchDeleteDcdnWafRulesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchDeleteDcdnWafRules") { + setMethod(HttpRequest::Method::Post); +} + +BatchDeleteDcdnWafRulesRequest::~BatchDeleteDcdnWafRulesRequest() {} + +std::string BatchDeleteDcdnWafRulesRequest::getRuleIds() const { + return ruleIds_; +} + +void BatchDeleteDcdnWafRulesRequest::setRuleIds(const std::string &ruleIds) { + ruleIds_ = ruleIds; + setBodyParameter(std::string("RuleIds"), ruleIds); +} + diff --git a/dcdn/src/model/BatchDeleteDcdnWafRulesResult.cc b/dcdn/src/model/BatchDeleteDcdnWafRulesResult.cc new file mode 100644 index 000000000..2f945ba1a --- /dev/null +++ b/dcdn/src/model/BatchDeleteDcdnWafRulesResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchDeleteDcdnWafRulesResult::BatchDeleteDcdnWafRulesResult() : + ServiceResult() +{} + +BatchDeleteDcdnWafRulesResult::BatchDeleteDcdnWafRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteDcdnWafRulesResult::~BatchDeleteDcdnWafRulesResult() +{} + +void BatchDeleteDcdnWafRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/BatchModifyDcdnWafRulesRequest.cc b/dcdn/src/model/BatchModifyDcdnWafRulesRequest.cc new file mode 100644 index 000000000..15af7bbdb --- /dev/null +++ b/dcdn/src/model/BatchModifyDcdnWafRulesRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchModifyDcdnWafRulesRequest; + +BatchModifyDcdnWafRulesRequest::BatchModifyDcdnWafRulesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchModifyDcdnWafRules") { + setMethod(HttpRequest::Method::Post); +} + +BatchModifyDcdnWafRulesRequest::~BatchModifyDcdnWafRulesRequest() {} + +long BatchModifyDcdnWafRulesRequest::getPolicyId() const { + return policyId_; +} + +void BatchModifyDcdnWafRulesRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setBodyParameter(std::string("PolicyId"), std::to_string(policyId)); +} + +std::string BatchModifyDcdnWafRulesRequest::getRuleConfigs() const { + return ruleConfigs_; +} + +void BatchModifyDcdnWafRulesRequest::setRuleConfigs(const std::string &ruleConfigs) { + ruleConfigs_ = ruleConfigs; + setBodyParameter(std::string("RuleConfigs"), ruleConfigs); +} + diff --git a/dcdn/src/model/BatchModifyDcdnWafRulesResult.cc b/dcdn/src/model/BatchModifyDcdnWafRulesResult.cc new file mode 100644 index 000000000..64256ebf2 --- /dev/null +++ b/dcdn/src/model/BatchModifyDcdnWafRulesResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchModifyDcdnWafRulesResult::BatchModifyDcdnWafRulesResult() : + ServiceResult() +{} + +BatchModifyDcdnWafRulesResult::BatchModifyDcdnWafRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchModifyDcdnWafRulesResult::~BatchModifyDcdnWafRulesResult() +{} + +void BatchModifyDcdnWafRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/BatchPutDcdnKvRequest.cc b/dcdn/src/model/BatchPutDcdnKvRequest.cc new file mode 100644 index 000000000..949c65ebd --- /dev/null +++ b/dcdn/src/model/BatchPutDcdnKvRequest.cc @@ -0,0 +1,50 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchPutDcdnKvRequest; + +BatchPutDcdnKvRequest::BatchPutDcdnKvRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchPutDcdnKv") { + setMethod(HttpRequest::Method::Post); +} + +BatchPutDcdnKvRequest::~BatchPutDcdnKvRequest() {} + +std::vector BatchPutDcdnKvRequest::getKvList() const { + return kvList_; +} + +void BatchPutDcdnKvRequest::setKvList(const std::vector &kvList) { + kvList_ = kvList; + for(int dep1 = 0; dep1 != kvList.size(); dep1++) { + setBodyParameter(std::string("KvList") + "." + std::to_string(dep1 + 1) + ".Key", kvList[dep1].key); + setBodyParameter(std::string("KvList") + "." + std::to_string(dep1 + 1) + ".Value", kvList[dep1].value); + setBodyParameter(std::string("KvList") + "." + std::to_string(dep1 + 1) + ".Expiration", std::to_string(kvList[dep1].expiration)); + setBodyParameter(std::string("KvList") + "." + std::to_string(dep1 + 1) + ".ExpirationTtl", std::to_string(kvList[dep1].expirationTtl)); + } +} + +std::string BatchPutDcdnKvRequest::get_Namespace() const { + return _namespace_; +} + +void BatchPutDcdnKvRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + diff --git a/dcdn/src/model/BatchPutDcdnKvResult.cc b/dcdn/src/model/BatchPutDcdnKvResult.cc new file mode 100644 index 000000000..f90b17a1e --- /dev/null +++ b/dcdn/src/model/BatchPutDcdnKvResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchPutDcdnKvResult::BatchPutDcdnKvResult() : + ServiceResult() +{} + +BatchPutDcdnKvResult::BatchPutDcdnKvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchPutDcdnKvResult::~BatchPutDcdnKvResult() +{} + +void BatchPutDcdnKvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFailKeys = value["FailKeys"]["failKeys"]; + for (const auto &item : allFailKeys) + failKeys_.push_back(item.asString()); + auto allSuccessKeys = value["SuccessKeys"]["successKeys"]; + for (const auto &item : allSuccessKeys) + successKeys_.push_back(item.asString()); + +} + +std::vector BatchPutDcdnKvResult::getFailKeys()const +{ + return failKeys_; +} + +std::vector BatchPutDcdnKvResult::getSuccessKeys()const +{ + return successKeys_; +} + diff --git a/dcdn/src/model/BatchPutDcdnKvWithHighCapacityRequest.cc b/dcdn/src/model/BatchPutDcdnKvWithHighCapacityRequest.cc new file mode 100644 index 000000000..9d0ac609d --- /dev/null +++ b/dcdn/src/model/BatchPutDcdnKvWithHighCapacityRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchPutDcdnKvWithHighCapacityRequest; + +BatchPutDcdnKvWithHighCapacityRequest::BatchPutDcdnKvWithHighCapacityRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchPutDcdnKvWithHighCapacity") { + setMethod(HttpRequest::Method::Post); +} + +BatchPutDcdnKvWithHighCapacityRequest::~BatchPutDcdnKvWithHighCapacityRequest() {} + +std::string BatchPutDcdnKvWithHighCapacityRequest::get_Namespace() const { + return _namespace_; +} + +void BatchPutDcdnKvWithHighCapacityRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +std::string BatchPutDcdnKvWithHighCapacityRequest::getUrl() const { + return url_; +} + +void BatchPutDcdnKvWithHighCapacityRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + diff --git a/dcdn/src/model/BatchPutDcdnKvWithHighCapacityResult.cc b/dcdn/src/model/BatchPutDcdnKvWithHighCapacityResult.cc new file mode 100644 index 000000000..157850521 --- /dev/null +++ b/dcdn/src/model/BatchPutDcdnKvWithHighCapacityResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchPutDcdnKvWithHighCapacityResult::BatchPutDcdnKvWithHighCapacityResult() : + ServiceResult() +{} + +BatchPutDcdnKvWithHighCapacityResult::BatchPutDcdnKvWithHighCapacityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchPutDcdnKvWithHighCapacityResult::~BatchPutDcdnKvWithHighCapacityResult() +{} + +void BatchPutDcdnKvWithHighCapacityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFailKeys = value["FailKeys"]["failKeys"]; + for (const auto &item : allFailKeys) + failKeys_.push_back(item.asString()); + auto allSuccessKeys = value["SuccessKeys"]["successKeys"]; + for (const auto &item : allSuccessKeys) + successKeys_.push_back(item.asString()); + +} + +std::vector BatchPutDcdnKvWithHighCapacityResult::getFailKeys()const +{ + return failKeys_; +} + +std::vector BatchPutDcdnKvWithHighCapacityResult::getSuccessKeys()const +{ + return successKeys_; +} + diff --git a/dcdn/src/model/BatchSetDcdnDomainCertificateRequest.cc b/dcdn/src/model/BatchSetDcdnDomainCertificateRequest.cc index 6b34e7b2e..abd6f5154 100644 --- a/dcdn/src/model/BatchSetDcdnDomainCertificateRequest.cc +++ b/dcdn/src/model/BatchSetDcdnDomainCertificateRequest.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::Dcdn::Model::BatchSetDcdnDomainCertificateRequest; - -BatchSetDcdnDomainCertificateRequest::BatchSetDcdnDomainCertificateRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnDomainCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchSetDcdnDomainCertificateRequest::~BatchSetDcdnDomainCertificateRequest() -{} - -std::string BatchSetDcdnDomainCertificateRequest::getSSLProtocol()const -{ - return sSLProtocol_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchSetDcdnDomainCertificateRequest; + +BatchSetDcdnDomainCertificateRequest::BatchSetDcdnDomainCertificateRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnDomainCertificate") { + setMethod(HttpRequest::Method::Post); } -void BatchSetDcdnDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) -{ - sSLProtocol_ = sSLProtocol; - setParameter("SSLProtocol", sSLProtocol); +BatchSetDcdnDomainCertificateRequest::~BatchSetDcdnDomainCertificateRequest() {} + +std::string BatchSetDcdnDomainCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; } -std::string BatchSetDcdnDomainCertificateRequest::getSecurityToken()const -{ - return securityToken_; +void BatchSetDcdnDomainCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); } -void BatchSetDcdnDomainCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchSetDcdnDomainCertificateRequest::getSecurityToken() const { + return securityToken_; } -std::string BatchSetDcdnDomainCertificateRequest::getCertType()const -{ - return certType_; +void BatchSetDcdnDomainCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void BatchSetDcdnDomainCertificateRequest::setCertType(const std::string& certType) -{ - certType_ = certType; - setParameter("CertType", certType); +std::string BatchSetDcdnDomainCertificateRequest::getCertType() const { + return certType_; } -std::string BatchSetDcdnDomainCertificateRequest::getSSLPri()const -{ - return sSLPri_; +void BatchSetDcdnDomainCertificateRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); } -void BatchSetDcdnDomainCertificateRequest::setSSLPri(const std::string& sSLPri) -{ - sSLPri_ = sSLPri; - setParameter("SSLPri", sSLPri); +std::string BatchSetDcdnDomainCertificateRequest::getSSLPri() const { + return sSLPri_; } -std::string BatchSetDcdnDomainCertificateRequest::getCertName()const -{ - return certName_; +void BatchSetDcdnDomainCertificateRequest::setSSLPri(const std::string &sSLPri) { + sSLPri_ = sSLPri; + setParameter(std::string("SSLPri"), sSLPri); } -void BatchSetDcdnDomainCertificateRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); +std::string BatchSetDcdnDomainCertificateRequest::getCertName() const { + return certName_; } -std::string BatchSetDcdnDomainCertificateRequest::getDomainName()const -{ - return domainName_; +void BatchSetDcdnDomainCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); } -void BatchSetDcdnDomainCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string BatchSetDcdnDomainCertificateRequest::getDomainName() const { + return domainName_; } -long BatchSetDcdnDomainCertificateRequest::getOwnerId()const -{ - return ownerId_; +void BatchSetDcdnDomainCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void BatchSetDcdnDomainCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchSetDcdnDomainCertificateRequest::getOwnerId() const { + return ownerId_; } -std::string BatchSetDcdnDomainCertificateRequest::getSSLPub()const -{ - return sSLPub_; +void BatchSetDcdnDomainCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BatchSetDcdnDomainCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); +std::string BatchSetDcdnDomainCertificateRequest::getSSLPub() const { + return sSLPub_; } -std::string BatchSetDcdnDomainCertificateRequest::getRegion()const -{ - return region_; +void BatchSetDcdnDomainCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); } -void BatchSetDcdnDomainCertificateRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string BatchSetDcdnDomainCertificateRequest::getRegion() const { + return region_; +} + +void BatchSetDcdnDomainCertificateRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } diff --git a/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc b/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc index 341d00c39..a1ebd56d8 100644 --- a/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc +++ b/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.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::Dcdn::Model::BatchSetDcdnDomainConfigsRequest; - -BatchSetDcdnDomainConfigsRequest::BatchSetDcdnDomainConfigsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchSetDcdnDomainConfigsRequest::~BatchSetDcdnDomainConfigsRequest() -{} - -std::string BatchSetDcdnDomainConfigsRequest::getFunctions()const -{ - return functions_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchSetDcdnDomainConfigsRequest; + +BatchSetDcdnDomainConfigsRequest::BatchSetDcdnDomainConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void BatchSetDcdnDomainConfigsRequest::setFunctions(const std::string& functions) -{ - functions_ = functions; - setParameter("Functions", functions); +BatchSetDcdnDomainConfigsRequest::~BatchSetDcdnDomainConfigsRequest() {} + +std::string BatchSetDcdnDomainConfigsRequest::getFunctions() const { + return functions_; } -std::string BatchSetDcdnDomainConfigsRequest::getDomainNames()const -{ - return domainNames_; +void BatchSetDcdnDomainConfigsRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); } -void BatchSetDcdnDomainConfigsRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +std::string BatchSetDcdnDomainConfigsRequest::getDomainNames() const { + return domainNames_; } -std::string BatchSetDcdnDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void BatchSetDcdnDomainConfigsRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchSetDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchSetDcdnDomainConfigsRequest::getSecurityToken() const { + return securityToken_; } -std::string BatchSetDcdnDomainConfigsRequest::getOwnerAccount()const -{ - return ownerAccount_; +void BatchSetDcdnDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void BatchSetDcdnDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string BatchSetDcdnDomainConfigsRequest::getOwnerAccount() const { + return ownerAccount_; } -long BatchSetDcdnDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void BatchSetDcdnDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void BatchSetDcdnDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchSetDcdnDomainConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void BatchSetDcdnDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/BatchSetDcdnDomainConfigsResult.cc b/dcdn/src/model/BatchSetDcdnDomainConfigsResult.cc index 6638477f2..fc329e8c8 100644 --- a/dcdn/src/model/BatchSetDcdnDomainConfigsResult.cc +++ b/dcdn/src/model/BatchSetDcdnDomainConfigsResult.cc @@ -39,6 +39,23 @@ void BatchSetDcdnDomainConfigsResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + auto allDomainConfigListNode = value["DomainConfigList"]["DomainConfigModel"]; + for (auto valueDomainConfigListDomainConfigModel : allDomainConfigListNode) + { + DomainConfigModel domainConfigListObject; + if(!valueDomainConfigListDomainConfigModel["ConfigId"].isNull()) + domainConfigListObject.configId = std::stol(valueDomainConfigListDomainConfigModel["ConfigId"].asString()); + if(!valueDomainConfigListDomainConfigModel["DomainName"].isNull()) + domainConfigListObject.domainName = valueDomainConfigListDomainConfigModel["DomainName"].asString(); + if(!valueDomainConfigListDomainConfigModel["FunctionName"].isNull()) + domainConfigListObject.functionName = valueDomainConfigListDomainConfigModel["FunctionName"].asString(); + domainConfigList_.push_back(domainConfigListObject); + } } +std::vector BatchSetDcdnDomainConfigsResult::getDomainConfigList()const +{ + return domainConfigList_; +} + diff --git a/dcdn/src/model/BatchSetDcdnIpaDomainConfigsRequest.cc b/dcdn/src/model/BatchSetDcdnIpaDomainConfigsRequest.cc index d7915962e..dd33ea961 100644 --- a/dcdn/src/model/BatchSetDcdnIpaDomainConfigsRequest.cc +++ b/dcdn/src/model/BatchSetDcdnIpaDomainConfigsRequest.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::Dcdn::Model::BatchSetDcdnIpaDomainConfigsRequest; - -BatchSetDcdnIpaDomainConfigsRequest::BatchSetDcdnIpaDomainConfigsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnIpaDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchSetDcdnIpaDomainConfigsRequest::~BatchSetDcdnIpaDomainConfigsRequest() -{} - -std::string BatchSetDcdnIpaDomainConfigsRequest::getFunctions()const -{ - return functions_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchSetDcdnIpaDomainConfigsRequest; + +BatchSetDcdnIpaDomainConfigsRequest::BatchSetDcdnIpaDomainConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnIpaDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void BatchSetDcdnIpaDomainConfigsRequest::setFunctions(const std::string& functions) -{ - functions_ = functions; - setParameter("Functions", functions); +BatchSetDcdnIpaDomainConfigsRequest::~BatchSetDcdnIpaDomainConfigsRequest() {} + +std::string BatchSetDcdnIpaDomainConfigsRequest::getFunctions() const { + return functions_; } -std::string BatchSetDcdnIpaDomainConfigsRequest::getDomainNames()const -{ - return domainNames_; +void BatchSetDcdnIpaDomainConfigsRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); } -void BatchSetDcdnIpaDomainConfigsRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +std::string BatchSetDcdnIpaDomainConfigsRequest::getDomainNames() const { + return domainNames_; } -std::string BatchSetDcdnIpaDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void BatchSetDcdnIpaDomainConfigsRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchSetDcdnIpaDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchSetDcdnIpaDomainConfigsRequest::getSecurityToken() const { + return securityToken_; } -std::string BatchSetDcdnIpaDomainConfigsRequest::getOwnerAccount()const -{ - return ownerAccount_; +void BatchSetDcdnIpaDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void BatchSetDcdnIpaDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string BatchSetDcdnIpaDomainConfigsRequest::getOwnerAccount() const { + return ownerAccount_; } -long BatchSetDcdnIpaDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void BatchSetDcdnIpaDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void BatchSetDcdnIpaDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchSetDcdnIpaDomainConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void BatchSetDcdnIpaDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/BatchSetDcdnWafDomainConfigsRequest.cc b/dcdn/src/model/BatchSetDcdnWafDomainConfigsRequest.cc new file mode 100644 index 000000000..8c81a84a8 --- /dev/null +++ b/dcdn/src/model/BatchSetDcdnWafDomainConfigsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchSetDcdnWafDomainConfigsRequest; + +BatchSetDcdnWafDomainConfigsRequest::BatchSetDcdnWafDomainConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnWafDomainConfigs") { + setMethod(HttpRequest::Method::Post); +} + +BatchSetDcdnWafDomainConfigsRequest::~BatchSetDcdnWafDomainConfigsRequest() {} + +std::string BatchSetDcdnWafDomainConfigsRequest::getDomainNames() const { + return domainNames_; +} + +void BatchSetDcdnWafDomainConfigsRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setBodyParameter(std::string("DomainNames"), domainNames); +} + +std::string BatchSetDcdnWafDomainConfigsRequest::getClientIpTag() const { + return clientIpTag_; +} + +void BatchSetDcdnWafDomainConfigsRequest::setClientIpTag(const std::string &clientIpTag) { + clientIpTag_ = clientIpTag; + setBodyParameter(std::string("ClientIpTag"), clientIpTag); +} + +std::string BatchSetDcdnWafDomainConfigsRequest::getDefenseStatus() const { + return defenseStatus_; +} + +void BatchSetDcdnWafDomainConfigsRequest::setDefenseStatus(const std::string &defenseStatus) { + defenseStatus_ = defenseStatus; + setBodyParameter(std::string("DefenseStatus"), defenseStatus); +} + diff --git a/dcdn/src/model/BatchSetDcdnWafDomainConfigsResult.cc b/dcdn/src/model/BatchSetDcdnWafDomainConfigsResult.cc new file mode 100644 index 000000000..c8706842f --- /dev/null +++ b/dcdn/src/model/BatchSetDcdnWafDomainConfigsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +BatchSetDcdnWafDomainConfigsResult::BatchSetDcdnWafDomainConfigsResult() : + ServiceResult() +{} + +BatchSetDcdnWafDomainConfigsResult::BatchSetDcdnWafDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchSetDcdnWafDomainConfigsResult::~BatchSetDcdnWafDomainConfigsResult() +{} + +void BatchSetDcdnWafDomainConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/BatchStartDcdnDomainRequest.cc b/dcdn/src/model/BatchStartDcdnDomainRequest.cc index 6a1c8cc59..248a3ff1c 100644 --- a/dcdn/src/model/BatchStartDcdnDomainRequest.cc +++ b/dcdn/src/model/BatchStartDcdnDomainRequest.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::Dcdn::Model::BatchStartDcdnDomainRequest; - -BatchStartDcdnDomainRequest::BatchStartDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchStartDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchStartDcdnDomainRequest::~BatchStartDcdnDomainRequest() -{} - -std::string BatchStartDcdnDomainRequest::getDomainNames()const -{ - return domainNames_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchStartDcdnDomainRequest; + +BatchStartDcdnDomainRequest::BatchStartDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchStartDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void BatchStartDcdnDomainRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +BatchStartDcdnDomainRequest::~BatchStartDcdnDomainRequest() {} + +std::string BatchStartDcdnDomainRequest::getDomainNames() const { + return domainNames_; } -long BatchStartDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void BatchStartDcdnDomainRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchStartDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchStartDcdnDomainRequest::getOwnerId() const { + return ownerId_; } -std::string BatchStartDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void BatchStartDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BatchStartDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchStartDcdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchStartDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/BatchStopDcdnDomainRequest.cc b/dcdn/src/model/BatchStopDcdnDomainRequest.cc index 6686065eb..30499a6f2 100644 --- a/dcdn/src/model/BatchStopDcdnDomainRequest.cc +++ b/dcdn/src/model/BatchStopDcdnDomainRequest.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::Dcdn::Model::BatchStopDcdnDomainRequest; - -BatchStopDcdnDomainRequest::BatchStopDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "BatchStopDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchStopDcdnDomainRequest::~BatchStopDcdnDomainRequest() -{} - -std::string BatchStopDcdnDomainRequest::getDomainNames()const -{ - return domainNames_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::BatchStopDcdnDomainRequest; + +BatchStopDcdnDomainRequest::BatchStopDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "BatchStopDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void BatchStopDcdnDomainRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +BatchStopDcdnDomainRequest::~BatchStopDcdnDomainRequest() {} + +std::string BatchStopDcdnDomainRequest::getDomainNames() const { + return domainNames_; } -long BatchStopDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void BatchStopDcdnDomainRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchStopDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchStopDcdnDomainRequest::getOwnerId() const { + return ownerId_; } -std::string BatchStopDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void BatchStopDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BatchStopDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchStopDcdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchStopDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/CheckDcdnProjectExistRequest.cc b/dcdn/src/model/CheckDcdnProjectExistRequest.cc index f260fc48c..64c1318e5 100644 --- a/dcdn/src/model/CheckDcdnProjectExistRequest.cc +++ b/dcdn/src/model/CheckDcdnProjectExistRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::CheckDcdnProjectExistRequest; - -CheckDcdnProjectExistRequest::CheckDcdnProjectExistRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CheckDcdnProjectExist") -{ - setMethod(HttpRequest::Method::Get); -} - -CheckDcdnProjectExistRequest::~CheckDcdnProjectExistRequest() -{} - -std::string CheckDcdnProjectExistRequest::getProjectName()const -{ - return projectName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CheckDcdnProjectExistRequest; + +CheckDcdnProjectExistRequest::CheckDcdnProjectExistRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CheckDcdnProjectExist") { + setMethod(HttpRequest::Method::Get); } -void CheckDcdnProjectExistRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setParameter("ProjectName", projectName); +CheckDcdnProjectExistRequest::~CheckDcdnProjectExistRequest() {} + +std::string CheckDcdnProjectExistRequest::getProjectName() const { + return projectName_; } -long CheckDcdnProjectExistRequest::getOwnerId()const -{ - return ownerId_; -} - -void CheckDcdnProjectExistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void CheckDcdnProjectExistRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setParameter(std::string("ProjectName"), projectName); } diff --git a/dcdn/src/model/CommitStagingRoutineCodeRequest.cc b/dcdn/src/model/CommitStagingRoutineCodeRequest.cc index 692849a98..a2f1352b8 100644 --- a/dcdn/src/model/CommitStagingRoutineCodeRequest.cc +++ b/dcdn/src/model/CommitStagingRoutineCodeRequest.cc @@ -1,62 +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::Dcdn::Model::CommitStagingRoutineCodeRequest; - -CommitStagingRoutineCodeRequest::CommitStagingRoutineCodeRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CommitStagingRoutineCode") -{ - setMethod(HttpRequest::Method::Post); -} - -CommitStagingRoutineCodeRequest::~CommitStagingRoutineCodeRequest() -{} - -std::string CommitStagingRoutineCodeRequest::getCodeDescription()const -{ - return codeDescription_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CommitStagingRoutineCodeRequest; + +CommitStagingRoutineCodeRequest::CommitStagingRoutineCodeRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CommitStagingRoutineCode") { + setMethod(HttpRequest::Method::Post); } -void CommitStagingRoutineCodeRequest::setCodeDescription(const std::string& codeDescription) -{ - codeDescription_ = codeDescription; - setBodyParameter("CodeDescription", codeDescription); +CommitStagingRoutineCodeRequest::~CommitStagingRoutineCodeRequest() {} + +std::string CommitStagingRoutineCodeRequest::getCodeDescription() const { + return codeDescription_; } -long CommitStagingRoutineCodeRequest::getOwnerId()const -{ - return ownerId_; +void CommitStagingRoutineCodeRequest::setCodeDescription(const std::string &codeDescription) { + codeDescription_ = codeDescription; + setBodyParameter(std::string("CodeDescription"), codeDescription); } -void CommitStagingRoutineCodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string CommitStagingRoutineCodeRequest::getName() const { + return name_; } -std::string CommitStagingRoutineCodeRequest::getName()const -{ - return name_; -} - -void CommitStagingRoutineCodeRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void CommitStagingRoutineCodeRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } diff --git a/dcdn/src/model/CreateDcdnCertificateSigningRequestRequest.cc b/dcdn/src/model/CreateDcdnCertificateSigningRequestRequest.cc index 1b22d24d6..7017a05f6 100644 --- a/dcdn/src/model/CreateDcdnCertificateSigningRequestRequest.cc +++ b/dcdn/src/model/CreateDcdnCertificateSigningRequestRequest.cc @@ -1,128 +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::Dcdn::Model::CreateDcdnCertificateSigningRequestRequest; - -CreateDcdnCertificateSigningRequestRequest::CreateDcdnCertificateSigningRequestRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnCertificateSigningRequest") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDcdnCertificateSigningRequestRequest::~CreateDcdnCertificateSigningRequestRequest() -{} - -std::string CreateDcdnCertificateSigningRequestRequest::getCountry()const -{ - return country_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnCertificateSigningRequestRequest; + +CreateDcdnCertificateSigningRequestRequest::CreateDcdnCertificateSigningRequestRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnCertificateSigningRequest") { + setMethod(HttpRequest::Method::Post); } -void CreateDcdnCertificateSigningRequestRequest::setCountry(const std::string& country) -{ - country_ = country; - setParameter("Country", country); +CreateDcdnCertificateSigningRequestRequest::~CreateDcdnCertificateSigningRequestRequest() {} + +std::string CreateDcdnCertificateSigningRequestRequest::getCountry() const { + return country_; } -std::string CreateDcdnCertificateSigningRequestRequest::getCity()const -{ - return city_; +void CreateDcdnCertificateSigningRequestRequest::setCountry(const std::string &country) { + country_ = country; + setParameter(std::string("Country"), country); } -void CreateDcdnCertificateSigningRequestRequest::setCity(const std::string& city) -{ - city_ = city; - setParameter("City", city); +std::string CreateDcdnCertificateSigningRequestRequest::getCommonName() const { + return commonName_; } -std::string CreateDcdnCertificateSigningRequestRequest::getCommonName()const -{ - return commonName_; +void CreateDcdnCertificateSigningRequestRequest::setCommonName(const std::string &commonName) { + commonName_ = commonName; + setParameter(std::string("CommonName"), commonName); } -void CreateDcdnCertificateSigningRequestRequest::setCommonName(const std::string& commonName) -{ - commonName_ = commonName; - setParameter("CommonName", commonName); +std::string CreateDcdnCertificateSigningRequestRequest::getCity() const { + return city_; } -std::string CreateDcdnCertificateSigningRequestRequest::getState()const -{ - return state_; +void CreateDcdnCertificateSigningRequestRequest::setCity(const std::string &city) { + city_ = city; + setParameter(std::string("City"), city); } -void CreateDcdnCertificateSigningRequestRequest::setState(const std::string& state) -{ - state_ = state; - setParameter("State", state); +std::string CreateDcdnCertificateSigningRequestRequest::getSANs() const { + return sANs_; } -std::string CreateDcdnCertificateSigningRequestRequest::getEmail()const -{ - return email_; +void CreateDcdnCertificateSigningRequestRequest::setSANs(const std::string &sANs) { + sANs_ = sANs; + setParameter(std::string("SANs"), sANs); } -void CreateDcdnCertificateSigningRequestRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); +std::string CreateDcdnCertificateSigningRequestRequest::getOrganization() const { + return organization_; } -std::string CreateDcdnCertificateSigningRequestRequest::getSANs()const -{ - return sANs_; +void CreateDcdnCertificateSigningRequestRequest::setOrganization(const std::string &organization) { + organization_ = organization; + setParameter(std::string("Organization"), organization); } -void CreateDcdnCertificateSigningRequestRequest::setSANs(const std::string& sANs) -{ - sANs_ = sANs; - setParameter("SANs", sANs); +std::string CreateDcdnCertificateSigningRequestRequest::getState() const { + return state_; } -long CreateDcdnCertificateSigningRequestRequest::getOwnerId()const -{ - return ownerId_; +void CreateDcdnCertificateSigningRequestRequest::setState(const std::string &state) { + state_ = state; + setParameter(std::string("State"), state); } -void CreateDcdnCertificateSigningRequestRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string CreateDcdnCertificateSigningRequestRequest::getOrganizationUnit() const { + return organizationUnit_; } -std::string CreateDcdnCertificateSigningRequestRequest::getOrganization()const -{ - return organization_; +void CreateDcdnCertificateSigningRequestRequest::setOrganizationUnit(const std::string &organizationUnit) { + organizationUnit_ = organizationUnit; + setParameter(std::string("OrganizationUnit"), organizationUnit); } -void CreateDcdnCertificateSigningRequestRequest::setOrganization(const std::string& organization) -{ - organization_ = organization; - setParameter("Organization", organization); +std::string CreateDcdnCertificateSigningRequestRequest::getEmail() const { + return email_; } -std::string CreateDcdnCertificateSigningRequestRequest::getOrganizationUnit()const -{ - return organizationUnit_; -} - -void CreateDcdnCertificateSigningRequestRequest::setOrganizationUnit(const std::string& organizationUnit) -{ - organizationUnit_ = organizationUnit; - setParameter("OrganizationUnit", organizationUnit); +void CreateDcdnCertificateSigningRequestRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); } diff --git a/dcdn/src/model/CreateDcdnCertificateSigningRequestResult.cc b/dcdn/src/model/CreateDcdnCertificateSigningRequestResult.cc index 87046f01c..ea0bc38f5 100644 --- a/dcdn/src/model/CreateDcdnCertificateSigningRequestResult.cc +++ b/dcdn/src/model/CreateDcdnCertificateSigningRequestResult.cc @@ -39,25 +39,25 @@ void CreateDcdnCertificateSigningRequestResult::parse(const std::string &payload 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(); + if(!value["Csr"].isNull()) + csr_ = value["Csr"].asString(); + if(!value["CommonName"].isNull()) + commonName_ = value["CommonName"].asString(); } -std::string CreateDcdnCertificateSigningRequestResult::getCsr()const -{ - return csr_; -} - std::string CreateDcdnCertificateSigningRequestResult::getPubMd5()const { return pubMd5_; } +std::string CreateDcdnCertificateSigningRequestResult::getCsr()const +{ + return csr_; +} + std::string CreateDcdnCertificateSigningRequestResult::getCommonName()const { return commonName_; diff --git a/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc b/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc index d74d9cc16..0666dfcc7 100644 --- a/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc +++ b/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc @@ -1,95 +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::Dcdn::Model::CreateDcdnDeliverTaskRequest; - -CreateDcdnDeliverTaskRequest::CreateDcdnDeliverTaskRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnDeliverTask") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDcdnDeliverTaskRequest::~CreateDcdnDeliverTaskRequest() -{} - -std::string CreateDcdnDeliverTaskRequest::getReports()const -{ - return reports_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnDeliverTaskRequest; + +CreateDcdnDeliverTaskRequest::CreateDcdnDeliverTaskRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnDeliverTask") { + setMethod(HttpRequest::Method::Post); } -void CreateDcdnDeliverTaskRequest::setReports(const std::string& reports) -{ - reports_ = reports; - setBodyParameter("Reports", reports); +CreateDcdnDeliverTaskRequest::~CreateDcdnDeliverTaskRequest() {} + +std::string CreateDcdnDeliverTaskRequest::getReports() const { + return reports_; } -std::string CreateDcdnDeliverTaskRequest::getDeliver()const -{ - return deliver_; +void CreateDcdnDeliverTaskRequest::setReports(const std::string &reports) { + reports_ = reports; + setBodyParameter(std::string("Reports"), reports); } -void CreateDcdnDeliverTaskRequest::setDeliver(const std::string& deliver) -{ - deliver_ = deliver; - setBodyParameter("Deliver", deliver); +std::string CreateDcdnDeliverTaskRequest::getSchedule() const { + return schedule_; } -std::string CreateDcdnDeliverTaskRequest::getDomainName()const -{ - return domainName_; +void CreateDcdnDeliverTaskRequest::setSchedule(const std::string &schedule) { + schedule_ = schedule; + setBodyParameter(std::string("Schedule"), schedule); } -void CreateDcdnDeliverTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); +std::string CreateDcdnDeliverTaskRequest::getName() const { + return name_; } -long CreateDcdnDeliverTaskRequest::getOwnerId()const -{ - return ownerId_; +void CreateDcdnDeliverTaskRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateDcdnDeliverTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string CreateDcdnDeliverTaskRequest::getDomainName() const { + return domainName_; } -std::string CreateDcdnDeliverTaskRequest::getSchedule()const -{ - return schedule_; +void CreateDcdnDeliverTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); } -void CreateDcdnDeliverTaskRequest::setSchedule(const std::string& schedule) -{ - schedule_ = schedule; - setBodyParameter("Schedule", schedule); +std::string CreateDcdnDeliverTaskRequest::getDeliver() const { + return deliver_; } -std::string CreateDcdnDeliverTaskRequest::getName()const -{ - return name_; -} - -void CreateDcdnDeliverTaskRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void CreateDcdnDeliverTaskRequest::setDeliver(const std::string &deliver) { + deliver_ = deliver; + setBodyParameter(std::string("Deliver"), deliver); } diff --git a/dcdn/src/model/CreateDcdnDeliverTaskResult.cc b/dcdn/src/model/CreateDcdnDeliverTaskResult.cc index 5c719d8e1..0065a108f 100644 --- a/dcdn/src/model/CreateDcdnDeliverTaskResult.cc +++ b/dcdn/src/model/CreateDcdnDeliverTaskResult.cc @@ -39,6 +39,13 @@ void CreateDcdnDeliverTaskResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["DeliverId"].isNull()) + deliverId_ = value["DeliverId"].asString(); } +std::string CreateDcdnDeliverTaskResult::getDeliverId()const +{ + return deliverId_; +} + diff --git a/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc index fba0a1002..e7e39a882 100644 --- a/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc +++ b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc @@ -1,128 +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::Dcdn::Model::CreateDcdnSLSRealTimeLogDeliveryRequest; - -CreateDcdnSLSRealTimeLogDeliveryRequest::CreateDcdnSLSRealTimeLogDeliveryRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnSLSRealTimeLogDelivery") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDcdnSLSRealTimeLogDeliveryRequest::~CreateDcdnSLSRealTimeLogDeliveryRequest() -{} - -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSLogStore()const -{ - return sLSLogStore_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnSLSRealTimeLogDeliveryRequest; + +CreateDcdnSLSRealTimeLogDeliveryRequest::CreateDcdnSLSRealTimeLogDeliveryRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnSLSRealTimeLogDelivery") { + setMethod(HttpRequest::Method::Post); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSLogStore(const std::string& sLSLogStore) -{ - sLSLogStore_ = sLSLogStore; - setBodyParameter("SLSLogStore", sLSLogStore); +CreateDcdnSLSRealTimeLogDeliveryRequest::~CreateDcdnSLSRealTimeLogDeliveryRequest() {} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSLogStore() const { + return sLSLogStore_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSProject()const -{ - return sLSProject_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSLogStore(const std::string &sLSLogStore) { + sLSLogStore_ = sLSLogStore; + setBodyParameter(std::string("SLSLogStore"), sLSLogStore); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSProject(const std::string& sLSProject) -{ - sLSProject_ = sLSProject; - setBodyParameter("SLSProject", sLSProject); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getProjectName() const { + return projectName_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getBusinessType()const -{ - return businessType_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setBodyParameter("BusinessType", businessType); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSRegion()const -{ - return sLSRegion_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSRegion(const std::string& sLSRegion) -{ - sLSRegion_ = sLSRegion; - setBodyParameter("SLSRegion", sLSRegion); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSamplingRate() const { + return samplingRate_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getProjectName()const -{ - return projectName_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSamplingRate(const std::string &samplingRate) { + samplingRate_ = samplingRate; + setBodyParameter(std::string("SamplingRate"), samplingRate); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getDataCenter() const { + return dataCenter_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setDataCenter(const std::string &dataCenter) { + dataCenter_ = dataCenter; + setBodyParameter(std::string("DataCenter"), dataCenter); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSProject() const { + return sLSProject_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSamplingRate()const -{ - return samplingRate_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSProject(const std::string &sLSProject) { + sLSProject_ = sLSProject; + setBodyParameter(std::string("SLSProject"), sLSProject); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setSamplingRate(const std::string& samplingRate) -{ - samplingRate_ = samplingRate; - setBodyParameter("SamplingRate", samplingRate); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSRegion() const { + return sLSRegion_; } -std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getDataCenter()const -{ - return dataCenter_; +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSRegion(const std::string &sLSRegion) { + sLSRegion_ = sLSRegion; + setBodyParameter(std::string("SLSRegion"), sLSRegion); } -void CreateDcdnSLSRealTimeLogDeliveryRequest::setDataCenter(const std::string& dataCenter) -{ - dataCenter_ = dataCenter; - setBodyParameter("DataCenter", dataCenter); +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getBusinessType() const { + return businessType_; } -long CreateDcdnSLSRealTimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateDcdnSLSRealTimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void CreateDcdnSLSRealTimeLogDeliveryRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setBodyParameter(std::string("BusinessType"), businessType); } diff --git a/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc index b9cfae649..c25370e00 100644 --- a/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc +++ b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc @@ -43,12 +43,12 @@ void CreateDcdnSLSRealTimeLogDeliveryResult::parse(const std::string &payload) for (auto valueContentDomains : allContentNode) { Domains contentObject; + if(!valueContentDomains["Status"].isNull()) + contentObject.status = valueContentDomains["Status"].asString(); if(!valueContentDomains["DomainName"].isNull()) contentObject.domainName = valueContentDomains["DomainName"].asString(); if(!valueContentDomains["Region"].isNull()) contentObject.region = valueContentDomains["Region"].asString(); - if(!valueContentDomains["Status"].isNull()) - contentObject.status = valueContentDomains["Status"].asString(); if(!valueContentDomains["Desc"].isNull()) contentObject.desc = valueContentDomains["Desc"].asString(); content_.push_back(contentObject); diff --git a/dcdn/src/model/CreateDcdnSubTaskRequest.cc b/dcdn/src/model/CreateDcdnSubTaskRequest.cc index b4291ddbb..513afb73a 100644 --- a/dcdn/src/model/CreateDcdnSubTaskRequest.cc +++ b/dcdn/src/model/CreateDcdnSubTaskRequest.cc @@ -1,62 +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::Dcdn::Model::CreateDcdnSubTaskRequest; - -CreateDcdnSubTaskRequest::CreateDcdnSubTaskRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnSubTask") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDcdnSubTaskRequest::~CreateDcdnSubTaskRequest() -{} - -std::string CreateDcdnSubTaskRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnSubTaskRequest; + +CreateDcdnSubTaskRequest::CreateDcdnSubTaskRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnSubTask") { + setMethod(HttpRequest::Method::Post); } -void CreateDcdnSubTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); +CreateDcdnSubTaskRequest::~CreateDcdnSubTaskRequest() {} + +std::string CreateDcdnSubTaskRequest::getReportIds() const { + return reportIds_; } -long CreateDcdnSubTaskRequest::getOwnerId()const -{ - return ownerId_; +void CreateDcdnSubTaskRequest::setReportIds(const std::string &reportIds) { + reportIds_ = reportIds; + setBodyParameter(std::string("ReportIds"), reportIds); } -void CreateDcdnSubTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string CreateDcdnSubTaskRequest::getDomainName() const { + return domainName_; } -std::string CreateDcdnSubTaskRequest::getReportIds()const -{ - return reportIds_; -} - -void CreateDcdnSubTaskRequest::setReportIds(const std::string& reportIds) -{ - reportIds_ = reportIds; - setBodyParameter("ReportIds", reportIds); +void CreateDcdnSubTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/CreateDcdnWafGroupRequest.cc b/dcdn/src/model/CreateDcdnWafGroupRequest.cc new file mode 100644 index 000000000..863378e6a --- /dev/null +++ b/dcdn/src/model/CreateDcdnWafGroupRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnWafGroupRequest; + +CreateDcdnWafGroupRequest::CreateDcdnWafGroupRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnWafGroup") { + setMethod(HttpRequest::Method::Post); +} + +CreateDcdnWafGroupRequest::~CreateDcdnWafGroupRequest() {} + +std::string CreateDcdnWafGroupRequest::getSubscribe() const { + return subscribe_; +} + +void CreateDcdnWafGroupRequest::setSubscribe(const std::string &subscribe) { + subscribe_ = subscribe; + setBodyParameter(std::string("Subscribe"), subscribe); +} + +std::string CreateDcdnWafGroupRequest::getName() const { + return name_; +} + +void CreateDcdnWafGroupRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); +} + +long CreateDcdnWafGroupRequest::getTemplateId() const { + return templateId_; +} + +void CreateDcdnWafGroupRequest::setTemplateId(long templateId) { + templateId_ = templateId; + setBodyParameter(std::string("TemplateId"), std::to_string(templateId)); +} + diff --git a/dcdn/src/model/CreateDcdnWafGroupResult.cc b/dcdn/src/model/CreateDcdnWafGroupResult.cc new file mode 100644 index 000000000..44d6bf415 --- /dev/null +++ b/dcdn/src/model/CreateDcdnWafGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +CreateDcdnWafGroupResult::CreateDcdnWafGroupResult() : + ServiceResult() +{} + +CreateDcdnWafGroupResult::CreateDcdnWafGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDcdnWafGroupResult::~CreateDcdnWafGroupResult() +{} + +void CreateDcdnWafGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + +} + +long CreateDcdnWafGroupResult::getId()const +{ + return id_; +} + diff --git a/dcdn/src/model/CreateDcdnWafPolicyRequest.cc b/dcdn/src/model/CreateDcdnWafPolicyRequest.cc new file mode 100644 index 000000000..01c6ed5f6 --- /dev/null +++ b/dcdn/src/model/CreateDcdnWafPolicyRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateDcdnWafPolicyRequest; + +CreateDcdnWafPolicyRequest::CreateDcdnWafPolicyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnWafPolicy") { + setMethod(HttpRequest::Method::Post); +} + +CreateDcdnWafPolicyRequest::~CreateDcdnWafPolicyRequest() {} + +std::string CreateDcdnWafPolicyRequest::getDefenseScene() const { + return defenseScene_; +} + +void CreateDcdnWafPolicyRequest::setDefenseScene(const std::string &defenseScene) { + defenseScene_ = defenseScene; + setBodyParameter(std::string("DefenseScene"), defenseScene); +} + +std::string CreateDcdnWafPolicyRequest::getPolicyType() const { + return policyType_; +} + +void CreateDcdnWafPolicyRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setBodyParameter(std::string("PolicyType"), policyType); +} + +std::string CreateDcdnWafPolicyRequest::getPolicyStatus() const { + return policyStatus_; +} + +void CreateDcdnWafPolicyRequest::setPolicyStatus(const std::string &policyStatus) { + policyStatus_ = policyStatus; + setBodyParameter(std::string("PolicyStatus"), policyStatus); +} + +std::string CreateDcdnWafPolicyRequest::getPolicyName() const { + return policyName_; +} + +void CreateDcdnWafPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setBodyParameter(std::string("PolicyName"), policyName); +} + diff --git a/dcdn/src/model/CreateDcdnWafPolicyResult.cc b/dcdn/src/model/CreateDcdnWafPolicyResult.cc new file mode 100644 index 000000000..da55af48c --- /dev/null +++ b/dcdn/src/model/CreateDcdnWafPolicyResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +CreateDcdnWafPolicyResult::CreateDcdnWafPolicyResult() : + ServiceResult() +{} + +CreateDcdnWafPolicyResult::CreateDcdnWafPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDcdnWafPolicyResult::~CreateDcdnWafPolicyResult() +{} + +void CreateDcdnWafPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["PolicyId"].isNull()) + policyId_ = std::stol(value["PolicyId"].asString()); + +} + +long CreateDcdnWafPolicyResult::getPolicyId()const +{ + return policyId_; +} + diff --git a/dcdn/src/model/CreateRoutineRequest.cc b/dcdn/src/model/CreateRoutineRequest.cc index 2735074dd..826aa30cc 100644 --- a/dcdn/src/model/CreateRoutineRequest.cc +++ b/dcdn/src/model/CreateRoutineRequest.cc @@ -1,73 +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::Dcdn::Model::CreateRoutineRequest; - -CreateRoutineRequest::CreateRoutineRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CreateRoutine") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateRoutineRequest::~CreateRoutineRequest() -{} - -std::string CreateRoutineRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateRoutineRequest; + +CreateRoutineRequest::CreateRoutineRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateRoutine") { + setMethod(HttpRequest::Method::Post); } -void CreateRoutineRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +CreateRoutineRequest::~CreateRoutineRequest() {} + +std::string CreateRoutineRequest::getEnvConf() const { + return envConf_; } -std::string CreateRoutineRequest::getEnvConf()const -{ - return envConf_; +void CreateRoutineRequest::setEnvConf(const std::string &envConf) { + envConf_ = envConf; + setBodyParameter(std::string("EnvConf"), envConf); } -void CreateRoutineRequest::setEnvConf(const std::string& envConf) -{ - envConf_ = envConf; - setBodyParameter("EnvConf", envConf); +std::string CreateRoutineRequest::getName() const { + return name_; } -long CreateRoutineRequest::getOwnerId()const -{ - return ownerId_; +void CreateRoutineRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateRoutineRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string CreateRoutineRequest::getDescription() const { + return description_; } -std::string CreateRoutineRequest::getName()const -{ - return name_; -} - -void CreateRoutineRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void CreateRoutineRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } diff --git a/dcdn/src/model/CreateSlrAndSlsProjectRequest.cc b/dcdn/src/model/CreateSlrAndSlsProjectRequest.cc index 715f30c05..6f66ecd30 100644 --- a/dcdn/src/model/CreateSlrAndSlsProjectRequest.cc +++ b/dcdn/src/model/CreateSlrAndSlsProjectRequest.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::Dcdn::Model::CreateSlrAndSlsProjectRequest; - -CreateSlrAndSlsProjectRequest::CreateSlrAndSlsProjectRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "CreateSlrAndSlsProject") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateSlrAndSlsProjectRequest::~CreateSlrAndSlsProjectRequest() -{} - -long CreateSlrAndSlsProjectRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateSlrAndSlsProjectRequest; + +CreateSlrAndSlsProjectRequest::CreateSlrAndSlsProjectRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "CreateSlrAndSlsProject") { + setMethod(HttpRequest::Method::Post); } -void CreateSlrAndSlsProjectRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +CreateSlrAndSlsProjectRequest::~CreateSlrAndSlsProjectRequest() {} + +std::string CreateSlrAndSlsProjectRequest::getRegion() const { + return region_; } -std::string CreateSlrAndSlsProjectRequest::getRegion()const -{ - return region_; +void CreateSlrAndSlsProjectRequest::setRegion(const std::string ®ion) { + region_ = region; + setBodyParameter(std::string("Region"), region); } -void CreateSlrAndSlsProjectRequest::setRegion(const std::string& region) -{ - region_ = region; - setBodyParameter("Region", region); +std::string CreateSlrAndSlsProjectRequest::getBusinessType() const { + return businessType_; +} + +void CreateSlrAndSlsProjectRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setBodyParameter(std::string("BusinessType"), businessType); } diff --git a/dcdn/src/model/DcdnHttpRequestTestToolRequest.cc b/dcdn/src/model/DcdnHttpRequestTestToolRequest.cc deleted file mode 100644 index a962a1f0a..000000000 --- a/dcdn/src/model/DcdnHttpRequestTestToolRequest.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::Dcdn::Model::DcdnHttpRequestTestToolRequest; - -DcdnHttpRequestTestToolRequest::DcdnHttpRequestTestToolRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DcdnHttpRequestTestTool") -{ - setMethod(HttpRequest::Method::Post); -} - -DcdnHttpRequestTestToolRequest::~DcdnHttpRequestTestToolRequest() -{} - -std::string DcdnHttpRequestTestToolRequest::getProxyIp()const -{ - return proxyIp_; -} - -void DcdnHttpRequestTestToolRequest::setProxyIp(const std::string& proxyIp) -{ - proxyIp_ = proxyIp; - setBodyParameter("ProxyIp", proxyIp); -} - -std::string DcdnHttpRequestTestToolRequest::getScheme()const -{ - return scheme_; -} - -void DcdnHttpRequestTestToolRequest::setScheme(const std::string& scheme) -{ - scheme_ = scheme; - setBodyParameter("Scheme", scheme); -} - -std::string DcdnHttpRequestTestToolRequest::getBody()const -{ - return body_; -} - -void DcdnHttpRequestTestToolRequest::setBody(const std::string& body) -{ - body_ = body; - setBodyParameter("Body", body); -} - -std::string DcdnHttpRequestTestToolRequest::getHost()const -{ - return host_; -} - -void DcdnHttpRequestTestToolRequest::setHost(const std::string& host) -{ - host_ = host; - setBodyParameter("Host", host); -} - -std::string DcdnHttpRequestTestToolRequest::getMethod()const -{ - return method_; -} - -void DcdnHttpRequestTestToolRequest::setMethod(const std::string& method) -{ - method_ = method; - setBodyParameter("Method", method); -} - -long DcdnHttpRequestTestToolRequest::getOwnerId()const -{ - return ownerId_; -} - -void DcdnHttpRequestTestToolRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DcdnHttpRequestTestToolRequest::getUri()const -{ - return uri_; -} - -void DcdnHttpRequestTestToolRequest::setUri(const std::string& uri) -{ - uri_ = uri; - setBodyParameter("Uri", uri); -} - -std::string DcdnHttpRequestTestToolRequest::getArgs()const -{ - return args_; -} - -void DcdnHttpRequestTestToolRequest::setArgs(const std::string& args) -{ - args_ = args; - setBodyParameter("Args", args); -} - -std::string DcdnHttpRequestTestToolRequest::getHeader()const -{ - return header_; -} - -void DcdnHttpRequestTestToolRequest::setHeader(const std::string& header) -{ - header_ = header; - setBodyParameter("Header", header); -} - diff --git a/dcdn/src/model/DeleteDcdnDeliverTaskRequest.cc b/dcdn/src/model/DeleteDcdnDeliverTaskRequest.cc index 54bc0ff9b..4aa22099f 100644 --- a/dcdn/src/model/DeleteDcdnDeliverTaskRequest.cc +++ b/dcdn/src/model/DeleteDcdnDeliverTaskRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DeleteDcdnDeliverTaskRequest; - -DeleteDcdnDeliverTaskRequest::DeleteDcdnDeliverTaskRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnDeliverTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnDeliverTaskRequest::~DeleteDcdnDeliverTaskRequest() -{} - -long DeleteDcdnDeliverTaskRequest::getDeliverId()const -{ - return deliverId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnDeliverTaskRequest; + +DeleteDcdnDeliverTaskRequest::DeleteDcdnDeliverTaskRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnDeliverTask") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnDeliverTaskRequest::setDeliverId(long deliverId) -{ - deliverId_ = deliverId; - setParameter("DeliverId", std::to_string(deliverId)); +DeleteDcdnDeliverTaskRequest::~DeleteDcdnDeliverTaskRequest() {} + +long DeleteDcdnDeliverTaskRequest::getDeliverId() const { + return deliverId_; } -long DeleteDcdnDeliverTaskRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteDcdnDeliverTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DeleteDcdnDeliverTaskRequest::setDeliverId(long deliverId) { + deliverId_ = deliverId; + setParameter(std::string("DeliverId"), std::to_string(deliverId)); } diff --git a/dcdn/src/model/DeleteDcdnDomainRequest.cc b/dcdn/src/model/DeleteDcdnDomainRequest.cc index 223339ce4..c7f5af12d 100644 --- a/dcdn/src/model/DeleteDcdnDomainRequest.cc +++ b/dcdn/src/model/DeleteDcdnDomainRequest.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::Dcdn::Model::DeleteDcdnDomainRequest; - -DeleteDcdnDomainRequest::DeleteDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnDomainRequest::~DeleteDcdnDomainRequest() -{} - -std::string DeleteDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnDomainRequest; + +DeleteDcdnDomainRequest::DeleteDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DeleteDcdnDomainRequest::~DeleteDcdnDomainRequest() {} + +std::string DeleteDcdnDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteDcdnDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; +void DeleteDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteDcdnDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string DeleteDcdnDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string DeleteDcdnDomainRequest::getDomainName()const -{ - return domainName_; +void DeleteDcdnDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void DeleteDcdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteDcdnDomainRequest::getDomainName() const { + return domainName_; } -long DeleteDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void DeleteDcdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteDcdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc b/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc index ea4044ea6..7ec2e862a 100644 --- a/dcdn/src/model/DeleteDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/DeleteDcdnIpaDomainRequest.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::Dcdn::Model::DeleteDcdnIpaDomainRequest; - -DeleteDcdnIpaDomainRequest::DeleteDcdnIpaDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnIpaDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnIpaDomainRequest::~DeleteDcdnIpaDomainRequest() -{} - -std::string DeleteDcdnIpaDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnIpaDomainRequest; + +DeleteDcdnIpaDomainRequest::DeleteDcdnIpaDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnIpaDomain") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnIpaDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +DeleteDcdnIpaDomainRequest::~DeleteDcdnIpaDomainRequest() {} + +std::string DeleteDcdnIpaDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteDcdnIpaDomainRequest::getDomainName()const -{ - return domainName_; +void DeleteDcdnIpaDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteDcdnIpaDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteDcdnIpaDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -long DeleteDcdnIpaDomainRequest::getOwnerId()const -{ - return ownerId_; +void DeleteDcdnIpaDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void DeleteDcdnIpaDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DeleteDcdnIpaDomainRequest::getDomainName() const { + return domainName_; } -std::string DeleteDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteDcdnIpaDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DeleteDcdnIpaDomainRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteDcdnIpaDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DeleteDcdnIpaSpecificConfigRequest.cc b/dcdn/src/model/DeleteDcdnIpaSpecificConfigRequest.cc index 1a884a63b..6f62819f4 100644 --- a/dcdn/src/model/DeleteDcdnIpaSpecificConfigRequest.cc +++ b/dcdn/src/model/DeleteDcdnIpaSpecificConfigRequest.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::Dcdn::Model::DeleteDcdnIpaSpecificConfigRequest; - -DeleteDcdnIpaSpecificConfigRequest::DeleteDcdnIpaSpecificConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnIpaSpecificConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnIpaSpecificConfigRequest::~DeleteDcdnIpaSpecificConfigRequest() -{} - -std::string DeleteDcdnIpaSpecificConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnIpaSpecificConfigRequest; + +DeleteDcdnIpaSpecificConfigRequest::DeleteDcdnIpaSpecificConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnIpaSpecificConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnIpaSpecificConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteDcdnIpaSpecificConfigRequest::~DeleteDcdnIpaSpecificConfigRequest() {} + +std::string DeleteDcdnIpaSpecificConfigRequest::getSecurityToken() const { + return securityToken_; } -long DeleteDcdnIpaSpecificConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteDcdnIpaSpecificConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteDcdnIpaSpecificConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DeleteDcdnIpaSpecificConfigRequest::getDomainName() const { + return domainName_; } -std::string DeleteDcdnIpaSpecificConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteDcdnIpaSpecificConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteDcdnIpaSpecificConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DeleteDcdnIpaSpecificConfigRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteDcdnIpaSpecificConfigRequest::getConfigId()const -{ - return configId_; +void DeleteDcdnIpaSpecificConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteDcdnIpaSpecificConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); +std::string DeleteDcdnIpaSpecificConfigRequest::getConfigId() const { + return configId_; +} + +void DeleteDcdnIpaSpecificConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); } diff --git a/dcdn/src/model/DeleteDcdnKvNamespaceRequest.cc b/dcdn/src/model/DeleteDcdnKvNamespaceRequest.cc new file mode 100644 index 000000000..2abcf597e --- /dev/null +++ b/dcdn/src/model/DeleteDcdnKvNamespaceRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnKvNamespaceRequest; + +DeleteDcdnKvNamespaceRequest::DeleteDcdnKvNamespaceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnKvNamespace") { + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnKvNamespaceRequest::~DeleteDcdnKvNamespaceRequest() {} + +std::string DeleteDcdnKvNamespaceRequest::get_Namespace() const { + return _namespace_; +} + +void DeleteDcdnKvNamespaceRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + diff --git a/dcdn/src/model/SetDcdnConfigOfVersionResult.cc b/dcdn/src/model/DeleteDcdnKvNamespaceResult.cc similarity index 72% rename from dcdn/src/model/SetDcdnConfigOfVersionResult.cc rename to dcdn/src/model/DeleteDcdnKvNamespaceResult.cc index 0050ed8d7..1e35e0f16 100644 --- a/dcdn/src/model/SetDcdnConfigOfVersionResult.cc +++ b/dcdn/src/model/DeleteDcdnKvNamespaceResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dcdn; using namespace AlibabaCloud::Dcdn::Model; -SetDcdnConfigOfVersionResult::SetDcdnConfigOfVersionResult() : +DeleteDcdnKvNamespaceResult::DeleteDcdnKvNamespaceResult() : ServiceResult() {} -SetDcdnConfigOfVersionResult::SetDcdnConfigOfVersionResult(const std::string &payload) : +DeleteDcdnKvNamespaceResult::DeleteDcdnKvNamespaceResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetDcdnConfigOfVersionResult::~SetDcdnConfigOfVersionResult() +DeleteDcdnKvNamespaceResult::~DeleteDcdnKvNamespaceResult() {} -void SetDcdnConfigOfVersionResult::parse(const std::string &payload) +void DeleteDcdnKvNamespaceResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/dcdn/src/model/DeleteDcdnKvRequest.cc b/dcdn/src/model/DeleteDcdnKvRequest.cc new file mode 100644 index 000000000..51d376a50 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnKvRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnKvRequest; + +DeleteDcdnKvRequest::DeleteDcdnKvRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnKv") { + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnKvRequest::~DeleteDcdnKvRequest() {} + +std::string DeleteDcdnKvRequest::get_Namespace() const { + return _namespace_; +} + +void DeleteDcdnKvRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +std::string DeleteDcdnKvRequest::getKey() const { + return key_; +} + +void DeleteDcdnKvRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/dcdn/src/model/DeleteDcdnKvResult.cc b/dcdn/src/model/DeleteDcdnKvResult.cc new file mode 100644 index 000000000..8792df55a --- /dev/null +++ b/dcdn/src/model/DeleteDcdnKvResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DeleteDcdnKvResult::DeleteDcdnKvResult() : + ServiceResult() +{} + +DeleteDcdnKvResult::DeleteDcdnKvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDcdnKvResult::~DeleteDcdnKvResult() +{} + +void DeleteDcdnKvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc b/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc index 3ba0a0c37..27337305f 100644 --- a/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc +++ b/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc @@ -1,62 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DeleteDcdnRealTimeLogProjectRequest; - -DeleteDcdnRealTimeLogProjectRequest::DeleteDcdnRealTimeLogProjectRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnRealTimeLogProject") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnRealTimeLogProjectRequest::~DeleteDcdnRealTimeLogProjectRequest() -{} - -std::string DeleteDcdnRealTimeLogProjectRequest::getBusinessType()const -{ - return businessType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnRealTimeLogProjectRequest; + +DeleteDcdnRealTimeLogProjectRequest::DeleteDcdnRealTimeLogProjectRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnRealTimeLogProject") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnRealTimeLogProjectRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setParameter("BusinessType", businessType); +DeleteDcdnRealTimeLogProjectRequest::~DeleteDcdnRealTimeLogProjectRequest() {} + +std::string DeleteDcdnRealTimeLogProjectRequest::getProjectName() const { + return projectName_; } -std::string DeleteDcdnRealTimeLogProjectRequest::getProjectName()const -{ - return projectName_; -} - -void DeleteDcdnRealTimeLogProjectRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setParameter("ProjectName", projectName); -} - -long DeleteDcdnRealTimeLogProjectRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteDcdnRealTimeLogProjectRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DeleteDcdnRealTimeLogProjectRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setParameter(std::string("ProjectName"), projectName); } diff --git a/dcdn/src/model/DeleteDcdnSpecificConfigRequest.cc b/dcdn/src/model/DeleteDcdnSpecificConfigRequest.cc index ab783b569..4461be615 100644 --- a/dcdn/src/model/DeleteDcdnSpecificConfigRequest.cc +++ b/dcdn/src/model/DeleteDcdnSpecificConfigRequest.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::Dcdn::Model::DeleteDcdnSpecificConfigRequest; - -DeleteDcdnSpecificConfigRequest::DeleteDcdnSpecificConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSpecificConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnSpecificConfigRequest::~DeleteDcdnSpecificConfigRequest() -{} - -std::string DeleteDcdnSpecificConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnSpecificConfigRequest; + +DeleteDcdnSpecificConfigRequest::DeleteDcdnSpecificConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSpecificConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnSpecificConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteDcdnSpecificConfigRequest::~DeleteDcdnSpecificConfigRequest() {} + +std::string DeleteDcdnSpecificConfigRequest::getSecurityToken() const { + return securityToken_; } -long DeleteDcdnSpecificConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteDcdnSpecificConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteDcdnSpecificConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DeleteDcdnSpecificConfigRequest::getDomainName() const { + return domainName_; } -std::string DeleteDcdnSpecificConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteDcdnSpecificConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteDcdnSpecificConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DeleteDcdnSpecificConfigRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteDcdnSpecificConfigRequest::getConfigId()const -{ - return configId_; +void DeleteDcdnSpecificConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteDcdnSpecificConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); +std::string DeleteDcdnSpecificConfigRequest::getConfigId() const { + return configId_; +} + +void DeleteDcdnSpecificConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); } diff --git a/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.cc b/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.cc index d664693f9..699799e0d 100644 --- a/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.cc +++ b/dcdn/src/model/DeleteDcdnSpecificStagingConfigRequest.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::Dcdn::Model::DeleteDcdnSpecificStagingConfigRequest; - -DeleteDcdnSpecificStagingConfigRequest::DeleteDcdnSpecificStagingConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSpecificStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnSpecificStagingConfigRequest::~DeleteDcdnSpecificStagingConfigRequest() -{} - -std::string DeleteDcdnSpecificStagingConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnSpecificStagingConfigRequest; + +DeleteDcdnSpecificStagingConfigRequest::DeleteDcdnSpecificStagingConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSpecificStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DeleteDcdnSpecificStagingConfigRequest::~DeleteDcdnSpecificStagingConfigRequest() {} + +std::string DeleteDcdnSpecificStagingConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteDcdnSpecificStagingConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteDcdnSpecificStagingConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteDcdnSpecificStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteDcdnSpecificStagingConfigRequest::getDomainName() const { + return domainName_; } -long DeleteDcdnSpecificStagingConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteDcdnSpecificStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteDcdnSpecificStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteDcdnSpecificStagingConfigRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteDcdnSpecificStagingConfigRequest::getConfigId()const -{ - return configId_; +void DeleteDcdnSpecificStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteDcdnSpecificStagingConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); +std::string DeleteDcdnSpecificStagingConfigRequest::getConfigId() const { + return configId_; +} + +void DeleteDcdnSpecificStagingConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); } diff --git a/dcdn/src/model/DeleteDcdnSubTaskRequest.cc b/dcdn/src/model/DeleteDcdnSubTaskRequest.cc index 3c65c382e..606664ec7 100644 --- a/dcdn/src/model/DeleteDcdnSubTaskRequest.cc +++ b/dcdn/src/model/DeleteDcdnSubTaskRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DeleteDcdnSubTaskRequest; - -DeleteDcdnSubTaskRequest::DeleteDcdnSubTaskRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSubTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDcdnSubTaskRequest::~DeleteDcdnSubTaskRequest() -{} - -long DeleteDcdnSubTaskRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnSubTaskRequest; + +DeleteDcdnSubTaskRequest::DeleteDcdnSubTaskRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnSubTask") { + setMethod(HttpRequest::Method::Post); } -void DeleteDcdnSubTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DeleteDcdnSubTaskRequest::~DeleteDcdnSubTaskRequest() {} diff --git a/dcdn/src/model/DeleteDcdnUserConfigRequest.cc b/dcdn/src/model/DeleteDcdnUserConfigRequest.cc new file mode 100644 index 000000000..641c3e01f --- /dev/null +++ b/dcdn/src/model/DeleteDcdnUserConfigRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnUserConfigRequest; + +DeleteDcdnUserConfigRequest::DeleteDcdnUserConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnUserConfig") { + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnUserConfigRequest::~DeleteDcdnUserConfigRequest() {} + +std::string DeleteDcdnUserConfigRequest::getFunctionName() const { + return functionName_; +} + +void DeleteDcdnUserConfigRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); +} + diff --git a/dcdn/src/model/DeleteDcdnUserConfigResult.cc b/dcdn/src/model/DeleteDcdnUserConfigResult.cc new file mode 100644 index 000000000..5ecc7fe8f --- /dev/null +++ b/dcdn/src/model/DeleteDcdnUserConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DeleteDcdnUserConfigResult::DeleteDcdnUserConfigResult() : + ServiceResult() +{} + +DeleteDcdnUserConfigResult::DeleteDcdnUserConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDcdnUserConfigResult::~DeleteDcdnUserConfigResult() +{} + +void DeleteDcdnUserConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DeleteDcdnWafGroupRequest.cc b/dcdn/src/model/DeleteDcdnWafGroupRequest.cc new file mode 100644 index 000000000..57f41c450 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnWafGroupRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnWafGroupRequest; + +DeleteDcdnWafGroupRequest::DeleteDcdnWafGroupRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnWafGroup") { + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnWafGroupRequest::~DeleteDcdnWafGroupRequest() {} + +long DeleteDcdnWafGroupRequest::getId() const { + return id_; +} + +void DeleteDcdnWafGroupRequest::setId(long id) { + id_ = id; + setBodyParameter(std::string("Id"), std::to_string(id)); +} + diff --git a/dcdn/src/model/DeleteDcdnWafGroupResult.cc b/dcdn/src/model/DeleteDcdnWafGroupResult.cc new file mode 100644 index 000000000..19538ecc2 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnWafGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DeleteDcdnWafGroupResult::DeleteDcdnWafGroupResult() : + ServiceResult() +{} + +DeleteDcdnWafGroupResult::DeleteDcdnWafGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDcdnWafGroupResult::~DeleteDcdnWafGroupResult() +{} + +void DeleteDcdnWafGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DeleteDcdnWafPolicyRequest.cc b/dcdn/src/model/DeleteDcdnWafPolicyRequest.cc new file mode 100644 index 000000000..9112427c5 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnWafPolicyRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteDcdnWafPolicyRequest; + +DeleteDcdnWafPolicyRequest::DeleteDcdnWafPolicyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnWafPolicy") { + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnWafPolicyRequest::~DeleteDcdnWafPolicyRequest() {} + +long DeleteDcdnWafPolicyRequest::getPolicyId() const { + return policyId_; +} + +void DeleteDcdnWafPolicyRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setBodyParameter(std::string("PolicyId"), std::to_string(policyId)); +} + diff --git a/dcdn/src/model/DeleteDcdnWafPolicyResult.cc b/dcdn/src/model/DeleteDcdnWafPolicyResult.cc new file mode 100644 index 000000000..1570515aa --- /dev/null +++ b/dcdn/src/model/DeleteDcdnWafPolicyResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DeleteDcdnWafPolicyResult::DeleteDcdnWafPolicyResult() : + ServiceResult() +{} + +DeleteDcdnWafPolicyResult::DeleteDcdnWafPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDcdnWafPolicyResult::~DeleteDcdnWafPolicyResult() +{} + +void DeleteDcdnWafPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc b/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc index 0f26a5f4b..649906bca 100644 --- a/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc +++ b/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc @@ -1,62 +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::Dcdn::Model::DeleteRoutineCodeRevisionRequest; - -DeleteRoutineCodeRevisionRequest::DeleteRoutineCodeRevisionRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutineCodeRevision") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteRoutineCodeRevisionRequest::~DeleteRoutineCodeRevisionRequest() -{} - -std::string DeleteRoutineCodeRevisionRequest::getSelectCodeRevision()const -{ - return selectCodeRevision_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteRoutineCodeRevisionRequest; + +DeleteRoutineCodeRevisionRequest::DeleteRoutineCodeRevisionRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutineCodeRevision") { + setMethod(HttpRequest::Method::Post); } -void DeleteRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string& selectCodeRevision) -{ - selectCodeRevision_ = selectCodeRevision; - setBodyParameter("SelectCodeRevision", selectCodeRevision); +DeleteRoutineCodeRevisionRequest::~DeleteRoutineCodeRevisionRequest() {} + +std::string DeleteRoutineCodeRevisionRequest::getName() const { + return name_; } -long DeleteRoutineCodeRevisionRequest::getOwnerId()const -{ - return ownerId_; +void DeleteRoutineCodeRevisionRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void DeleteRoutineCodeRevisionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DeleteRoutineCodeRevisionRequest::getSelectCodeRevision() const { + return selectCodeRevision_; } -std::string DeleteRoutineCodeRevisionRequest::getName()const -{ - return name_; -} - -void DeleteRoutineCodeRevisionRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void DeleteRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string &selectCodeRevision) { + selectCodeRevision_ = selectCodeRevision; + setBodyParameter(std::string("SelectCodeRevision"), selectCodeRevision); } diff --git a/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc b/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc index eaf4f21a3..7139ef033 100644 --- a/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc +++ b/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc @@ -1,62 +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::Dcdn::Model::DeleteRoutineConfEnvsRequest; - -DeleteRoutineConfEnvsRequest::DeleteRoutineConfEnvsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutineConfEnvs") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteRoutineConfEnvsRequest::~DeleteRoutineConfEnvsRequest() -{} - -std::string DeleteRoutineConfEnvsRequest::getEnvs()const -{ - return envs_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteRoutineConfEnvsRequest; + +DeleteRoutineConfEnvsRequest::DeleteRoutineConfEnvsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutineConfEnvs") { + setMethod(HttpRequest::Method::Post); } -void DeleteRoutineConfEnvsRequest::setEnvs(const std::string& envs) -{ - envs_ = envs; - setBodyParameter("Envs", envs); +DeleteRoutineConfEnvsRequest::~DeleteRoutineConfEnvsRequest() {} + +std::string DeleteRoutineConfEnvsRequest::getName() const { + return name_; } -long DeleteRoutineConfEnvsRequest::getOwnerId()const -{ - return ownerId_; +void DeleteRoutineConfEnvsRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void DeleteRoutineConfEnvsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DeleteRoutineConfEnvsRequest::getEnvs() const { + return envs_; } -std::string DeleteRoutineConfEnvsRequest::getName()const -{ - return name_; -} - -void DeleteRoutineConfEnvsRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void DeleteRoutineConfEnvsRequest::setEnvs(const std::string &envs) { + envs_ = envs; + setBodyParameter(std::string("Envs"), envs); } diff --git a/dcdn/src/model/DeleteRoutineRequest.cc b/dcdn/src/model/DeleteRoutineRequest.cc index 8c23b91a6..9a37d8bba 100644 --- a/dcdn/src/model/DeleteRoutineRequest.cc +++ b/dcdn/src/model/DeleteRoutineRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DeleteRoutineRequest; - -DeleteRoutineRequest::DeleteRoutineRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutine") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteRoutineRequest::~DeleteRoutineRequest() -{} - -long DeleteRoutineRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteRoutineRequest; + +DeleteRoutineRequest::DeleteRoutineRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutine") { + setMethod(HttpRequest::Method::Post); } -void DeleteRoutineRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DeleteRoutineRequest::~DeleteRoutineRequest() {} + +std::string DeleteRoutineRequest::getName() const { + return name_; } -std::string DeleteRoutineRequest::getName()const -{ - return name_; -} - -void DeleteRoutineRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void DeleteRoutineRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } diff --git a/dcdn/src/model/DescribeDcdnAclFieldsRequest.cc b/dcdn/src/model/DescribeDcdnAclFieldsRequest.cc index 429fa96a7..cc744afed 100644 --- a/dcdn/src/model/DescribeDcdnAclFieldsRequest.cc +++ b/dcdn/src/model/DescribeDcdnAclFieldsRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnAclFieldsRequest; - -DescribeDcdnAclFieldsRequest::DescribeDcdnAclFieldsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnAclFields") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnAclFieldsRequest::~DescribeDcdnAclFieldsRequest() -{} - -std::string DescribeDcdnAclFieldsRequest::getLang()const -{ - return lang_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnAclFieldsRequest; + +DescribeDcdnAclFieldsRequest::DescribeDcdnAclFieldsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnAclFields") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnAclFieldsRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); +DescribeDcdnAclFieldsRequest::~DescribeDcdnAclFieldsRequest() {} + +std::string DescribeDcdnAclFieldsRequest::getLang() const { + return lang_; } -long DescribeDcdnAclFieldsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnAclFieldsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnAclFieldsRequest::setLang(const std::string &lang) { + lang_ = lang; + setParameter(std::string("Lang"), lang); } diff --git a/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc index c14adb55c..d5ea89f45 100644 --- a/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnBgpBpsDataRequest.cc @@ -1,84 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpBpsDataRequest; - -DescribeDcdnBgpBpsDataRequest::DescribeDcdnBgpBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnBgpBpsDataRequest::~DescribeDcdnBgpBpsDataRequest() -{} - -std::string DescribeDcdnBgpBpsDataRequest::getIsp()const -{ - return isp_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpBpsDataRequest; + +DescribeDcdnBgpBpsDataRequest::DescribeDcdnBgpBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnBgpBpsDataRequest::setIsp(const std::string& isp) -{ - isp_ = isp; - setParameter("Isp", isp); +DescribeDcdnBgpBpsDataRequest::~DescribeDcdnBgpBpsDataRequest() {} + +std::string DescribeDcdnBgpBpsDataRequest::getIsp() const { + return isp_; } -std::string DescribeDcdnBgpBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnBgpBpsDataRequest::setIsp(const std::string &isp) { + isp_ = isp; + setParameter(std::string("Isp"), isp); } -void DescribeDcdnBgpBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnBgpBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnBgpBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnBgpBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnBgpBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnBgpBpsDataRequest::getInterval() const { + return interval_; } -long DescribeDcdnBgpBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnBgpBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnBgpBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnBgpBpsDataRequest::getDeviceName() const { + return deviceName_; } -std::string DescribeDcdnBgpBpsDataRequest::getInterval()const -{ - return interval_; +void DescribeDcdnBgpBpsDataRequest::setDeviceName(const std::string &deviceName) { + deviceName_ = deviceName; + setParameter(std::string("DeviceName"), deviceName); } -void DescribeDcdnBgpBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDcdnBgpBpsDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnBgpBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnBgpBpsDataRequest::getDevicePort() const { + return devicePort_; +} + +void DescribeDcdnBgpBpsDataRequest::setDevicePort(const std::string &devicePort) { + devicePort_ = devicePort; + setParameter(std::string("DevicePort"), devicePort); } diff --git a/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc b/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc index 86a5ac026..623821a39 100644 --- a/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnBgpBpsDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnBgpBpsDataResult::parse(const std::string &payload) for (auto valueBgpDataIntervalBgpData : allBgpDataIntervalNode) { BgpData bgpDataIntervalObject; - if(!valueBgpDataIntervalBgpData["In"].isNull()) - bgpDataIntervalObject.in = std::stof(valueBgpDataIntervalBgpData["In"].asString()); if(!valueBgpDataIntervalBgpData["Out"].isNull()) bgpDataIntervalObject.out = std::stof(valueBgpDataIntervalBgpData["Out"].asString()); + if(!valueBgpDataIntervalBgpData["In"].isNull()) + bgpDataIntervalObject.in = std::stof(valueBgpDataIntervalBgpData["In"].asString()); if(!valueBgpDataIntervalBgpData["TimeStamp"].isNull()) bgpDataIntervalObject.timeStamp = valueBgpDataIntervalBgpData["TimeStamp"].asString(); bgpDataInterval_.push_back(bgpDataIntervalObject); } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); } diff --git a/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc index 3928eaac7..47e8524ab 100644 --- a/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnBgpTrafficDataRequest.cc @@ -1,84 +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::Dcdn::Model::DescribeDcdnBgpTrafficDataRequest; - -DescribeDcdnBgpTrafficDataRequest::DescribeDcdnBgpTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnBgpTrafficDataRequest::~DescribeDcdnBgpTrafficDataRequest() -{} - -std::string DescribeDcdnBgpTrafficDataRequest::getIsp()const -{ - return isp_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnBgpTrafficDataRequest; + +DescribeDcdnBgpTrafficDataRequest::DescribeDcdnBgpTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBgpTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnBgpTrafficDataRequest::setIsp(const std::string& isp) -{ - isp_ = isp; - setParameter("Isp", isp); +DescribeDcdnBgpTrafficDataRequest::~DescribeDcdnBgpTrafficDataRequest() {} + +std::string DescribeDcdnBgpTrafficDataRequest::getIsp() const { + return isp_; } -std::string DescribeDcdnBgpTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnBgpTrafficDataRequest::setIsp(const std::string &isp) { + isp_ = isp; + setParameter(std::string("Isp"), isp); } -void DescribeDcdnBgpTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnBgpTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnBgpTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnBgpTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnBgpTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnBgpTrafficDataRequest::getInterval() const { + return interval_; } -long DescribeDcdnBgpTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnBgpTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnBgpTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnBgpTrafficDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnBgpTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnBgpTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnBgpTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc index 68d92158e..91d2f28dc 100644 --- a/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnBgpTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnBgpTrafficDataResult::parse(const std::string &payload) for (auto valueBgpDataIntervalBgpData : allBgpDataIntervalNode) { BgpData bgpDataIntervalObject; - if(!valueBgpDataIntervalBgpData["In"].isNull()) - bgpDataIntervalObject.in = std::stol(valueBgpDataIntervalBgpData["In"].asString()); if(!valueBgpDataIntervalBgpData["Out"].isNull()) bgpDataIntervalObject.out = std::stol(valueBgpDataIntervalBgpData["Out"].asString()); + if(!valueBgpDataIntervalBgpData["In"].isNull()) + bgpDataIntervalObject.in = std::stol(valueBgpDataIntervalBgpData["In"].asString()); if(!valueBgpDataIntervalBgpData["TimeStamp"].isNull()) bgpDataIntervalObject.timeStamp = valueBgpDataIntervalBgpData["TimeStamp"].asString(); bgpDataInterval_.push_back(bgpDataIntervalObject); } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); } diff --git a/dcdn/src/model/DescribeDcdnBlockedRegionsRequest.cc b/dcdn/src/model/DescribeDcdnBlockedRegionsRequest.cc index 698b21202..63fb5d136 100644 --- a/dcdn/src/model/DescribeDcdnBlockedRegionsRequest.cc +++ b/dcdn/src/model/DescribeDcdnBlockedRegionsRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnBlockedRegionsRequest; - -DescribeDcdnBlockedRegionsRequest::DescribeDcdnBlockedRegionsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBlockedRegions") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnBlockedRegionsRequest::~DescribeDcdnBlockedRegionsRequest() -{} - -std::string DescribeDcdnBlockedRegionsRequest::getLanguage()const -{ - return language_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnBlockedRegionsRequest; + +DescribeDcdnBlockedRegionsRequest::DescribeDcdnBlockedRegionsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnBlockedRegions") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnBlockedRegionsRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +DescribeDcdnBlockedRegionsRequest::~DescribeDcdnBlockedRegionsRequest() {} + +std::string DescribeDcdnBlockedRegionsRequest::getLanguage() const { + return language_; } -long DescribeDcdnBlockedRegionsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnBlockedRegionsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnBlockedRegionsRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } diff --git a/dcdn/src/model/DescribeDcdnBlockedRegionsResult.cc b/dcdn/src/model/DescribeDcdnBlockedRegionsResult.cc index c714c5f24..deecacade 100644 --- a/dcdn/src/model/DescribeDcdnBlockedRegionsResult.cc +++ b/dcdn/src/model/DescribeDcdnBlockedRegionsResult.cc @@ -45,10 +45,10 @@ void DescribeDcdnBlockedRegionsResult::parse(const std::string &payload) 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(); + if(!valueInfoListInfoItem["CountriesAndRegionsName"].isNull()) + infoListObject.countriesAndRegionsName = valueInfoListInfoItem["CountriesAndRegionsName"].asString(); infoList_.push_back(infoListObject); } diff --git a/dcdn/src/model/DescribeDcdnCertificateDetailRequest.cc b/dcdn/src/model/DescribeDcdnCertificateDetailRequest.cc index 2a3be1eda..839768fec 100644 --- a/dcdn/src/model/DescribeDcdnCertificateDetailRequest.cc +++ b/dcdn/src/model/DescribeDcdnCertificateDetailRequest.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::Dcdn::Model::DescribeDcdnCertificateDetailRequest; - -DescribeDcdnCertificateDetailRequest::DescribeDcdnCertificateDetailRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnCertificateDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnCertificateDetailRequest::~DescribeDcdnCertificateDetailRequest() -{} - -std::string DescribeDcdnCertificateDetailRequest::getCertName()const -{ - return certName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnCertificateDetailRequest; + +DescribeDcdnCertificateDetailRequest::DescribeDcdnCertificateDetailRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnCertificateDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnCertificateDetailRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); +DescribeDcdnCertificateDetailRequest::~DescribeDcdnCertificateDetailRequest() {} + +std::string DescribeDcdnCertificateDetailRequest::getSecurityToken() const { + return securityToken_; } -long DescribeDcdnCertificateDetailRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnCertificateDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnCertificateDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnCertificateDetailRequest::getCertName() const { + return certName_; } -std::string DescribeDcdnCertificateDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnCertificateDetailRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); } -void DescribeDcdnCertificateDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnCertificateDetailRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnCertificateDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeDcdnCertificateDetailResult.cc b/dcdn/src/model/DescribeDcdnCertificateDetailResult.cc index 42841cf21..6bd578310 100644 --- a/dcdn/src/model/DescribeDcdnCertificateDetailResult.cc +++ b/dcdn/src/model/DescribeDcdnCertificateDetailResult.cc @@ -39,14 +39,14 @@ void DescribeDcdnCertificateDetailResult::parse(const std::string &payload) 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(); + if(!value["Key"].isNull()) + key_ = value["Key"].asString(); + if(!value["Cert"].isNull()) + cert_ = value["Cert"].asString(); + if(!value["CertId"].isNull()) + certId_ = std::stol(value["CertId"].asString()); } @@ -55,16 +55,16 @@ long DescribeDcdnCertificateDetailResult::getCertId()const return certId_; } -std::string DescribeDcdnCertificateDetailResult::getCert()const -{ - return cert_; -} - std::string DescribeDcdnCertificateDetailResult::getCertName()const { return certName_; } +std::string DescribeDcdnCertificateDetailResult::getCert()const +{ + return cert_; +} + std::string DescribeDcdnCertificateDetailResult::getKey()const { return key_; diff --git a/dcdn/src/model/DescribeDcdnCertificateListRequest.cc b/dcdn/src/model/DescribeDcdnCertificateListRequest.cc index 75d8c97ec..b0ffe73a7 100644 --- a/dcdn/src/model/DescribeDcdnCertificateListRequest.cc +++ b/dcdn/src/model/DescribeDcdnCertificateListRequest.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::Dcdn::Model::DescribeDcdnCertificateListRequest; - -DescribeDcdnCertificateListRequest::DescribeDcdnCertificateListRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnCertificateList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnCertificateListRequest::~DescribeDcdnCertificateListRequest() -{} - -std::string DescribeDcdnCertificateListRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnCertificateListRequest; + +DescribeDcdnCertificateListRequest::DescribeDcdnCertificateListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnCertificateList") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnCertificateListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnCertificateListRequest::~DescribeDcdnCertificateListRequest() {} + +std::string DescribeDcdnCertificateListRequest::getSecurityToken() const { + return securityToken_; } -long DescribeDcdnCertificateListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnCertificateListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnCertificateListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnCertificateListRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnCertificateListRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnCertificateListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnCertificateListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnCertificateListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnCertificateListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeDcdnCertificateListResult.cc b/dcdn/src/model/DescribeDcdnCertificateListResult.cc index 12a5db6b5..18b16624d 100644 --- a/dcdn/src/model/DescribeDcdnCertificateListResult.cc +++ b/dcdn/src/model/DescribeDcdnCertificateListResult.cc @@ -46,18 +46,18 @@ void DescribeDcdnCertificateListResult::parse(const std::string &payload) 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()); + if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) + certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + if(!certificateListModelNodeCertListCert["CertId"].isNull()) + certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); certificateListModel_.certList.push_back(certObject); } diff --git a/dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc b/dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.cc deleted file mode 100644 index d1b9a421e..000000000 --- a/dcdn/src/model/DescribeDcdnConfigGroupDetailRequest.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::Dcdn::Model::DescribeDcdnConfigGroupDetailRequest; - -DescribeDcdnConfigGroupDetailRequest::DescribeDcdnConfigGroupDetailRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnConfigGroupDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnConfigGroupDetailRequest::~DescribeDcdnConfigGroupDetailRequest() -{} - -std::string DescribeDcdnConfigGroupDetailRequest::getConfigGroupName()const -{ - return configGroupName_; -} - -void DescribeDcdnConfigGroupDetailRequest::setConfigGroupName(const std::string& configGroupName) -{ - configGroupName_ = configGroupName; - setParameter("ConfigGroupName", configGroupName); -} - -long DescribeDcdnConfigGroupDetailRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnConfigGroupDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDcdnConfigGroupDetailRequest::getConfigGroupId()const -{ - return configGroupId_; -} - -void DescribeDcdnConfigGroupDetailRequest::setConfigGroupId(const std::string& configGroupId) -{ - configGroupId_ = configGroupId; - setParameter("ConfigGroupId", configGroupId); -} - diff --git a/dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc b/dcdn/src/model/DescribeDcdnConfigGroupDetailResult.cc deleted file mode 100644 index 7e174888b..000000000 --- a/dcdn/src/model/DescribeDcdnConfigGroupDetailResult.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::Dcdn; -using namespace AlibabaCloud::Dcdn::Model; - -DescribeDcdnConfigGroupDetailResult::DescribeDcdnConfigGroupDetailResult() : - ServiceResult() -{} - -DescribeDcdnConfigGroupDetailResult::DescribeDcdnConfigGroupDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDcdnConfigGroupDetailResult::~DescribeDcdnConfigGroupDetailResult() -{} - -void DescribeDcdnConfigGroupDetailResult::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 DescribeDcdnConfigGroupDetailResult::getConfigGroupId()const -{ - return configGroupId_; -} - -std::string DescribeDcdnConfigGroupDetailResult::getDescription()const -{ - return description_; -} - -std::string DescribeDcdnConfigGroupDetailResult::getCreateTime()const -{ - return createTime_; -} - -std::string DescribeDcdnConfigGroupDetailResult::getConfigGroupName()const -{ - return configGroupName_; -} - -std::string DescribeDcdnConfigGroupDetailResult::getUpdateTime()const -{ - return updateTime_; -} - -std::string DescribeDcdnConfigGroupDetailResult::getBizName()const -{ - return bizName_; -} - diff --git a/dcdn/src/model/DescribeDcdnConfigOfVersionRequest.cc b/dcdn/src/model/DescribeDcdnConfigOfVersionRequest.cc deleted file mode 100644 index 4fb1d80c2..000000000 --- a/dcdn/src/model/DescribeDcdnConfigOfVersionRequest.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::Dcdn::Model::DescribeDcdnConfigOfVersionRequest; - -DescribeDcdnConfigOfVersionRequest::DescribeDcdnConfigOfVersionRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnConfigOfVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnConfigOfVersionRequest::~DescribeDcdnConfigOfVersionRequest() -{} - -std::string DescribeDcdnConfigOfVersionRequest::getVersionId()const -{ - return versionId_; -} - -void DescribeDcdnConfigOfVersionRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); -} - -std::string DescribeDcdnConfigOfVersionRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeDcdnConfigOfVersionRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DescribeDcdnConfigOfVersionRequest::getFunctionName()const -{ - return functionName_; -} - -void DescribeDcdnConfigOfVersionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - -long DescribeDcdnConfigOfVersionRequest::getGroupId()const -{ - return groupId_; -} - -void DescribeDcdnConfigOfVersionRequest::setGroupId(long groupId) -{ - groupId_ = groupId; - setParameter("GroupId", std::to_string(groupId)); -} - -long DescribeDcdnConfigOfVersionRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnConfigOfVersionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -int DescribeDcdnConfigOfVersionRequest::getFunctionId()const -{ - return functionId_; -} - -void DescribeDcdnConfigOfVersionRequest::setFunctionId(int functionId) -{ - functionId_ = functionId; - setParameter("FunctionId", std::to_string(functionId)); -} - diff --git a/dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc b/dcdn/src/model/DescribeDcdnConfigOfVersionResult.cc deleted file mode 100644 index ec4b1c333..000000000 --- a/dcdn/src/model/DescribeDcdnConfigOfVersionResult.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::Dcdn; -using namespace AlibabaCloud::Dcdn::Model; - -DescribeDcdnConfigOfVersionResult::DescribeDcdnConfigOfVersionResult() : - ServiceResult() -{} - -DescribeDcdnConfigOfVersionResult::DescribeDcdnConfigOfVersionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDcdnConfigOfVersionResult::~DescribeDcdnConfigOfVersionResult() -{} - -void DescribeDcdnConfigOfVersionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allVersionConfigsNode = value["VersionConfigs"]["VersionConfig"]; - for (auto valueVersionConfigsVersionConfig : allVersionConfigsNode) - { - VersionConfig versionConfigsObject; - if(!valueVersionConfigsVersionConfig["Status"].isNull()) - versionConfigsObject.status = valueVersionConfigsVersionConfig["Status"].asString(); - if(!valueVersionConfigsVersionConfig["ConfigId"].isNull()) - versionConfigsObject.configId = valueVersionConfigsVersionConfig["ConfigId"].asString(); - if(!valueVersionConfigsVersionConfig["FunctionName"].isNull()) - versionConfigsObject.functionName = valueVersionConfigsVersionConfig["FunctionName"].asString(); - auto allFunctionArgsNode = 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 DescribeDcdnConfigOfVersionResult::getVersionConfigs()const -{ - return versionConfigs_; -} - diff --git a/dcdn/src/model/DescribeDcdnDdosServiceRequest.cc b/dcdn/src/model/DescribeDcdnDdosServiceRequest.cc new file mode 100644 index 000000000..ee03a4054 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDdosServiceRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDdosServiceRequest; + +DescribeDcdnDdosServiceRequest::DescribeDcdnDdosServiceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDdosService") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDdosServiceRequest::~DescribeDcdnDdosServiceRequest() {} + +long DescribeDcdnDdosServiceRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnDdosServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDcdnDdosServiceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnDdosServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/dcdn/src/model/DescribeDcdnDdosServiceResult.cc b/dcdn/src/model/DescribeDcdnDdosServiceResult.cc new file mode 100644 index 000000000..a4dc62f9e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDdosServiceResult.cc @@ -0,0 +1,142 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDdosServiceResult::DescribeDcdnDdosServiceResult() : + ServiceResult() +{} + +DescribeDcdnDdosServiceResult::DescribeDcdnDdosServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDdosServiceResult::~DescribeDcdnDdosServiceResult() +{} + +void DescribeDcdnDdosServiceResult::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["ChangingAffectTime"].isNull()) + changingAffectTime_ = value["ChangingAffectTime"].asString(); + if(!value["OpeningTime"].isNull()) + openingTime_ = value["OpeningTime"].asString(); + if(!value["ChangingEdition"].isNull()) + changingEdition_ = value["ChangingEdition"].asString(); + if(!value["ChargeType"].isNull()) + chargeType_ = value["ChargeType"].asString(); + if(!value["DomianNum"].isNull()) + domianNum_ = std::stoi(value["DomianNum"].asString()); + if(!value["ChangingProtectNum"].isNull()) + changingProtectNum_ = std::stoi(value["ChangingProtectNum"].asString()); + if(!value["ChangingDomianNum"].isNull()) + changingDomianNum_ = std::stoi(value["ChangingDomianNum"].asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["Edition"].isNull()) + edition_ = value["Edition"].asString(); + if(!value["ChangingChargeType"].isNull()) + changingChargeType_ = value["ChangingChargeType"].asString(); + if(!value["ProtectNum"].isNull()) + protectNum_ = std::stoi(value["ProtectNum"].asString()); + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString(); + if(!value["EndingTime"].isNull()) + endingTime_ = value["EndingTime"].asString(); + +} + +std::string DescribeDcdnDdosServiceResult::getStatus()const +{ + return status_; +} + +std::string DescribeDcdnDdosServiceResult::getChangingEdition()const +{ + return changingEdition_; +} + +std::string DescribeDcdnDdosServiceResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeDcdnDdosServiceResult::getOpeningTime()const +{ + return openingTime_; +} + +std::string DescribeDcdnDdosServiceResult::getEnabled()const +{ + return enabled_; +} + +std::string DescribeDcdnDdosServiceResult::getEndingTime()const +{ + return endingTime_; +} + +std::string DescribeDcdnDdosServiceResult::getChangingAffectTime()const +{ + return changingAffectTime_; +} + +std::string DescribeDcdnDdosServiceResult::getEdition()const +{ + return edition_; +} + +int DescribeDcdnDdosServiceResult::getChangingProtectNum()const +{ + return changingProtectNum_; +} + +std::string DescribeDcdnDdosServiceResult::getChangingChargeType()const +{ + return changingChargeType_; +} + +int DescribeDcdnDdosServiceResult::getProtectNum()const +{ + return protectNum_; +} + +std::string DescribeDcdnDdosServiceResult::getChargeType()const +{ + return chargeType_; +} + +int DescribeDcdnDdosServiceResult::getDomianNum()const +{ + return domianNum_; +} + +int DescribeDcdnDdosServiceResult::getChangingDomianNum()const +{ + return changingDomianNum_; +} + diff --git a/dcdn/src/model/DescribeDcdnDdosSpecInfoRequest.cc b/dcdn/src/model/DescribeDcdnDdosSpecInfoRequest.cc new file mode 100644 index 000000000..88bf2e6aa --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDdosSpecInfoRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDdosSpecInfoRequest; + +DescribeDcdnDdosSpecInfoRequest::DescribeDcdnDdosSpecInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDdosSpecInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDdosSpecInfoRequest::~DescribeDcdnDdosSpecInfoRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnDdosSpecInfoResult.cc b/dcdn/src/model/DescribeDcdnDdosSpecInfoResult.cc new file mode 100644 index 000000000..6ed1d0409 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDdosSpecInfoResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDdosSpecInfoResult::DescribeDcdnDdosSpecInfoResult() : + ServiceResult() +{} + +DescribeDcdnDdosSpecInfoResult::DescribeDcdnDdosSpecInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDdosSpecInfoResult::~DescribeDcdnDdosSpecInfoResult() +{} + +void DescribeDcdnDdosSpecInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSpecInfosNode = value["SpecInfos"]["RuleInfoItem"]; + for (auto valueSpecInfosRuleInfoItem : allSpecInfosNode) + { + RuleInfoItem specInfosObject; + if(!valueSpecInfosRuleInfoItem["Rule"].isNull()) + specInfosObject.rule = valueSpecInfosRuleInfoItem["Rule"].asString(); + auto allConfigsNode = valueSpecInfosRuleInfoItem["Configs"]["ConfigItem"]; + for (auto valueSpecInfosRuleInfoItemConfigsConfigItem : allConfigsNode) + { + RuleInfoItem::ConfigItem configsObject; + if(!valueSpecInfosRuleInfoItemConfigsConfigItem["Value"].isNull()) + configsObject.value = valueSpecInfosRuleInfoItemConfigsConfigItem["Value"].asString(); + if(!valueSpecInfosRuleInfoItemConfigsConfigItem["Config"].isNull()) + configsObject.config = valueSpecInfosRuleInfoItemConfigsConfigItem["Config"].asString(); + if(!valueSpecInfosRuleInfoItemConfigsConfigItem["Expr"].isNull()) + configsObject.expr = valueSpecInfosRuleInfoItemConfigsConfigItem["Expr"].asString(); + specInfosObject.configs.push_back(configsObject); + } + specInfos_.push_back(specInfosObject); + } + if(!value["Edition"].isNull()) + edition_ = value["Edition"].asString(); + if(!value["Enable"].isNull()) + enable_ = value["Enable"].asString(); + if(!value["ProtectedArea"].isNull()) + protectedArea_ = value["ProtectedArea"].asString(); + if(!value["BandwidthLimit"].isNull()) + bandwidthLimit_ = value["BandwidthLimit"].asString(); + if(!value["QpsLimit"].isNull()) + qpsLimit_ = value["QpsLimit"].asString(); + if(!value["IsSpecialPort"].isNull()) + isSpecialPort_ = value["IsSpecialPort"].asString(); + +} + +std::string DescribeDcdnDdosSpecInfoResult::getQpsLimit()const +{ + return qpsLimit_; +} + +std::string DescribeDcdnDdosSpecInfoResult::getIsSpecialPort()const +{ + return isSpecialPort_; +} + +std::string DescribeDcdnDdosSpecInfoResult::getProtectedArea()const +{ + return protectedArea_; +} + +std::string DescribeDcdnDdosSpecInfoResult::getEnable()const +{ + return enable_; +} + +std::vector DescribeDcdnDdosSpecInfoResult::getSpecInfos()const +{ + return specInfos_; +} + +std::string DescribeDcdnDdosSpecInfoResult::getEdition()const +{ + return edition_; +} + +std::string DescribeDcdnDdosSpecInfoResult::getBandwidthLimit()const +{ + return bandwidthLimit_; +} + diff --git a/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc b/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc index 45569847c..620c3f3dc 100644 --- a/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc +++ b/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc @@ -1,62 +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::Dcdn::Model::DescribeDcdnDeletedDomainsRequest; - -DescribeDcdnDeletedDomainsRequest::DescribeDcdnDeletedDomainsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDeletedDomains") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDeletedDomainsRequest::~DescribeDcdnDeletedDomainsRequest() -{} - -int DescribeDcdnDeletedDomainsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDeletedDomainsRequest; + +DescribeDcdnDeletedDomainsRequest::DescribeDcdnDeletedDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDeletedDomains") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDeletedDomainsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeDcdnDeletedDomainsRequest::~DescribeDcdnDeletedDomainsRequest() {} + +int DescribeDcdnDeletedDomainsRequest::getPageSize() const { + return pageSize_; } -int DescribeDcdnDeletedDomainsRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnDeletedDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnDeletedDomainsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeDcdnDeletedDomainsRequest::getPageNumber() const { + return pageNumber_; } -long DescribeDcdnDeletedDomainsRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDeletedDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDeletedDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dcdn/src/model/DescribeDcdnDeletedDomainsResult.cc b/dcdn/src/model/DescribeDcdnDeletedDomainsResult.cc index 3c1cae0ff..bf919bb03 100644 --- a/dcdn/src/model/DescribeDcdnDeletedDomainsResult.cc +++ b/dcdn/src/model/DescribeDcdnDeletedDomainsResult.cc @@ -43,10 +43,10 @@ void DescribeDcdnDeletedDomainsResult::parse(const std::string &payload) for (auto valueDomainsPageData : allDomainsNode) { PageData domainsObject; - if(!valueDomainsPageData["DomainName"].isNull()) - domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); if(!valueDomainsPageData["GmtModified"].isNull()) domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); domains_.push_back(domainsObject); } if(!value["PageNumber"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnDeliverListRequest.cc b/dcdn/src/model/DescribeDcdnDeliverListRequest.cc index e421d4f69..a8d41a128 100644 --- a/dcdn/src/model/DescribeDcdnDeliverListRequest.cc +++ b/dcdn/src/model/DescribeDcdnDeliverListRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDeliverListRequest; - -DescribeDcdnDeliverListRequest::DescribeDcdnDeliverListRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDeliverList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDeliverListRequest::~DescribeDcdnDeliverListRequest() -{} - -long DescribeDcdnDeliverListRequest::getDeliverId()const -{ - return deliverId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDeliverListRequest; + +DescribeDcdnDeliverListRequest::DescribeDcdnDeliverListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDeliverList") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDeliverListRequest::setDeliverId(long deliverId) -{ - deliverId_ = deliverId; - setParameter("DeliverId", std::to_string(deliverId)); +DescribeDcdnDeliverListRequest::~DescribeDcdnDeliverListRequest() {} + +long DescribeDcdnDeliverListRequest::getDeliverId() const { + return deliverId_; } -long DescribeDcdnDeliverListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDeliverListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDeliverListRequest::setDeliverId(long deliverId) { + deliverId_ = deliverId; + setParameter(std::string("DeliverId"), std::to_string(deliverId)); } diff --git a/dcdn/src/model/DescribeDcdnDomainBpsDataByLayerRequest.cc b/dcdn/src/model/DescribeDcdnDomainBpsDataByLayerRequest.cc new file mode 100644 index 000000000..0a9adc9d1 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainBpsDataByLayerRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainBpsDataByLayerRequest; + +DescribeDcdnDomainBpsDataByLayerRequest::DescribeDcdnDomainBpsDataByLayerRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainBpsDataByLayer") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainBpsDataByLayerRequest::~DescribeDcdnDomainBpsDataByLayerRequest() {} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDcdnDomainBpsDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDcdnDomainBpsDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainBpsDataByLayerResult.cc b/dcdn/src/model/DescribeDcdnDomainBpsDataByLayerResult.cc new file mode 100644 index 000000000..27ed37fb0 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainBpsDataByLayerResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainBpsDataByLayerResult::DescribeDcdnDomainBpsDataByLayerResult() : + ServiceResult() +{} + +DescribeDcdnDomainBpsDataByLayerResult::DescribeDcdnDomainBpsDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainBpsDataByLayerResult::~DescribeDcdnDomainBpsDataByLayerResult() +{} + +void DescribeDcdnDomainBpsDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBpsDataIntervalNode = value["BpsDataInterval"]["DataModule"]; + for (auto valueBpsDataIntervalDataModule : allBpsDataIntervalNode) + { + DataModule bpsDataIntervalObject; + if(!valueBpsDataIntervalDataModule["Value"].isNull()) + bpsDataIntervalObject.value = valueBpsDataIntervalDataModule["Value"].asString(); + if(!valueBpsDataIntervalDataModule["TrafficValue"].isNull()) + bpsDataIntervalObject.trafficValue = valueBpsDataIntervalDataModule["TrafficValue"].asString(); + if(!valueBpsDataIntervalDataModule["TimeStamp"].isNull()) + bpsDataIntervalObject.timeStamp = valueBpsDataIntervalDataModule["TimeStamp"].asString(); + if(!valueBpsDataIntervalDataModule["DynamicValue"].isNull()) + bpsDataIntervalObject.dynamicValue = valueBpsDataIntervalDataModule["DynamicValue"].asString(); + if(!valueBpsDataIntervalDataModule["StaticValue"].isNull()) + bpsDataIntervalObject.staticValue = valueBpsDataIntervalDataModule["StaticValue"].asString(); + if(!valueBpsDataIntervalDataModule["DynamicTrafficValue"].isNull()) + bpsDataIntervalObject.dynamicTrafficValue = valueBpsDataIntervalDataModule["DynamicTrafficValue"].asString(); + if(!valueBpsDataIntervalDataModule["StaticTrafficValue"].isNull()) + bpsDataIntervalObject.staticTrafficValue = valueBpsDataIntervalDataModule["StaticTrafficValue"].asString(); + bpsDataInterval_.push_back(bpsDataIntervalObject); + } + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeDcdnDomainBpsDataByLayerResult::getBpsDataInterval()const +{ + return bpsDataInterval_; +} + +std::string DescribeDcdnDomainBpsDataByLayerResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainBpsDataRequest.cc index 9aaabd92b..8b13d6919 100644 --- a/dcdn/src/model/DescribeDcdnDomainBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainBpsDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainBpsDataRequest; - -DescribeDcdnDomainBpsDataRequest::DescribeDcdnDomainBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainBpsDataRequest::~DescribeDcdnDomainBpsDataRequest() -{} - -std::string DescribeDcdnDomainBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainBpsDataRequest; + +DescribeDcdnDomainBpsDataRequest::DescribeDcdnDomainBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainBpsDataRequest::~DescribeDcdnDomainBpsDataRequest() {} + +std::string DescribeDcdnDomainBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainBpsDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainBpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainBpsDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainBpsDataResult.cc b/dcdn/src/model/DescribeDcdnDomainBpsDataResult.cc index 6e79818e2..fd45beb43 100644 --- a/dcdn/src/model/DescribeDcdnDomainBpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainBpsDataResult.cc @@ -45,24 +45,24 @@ void DescribeDcdnDomainBpsDataResult::parse(const std::string &payload) DataModule bpsDataPerIntervalObject; if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueBpsDataPerIntervalDataModule["Bps"].isNull()) - bpsDataPerIntervalObject.bps = std::stof(valueBpsDataPerIntervalDataModule["Bps"].asString()); - if(!valueBpsDataPerIntervalDataModule["DynamicHttpBps"].isNull()) - bpsDataPerIntervalObject.dynamicHttpBps = std::stof(valueBpsDataPerIntervalDataModule["DynamicHttpBps"].asString()); - if(!valueBpsDataPerIntervalDataModule["DynamicHttpsBps"].isNull()) - bpsDataPerIntervalObject.dynamicHttpsBps = std::stof(valueBpsDataPerIntervalDataModule["DynamicHttpsBps"].asString()); - if(!valueBpsDataPerIntervalDataModule["StaticHttpBps"].isNull()) - bpsDataPerIntervalObject.staticHttpBps = std::stof(valueBpsDataPerIntervalDataModule["StaticHttpBps"].asString()); if(!valueBpsDataPerIntervalDataModule["StaticHttpsBps"].isNull()) bpsDataPerIntervalObject.staticHttpsBps = std::stof(valueBpsDataPerIntervalDataModule["StaticHttpsBps"].asString()); + if(!valueBpsDataPerIntervalDataModule["Bps"].isNull()) + bpsDataPerIntervalObject.bps = std::stof(valueBpsDataPerIntervalDataModule["Bps"].asString()); + if(!valueBpsDataPerIntervalDataModule["DynamicHttpsBps"].isNull()) + bpsDataPerIntervalObject.dynamicHttpsBps = std::stof(valueBpsDataPerIntervalDataModule["DynamicHttpsBps"].asString()); + if(!valueBpsDataPerIntervalDataModule["DynamicHttpBps"].isNull()) + bpsDataPerIntervalObject.dynamicHttpBps = std::stof(valueBpsDataPerIntervalDataModule["DynamicHttpBps"].asString()); + if(!valueBpsDataPerIntervalDataModule["StaticHttpBps"].isNull()) + bpsDataPerIntervalObject.staticHttpBps = std::stof(valueBpsDataPerIntervalDataModule["StaticHttpBps"].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["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/dcdn/src/model/DescribeDcdnDomainByCertificateRequest.cc b/dcdn/src/model/DescribeDcdnDomainByCertificateRequest.cc index c9953a674..0fb64c8b4 100644 --- a/dcdn/src/model/DescribeDcdnDomainByCertificateRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainByCertificateRequest.cc @@ -1,51 +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::Dcdn::Model::DescribeDcdnDomainByCertificateRequest; - -DescribeDcdnDomainByCertificateRequest::DescribeDcdnDomainByCertificateRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainByCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainByCertificateRequest::~DescribeDcdnDomainByCertificateRequest() -{} - -long DescribeDcdnDomainByCertificateRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainByCertificateRequest; + +DescribeDcdnDomainByCertificateRequest::DescribeDcdnDomainByCertificateRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainByCertificate") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainByCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnDomainByCertificateRequest::~DescribeDcdnDomainByCertificateRequest() {} + +std::string DescribeDcdnDomainByCertificateRequest::getSSLPub() const { + return sSLPub_; } -std::string DescribeDcdnDomainByCertificateRequest::getSSLPub()const -{ - return sSLPub_; +void DescribeDcdnDomainByCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); } -void DescribeDcdnDomainByCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); +bool DescribeDcdnDomainByCertificateRequest::getExact() const { + return exact_; +} + +void DescribeDcdnDomainByCertificateRequest::setExact(bool exact) { + exact_ = exact; + setParameter(std::string("Exact"), exact ? "true" : "false"); +} + +bool DescribeDcdnDomainByCertificateRequest::getSSLStatus() const { + return sSLStatus_; +} + +void DescribeDcdnDomainByCertificateRequest::setSSLStatus(bool sSLStatus) { + sSLStatus_ = sSLStatus; + setParameter(std::string("SSLStatus"), sSLStatus ? "true" : "false"); } diff --git a/dcdn/src/model/DescribeDcdnDomainByCertificateResult.cc b/dcdn/src/model/DescribeDcdnDomainByCertificateResult.cc index 77f38a2ed..6dbddeaec 100644 --- a/dcdn/src/model/DescribeDcdnDomainByCertificateResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainByCertificateResult.cc @@ -43,24 +43,24 @@ void DescribeDcdnDomainByCertificateResult::parse(const std::string &payload) 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["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); if(!valueCertInfosCertInfo["CertCaIsLegacy"].isNull()) certInfosObject.certCaIsLegacy = valueCertInfosCertInfo["CertCaIsLegacy"].asString(); + if(!valueCertInfosCertInfo["CertSubjectCommonName"].isNull()) + certInfosObject.certSubjectCommonName = valueCertInfosCertInfo["CertSubjectCommonName"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["DomainNames"].isNull()) + certInfosObject.domainNames = valueCertInfosCertInfo["DomainNames"].asString(); + if(!valueCertInfosCertInfo["CertExpired"].isNull()) + certInfosObject.certExpired = valueCertInfosCertInfo["CertExpired"].asString(); + if(!valueCertInfosCertInfo["Issuer"].isNull()) + certInfosObject.issuer = valueCertInfosCertInfo["Issuer"].asString(); + if(!valueCertInfosCertInfo["DomainList"].isNull()) + certInfosObject.domainList = valueCertInfosCertInfo["DomainList"].asString(); certInfos_.push_back(certInfosObject); } diff --git a/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc b/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc index 324816f05..ccef05b46 100644 --- a/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc @@ -1,128 +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::Dcdn::Model::DescribeDcdnDomainCcActivityLogRequest; - -DescribeDcdnDomainCcActivityLogRequest::DescribeDcdnDomainCcActivityLogRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCcActivityLog") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainCcActivityLogRequest::~DescribeDcdnDomainCcActivityLogRequest() -{} - -std::string DescribeDcdnDomainCcActivityLogRequest::getRuleName()const -{ - return ruleName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainCcActivityLogRequest; + +DescribeDcdnDomainCcActivityLogRequest::DescribeDcdnDomainCcActivityLogRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCcActivityLog") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainCcActivityLogRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setParameter("RuleName", ruleName); +DescribeDcdnDomainCcActivityLogRequest::~DescribeDcdnDomainCcActivityLogRequest() {} + +std::string DescribeDcdnDomainCcActivityLogRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainCcActivityLogRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainCcActivityLogRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainCcActivityLogRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +long DescribeDcdnDomainCcActivityLogRequest::getPageSize() const { + return pageSize_; } -std::string DescribeDcdnDomainCcActivityLogRequest::getTriggerObject()const -{ - return triggerObject_; +void DescribeDcdnDomainCcActivityLogRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnDomainCcActivityLogRequest::setTriggerObject(const std::string& triggerObject) -{ - triggerObject_ = triggerObject; - setParameter("TriggerObject", triggerObject); +std::string DescribeDcdnDomainCcActivityLogRequest::getEndTime() const { + return endTime_; } -long DescribeDcdnDomainCcActivityLogRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeDcdnDomainCcActivityLogRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainCcActivityLogRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +std::string DescribeDcdnDomainCcActivityLogRequest::getRuleName() const { + return ruleName_; } -long DescribeDcdnDomainCcActivityLogRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnDomainCcActivityLogRequest::setRuleName(const std::string &ruleName) { + ruleName_ = ruleName; + setParameter(std::string("RuleName"), ruleName); } -void DescribeDcdnDomainCcActivityLogRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeDcdnDomainCcActivityLogRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainCcActivityLogRequest::getValue()const -{ - return value_; +void DescribeDcdnDomainCcActivityLogRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainCcActivityLogRequest::setValue(const std::string& value) -{ - value_ = value; - setParameter("Value", value); +std::string DescribeDcdnDomainCcActivityLogRequest::getTriggerObject() const { + return triggerObject_; } -std::string DescribeDcdnDomainCcActivityLogRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainCcActivityLogRequest::setTriggerObject(const std::string &triggerObject) { + triggerObject_ = triggerObject; + setParameter(std::string("TriggerObject"), triggerObject); } -void DescribeDcdnDomainCcActivityLogRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainCcActivityLogRequest::getValue() const { + return value_; } -std::string DescribeDcdnDomainCcActivityLogRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainCcActivityLogRequest::setValue(const std::string &value) { + value_ = value; + setParameter(std::string("Value"), value); } -void DescribeDcdnDomainCcActivityLogRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +long DescribeDcdnDomainCcActivityLogRequest::getPageNumber() const { + return pageNumber_; } -long DescribeDcdnDomainCcActivityLogRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainCcActivityLogRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainCcActivityLogRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.cc b/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.cc index 3e72eb99f..31f0c613e 100644 --- a/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainCcActivityLogResult::parse(const std::string &payload) 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["TriggerObject"].isNull()) + activityLogObject.triggerObject = valueActivityLogLogInfo["TriggerObject"].asString(); + if(!valueActivityLogLogInfo["TimeStamp"].isNull()) + activityLogObject.timeStamp = valueActivityLogLogInfo["TimeStamp"].asString(); + if(!valueActivityLogLogInfo["DomainName"].isNull()) + activityLogObject.domainName = valueActivityLogLogInfo["DomainName"].asString(); if(!valueActivityLogLogInfo["RuleName"].isNull()) activityLogObject.ruleName = valueActivityLogLogInfo["RuleName"].asString(); activityLog_.push_back(activityLogObject); diff --git a/dcdn/src/model/DescribeDcdnDomainCertificateInfoRequest.cc b/dcdn/src/model/DescribeDcdnDomainCertificateInfoRequest.cc index 9622e37a0..56cdc5e0c 100644 --- a/dcdn/src/model/DescribeDcdnDomainCertificateInfoRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainCertificateInfoRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainCertificateInfoRequest; - -DescribeDcdnDomainCertificateInfoRequest::DescribeDcdnDomainCertificateInfoRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCertificateInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainCertificateInfoRequest::~DescribeDcdnDomainCertificateInfoRequest() -{} - -std::string DescribeDcdnDomainCertificateInfoRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainCertificateInfoRequest; + +DescribeDcdnDomainCertificateInfoRequest::DescribeDcdnDomainCertificateInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCertificateInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainCertificateInfoRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnDomainCertificateInfoRequest::~DescribeDcdnDomainCertificateInfoRequest() {} + +std::string DescribeDcdnDomainCertificateInfoRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnDomainCertificateInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainCertificateInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainCertificateInfoRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/DescribeDcdnDomainCertificateInfoResult.cc b/dcdn/src/model/DescribeDcdnDomainCertificateInfoResult.cc index 508590c75..025f8a4a6 100644 --- a/dcdn/src/model/DescribeDcdnDomainCertificateInfoResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainCertificateInfoResult.cc @@ -43,26 +43,30 @@ void DescribeDcdnDomainCertificateInfoResult::parse(const std::string &payload) 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["SSLProtocol"].isNull()) - certInfosObject.sSLProtocol = valueCertInfosCertInfo["SSLProtocol"].asString(); if(!valueCertInfosCertInfo["Status"].isNull()) certInfosObject.status = valueCertInfosCertInfo["Status"].asString(); + if(!valueCertInfosCertInfo["CertLife"].isNull()) + certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString(); + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); if(!valueCertInfosCertInfo["SSLPub"].isNull()) certInfosObject.sSLPub = valueCertInfosCertInfo["SSLPub"].asString(); + if(!valueCertInfosCertInfo["SSLProtocol"].isNull()) + certInfosObject.sSLProtocol = valueCertInfosCertInfo["SSLProtocol"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertDomainName"].isNull()) + certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertOrg"].isNull()) + certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString(); + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); + if(!valueCertInfosCertInfo["CertId"].isNull()) + certInfosObject.certId = valueCertInfosCertInfo["CertId"].asString(); + if(!valueCertInfosCertInfo["CertRegion"].isNull()) + certInfosObject.certRegion = valueCertInfosCertInfo["CertRegion"].asString(); certInfos_.push_back(certInfosObject); } diff --git a/dcdn/src/model/DescribeDcdnDomainCnameRequest.cc b/dcdn/src/model/DescribeDcdnDomainCnameRequest.cc index 755a08d3e..9fccb8332 100644 --- a/dcdn/src/model/DescribeDcdnDomainCnameRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainCnameRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainCnameRequest; - -DescribeDcdnDomainCnameRequest::DescribeDcdnDomainCnameRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCname") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnDomainCnameRequest::~DescribeDcdnDomainCnameRequest() -{} - -std::string DescribeDcdnDomainCnameRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainCnameRequest; + +DescribeDcdnDomainCnameRequest::DescribeDcdnDomainCnameRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainCname") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnDomainCnameRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnDomainCnameRequest::~DescribeDcdnDomainCnameRequest() {} + +std::string DescribeDcdnDomainCnameRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnDomainCnameRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainCnameRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainCnameRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/DescribeDcdnDomainCnameResult.cc b/dcdn/src/model/DescribeDcdnDomainCnameResult.cc index 3e1950076..efd471534 100644 --- a/dcdn/src/model/DescribeDcdnDomainCnameResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainCnameResult.cc @@ -43,12 +43,12 @@ void DescribeDcdnDomainCnameResult::parse(const std::string &payload) for (auto valueCnameDatasData : allCnameDatasNode) { Data cnameDatasObject; + if(!valueCnameDatasData["Status"].isNull()) + cnameDatasObject.status = std::stoi(valueCnameDatasData["Status"].asString()); if(!valueCnameDatasData["Domain"].isNull()) cnameDatasObject.domain = valueCnameDatasData["Domain"].asString(); if(!valueCnameDatasData["Cname"].isNull()) cnameDatasObject.cname = valueCnameDatasData["Cname"].asString(); - if(!valueCnameDatasData["Status"].isNull()) - cnameDatasObject.status = std::stoi(valueCnameDatasData["Status"].asString()); cnameDatas_.push_back(cnameDatasObject); } diff --git a/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc b/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc index d8183b4b4..307317cd2 100644 --- a/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainConfigsRequest.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::Dcdn::Model::DescribeDcdnDomainConfigsRequest; - -DescribeDcdnDomainConfigsRequest::DescribeDcdnDomainConfigsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainConfigsRequest::~DescribeDcdnDomainConfigsRequest() -{} - -std::string DescribeDcdnDomainConfigsRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainConfigsRequest; + +DescribeDcdnDomainConfigsRequest::DescribeDcdnDomainConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainConfigsRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +DescribeDcdnDomainConfigsRequest::~DescribeDcdnDomainConfigsRequest() {} + +std::string DescribeDcdnDomainConfigsRequest::getFunctionNames() const { + return functionNames_; } -std::string DescribeDcdnDomainConfigsRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void DescribeDcdnDomainConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainConfigsRequest::getSecurityToken() const { + return securityToken_; } -long DescribeDcdnDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainConfigsRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnDomainConfigsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnDomainConfigsRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnDomainConfigsRequest::getConfigId()const -{ - return configId_; +void DescribeDcdnDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnDomainConfigsRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); +std::string DescribeDcdnDomainConfigsRequest::getConfigId() const { + return configId_; +} + +void DescribeDcdnDomainConfigsRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); } diff --git a/dcdn/src/model/DescribeDcdnDomainConfigsResult.cc b/dcdn/src/model/DescribeDcdnDomainConfigsResult.cc index 9f1a0da11..6ab2e1167 100644 --- a/dcdn/src/model/DescribeDcdnDomainConfigsResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainConfigsResult.cc @@ -43,12 +43,14 @@ void DescribeDcdnDomainConfigsResult::parse(const std::string &payload) 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(); + if(!valueDomainConfigsDomainConfig["ParentId"].isNull()) + domainConfigsObject.parentId = valueDomainConfigsDomainConfig["ParentId"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) { diff --git a/dcdn/src/model/DescribeDcdnDomainDetailRequest.cc b/dcdn/src/model/DescribeDcdnDomainDetailRequest.cc index c55ca8a60..136565398 100644 --- a/dcdn/src/model/DescribeDcdnDomainDetailRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainDetailRequest.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::Dcdn::Model::DescribeDcdnDomainDetailRequest; - -DescribeDcdnDomainDetailRequest::DescribeDcdnDomainDetailRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainDetailRequest::~DescribeDcdnDomainDetailRequest() -{} - -std::string DescribeDcdnDomainDetailRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainDetailRequest; + +DescribeDcdnDomainDetailRequest::DescribeDcdnDomainDetailRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainDetailRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnDomainDetailRequest::~DescribeDcdnDomainDetailRequest() {} + +std::string DescribeDcdnDomainDetailRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnDomainDetailRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainDetailRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDcdnDomainDetailRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnDomainDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnDomainDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnDomainDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnDomainDetailRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnDomainDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnDomainDetailResult.cc b/dcdn/src/model/DescribeDcdnDomainDetailResult.cc index 25016bec7..510fb9d65 100644 --- a/dcdn/src/model/DescribeDcdnDomainDetailResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainDetailResult.cc @@ -42,42 +42,44 @@ void DescribeDcdnDomainDetailResult::parse(const std::string &payload) auto domainDetailNode = value["DomainDetail"]; if(!domainDetailNode["GmtCreated"].isNull()) domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString(); - if(!domainDetailNode["GmtModified"].isNull()) - domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString(); - if(!domainDetailNode["DomainStatus"].isNull()) - domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString(); - if(!domainDetailNode["Cname"].isNull()) - domainDetail_.cname = domainDetailNode["Cname"].asString(); - if(!domainDetailNode["DomainName"].isNull()) - domainDetail_.domainName = domainDetailNode["DomainName"].asString(); + if(!domainDetailNode["SSLPub"].isNull()) + domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString(); if(!domainDetailNode["Description"].isNull()) domainDetail_.description = domainDetailNode["Description"].asString(); if(!domainDetailNode["SSLProtocol"].isNull()) domainDetail_.sSLProtocol = domainDetailNode["SSLProtocol"].asString(); - if(!domainDetailNode["SSLPub"].isNull()) - domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString(); - if(!domainDetailNode["Scope"].isNull()) - domainDetail_.scope = domainDetailNode["Scope"].asString(); - if(!domainDetailNode["CertName"].isNull()) - domainDetail_.certName = domainDetailNode["CertName"].asString(); if(!domainDetailNode["ResourceGroupId"].isNull()) domainDetail_.resourceGroupId = domainDetailNode["ResourceGroupId"].asString(); + if(!domainDetailNode["Scope"].isNull()) + domainDetail_.scope = domainDetailNode["Scope"].asString(); + if(!domainDetailNode["Cname"].isNull()) + domainDetail_.cname = domainDetailNode["Cname"].asString(); + if(!domainDetailNode["DomainStatus"].isNull()) + domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString(); + if(!domainDetailNode["GmtModified"].isNull()) + domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString(); + if(!domainDetailNode["DomainName"].isNull()) + domainDetail_.domainName = domainDetailNode["DomainName"].asString(); + if(!domainDetailNode["Scene"].isNull()) + domainDetail_.scene = domainDetailNode["Scene"].asString(); + if(!domainDetailNode["FunctionType"].isNull()) + domainDetail_.functionType = domainDetailNode["FunctionType"].asString(); auto allSourcesNode = domainDetailNode["Sources"]["Source"]; for (auto domainDetailNodeSourcesSource : allSourcesNode) { DomainDetail::Source sourceObject; - if(!domainDetailNodeSourcesSource["Content"].isNull()) - sourceObject.content = domainDetailNodeSourcesSource["Content"].asString(); if(!domainDetailNodeSourcesSource["Type"].isNull()) sourceObject.type = domainDetailNodeSourcesSource["Type"].asString(); - if(!domainDetailNodeSourcesSource["Port"].isNull()) - sourceObject.port = std::stoi(domainDetailNodeSourcesSource["Port"].asString()); + if(!domainDetailNodeSourcesSource["Weight"].isNull()) + sourceObject.weight = domainDetailNodeSourcesSource["Weight"].asString(); if(!domainDetailNodeSourcesSource["Enabled"].isNull()) sourceObject.enabled = domainDetailNodeSourcesSource["Enabled"].asString(); if(!domainDetailNodeSourcesSource["Priority"].isNull()) sourceObject.priority = domainDetailNodeSourcesSource["Priority"].asString(); - if(!domainDetailNodeSourcesSource["Weight"].isNull()) - sourceObject.weight = domainDetailNodeSourcesSource["Weight"].asString(); + if(!domainDetailNodeSourcesSource["Port"].isNull()) + sourceObject.port = std::stoi(domainDetailNodeSourcesSource["Port"].asString()); + if(!domainDetailNodeSourcesSource["Content"].isNull()) + sourceObject.content = domainDetailNodeSourcesSource["Content"].asString(); domainDetail_.sources.push_back(sourceObject); } diff --git a/dcdn/src/model/DescribeDcdnDomainHitRateDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainHitRateDataRequest.cc index eea729eaf..a2b8816d6 100644 --- a/dcdn/src/model/DescribeDcdnDomainHitRateDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainHitRateDataRequest.cc @@ -1,84 +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::Dcdn::Model::DescribeDcdnDomainHitRateDataRequest; - -DescribeDcdnDomainHitRateDataRequest::DescribeDcdnDomainHitRateDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHitRateData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainHitRateDataRequest::~DescribeDcdnDomainHitRateDataRequest() -{} - -std::string DescribeDcdnDomainHitRateDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainHitRateDataRequest; + +DescribeDcdnDomainHitRateDataRequest::DescribeDcdnDomainHitRateDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHitRateData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainHitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainHitRateDataRequest::~DescribeDcdnDomainHitRateDataRequest() {} + +std::string DescribeDcdnDomainHitRateDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainHitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainHitRateDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainHitRateDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainHitRateDataRequest::getInterval() const { + return interval_; } -long DescribeDcdnDomainHitRateDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainHitRateDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainHitRateDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainHitRateDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainHitRateDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainHitRateDataResult.cc b/dcdn/src/model/DescribeDcdnDomainHitRateDataResult.cc index fee1a57bf..5d04c22b3 100644 --- a/dcdn/src/model/DescribeDcdnDomainHitRateDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainHitRateDataResult.cc @@ -45,18 +45,18 @@ void DescribeDcdnDomainHitRateDataResult::parse(const std::string &payload) DataModule hitRatePerIntervalObject; if(!valueHitRatePerIntervalDataModule["TimeStamp"].isNull()) hitRatePerIntervalObject.timeStamp = valueHitRatePerIntervalDataModule["TimeStamp"].asString(); - if(!valueHitRatePerIntervalDataModule["ReqHitRate"].isNull()) - hitRatePerIntervalObject.reqHitRate = std::stof(valueHitRatePerIntervalDataModule["ReqHitRate"].asString()); if(!valueHitRatePerIntervalDataModule["ByteHitRate"].isNull()) hitRatePerIntervalObject.byteHitRate = std::stof(valueHitRatePerIntervalDataModule["ByteHitRate"].asString()); + if(!valueHitRatePerIntervalDataModule["ReqHitRate"].isNull()) + hitRatePerIntervalObject.reqHitRate = std::stof(valueHitRatePerIntervalDataModule["ReqHitRate"].asString()); hitRatePerInterval_.push_back(hitRatePerIntervalObject); } - 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/dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.cc b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.cc new file mode 100644 index 000000000..974d10246 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainHttpCodeDataByLayerRequest; + +DescribeDcdnDomainHttpCodeDataByLayerRequest::DescribeDcdnDomainHttpCodeDataByLayerRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHttpCodeDataByLayer") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainHttpCodeDataByLayerRequest::~DescribeDcdnDomainHttpCodeDataByLayerRequest() {} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDcdnDomainHttpCodeDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerResult.cc b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerResult.cc new file mode 100644 index 000000000..45908859d --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataByLayerResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainHttpCodeDataByLayerResult::DescribeDcdnDomainHttpCodeDataByLayerResult() : + ServiceResult() +{} + +DescribeDcdnDomainHttpCodeDataByLayerResult::DescribeDcdnDomainHttpCodeDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainHttpCodeDataByLayerResult::~DescribeDcdnDomainHttpCodeDataByLayerResult() +{} + +void DescribeDcdnDomainHttpCodeDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allHttpCodeDataIntervalNode = value["HttpCodeDataInterval"]["DataModule"]; + for (auto valueHttpCodeDataIntervalDataModule : allHttpCodeDataIntervalNode) + { + DataModule httpCodeDataIntervalObject; + if(!valueHttpCodeDataIntervalDataModule["Value"].isNull()) + httpCodeDataIntervalObject.value = valueHttpCodeDataIntervalDataModule["Value"].asString(); + if(!valueHttpCodeDataIntervalDataModule["TimeStamp"].isNull()) + httpCodeDataIntervalObject.timeStamp = valueHttpCodeDataIntervalDataModule["TimeStamp"].asString(); + if(!valueHttpCodeDataIntervalDataModule["TotalValue"].isNull()) + httpCodeDataIntervalObject.totalValue = valueHttpCodeDataIntervalDataModule["TotalValue"].asString(); + httpCodeDataInterval_.push_back(httpCodeDataIntervalObject); + } + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDcdnDomainHttpCodeDataByLayerResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDcdnDomainHttpCodeDataByLayerResult::getHttpCodeDataInterval()const +{ + return httpCodeDataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainHttpCodeDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataRequest.cc index 669b8a7b3..aafa38900 100644 --- a/dcdn/src/model/DescribeDcdnDomainHttpCodeDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainHttpCodeDataRequest; - -DescribeDcdnDomainHttpCodeDataRequest::DescribeDcdnDomainHttpCodeDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHttpCodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainHttpCodeDataRequest::~DescribeDcdnDomainHttpCodeDataRequest() -{} - -std::string DescribeDcdnDomainHttpCodeDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainHttpCodeDataRequest; + +DescribeDcdnDomainHttpCodeDataRequest::DescribeDcdnDomainHttpCodeDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainHttpCodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainHttpCodeDataRequest::~DescribeDcdnDomainHttpCodeDataRequest() {} + +std::string DescribeDcdnDomainHttpCodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainHttpCodeDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainHttpCodeDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainHttpCodeDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainHttpCodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainHttpCodeDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainHttpCodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainHttpCodeDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainHttpCodeDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainHttpCodeDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainHttpCodeDataResult.cc b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataResult.cc index 8fcf478c3..6452f2ad9 100644 --- a/dcdn/src/model/DescribeDcdnDomainHttpCodeDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainHttpCodeDataResult.cc @@ -59,12 +59,12 @@ void DescribeDcdnDomainHttpCodeDataResult::parse(const std::string &payload) } dataPerInterval_.push_back(dataPerIntervalObject); } - 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/dcdn/src/model/DescribeDcdnDomainIpaBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainIpaBpsDataRequest.cc index 0cdb170bc..f465ae0d7 100644 --- a/dcdn/src/model/DescribeDcdnDomainIpaBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainIpaBpsDataRequest.cc @@ -1,128 +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::Dcdn::Model::DescribeDcdnDomainIpaBpsDataRequest; - -DescribeDcdnDomainIpaBpsDataRequest::DescribeDcdnDomainIpaBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIpaBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainIpaBpsDataRequest::~DescribeDcdnDomainIpaBpsDataRequest() -{} - -std::string DescribeDcdnDomainIpaBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainIpaBpsDataRequest; + +DescribeDcdnDomainIpaBpsDataRequest::DescribeDcdnDomainIpaBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIpaBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainIpaBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainIpaBpsDataRequest::~DescribeDcdnDomainIpaBpsDataRequest() {} + +std::string DescribeDcdnDomainIpaBpsDataRequest::getFixTimeGap() const { + return fixTimeGap_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainIpaBpsDataRequest::setFixTimeGap(const std::string &fixTimeGap) { + fixTimeGap_ = fixTimeGap; + setParameter(std::string("FixTimeGap"), fixTimeGap); } -void DescribeDcdnDomainIpaBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainIpaBpsDataRequest::getTimeMerge() const { + return timeMerge_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainIpaBpsDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDcdnDomainIpaBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainIpaBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getFixTimeGap()const -{ - return fixTimeGap_; +void DescribeDcdnDomainIpaBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainIpaBpsDataRequest::setFixTimeGap(const std::string& fixTimeGap) -{ - fixTimeGap_ = fixTimeGap; - setParameter("FixTimeGap", fixTimeGap); +std::string DescribeDcdnDomainIpaBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getTimeMerge()const -{ - return timeMerge_; +void DescribeDcdnDomainIpaBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainIpaBpsDataRequest::setTimeMerge(const std::string& timeMerge) -{ - timeMerge_ = timeMerge; - setParameter("TimeMerge", timeMerge); +std::string DescribeDcdnDomainIpaBpsDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainIpaBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainIpaBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainIpaBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainIpaBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainIpaBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainIpaBpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainIpaBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainIpaBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainIpaBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainIpaBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainIpaBpsDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainIpaBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainIpaBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainIpaBpsDataResult.cc b/dcdn/src/model/DescribeDcdnDomainIpaBpsDataResult.cc index 82894b172..7ba9fbb75 100644 --- a/dcdn/src/model/DescribeDcdnDomainIpaBpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainIpaBpsDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainIpaBpsDataResult::parse(const std::string &payload) for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode) { DataModule bpsDataPerIntervalObject; - if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueBpsDataPerIntervalDataModule["IpaBps"].isNull()) bpsDataPerIntervalObject.ipaBps = std::stof(valueBpsDataPerIntervalDataModule["IpaBps"].asString()); + if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].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["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/dcdn/src/model/DescribeDcdnDomainIpaConnDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainIpaConnDataRequest.cc new file mode 100644 index 000000000..e37235de3 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainIpaConnDataRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainIpaConnDataRequest; + +DescribeDcdnDomainIpaConnDataRequest::DescribeDcdnDomainIpaConnDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIpaConnData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainIpaConnDataRequest::~DescribeDcdnDomainIpaConnDataRequest() {} + +std::string DescribeDcdnDomainIpaConnDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnDomainIpaConnDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDcdnDomainIpaConnDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnDomainIpaConnDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnDomainIpaConnDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnDomainIpaConnDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnDomainIpaConnDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeDcdnDomainIpaConnDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainIpaConnDataResult.cc b/dcdn/src/model/DescribeDcdnDomainIpaConnDataResult.cc new file mode 100644 index 000000000..04920b1a4 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainIpaConnDataResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainIpaConnDataResult::DescribeDcdnDomainIpaConnDataResult() : + ServiceResult() +{} + +DescribeDcdnDomainIpaConnDataResult::DescribeDcdnDomainIpaConnDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainIpaConnDataResult::~DescribeDcdnDomainIpaConnDataResult() +{} + +void DescribeDcdnDomainIpaConnDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConnectionDataPerIntervalNode = value["ConnectionDataPerInterval"]["DataModule"]; + for (auto valueConnectionDataPerIntervalDataModule : allConnectionDataPerIntervalNode) + { + DataModule connectionDataPerIntervalObject; + if(!valueConnectionDataPerIntervalDataModule["TimeStamp"].isNull()) + connectionDataPerIntervalObject.timeStamp = valueConnectionDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueConnectionDataPerIntervalDataModule["Domain"].isNull()) + connectionDataPerIntervalObject.domain = valueConnectionDataPerIntervalDataModule["Domain"].asString(); + if(!valueConnectionDataPerIntervalDataModule["Connections"].isNull()) + connectionDataPerIntervalObject.connections = std::stol(valueConnectionDataPerIntervalDataModule["Connections"].asString()); + connectionDataPerInterval_.push_back(connectionDataPerIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::vector DescribeDcdnDomainIpaConnDataResult::getConnectionDataPerInterval()const +{ + return connectionDataPerInterval_; +} + +std::string DescribeDcdnDomainIpaConnDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnDomainIpaConnDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataRequest.cc index df1e85d40..ce14df6b8 100644 --- a/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataRequest.cc @@ -1,128 +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::Dcdn::Model::DescribeDcdnDomainIpaTrafficDataRequest; - -DescribeDcdnDomainIpaTrafficDataRequest::DescribeDcdnDomainIpaTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIpaTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainIpaTrafficDataRequest::~DescribeDcdnDomainIpaTrafficDataRequest() -{} - -std::string DescribeDcdnDomainIpaTrafficDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainIpaTrafficDataRequest; + +DescribeDcdnDomainIpaTrafficDataRequest::DescribeDcdnDomainIpaTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIpaTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainIpaTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainIpaTrafficDataRequest::~DescribeDcdnDomainIpaTrafficDataRequest() {} + +std::string DescribeDcdnDomainIpaTrafficDataRequest::getFixTimeGap() const { + return fixTimeGap_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainIpaTrafficDataRequest::setFixTimeGap(const std::string &fixTimeGap) { + fixTimeGap_ = fixTimeGap; + setParameter(std::string("FixTimeGap"), fixTimeGap); } -void DescribeDcdnDomainIpaTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getTimeMerge() const { + return timeMerge_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainIpaTrafficDataRequest::setTimeMerge(const std::string &timeMerge) { + timeMerge_ = timeMerge; + setParameter(std::string("TimeMerge"), timeMerge); } -void DescribeDcdnDomainIpaTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getFixTimeGap()const -{ - return fixTimeGap_; +void DescribeDcdnDomainIpaTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainIpaTrafficDataRequest::setFixTimeGap(const std::string& fixTimeGap) -{ - fixTimeGap_ = fixTimeGap; - setParameter("FixTimeGap", fixTimeGap); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getTimeMerge()const -{ - return timeMerge_; +void DescribeDcdnDomainIpaTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainIpaTrafficDataRequest::setTimeMerge(const std::string& timeMerge) -{ - timeMerge_ = timeMerge; - setParameter("TimeMerge", timeMerge); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainIpaTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainIpaTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainIpaTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainIpaTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainIpaTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainIpaTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainIpaTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainIpaTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainIpaTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainIpaTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainIpaTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataResult.cc index e622f7cca..178f092e9 100644 --- a/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainIpaTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainIpaTrafficDataResult::parse(const std::string &payload) for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) { DataModule trafficDataPerIntervalObject; - if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueTrafficDataPerIntervalDataModule["IpaTraffic"].isNull()) trafficDataPerIntervalObject.ipaTraffic = std::stof(valueTrafficDataPerIntervalDataModule["IpaTraffic"].asString()); + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].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["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/dcdn/src/model/DescribeDcdnDomainIspDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainIspDataRequest.cc index a85c1ab42..8e4b6071e 100644 --- a/dcdn/src/model/DescribeDcdnDomainIspDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainIspDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainIspDataRequest; - -DescribeDcdnDomainIspDataRequest::DescribeDcdnDomainIspDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIspData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainIspDataRequest::~DescribeDcdnDomainIspDataRequest() -{} - -std::string DescribeDcdnDomainIspDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainIspDataRequest; + +DescribeDcdnDomainIspDataRequest::DescribeDcdnDomainIspDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainIspData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainIspDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainIspDataRequest::~DescribeDcdnDomainIspDataRequest() {} + +std::string DescribeDcdnDomainIspDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainIspDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainIspDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainIspDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainIspDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainIspDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainIspDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainIspDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainIspDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainIspDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainIspDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainIspDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainIspDataResult.cc b/dcdn/src/model/DescribeDcdnDomainIspDataResult.cc index ca6b3941b..da4953abd 100644 --- a/dcdn/src/model/DescribeDcdnDomainIspDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainIspDataResult.cc @@ -43,38 +43,38 @@ void DescribeDcdnDomainIspDataResult::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["AvgResponseTime"].isNull()) - valueObject.avgResponseTime = valueValueIspProportionData["AvgResponseTime"].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["TotalBytes"].isNull()) - valueObject.totalBytes = valueValueIspProportionData["TotalBytes"].asString(); - if(!valueValueIspProportionData["BytesProportion"].isNull()) - valueObject.bytesProportion = valueValueIspProportionData["BytesProportion"].asString(); if(!valueValueIspProportionData["TotalQuery"].isNull()) valueObject.totalQuery = valueValueIspProportionData["TotalQuery"].asString(); + if(!valueValueIspProportionData["TotalBytes"].isNull()) + valueObject.totalBytes = valueValueIspProportionData["TotalBytes"].asString(); + if(!valueValueIspProportionData["AvgResponseRate"].isNull()) + valueObject.avgResponseRate = valueValueIspProportionData["AvgResponseRate"].asString(); + if(!valueValueIspProportionData["AvgResponseTime"].isNull()) + valueObject.avgResponseTime = valueValueIspProportionData["AvgResponseTime"].asString(); + if(!valueValueIspProportionData["Proportion"].isNull()) + valueObject.proportion = valueValueIspProportionData["Proportion"].asString(); + if(!valueValueIspProportionData["AvgObjectSize"].isNull()) + valueObject.avgObjectSize = valueValueIspProportionData["AvgObjectSize"].asString(); + if(!valueValueIspProportionData["IspEname"].isNull()) + valueObject.ispEname = valueValueIspProportionData["IspEname"].asString(); + if(!valueValueIspProportionData["Bps"].isNull()) + valueObject.bps = valueValueIspProportionData["Bps"].asString(); + if(!valueValueIspProportionData["Isp"].isNull()) + valueObject.isp = valueValueIspProportionData["Isp"].asString(); + if(!valueValueIspProportionData["BytesProportion"].isNull()) + valueObject.bytesProportion = valueValueIspProportionData["BytesProportion"].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(); } @@ -93,13 +93,13 @@ std::vector DescribeDcdnDoma return value_; } -std::string DescribeDcdnDomainIspDataResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDcdnDomainIspDataResult::getStartTime()const { return startTime_; } +std::string DescribeDcdnDomainIspDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainLogExTtlRequest.cc b/dcdn/src/model/DescribeDcdnDomainLogExTtlRequest.cc new file mode 100644 index 000000000..27c7452ab --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainLogExTtlRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainLogExTtlRequest; + +DescribeDcdnDomainLogExTtlRequest::DescribeDcdnDomainLogExTtlRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainLogExTtl") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainLogExTtlRequest::~DescribeDcdnDomainLogExTtlRequest() {} + +std::string DescribeDcdnDomainLogExTtlRequest::getLogType() const { + return logType_; +} + +void DescribeDcdnDomainLogExTtlRequest::setLogType(const std::string &logType) { + logType_ = logType; + setParameter(std::string("LogType"), logType); +} + +std::string DescribeDcdnDomainLogExTtlRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnDomainLogExTtlRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeDcdnDomainLogExTtlRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnDomainLogExTtlRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDcdnDomainLogExTtlRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnDomainLogExTtlRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnDomainLogExTtlRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnDomainLogExTtlRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +long DescribeDcdnDomainLogExTtlRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnDomainLogExTtlRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainLogExTtlResult.cc b/dcdn/src/model/DescribeDcdnDomainLogExTtlResult.cc new file mode 100644 index 000000000..544068d36 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainLogExTtlResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainLogExTtlResult::DescribeDcdnDomainLogExTtlResult() : + ServiceResult() +{} + +DescribeDcdnDomainLogExTtlResult::DescribeDcdnDomainLogExTtlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainLogExTtlResult::~DescribeDcdnDomainLogExTtlResult() +{} + +void DescribeDcdnDomainLogExTtlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainLogDetailsNode = value["DomainLogDetails"]["DomainLogDetail"]; + for (auto valueDomainLogDetailsDomainLogDetail : allDomainLogDetailsNode) + { + DomainLogDetail domainLogDetailsObject; + if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull()) + domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString()); + if(!valueDomainLogDetailsDomainLogDetail["DomainName"].isNull()) + domainLogDetailsObject.domainName = valueDomainLogDetailsDomainLogDetail["DomainName"].asString(); + auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"]; + for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode) + { + DomainLogDetail::LogInfoDetail logInfosObject; + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull()) + logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull()) + logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString()); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull()) + logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull()) + logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) + logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].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); + } + +} + +std::vector DescribeDcdnDomainLogExTtlResult::getDomainLogDetails()const +{ + return domainLogDetails_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainLogRequest.cc b/dcdn/src/model/DescribeDcdnDomainLogRequest.cc index 9ba948419..450cf23bc 100644 --- a/dcdn/src/model/DescribeDcdnDomainLogRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainLogRequest.cc @@ -1,95 +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::Dcdn::Model::DescribeDcdnDomainLogRequest; - -DescribeDcdnDomainLogRequest::DescribeDcdnDomainLogRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainLog") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainLogRequest::~DescribeDcdnDomainLogRequest() -{} - -std::string DescribeDcdnDomainLogRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainLogRequest; + +DescribeDcdnDomainLogRequest::DescribeDcdnDomainLogRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainLog") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainLogRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainLogRequest::~DescribeDcdnDomainLogRequest() {} + +std::string DescribeDcdnDomainLogRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnDomainLogRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeDcdnDomainLogRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainLogRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long DescribeDcdnDomainLogRequest::getPageSize() const { + return pageSize_; } -long DescribeDcdnDomainLogRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnDomainLogRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnDomainLogRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeDcdnDomainLogRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainLogRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainLogRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainLogRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainLogRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainLogRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainLogRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainLogRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +long DescribeDcdnDomainLogRequest::getPageNumber() const { + return pageNumber_; } -long DescribeDcdnDomainLogRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainLogRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainLogRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dcdn/src/model/DescribeDcdnDomainLogResult.cc b/dcdn/src/model/DescribeDcdnDomainLogResult.cc index 1389a2e0c..b682c1d75 100644 --- a/dcdn/src/model/DescribeDcdnDomainLogResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainLogResult.cc @@ -49,16 +49,16 @@ void DescribeDcdnDomainLogResult::parse(const std::string &payload) 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["EndTime"].isNull()) + logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].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(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull()) + logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) + logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString(); domainLogDetailsObject.logInfos.push_back(logInfosObject); } auto pageInfosNode = value["PageInfos"]; diff --git a/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc index e297391f4..ccee1bfb4 100644 --- a/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainMultiUsageDataRequest; - -DescribeDcdnDomainMultiUsageDataRequest::DescribeDcdnDomainMultiUsageDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainMultiUsageData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainMultiUsageDataRequest::~DescribeDcdnDomainMultiUsageDataRequest() -{} - -std::string DescribeDcdnDomainMultiUsageDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainMultiUsageDataRequest; + +DescribeDcdnDomainMultiUsageDataRequest::DescribeDcdnDomainMultiUsageDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainMultiUsageData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainMultiUsageDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainMultiUsageDataRequest::~DescribeDcdnDomainMultiUsageDataRequest() {} + +std::string DescribeDcdnDomainMultiUsageDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainMultiUsageDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainMultiUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainMultiUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainMultiUsageDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainMultiUsageDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainMultiUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainMultiUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainMultiUsageDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainMultiUsageDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainMultiUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainMultiUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc index dc5b189ce..ce5a0dba6 100644 --- a/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainMultiUsageDataResult.cc @@ -43,36 +43,36 @@ void DescribeDcdnDomainMultiUsageDataResult::parse(const std::string &payload) for (auto valueRequestPerIntervalRequestDataModule : allRequestPerIntervalNode) { RequestDataModule requestPerIntervalObject; + if(!valueRequestPerIntervalRequestDataModule["Type"].isNull()) + requestPerIntervalObject.type = valueRequestPerIntervalRequestDataModule["Type"].asString(); if(!valueRequestPerIntervalRequestDataModule["TimeStamp"].isNull()) requestPerIntervalObject.timeStamp = valueRequestPerIntervalRequestDataModule["TimeStamp"].asString(); if(!valueRequestPerIntervalRequestDataModule["Domain"].isNull()) requestPerIntervalObject.domain = valueRequestPerIntervalRequestDataModule["Domain"].asString(); if(!valueRequestPerIntervalRequestDataModule["Request"].isNull()) requestPerIntervalObject.request = std::stol(valueRequestPerIntervalRequestDataModule["Request"].asString()); - 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["Domain"].isNull()) + trafficPerIntervalObject.domain = valueTrafficPerIntervalTrafficDataModule["Domain"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["TimeStamp"].isNull()) + trafficPerIntervalObject.timeStamp = valueTrafficPerIntervalTrafficDataModule["TimeStamp"].asString(); if(!valueTrafficPerIntervalTrafficDataModule["Area"].isNull()) trafficPerIntervalObject.area = valueTrafficPerIntervalTrafficDataModule["Area"].asString(); + if(!valueTrafficPerIntervalTrafficDataModule["Bps"].isNull()) + trafficPerIntervalObject.bps = std::stof(valueTrafficPerIntervalTrafficDataModule["Bps"].asString()); trafficPerInterval_.push_back(trafficPerIntervalObject); } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); } diff --git a/dcdn/src/model/DescribeDcdnDomainOriginBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainOriginBpsDataRequest.cc index cc17c5988..9e2909948 100644 --- a/dcdn/src/model/DescribeDcdnDomainOriginBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainOriginBpsDataRequest.cc @@ -1,84 +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::Dcdn::Model::DescribeDcdnDomainOriginBpsDataRequest; - -DescribeDcdnDomainOriginBpsDataRequest::DescribeDcdnDomainOriginBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainOriginBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainOriginBpsDataRequest::~DescribeDcdnDomainOriginBpsDataRequest() -{} - -std::string DescribeDcdnDomainOriginBpsDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainOriginBpsDataRequest; + +DescribeDcdnDomainOriginBpsDataRequest::DescribeDcdnDomainOriginBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainOriginBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainOriginBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainOriginBpsDataRequest::~DescribeDcdnDomainOriginBpsDataRequest() {} + +std::string DescribeDcdnDomainOriginBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainOriginBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainOriginBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainOriginBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainOriginBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainOriginBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainOriginBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainOriginBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainOriginBpsDataRequest::getInterval() const { + return interval_; } -long DescribeDcdnDomainOriginBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainOriginBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainOriginBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainOriginBpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainOriginBpsDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainOriginBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainOriginBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainOriginBpsDataResult.cc b/dcdn/src/model/DescribeDcdnDomainOriginBpsDataResult.cc index 2336941af..1a539f659 100644 --- a/dcdn/src/model/DescribeDcdnDomainOriginBpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainOriginBpsDataResult.cc @@ -43,26 +43,26 @@ void DescribeDcdnDomainOriginBpsDataResult::parse(const std::string &payload) for (auto valueOriginBpsDataPerIntervalDataModule : allOriginBpsDataPerIntervalNode) { DataModule originBpsDataPerIntervalObject; - if(!valueOriginBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - originBpsDataPerIntervalObject.timeStamp = valueOriginBpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueOriginBpsDataPerIntervalDataModule["OriginBps"].isNull()) - originBpsDataPerIntervalObject.originBps = std::stof(valueOriginBpsDataPerIntervalDataModule["OriginBps"].asString()); if(!valueOriginBpsDataPerIntervalDataModule["DynamicHttpOriginBps"].isNull()) originBpsDataPerIntervalObject.dynamicHttpOriginBps = std::stof(valueOriginBpsDataPerIntervalDataModule["DynamicHttpOriginBps"].asString()); - if(!valueOriginBpsDataPerIntervalDataModule["DynamicHttpsOriginBps"].isNull()) - originBpsDataPerIntervalObject.dynamicHttpsOriginBps = std::stof(valueOriginBpsDataPerIntervalDataModule["DynamicHttpsOriginBps"].asString()); if(!valueOriginBpsDataPerIntervalDataModule["StaticHttpOriginBps"].isNull()) originBpsDataPerIntervalObject.staticHttpOriginBps = std::stof(valueOriginBpsDataPerIntervalDataModule["StaticHttpOriginBps"].asString()); + if(!valueOriginBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + originBpsDataPerIntervalObject.timeStamp = valueOriginBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueOriginBpsDataPerIntervalDataModule["StaticHttpsOriginBps"].isNull()) originBpsDataPerIntervalObject.staticHttpsOriginBps = std::stof(valueOriginBpsDataPerIntervalDataModule["StaticHttpsOriginBps"].asString()); + if(!valueOriginBpsDataPerIntervalDataModule["OriginBps"].isNull()) + originBpsDataPerIntervalObject.originBps = std::stof(valueOriginBpsDataPerIntervalDataModule["OriginBps"].asString()); + if(!valueOriginBpsDataPerIntervalDataModule["DynamicHttpsOriginBps"].isNull()) + originBpsDataPerIntervalObject.dynamicHttpsOriginBps = std::stof(valueOriginBpsDataPerIntervalDataModule["DynamicHttpsOriginBps"].asString()); originBpsDataPerInterval_.push_back(originBpsDataPerIntervalObject); } - 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/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc index d779dac22..e76f76db1 100644 --- a/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataRequest.cc @@ -1,84 +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::Dcdn::Model::DescribeDcdnDomainOriginTrafficDataRequest; - -DescribeDcdnDomainOriginTrafficDataRequest::DescribeDcdnDomainOriginTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainOriginTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainOriginTrafficDataRequest::~DescribeDcdnDomainOriginTrafficDataRequest() -{} - -std::string DescribeDcdnDomainOriginTrafficDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainOriginTrafficDataRequest; + +DescribeDcdnDomainOriginTrafficDataRequest::DescribeDcdnDomainOriginTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainOriginTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainOriginTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainOriginTrafficDataRequest::~DescribeDcdnDomainOriginTrafficDataRequest() {} + +std::string DescribeDcdnDomainOriginTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainOriginTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainOriginTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainOriginTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainOriginTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainOriginTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainOriginTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainOriginTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainOriginTrafficDataRequest::getInterval() const { + return interval_; } -long DescribeDcdnDomainOriginTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainOriginTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainOriginTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainOriginTrafficDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainOriginTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainOriginTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainOriginTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataResult.cc index b5d74b0b9..27cb4ba3a 100644 --- a/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainOriginTrafficDataResult.cc @@ -43,26 +43,26 @@ void DescribeDcdnDomainOriginTrafficDataResult::parse(const std::string &payload for (auto valueOriginTrafficDataPerIntervalDataModule : allOriginTrafficDataPerIntervalNode) { DataModule originTrafficDataPerIntervalObject; - if(!valueOriginTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - originTrafficDataPerIntervalObject.timeStamp = valueOriginTrafficDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueOriginTrafficDataPerIntervalDataModule["OriginTraffic"].isNull()) - originTrafficDataPerIntervalObject.originTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["OriginTraffic"].asString()); if(!valueOriginTrafficDataPerIntervalDataModule["DynamicHttpOriginTraffic"].isNull()) originTrafficDataPerIntervalObject.dynamicHttpOriginTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["DynamicHttpOriginTraffic"].asString()); - if(!valueOriginTrafficDataPerIntervalDataModule["DynamicHttpsOriginTraffic"].isNull()) - originTrafficDataPerIntervalObject.dynamicHttpsOriginTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["DynamicHttpsOriginTraffic"].asString()); - if(!valueOriginTrafficDataPerIntervalDataModule["StaticHttpOriginTraffic"].isNull()) - originTrafficDataPerIntervalObject.staticHttpOriginTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["StaticHttpOriginTraffic"].asString()); if(!valueOriginTrafficDataPerIntervalDataModule["StaticHttpsOriginTraffic"].isNull()) originTrafficDataPerIntervalObject.staticHttpsOriginTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["StaticHttpsOriginTraffic"].asString()); + if(!valueOriginTrafficDataPerIntervalDataModule["OriginTraffic"].isNull()) + originTrafficDataPerIntervalObject.originTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["OriginTraffic"].asString()); + if(!valueOriginTrafficDataPerIntervalDataModule["StaticHttpOriginTraffic"].isNull()) + originTrafficDataPerIntervalObject.staticHttpOriginTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["StaticHttpOriginTraffic"].asString()); + if(!valueOriginTrafficDataPerIntervalDataModule["DynamicHttpsOriginTraffic"].isNull()) + originTrafficDataPerIntervalObject.dynamicHttpsOriginTraffic = std::stof(valueOriginTrafficDataPerIntervalDataModule["DynamicHttpsOriginTraffic"].asString()); + if(!valueOriginTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + originTrafficDataPerIntervalObject.timeStamp = valueOriginTrafficDataPerIntervalDataModule["TimeStamp"].asString(); originTrafficDataPerInterval_.push_back(originTrafficDataPerIntervalObject); } - 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/dcdn/src/model/DescribeDcdnDomainPropertyRequest.cc b/dcdn/src/model/DescribeDcdnDomainPropertyRequest.cc index 79a61fcc9..4d14e4d31 100644 --- a/dcdn/src/model/DescribeDcdnDomainPropertyRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainPropertyRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainPropertyRequest; - -DescribeDcdnDomainPropertyRequest::DescribeDcdnDomainPropertyRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainProperty") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainPropertyRequest::~DescribeDcdnDomainPropertyRequest() -{} - -std::string DescribeDcdnDomainPropertyRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainPropertyRequest; + +DescribeDcdnDomainPropertyRequest::DescribeDcdnDomainPropertyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainProperty") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainPropertyRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnDomainPropertyRequest::~DescribeDcdnDomainPropertyRequest() {} + +std::string DescribeDcdnDomainPropertyRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnDomainPropertyRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainPropertyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainPropertyRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/DescribeDcdnDomainPvDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainPvDataRequest.cc index 569897eae..a52c70d7c 100644 --- a/dcdn/src/model/DescribeDcdnDomainPvDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainPvDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainPvDataRequest; - -DescribeDcdnDomainPvDataRequest::DescribeDcdnDomainPvDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainPvData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainPvDataRequest::~DescribeDcdnDomainPvDataRequest() -{} - -std::string DescribeDcdnDomainPvDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainPvDataRequest; + +DescribeDcdnDomainPvDataRequest::DescribeDcdnDomainPvDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainPvData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainPvDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainPvDataRequest::~DescribeDcdnDomainPvDataRequest() {} + +std::string DescribeDcdnDomainPvDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainPvDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainPvDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainPvDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainPvDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainPvDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainPvDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainPvDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainPvDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainPvDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainPvDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainPvDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainPvDataResult.cc b/dcdn/src/model/DescribeDcdnDomainPvDataResult.cc index 12ca2df15..e542d0cd4 100644 --- a/dcdn/src/model/DescribeDcdnDomainPvDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainPvDataResult.cc @@ -49,12 +49,12 @@ void DescribeDcdnDomainPvDataResult::parse(const std::string &payload) 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["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/dcdn/src/model/DescribeDcdnDomainQpsDataByLayerRequest.cc b/dcdn/src/model/DescribeDcdnDomainQpsDataByLayerRequest.cc new file mode 100644 index 000000000..4a1ee1413 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainQpsDataByLayerRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainQpsDataByLayerRequest; + +DescribeDcdnDomainQpsDataByLayerRequest::DescribeDcdnDomainQpsDataByLayerRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainQpsDataByLayer") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainQpsDataByLayerRequest::~DescribeDcdnDomainQpsDataByLayerRequest() {} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); +} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); +} + +std::string DescribeDcdnDomainQpsDataByLayerRequest::getLayer() const { + return layer_; +} + +void DescribeDcdnDomainQpsDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainQpsDataByLayerResult.cc b/dcdn/src/model/DescribeDcdnDomainQpsDataByLayerResult.cc new file mode 100644 index 000000000..e12a2c39b --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainQpsDataByLayerResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainQpsDataByLayerResult::DescribeDcdnDomainQpsDataByLayerResult() : + ServiceResult() +{} + +DescribeDcdnDomainQpsDataByLayerResult::DescribeDcdnDomainQpsDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainQpsDataByLayerResult::~DescribeDcdnDomainQpsDataByLayerResult() +{} + +void DescribeDcdnDomainQpsDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allQpsDataIntervalNode = value["QpsDataInterval"]["DataModule"]; + for (auto valueQpsDataIntervalDataModule : allQpsDataIntervalNode) + { + DataModule qpsDataIntervalObject; + if(!valueQpsDataIntervalDataModule["Value"].isNull()) + qpsDataIntervalObject.value = valueQpsDataIntervalDataModule["Value"].asString(); + if(!valueQpsDataIntervalDataModule["AccValue"].isNull()) + qpsDataIntervalObject.accValue = valueQpsDataIntervalDataModule["AccValue"].asString(); + if(!valueQpsDataIntervalDataModule["AccDomesticValue"].isNull()) + qpsDataIntervalObject.accDomesticValue = valueQpsDataIntervalDataModule["AccDomesticValue"].asString(); + if(!valueQpsDataIntervalDataModule["OverseasValue"].isNull()) + qpsDataIntervalObject.overseasValue = valueQpsDataIntervalDataModule["OverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["AccOverseasValue"].isNull()) + qpsDataIntervalObject.accOverseasValue = valueQpsDataIntervalDataModule["AccOverseasValue"].asString(); + if(!valueQpsDataIntervalDataModule["TimeStamp"].isNull()) + qpsDataIntervalObject.timeStamp = valueQpsDataIntervalDataModule["TimeStamp"].asString(); + if(!valueQpsDataIntervalDataModule["DomesticValue"].isNull()) + qpsDataIntervalObject.domesticValue = valueQpsDataIntervalDataModule["DomesticValue"].asString(); + qpsDataInterval_.push_back(qpsDataIntervalObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["Layer"].isNull()) + layer_ = value["Layer"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeDcdnDomainQpsDataByLayerResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnDomainQpsDataByLayerResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDcdnDomainQpsDataByLayerResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDcdnDomainQpsDataByLayerResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeDcdnDomainQpsDataByLayerResult::getQpsDataInterval()const +{ + return qpsDataInterval_; +} + +std::string DescribeDcdnDomainQpsDataByLayerResult::getLayer()const +{ + return layer_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainQpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainQpsDataRequest.cc index 1f317d027..3f59357b8 100644 --- a/dcdn/src/model/DescribeDcdnDomainQpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainQpsDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainQpsDataRequest; - -DescribeDcdnDomainQpsDataRequest::DescribeDcdnDomainQpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainQpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainQpsDataRequest::~DescribeDcdnDomainQpsDataRequest() -{} - -std::string DescribeDcdnDomainQpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainQpsDataRequest; + +DescribeDcdnDomainQpsDataRequest::DescribeDcdnDomainQpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainQpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainQpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainQpsDataRequest::~DescribeDcdnDomainQpsDataRequest() {} + +std::string DescribeDcdnDomainQpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainQpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainQpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainQpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainQpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainQpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainQpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainQpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainQpsDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainQpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainQpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainQpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainQpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainQpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainQpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainQpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainQpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainQpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainQpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainQpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainQpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainQpsDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainQpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainQpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainQpsDataResult.cc b/dcdn/src/model/DescribeDcdnDomainQpsDataResult.cc index 809ca85dd..0958a102c 100644 --- a/dcdn/src/model/DescribeDcdnDomainQpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainQpsDataResult.cc @@ -43,36 +43,36 @@ void DescribeDcdnDomainQpsDataResult::parse(const std::string &payload) for (auto valueQpsDataPerIntervalDataModule : allQpsDataPerIntervalNode) { DataModule qpsDataPerIntervalObject; - if(!valueQpsDataPerIntervalDataModule["TimeStamp"].isNull()) - qpsDataPerIntervalObject.timeStamp = valueQpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueQpsDataPerIntervalDataModule["Qps"].isNull()) - qpsDataPerIntervalObject.qps = std::stof(valueQpsDataPerIntervalDataModule["Qps"].asString()); - if(!valueQpsDataPerIntervalDataModule["DynamicHttpQps"].isNull()) - qpsDataPerIntervalObject.dynamicHttpQps = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpQps"].asString()); - if(!valueQpsDataPerIntervalDataModule["DynamicHttpsQps"].isNull()) - qpsDataPerIntervalObject.dynamicHttpsQps = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpsQps"].asString()); - if(!valueQpsDataPerIntervalDataModule["StaticHttpQps"].isNull()) - qpsDataPerIntervalObject.staticHttpQps = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpQps"].asString()); - if(!valueQpsDataPerIntervalDataModule["StaticHttpsQps"].isNull()) - qpsDataPerIntervalObject.staticHttpsQps = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpsQps"].asString()); - if(!valueQpsDataPerIntervalDataModule["Acc"].isNull()) - qpsDataPerIntervalObject.acc = std::stof(valueQpsDataPerIntervalDataModule["Acc"].asString()); - if(!valueQpsDataPerIntervalDataModule["DynamicHttpAcc"].isNull()) - qpsDataPerIntervalObject.dynamicHttpAcc = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpAcc"].asString()); if(!valueQpsDataPerIntervalDataModule["DynamicHttpsAcc"].isNull()) qpsDataPerIntervalObject.dynamicHttpsAcc = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpsAcc"].asString()); - if(!valueQpsDataPerIntervalDataModule["StaticHttpAcc"].isNull()) - qpsDataPerIntervalObject.staticHttpAcc = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpAcc"].asString()); + if(!valueQpsDataPerIntervalDataModule["DynamicHttpAcc"].isNull()) + qpsDataPerIntervalObject.dynamicHttpAcc = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpAcc"].asString()); + if(!valueQpsDataPerIntervalDataModule["Qps"].isNull()) + qpsDataPerIntervalObject.qps = std::stof(valueQpsDataPerIntervalDataModule["Qps"].asString()); if(!valueQpsDataPerIntervalDataModule["StaticHttpsAcc"].isNull()) qpsDataPerIntervalObject.staticHttpsAcc = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpsAcc"].asString()); + if(!valueQpsDataPerIntervalDataModule["StaticHttpQps"].isNull()) + qpsDataPerIntervalObject.staticHttpQps = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpQps"].asString()); + if(!valueQpsDataPerIntervalDataModule["StaticHttpAcc"].isNull()) + qpsDataPerIntervalObject.staticHttpAcc = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpAcc"].asString()); + if(!valueQpsDataPerIntervalDataModule["DynamicHttpsQps"].isNull()) + qpsDataPerIntervalObject.dynamicHttpsQps = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpsQps"].asString()); + if(!valueQpsDataPerIntervalDataModule["Acc"].isNull()) + qpsDataPerIntervalObject.acc = std::stof(valueQpsDataPerIntervalDataModule["Acc"].asString()); + if(!valueQpsDataPerIntervalDataModule["StaticHttpsQps"].isNull()) + qpsDataPerIntervalObject.staticHttpsQps = std::stof(valueQpsDataPerIntervalDataModule["StaticHttpsQps"].asString()); + if(!valueQpsDataPerIntervalDataModule["DynamicHttpQps"].isNull()) + qpsDataPerIntervalObject.dynamicHttpQps = std::stof(valueQpsDataPerIntervalDataModule["DynamicHttpQps"].asString()); + if(!valueQpsDataPerIntervalDataModule["TimeStamp"].isNull()) + qpsDataPerIntervalObject.timeStamp = valueQpsDataPerIntervalDataModule["TimeStamp"].asString(); qpsDataPerInterval_.push_back(qpsDataPerIntervalObject); } - 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/dcdn/src/model/DescribeDcdnDomainRealTimeBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeBpsDataRequest.cc index 1f8f1db47..71d99202a 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeBpsDataRequest.cc @@ -1,95 +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::Dcdn::Model::DescribeDcdnDomainRealTimeBpsDataRequest; - -DescribeDcdnDomainRealTimeBpsDataRequest::DescribeDcdnDomainRealTimeBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeBpsData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnDomainRealTimeBpsDataRequest::~DescribeDcdnDomainRealTimeBpsDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeBpsDataRequest; + +DescribeDcdnDomainRealTimeBpsDataRequest::DescribeDcdnDomainRealTimeBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeBpsData") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainRealTimeBpsDataRequest::~DescribeDcdnDomainRealTimeBpsDataRequest() {} + +std::string DescribeDcdnDomainRealTimeBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainRealTimeBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainRealTimeBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainRealTimeBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainRealTimeBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainRealTimeBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainRealTimeBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainRealTimeBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeDcdnDomainRealTimeBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeBpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeBpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.cc index 4e8321f57..24f6707ce 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeByteHitRateDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainRealTimeByteHitRateDataRequest; - -DescribeDcdnDomainRealTimeByteHitRateDataRequest::DescribeDcdnDomainRealTimeByteHitRateDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeByteHitRateData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnDomainRealTimeByteHitRateDataRequest::~DescribeDcdnDomainRealTimeByteHitRateDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeByteHitRateDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeByteHitRateDataRequest; + +DescribeDcdnDomainRealTimeByteHitRateDataRequest::DescribeDcdnDomainRealTimeByteHitRateDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeByteHitRateData") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainRealTimeByteHitRateDataRequest::~DescribeDcdnDomainRealTimeByteHitRateDataRequest() {} + +std::string DescribeDcdnDomainRealTimeByteHitRateDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeByteHitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeByteHitRateDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeByteHitRateDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeByteHitRateDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeByteHitRateDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeByteHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeDetailDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeDetailDataRequest.cc index 65b86f869..e262f607d 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeDetailDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeDetailDataRequest.cc @@ -1,128 +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::Dcdn::Model::DescribeDcdnDomainRealTimeDetailDataRequest; - -DescribeDcdnDomainRealTimeDetailDataRequest::DescribeDcdnDomainRealTimeDetailDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeDetailData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnDomainRealTimeDetailDataRequest::~DescribeDcdnDomainRealTimeDetailDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeDetailDataRequest; + +DescribeDcdnDomainRealTimeDetailDataRequest::DescribeDcdnDomainRealTimeDetailDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeDetailData") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainRealTimeDetailDataRequest::~DescribeDcdnDomainRealTimeDetailDataRequest() {} + +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getField() const { + return field_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getMerge() const { + return merge_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setMerge(const std::string &merge) { + merge_ = merge; + setParameter(std::string("Merge"), merge); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getMerge()const -{ - return merge_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setMerge(const std::string& merge) -{ - merge_ = merge; - setParameter("Merge", merge); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getMergeLocIsp() const { + return mergeLocIsp_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setMergeLocIsp(const std::string &mergeLocIsp) { + mergeLocIsp_ = mergeLocIsp; + setParameter(std::string("MergeLocIsp"), mergeLocIsp); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getMergeLocIsp()const -{ - return mergeLocIsp_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setMergeLocIsp(const std::string& mergeLocIsp) -{ - mergeLocIsp_ = mergeLocIsp; - setParameter("MergeLocIsp", mergeLocIsp); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeDetailDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainRealTimeDetailDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainRealTimeDetailDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainRealTimeDetailDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainRealTimeDetailDataRequest::getField()const -{ - return field_; -} - -void DescribeDcdnDomainRealTimeDetailDataRequest::setField(const std::string& field) -{ - field_ = field; - setParameter("Field", field); +void DescribeDcdnDomainRealTimeDetailDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.cc index bae355217..833582d55 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataRequest.cc @@ -1,95 +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::Dcdn::Model::DescribeDcdnDomainRealTimeHttpCodeDataRequest; - -DescribeDcdnDomainRealTimeHttpCodeDataRequest::DescribeDcdnDomainRealTimeHttpCodeDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeHttpCodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainRealTimeHttpCodeDataRequest::~DescribeDcdnDomainRealTimeHttpCodeDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeHttpCodeDataRequest; + +DescribeDcdnDomainRealTimeHttpCodeDataRequest::DescribeDcdnDomainRealTimeHttpCodeDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeHttpCodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainRealTimeHttpCodeDataRequest::~DescribeDcdnDomainRealTimeHttpCodeDataRequest() {} + +std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; } -long DescribeDcdnDomainRealTimeHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataResult.cc index ceae74340..0f41ab189 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeHttpCodeDataResult.cc @@ -59,12 +59,12 @@ void DescribeDcdnDomainRealTimeHttpCodeDataResult::parse(const std::string &payl } 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["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/dcdn/src/model/DescribeDcdnDomainRealTimeQpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeQpsDataRequest.cc index 84a859bb8..6e7a153ce 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeQpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeQpsDataRequest.cc @@ -1,95 +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::Dcdn::Model::DescribeDcdnDomainRealTimeQpsDataRequest; - -DescribeDcdnDomainRealTimeQpsDataRequest::DescribeDcdnDomainRealTimeQpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeQpsData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnDomainRealTimeQpsDataRequest::~DescribeDcdnDomainRealTimeQpsDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeQpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeQpsDataRequest; + +DescribeDcdnDomainRealTimeQpsDataRequest::DescribeDcdnDomainRealTimeQpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeQpsData") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnDomainRealTimeQpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainRealTimeQpsDataRequest::~DescribeDcdnDomainRealTimeQpsDataRequest() {} + +std::string DescribeDcdnDomainRealTimeQpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeQpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainRealTimeQpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeQpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainRealTimeQpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeQpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainRealTimeQpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeQpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainRealTimeQpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainRealTimeQpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeQpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainRealTimeQpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeQpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainRealTimeQpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeQpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeDcdnDomainRealTimeQpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeQpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeQpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeQpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeQpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.cc index 45299ce81..0ac6a160f 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeReqHitRateDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainRealTimeReqHitRateDataRequest; - -DescribeDcdnDomainRealTimeReqHitRateDataRequest::DescribeDcdnDomainRealTimeReqHitRateDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeReqHitRateData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnDomainRealTimeReqHitRateDataRequest::~DescribeDcdnDomainRealTimeReqHitRateDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeReqHitRateDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeReqHitRateDataRequest; + +DescribeDcdnDomainRealTimeReqHitRateDataRequest::DescribeDcdnDomainRealTimeReqHitRateDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeReqHitRateData") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainRealTimeReqHitRateDataRequest::~DescribeDcdnDomainRealTimeReqHitRateDataRequest() {} + +std::string DescribeDcdnDomainRealTimeReqHitRateDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeReqHitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeReqHitRateDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeReqHitRateDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeReqHitRateDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeReqHitRateDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeReqHitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.cc index acfaacc4c..224a76e4e 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest; - -DescribeDcdnDomainRealTimeSrcBpsDataRequest::DescribeDcdnDomainRealTimeSrcBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainRealTimeSrcBpsDataRequest::~DescribeDcdnDomainRealTimeSrcBpsDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeSrcBpsDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeSrcBpsDataRequest; + +DescribeDcdnDomainRealTimeSrcBpsDataRequest::DescribeDcdnDomainRealTimeSrcBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainRealTimeSrcBpsDataRequest::~DescribeDcdnDomainRealTimeSrcBpsDataRequest() {} + +std::string DescribeDcdnDomainRealTimeSrcBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeSrcBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeSrcBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeSrcBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeSrcBpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeSrcBpsDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeSrcBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.cc index 3ae4d44fd..9269d9311 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcBpsDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainRealTimeSrcBpsDataResult::parse(const std::string &payloa for (auto valueRealTimeSrcBpsDataPerIntervalDataModule : allRealTimeSrcBpsDataPerIntervalNode) { DataModule realTimeSrcBpsDataPerIntervalObject; - if(!valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - realTimeSrcBpsDataPerIntervalObject.timeStamp = valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueRealTimeSrcBpsDataPerIntervalDataModule["Value"].isNull()) realTimeSrcBpsDataPerIntervalObject.value = valueRealTimeSrcBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeSrcBpsDataPerIntervalObject.timeStamp = valueRealTimeSrcBpsDataPerIntervalDataModule["TimeStamp"].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["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/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc index 4897bf485..d4fdf0a91 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest.cc @@ -1,95 +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::Dcdn::Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest; - -DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcHttpCodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest; + +DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcHttpCodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::~DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest() {} + +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; } -long DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeSrcHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc index 0fc8af528..005624d29 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcHttpCodeDataResult.cc @@ -59,12 +59,12 @@ void DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::parse(const std::string &p } 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["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/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.cc index 08fcae861..e51a5a156 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest; - -DescribeDcdnDomainRealTimeSrcTrafficDataRequest::DescribeDcdnDomainRealTimeSrcTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainRealTimeSrcTrafficDataRequest::~DescribeDcdnDomainRealTimeSrcTrafficDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeSrcTrafficDataRequest; + +DescribeDcdnDomainRealTimeSrcTrafficDataRequest::DescribeDcdnDomainRealTimeSrcTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeSrcTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainRealTimeSrcTrafficDataRequest::~DescribeDcdnDomainRealTimeSrcTrafficDataRequest() {} + +std::string DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeSrcTrafficDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeSrcTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.cc index 4a88c219e..63a527d4f 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeSrcTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainRealTimeSrcTrafficDataResult::parse(const std::string &pa for (auto valueRealTimeSrcTrafficDataPerIntervalDataModule : allRealTimeSrcTrafficDataPerIntervalNode) { DataModule realTimeSrcTrafficDataPerIntervalObject; - if(!valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - realTimeSrcTrafficDataPerIntervalObject.timeStamp = valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueRealTimeSrcTrafficDataPerIntervalDataModule["Value"].isNull()) realTimeSrcTrafficDataPerIntervalObject.value = valueRealTimeSrcTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeSrcTrafficDataPerIntervalObject.timeStamp = valueRealTimeSrcTrafficDataPerIntervalDataModule["TimeStamp"].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["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/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataRequest.cc index 5bcb93c51..197963439 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainRealTimeTrafficDataRequest; - -DescribeDcdnDomainRealTimeTrafficDataRequest::DescribeDcdnDomainRealTimeTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainRealTimeTrafficDataRequest::~DescribeDcdnDomainRealTimeTrafficDataRequest() -{} - -std::string DescribeDcdnDomainRealTimeTrafficDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRealTimeTrafficDataRequest; + +DescribeDcdnDomainRealTimeTrafficDataRequest::DescribeDcdnDomainRealTimeTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRealTimeTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainRealTimeTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainRealTimeTrafficDataRequest::~DescribeDcdnDomainRealTimeTrafficDataRequest() {} + +std::string DescribeDcdnDomainRealTimeTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRealTimeTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRealTimeTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRealTimeTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRealTimeTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRealTimeTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRealTimeTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRealTimeTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRealTimeTrafficDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRealTimeTrafficDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRealTimeTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataResult.cc index 24452b1a0..c23510593 100644 --- a/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainRealTimeTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainRealTimeTrafficDataResult::parse(const std::string &paylo for (auto valueRealTimeTrafficDataPerIntervalDataModule : allRealTimeTrafficDataPerIntervalNode) { DataModule realTimeTrafficDataPerIntervalObject; - if(!valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueRealTimeTrafficDataPerIntervalDataModule["Value"].isNull()) realTimeTrafficDataPerIntervalObject.value = valueRealTimeTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].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["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/dcdn/src/model/DescribeDcdnDomainRegionDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainRegionDataRequest.cc index c3828fb70..bda9a45c8 100644 --- a/dcdn/src/model/DescribeDcdnDomainRegionDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainRegionDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainRegionDataRequest; - -DescribeDcdnDomainRegionDataRequest::DescribeDcdnDomainRegionDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRegionData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainRegionDataRequest::~DescribeDcdnDomainRegionDataRequest() -{} - -std::string DescribeDcdnDomainRegionDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainRegionDataRequest; + +DescribeDcdnDomainRegionDataRequest::DescribeDcdnDomainRegionDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainRegionData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainRegionDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainRegionDataRequest::~DescribeDcdnDomainRegionDataRequest() {} + +std::string DescribeDcdnDomainRegionDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainRegionDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainRegionDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainRegionDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainRegionDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainRegionDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainRegionDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainRegionDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainRegionDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainRegionDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainRegionDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainRegionDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainRegionDataResult.cc b/dcdn/src/model/DescribeDcdnDomainRegionDataResult.cc index 182c96f52..d5e8e7b02 100644 --- a/dcdn/src/model/DescribeDcdnDomainRegionDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainRegionDataResult.cc @@ -43,38 +43,38 @@ void DescribeDcdnDomainRegionDataResult::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["AvgResponseTime"].isNull()) - valueObject.avgResponseTime = valueValueRegionProportionData["AvgResponseTime"].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["TotalBytes"].isNull()) - valueObject.totalBytes = valueValueRegionProportionData["TotalBytes"].asString(); - if(!valueValueRegionProportionData["BytesProportion"].isNull()) - valueObject.bytesProportion = valueValueRegionProportionData["BytesProportion"].asString(); if(!valueValueRegionProportionData["TotalQuery"].isNull()) valueObject.totalQuery = valueValueRegionProportionData["TotalQuery"].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["AvgResponseRate"].isNull()) + valueObject.avgResponseRate = valueValueRegionProportionData["AvgResponseRate"].asString(); + if(!valueValueRegionProportionData["AvgResponseTime"].isNull()) + valueObject.avgResponseTime = valueValueRegionProportionData["AvgResponseTime"].asString(); + if(!valueValueRegionProportionData["Proportion"].isNull()) + valueObject.proportion = valueValueRegionProportionData["Proportion"].asString(); + if(!valueValueRegionProportionData["AvgObjectSize"].isNull()) + valueObject.avgObjectSize = valueValueRegionProportionData["AvgObjectSize"].asString(); + if(!valueValueRegionProportionData["Bps"].isNull()) + valueObject.bps = valueValueRegionProportionData["Bps"].asString(); + if(!valueValueRegionProportionData["BytesProportion"].isNull()) + valueObject.bytesProportion = valueValueRegionProportionData["BytesProportion"].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(); } @@ -93,13 +93,13 @@ std::vector DescribeDc return value_; } -std::string DescribeDcdnDomainRegionDataResult::getDataInterval()const -{ - return dataInterval_; -} - std::string DescribeDcdnDomainRegionDataResult::getStartTime()const { return startTime_; } +std::string DescribeDcdnDomainRegionDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc b/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc index d6201b9a3..7ab9e317e 100644 --- a/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainStagingConfigRequest.cc @@ -1,62 +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::Dcdn::Model::DescribeDcdnDomainStagingConfigRequest; - -DescribeDcdnDomainStagingConfigRequest::DescribeDcdnDomainStagingConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainStagingConfigRequest::~DescribeDcdnDomainStagingConfigRequest() -{} - -std::string DescribeDcdnDomainStagingConfigRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainStagingConfigRequest; + +DescribeDcdnDomainStagingConfigRequest::DescribeDcdnDomainStagingConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainStagingConfigRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +DescribeDcdnDomainStagingConfigRequest::~DescribeDcdnDomainStagingConfigRequest() {} + +std::string DescribeDcdnDomainStagingConfigRequest::getFunctionNames() const { + return functionNames_; } -std::string DescribeDcdnDomainStagingConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainStagingConfigRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void DescribeDcdnDomainStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainStagingConfigRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnDomainStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc b/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc index 09201d382..35d048b91 100644 --- a/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainStagingConfigResult.cc @@ -43,12 +43,12 @@ void DescribeDcdnDomainStagingConfigResult::parse(const std::string &payload) 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(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) { diff --git a/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc b/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc index f25bd9cd4..2969bc274 100644 --- a/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainTopReferVisitRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainTopReferVisitRequest; - -DescribeDcdnDomainTopReferVisitRequest::DescribeDcdnDomainTopReferVisitRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainTopReferVisit") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainTopReferVisitRequest::~DescribeDcdnDomainTopReferVisitRequest() -{} - -std::string DescribeDcdnDomainTopReferVisitRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainTopReferVisitRequest; + +DescribeDcdnDomainTopReferVisitRequest::DescribeDcdnDomainTopReferVisitRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainTopReferVisit") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainTopReferVisitRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainTopReferVisitRequest::~DescribeDcdnDomainTopReferVisitRequest() {} + +std::string DescribeDcdnDomainTopReferVisitRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainTopReferVisitRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainTopReferVisitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainTopReferVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainTopReferVisitRequest::getSortBy() const { + return sortBy_; } -long DescribeDcdnDomainTopReferVisitRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainTopReferVisitRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); } -void DescribeDcdnDomainTopReferVisitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainTopReferVisitRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainTopReferVisitRequest::getSortBy()const -{ - return sortBy_; -} - -void DescribeDcdnDomainTopReferVisitRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); +void DescribeDcdnDomainTopReferVisitRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainTopReferVisitResult.cc b/dcdn/src/model/DescribeDcdnDomainTopReferVisitResult.cc index 66dd9064e..d051c959c 100644 --- a/dcdn/src/model/DescribeDcdnDomainTopReferVisitResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainTopReferVisitResult.cc @@ -43,22 +43,22 @@ void DescribeDcdnDomainTopReferVisitResult::parse(const std::string &payload) 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()); + if(!valueTopReferListReferList["VisitData"].isNull()) + topReferListObject.visitData = valueTopReferListReferList["VisitData"].asString(); + if(!valueTopReferListReferList["ReferDetail"].isNull()) + topReferListObject.referDetail = valueTopReferListReferList["ReferDetail"].asString(); + if(!valueTopReferListReferList["VisitProportion"].isNull()) + topReferListObject.visitProportion = std::stof(valueTopReferListReferList["VisitProportion"].asString()); topReferList_.push_back(topReferListObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); if(!value["StartTime"].isNull()) startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); } diff --git a/dcdn/src/model/DescribeDcdnDomainTopUrlVisitRequest.cc b/dcdn/src/model/DescribeDcdnDomainTopUrlVisitRequest.cc index 9ccd68ae1..65bd36564 100644 --- a/dcdn/src/model/DescribeDcdnDomainTopUrlVisitRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainTopUrlVisitRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainTopUrlVisitRequest; - -DescribeDcdnDomainTopUrlVisitRequest::DescribeDcdnDomainTopUrlVisitRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainTopUrlVisit") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainTopUrlVisitRequest::~DescribeDcdnDomainTopUrlVisitRequest() -{} - -std::string DescribeDcdnDomainTopUrlVisitRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainTopUrlVisitRequest; + +DescribeDcdnDomainTopUrlVisitRequest::DescribeDcdnDomainTopUrlVisitRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainTopUrlVisit") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainTopUrlVisitRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainTopUrlVisitRequest::~DescribeDcdnDomainTopUrlVisitRequest() {} + +std::string DescribeDcdnDomainTopUrlVisitRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainTopUrlVisitRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainTopUrlVisitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainTopUrlVisitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainTopUrlVisitRequest::getSortBy() const { + return sortBy_; } -long DescribeDcdnDomainTopUrlVisitRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainTopUrlVisitRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); } -void DescribeDcdnDomainTopUrlVisitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainTopUrlVisitRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainTopUrlVisitRequest::getSortBy()const -{ - return sortBy_; -} - -void DescribeDcdnDomainTopUrlVisitRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); +void DescribeDcdnDomainTopUrlVisitRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainTopUrlVisitResult.cc b/dcdn/src/model/DescribeDcdnDomainTopUrlVisitResult.cc index afbd5a31d..4ea748dfd 100644 --- a/dcdn/src/model/DescribeDcdnDomainTopUrlVisitResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainTopUrlVisitResult.cc @@ -43,86 +43,86 @@ void DescribeDcdnDomainTopUrlVisitResult::parse(const std::string &payload) for (auto valueAllUrlListUrlList : allAllUrlListNode) { UrlList allUrlListObject; + if(!valueAllUrlListUrlList["Flow"].isNull()) + allUrlListObject.flow = valueAllUrlListUrlList["Flow"].asString(); if(!valueAllUrlListUrlList["UrlDetail"].isNull()) allUrlListObject.urlDetail = valueAllUrlListUrlList["UrlDetail"].asString(); + if(!valueAllUrlListUrlList["FlowProportion"].isNull()) + allUrlListObject.flowProportion = std::stof(valueAllUrlListUrlList["FlowProportion"].asString()); if(!valueAllUrlListUrlList["VisitData"].isNull()) allUrlListObject.visitData = valueAllUrlListUrlList["VisitData"].asString(); if(!valueAllUrlListUrlList["VisitProportion"].isNull()) allUrlListObject.visitProportion = std::stof(valueAllUrlListUrlList["VisitProportion"].asString()); - 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["Flow"].isNull()) + url200ListObject.flow = valueUrl200ListUrlList["Flow"].asString(); if(!valueUrl200ListUrlList["UrlDetail"].isNull()) url200ListObject.urlDetail = valueUrl200ListUrlList["UrlDetail"].asString(); + if(!valueUrl200ListUrlList["FlowProportion"].isNull()) + url200ListObject.flowProportion = std::stof(valueUrl200ListUrlList["FlowProportion"].asString()); if(!valueUrl200ListUrlList["VisitData"].isNull()) url200ListObject.visitData = valueUrl200ListUrlList["VisitData"].asString(); if(!valueUrl200ListUrlList["VisitProportion"].isNull()) url200ListObject.visitProportion = std::stof(valueUrl200ListUrlList["VisitProportion"].asString()); - 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["Flow"].isNull()) + url300ListObject.flow = valueUrl300ListUrlList["Flow"].asString(); if(!valueUrl300ListUrlList["UrlDetail"].isNull()) url300ListObject.urlDetail = valueUrl300ListUrlList["UrlDetail"].asString(); + if(!valueUrl300ListUrlList["FlowProportion"].isNull()) + url300ListObject.flowProportion = std::stof(valueUrl300ListUrlList["FlowProportion"].asString()); if(!valueUrl300ListUrlList["VisitData"].isNull()) url300ListObject.visitData = valueUrl300ListUrlList["VisitData"].asString(); if(!valueUrl300ListUrlList["VisitProportion"].isNull()) url300ListObject.visitProportion = std::stof(valueUrl300ListUrlList["VisitProportion"].asString()); - 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["Flow"].isNull()) + url400ListObject.flow = valueUrl400ListUrlList["Flow"].asString(); if(!valueUrl400ListUrlList["UrlDetail"].isNull()) url400ListObject.urlDetail = valueUrl400ListUrlList["UrlDetail"].asString(); + if(!valueUrl400ListUrlList["FlowProportion"].isNull()) + url400ListObject.flowProportion = std::stof(valueUrl400ListUrlList["FlowProportion"].asString()); if(!valueUrl400ListUrlList["VisitData"].isNull()) url400ListObject.visitData = valueUrl400ListUrlList["VisitData"].asString(); if(!valueUrl400ListUrlList["VisitProportion"].isNull()) url400ListObject.visitProportion = std::stof(valueUrl400ListUrlList["VisitProportion"].asString()); - 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["Flow"].isNull()) + url500ListObject.flow = valueUrl500ListUrlList["Flow"].asString(); if(!valueUrl500ListUrlList["UrlDetail"].isNull()) url500ListObject.urlDetail = valueUrl500ListUrlList["UrlDetail"].asString(); + if(!valueUrl500ListUrlList["FlowProportion"].isNull()) + url500ListObject.flowProportion = std::stof(valueUrl500ListUrlList["FlowProportion"].asString()); if(!valueUrl500ListUrlList["VisitData"].isNull()) url500ListObject.visitData = valueUrl500ListUrlList["VisitData"].asString(); if(!valueUrl500ListUrlList["VisitProportion"].isNull()) url500ListObject.visitProportion = std::stof(valueUrl500ListUrlList["VisitProportion"].asString()); - 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(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); } diff --git a/dcdn/src/model/DescribeDcdnDomainTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainTrafficDataRequest.cc index dafc9e979..d1ab489df 100644 --- a/dcdn/src/model/DescribeDcdnDomainTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainTrafficDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainTrafficDataRequest; - -DescribeDcdnDomainTrafficDataRequest::DescribeDcdnDomainTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainTrafficDataRequest::~DescribeDcdnDomainTrafficDataRequest() -{} - -std::string DescribeDcdnDomainTrafficDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainTrafficDataRequest; + +DescribeDcdnDomainTrafficDataRequest::DescribeDcdnDomainTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainTrafficDataRequest::~DescribeDcdnDomainTrafficDataRequest() {} + +std::string DescribeDcdnDomainTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainTrafficDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainTrafficDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnDomainTrafficDataResult.cc index 19c890e4e..c2443d51a 100644 --- a/dcdn/src/model/DescribeDcdnDomainTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainTrafficDataResult.cc @@ -43,26 +43,26 @@ void DescribeDcdnDomainTrafficDataResult::parse(const std::string &payload) for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) { DataModule trafficDataPerIntervalObject; - if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueTrafficDataPerIntervalDataModule["StaticHttpTraffic"].isNull()) + trafficDataPerIntervalObject.staticHttpTraffic = std::stof(valueTrafficDataPerIntervalDataModule["StaticHttpTraffic"].asString()); + if(!valueTrafficDataPerIntervalDataModule["DynamicHttpsTraffic"].isNull()) + trafficDataPerIntervalObject.dynamicHttpsTraffic = std::stof(valueTrafficDataPerIntervalDataModule["DynamicHttpsTraffic"].asString()); if(!valueTrafficDataPerIntervalDataModule["Traffic"].isNull()) trafficDataPerIntervalObject.traffic = std::stof(valueTrafficDataPerIntervalDataModule["Traffic"].asString()); if(!valueTrafficDataPerIntervalDataModule["DynamicHttpTraffic"].isNull()) trafficDataPerIntervalObject.dynamicHttpTraffic = std::stof(valueTrafficDataPerIntervalDataModule["DynamicHttpTraffic"].asString()); - if(!valueTrafficDataPerIntervalDataModule["DynamicHttpsTraffic"].isNull()) - trafficDataPerIntervalObject.dynamicHttpsTraffic = std::stof(valueTrafficDataPerIntervalDataModule["DynamicHttpsTraffic"].asString()); - if(!valueTrafficDataPerIntervalDataModule["StaticHttpTraffic"].isNull()) - trafficDataPerIntervalObject.staticHttpTraffic = std::stof(valueTrafficDataPerIntervalDataModule["StaticHttpTraffic"].asString()); + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueTrafficDataPerIntervalDataModule["StaticHttpsTraffic"].isNull()) trafficDataPerIntervalObject.staticHttpsTraffic = std::stof(valueTrafficDataPerIntervalDataModule["StaticHttpsTraffic"].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["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/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc index 3069d0e22..1afc4cc0d 100644 --- a/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc @@ -1,117 +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::Dcdn::Model::DescribeDcdnDomainUsageDataRequest; - -DescribeDcdnDomainUsageDataRequest::DescribeDcdnDomainUsageDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainUsageData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainUsageDataRequest::~DescribeDcdnDomainUsageDataRequest() -{} - -std::string DescribeDcdnDomainUsageDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainUsageDataRequest; + +DescribeDcdnDomainUsageDataRequest::DescribeDcdnDomainUsageDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainUsageData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainUsageDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainUsageDataRequest::~DescribeDcdnDomainUsageDataRequest() {} + +std::string DescribeDcdnDomainUsageDataRequest::getArea() const { + return area_; } -std::string DescribeDcdnDomainUsageDataRequest::getDataProtocol()const -{ - return dataProtocol_; +void DescribeDcdnDomainUsageDataRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); } -void DescribeDcdnDomainUsageDataRequest::setDataProtocol(const std::string& dataProtocol) -{ - dataProtocol_ = dataProtocol; - setParameter("DataProtocol", dataProtocol); +std::string DescribeDcdnDomainUsageDataRequest::getField() const { + return field_; } -std::string DescribeDcdnDomainUsageDataRequest::getArea()const -{ - return area_; +void DescribeDcdnDomainUsageDataRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); } -void DescribeDcdnDomainUsageDataRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); +std::string DescribeDcdnDomainUsageDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainUsageDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainUsageDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainUsageDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainUsageDataRequest::getInterval() const { + return interval_; } -long DescribeDcdnDomainUsageDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainUsageDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnDomainUsageDataRequest::getField()const -{ - return field_; +void DescribeDcdnDomainUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainUsageDataRequest::setField(const std::string& field) -{ - field_ = field; - setParameter("Field", field); +std::string DescribeDcdnDomainUsageDataRequest::getType() const { + return type_; } -std::string DescribeDcdnDomainUsageDataRequest::getInterval()const -{ - return interval_; +void DescribeDcdnDomainUsageDataRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); } -void DescribeDcdnDomainUsageDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDcdnDomainUsageDataRequest::getDataProtocol() const { + return dataProtocol_; +} + +void DescribeDcdnDomainUsageDataRequest::setDataProtocol(const std::string &dataProtocol) { + dataProtocol_ = dataProtocol; + setParameter(std::string("DataProtocol"), dataProtocol); } diff --git a/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc b/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc index 6c7bfb6c2..5d3301160 100644 --- a/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc @@ -55,10 +55,10 @@ void DescribeDcdnDomainUsageDataResult::parse(const std::string &payload) } 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["Type"].isNull()) type_ = value["Type"].asString(); if(!value["Area"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnDomainUvDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainUvDataRequest.cc index ee0521849..b5adbd355 100644 --- a/dcdn/src/model/DescribeDcdnDomainUvDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainUvDataRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnDomainUvDataRequest; - -DescribeDcdnDomainUvDataRequest::DescribeDcdnDomainUvDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainUvData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainUvDataRequest::~DescribeDcdnDomainUvDataRequest() -{} - -std::string DescribeDcdnDomainUvDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainUvDataRequest; + +DescribeDcdnDomainUvDataRequest::DescribeDcdnDomainUvDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainUvData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainUvDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnDomainUvDataRequest::~DescribeDcdnDomainUvDataRequest() {} + +std::string DescribeDcdnDomainUvDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainUvDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainUvDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainUvDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainUvDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainUvDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainUvDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainUvDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainUvDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainUvDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnDomainUvDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnDomainUvDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnDomainUvDataResult.cc b/dcdn/src/model/DescribeDcdnDomainUvDataResult.cc index 8a1f57b6f..61bbc0eb8 100644 --- a/dcdn/src/model/DescribeDcdnDomainUvDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainUvDataResult.cc @@ -49,12 +49,12 @@ void DescribeDcdnDomainUvDataResult::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/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataRequest.cc index e457aa5c4..1d6d3b474 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainWebsocketBpsDataRequest; - -DescribeDcdnDomainWebsocketBpsDataRequest::DescribeDcdnDomainWebsocketBpsDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainWebsocketBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainWebsocketBpsDataRequest::~DescribeDcdnDomainWebsocketBpsDataRequest() -{} - -std::string DescribeDcdnDomainWebsocketBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainWebsocketBpsDataRequest; + +DescribeDcdnDomainWebsocketBpsDataRequest::DescribeDcdnDomainWebsocketBpsDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainWebsocketBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainWebsocketBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainWebsocketBpsDataRequest::~DescribeDcdnDomainWebsocketBpsDataRequest() {} + +std::string DescribeDcdnDomainWebsocketBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainWebsocketBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainWebsocketBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainWebsocketBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainWebsocketBpsDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainWebsocketBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainWebsocketBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainWebsocketBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainWebsocketBpsDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainWebsocketBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainWebsocketBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainWebsocketBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainWebsocketBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainWebsocketBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainWebsocketBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainWebsocketBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainWebsocketBpsDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainWebsocketBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainWebsocketBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainWebsocketBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainWebsocketBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainWebsocketBpsDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainWebsocketBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainWebsocketBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataResult.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataResult.cc index e4342c50c..28b101c20 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketBpsDataResult.cc @@ -49,12 +49,12 @@ void DescribeDcdnDomainWebsocketBpsDataResult::parse(const std::string &payload) bpsDataPerIntervalObject.websocketBps = std::stof(valueBpsDataPerIntervalDataModule["WebsocketBps"].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["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/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.cc index a32363ca7..4ef6517f3 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainWebsocketHttpCodeDataRequest; - -DescribeDcdnDomainWebsocketHttpCodeDataRequest::DescribeDcdnDomainWebsocketHttpCodeDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainWebsocketHttpCodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainWebsocketHttpCodeDataRequest::~DescribeDcdnDomainWebsocketHttpCodeDataRequest() -{} - -std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainWebsocketHttpCodeDataRequest; + +DescribeDcdnDomainWebsocketHttpCodeDataRequest::DescribeDcdnDomainWebsocketHttpCodeDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainWebsocketHttpCodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainWebsocketHttpCodeDataRequest::~DescribeDcdnDomainWebsocketHttpCodeDataRequest() {} + +std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainWebsocketHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainWebsocketHttpCodeDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainWebsocketHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc index ec0231032..98f3f1c88 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc @@ -59,12 +59,12 @@ void DescribeDcdnDomainWebsocketHttpCodeDataResult::parse(const std::string &pay } httpCodeDataPerInterval_.push_back(httpCodeDataPerIntervalObject); } - 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/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc index d57c4e8b1..43fd7e17e 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainWebsocketTrafficDataRequest; - -DescribeDcdnDomainWebsocketTrafficDataRequest::DescribeDcdnDomainWebsocketTrafficDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainWebsocketTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnDomainWebsocketTrafficDataRequest::~DescribeDcdnDomainWebsocketTrafficDataRequest() -{} - -std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainWebsocketTrafficDataRequest; + +DescribeDcdnDomainWebsocketTrafficDataRequest::DescribeDcdnDomainWebsocketTrafficDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainWebsocketTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnDomainWebsocketTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeDcdnDomainWebsocketTrafficDataRequest::~DescribeDcdnDomainWebsocketTrafficDataRequest() {} + +std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnDomainWebsocketTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnDomainWebsocketTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeDcdnDomainWebsocketTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnDomainWebsocketTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getInterval() const { + return interval_; } -std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnDomainWebsocketTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeDcdnDomainWebsocketTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnDomainWebsocketTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeDcdnDomainWebsocketTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnDomainWebsocketTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnDomainWebsocketTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnDomainWebsocketTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeDcdnDomainWebsocketTrafficDataRequest::getInterval()const -{ - return interval_; -} - -void DescribeDcdnDomainWebsocketTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +void DescribeDcdnDomainWebsocketTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } diff --git a/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc index a0cd69354..f283e661d 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnDomainWebsocketTrafficDataResult::parse(const std::string &payl for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) { DataModule trafficDataPerIntervalObject; - if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueTrafficDataPerIntervalDataModule["WebsocketTraffic"].isNull()) trafficDataPerIntervalObject.websocketTraffic = std::stof(valueTrafficDataPerIntervalDataModule["WebsocketTraffic"].asString()); + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].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["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/dcdn/src/model/DescribeDcdnDomainsBySourceRequest.cc b/dcdn/src/model/DescribeDcdnDomainsBySourceRequest.cc new file mode 100644 index 000000000..e30b97503 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainsBySourceRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainsBySourceRequest; + +DescribeDcdnDomainsBySourceRequest::DescribeDcdnDomainsBySourceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainsBySource") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainsBySourceRequest::~DescribeDcdnDomainsBySourceRequest() {} + +std::string DescribeDcdnDomainsBySourceRequest::getProduct() const { + return product_; +} + +void DescribeDcdnDomainsBySourceRequest::setProduct(const std::string &product) { + product_ = product; + setParameter(std::string("Product"), product); +} + +std::string DescribeDcdnDomainsBySourceRequest::getSources() const { + return sources_; +} + +void DescribeDcdnDomainsBySourceRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainsBySourceResult.cc b/dcdn/src/model/DescribeDcdnDomainsBySourceResult.cc new file mode 100644 index 000000000..3b1be15f6 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainsBySourceResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainsBySourceResult::DescribeDcdnDomainsBySourceResult() : + ServiceResult() +{} + +DescribeDcdnDomainsBySourceResult::DescribeDcdnDomainsBySourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainsBySourceResult::~DescribeDcdnDomainsBySourceResult() +{} + +void DescribeDcdnDomainsBySourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainInfoNode = value["DomainInfo"]["DomainInfoData"]; + for (auto valueDomainInfoDomainInfoData : allDomainInfoNode) + { + DomainInfoData domainInfoObject; + if(!valueDomainInfoDomainInfoData["Source"].isNull()) + domainInfoObject.source = valueDomainInfoDomainInfoData["Source"].asString(); + auto allDomainListNode = valueDomainInfoDomainInfoData["DomainList"]["DomainInfoList"]; + for (auto valueDomainInfoDomainInfoDataDomainListDomainInfoList : allDomainListNode) + { + DomainInfoData::DomainInfoList domainListObject; + if(!valueDomainInfoDomainInfoDataDomainListDomainInfoList["CreateTime"].isNull()) + domainListObject.createTime = valueDomainInfoDomainInfoDataDomainListDomainInfoList["CreateTime"].asString(); + if(!valueDomainInfoDomainInfoDataDomainListDomainInfoList["DomainCname"].isNull()) + domainListObject.domainCname = valueDomainInfoDomainInfoDataDomainListDomainInfoList["DomainCname"].asString(); + if(!valueDomainInfoDomainInfoDataDomainListDomainInfoList["Status"].isNull()) + domainListObject.status = valueDomainInfoDomainInfoDataDomainListDomainInfoList["Status"].asString(); + if(!valueDomainInfoDomainInfoDataDomainListDomainInfoList["DomainName"].isNull()) + domainListObject.domainName = valueDomainInfoDomainInfoDataDomainListDomainInfoList["DomainName"].asString(); + if(!valueDomainInfoDomainInfoDataDomainListDomainInfoList["UpdateTime"].isNull()) + domainListObject.updateTime = valueDomainInfoDomainInfoDataDomainListDomainInfoList["UpdateTime"].asString(); + if(!valueDomainInfoDomainInfoDataDomainListDomainInfoList["DomainType"].isNull()) + domainListObject.domainType = valueDomainInfoDomainInfoDataDomainListDomainInfoList["DomainType"].asString(); + domainInfoObject.domainList.push_back(domainListObject); + } + domainInfo_.push_back(domainInfoObject); + } + +} + +std::vector DescribeDcdnDomainsBySourceResult::getDomainInfo()const +{ + return domainInfo_; +} + diff --git a/dcdn/src/model/DescribeDcdnErUsageDataRequest.cc b/dcdn/src/model/DescribeDcdnErUsageDataRequest.cc new file mode 100644 index 000000000..37d9d5cf0 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnErUsageDataRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnErUsageDataRequest; + +DescribeDcdnErUsageDataRequest::DescribeDcdnErUsageDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnErUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnErUsageDataRequest::~DescribeDcdnErUsageDataRequest() {} + +std::string DescribeDcdnErUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnErUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnErUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnErUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnErUsageDataRequest::getRoutineID() const { + return routineID_; +} + +void DescribeDcdnErUsageDataRequest::setRoutineID(const std::string &routineID) { + routineID_ = routineID; + setParameter(std::string("RoutineID"), routineID); +} + +std::string DescribeDcdnErUsageDataRequest::getSpec() const { + return spec_; +} + +void DescribeDcdnErUsageDataRequest::setSpec(const std::string &spec) { + spec_ = spec; + setParameter(std::string("Spec"), spec); +} + +std::string DescribeDcdnErUsageDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeDcdnErUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + diff --git a/dcdn/src/model/DescribeDcdnErUsageDataResult.cc b/dcdn/src/model/DescribeDcdnErUsageDataResult.cc new file mode 100644 index 000000000..c952d33a1 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnErUsageDataResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnErUsageDataResult::DescribeDcdnErUsageDataResult() : + ServiceResult() +{} + +DescribeDcdnErUsageDataResult::DescribeDcdnErUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnErUsageDataResult::~DescribeDcdnErUsageDataResult() +{} + +void DescribeDcdnErUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allErAccDataNode = value["ErAccData"]["ErAccItem"]; + for (auto valueErAccDataErAccItem : allErAccDataNode) + { + ErAccItem erAccDataObject; + if(!valueErAccDataErAccItem["ErAcc"].isNull()) + erAccDataObject.erAcc = std::stol(valueErAccDataErAccItem["ErAcc"].asString()); + if(!valueErAccDataErAccItem["TimeStamp"].isNull()) + erAccDataObject.timeStamp = valueErAccDataErAccItem["TimeStamp"].asString(); + if(!valueErAccDataErAccItem["Spec"].isNull()) + erAccDataObject.spec = valueErAccDataErAccItem["Spec"].asString(); + if(!valueErAccDataErAccItem["Routine"].isNull()) + erAccDataObject.routine = valueErAccDataErAccItem["Routine"].asString(); + erAccData_.push_back(erAccDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::string DescribeDcdnErUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnErUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDcdnErUsageDataResult::getErAccData()const +{ + return erAccData_; +} + diff --git a/dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc b/dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc deleted file mode 100644 index c13a53b23..000000000 --- a/dcdn/src/model/DescribeDcdnEsExceptionDataRequest.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::Dcdn::Model::DescribeDcdnEsExceptionDataRequest; - -DescribeDcdnEsExceptionDataRequest::DescribeDcdnEsExceptionDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExceptionData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnEsExceptionDataRequest::~DescribeDcdnEsExceptionDataRequest() -{} - -std::string DescribeDcdnEsExceptionDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDcdnEsExceptionDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDcdnEsExceptionDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDcdnEsExceptionDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDcdnEsExceptionDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnEsExceptionDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDcdnEsExceptionDataRequest::getRuleId()const -{ - return ruleId_; -} - -void DescribeDcdnEsExceptionDataRequest::setRuleId(const std::string& ruleId) -{ - ruleId_ = ruleId; - setParameter("RuleId", ruleId); -} - diff --git a/dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc b/dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc deleted file mode 100644 index 470d143cb..000000000 --- a/dcdn/src/model/DescribeDcdnEsExceptionDataResult.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::Dcdn; -using namespace AlibabaCloud::Dcdn::Model; - -DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult() : - ServiceResult() -{} - -DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDcdnEsExceptionDataResult::~DescribeDcdnEsExceptionDataResult() -{} - -void DescribeDcdnEsExceptionDataResult::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 DescribeDcdnEsExceptionDataResult::getContents()const -{ - return contents_; -} - diff --git a/dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc b/dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc deleted file mode 100644 index f4517a7b2..000000000 --- a/dcdn/src/model/DescribeDcdnEsExecuteDataRequest.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::Dcdn::Model::DescribeDcdnEsExecuteDataRequest; - -DescribeDcdnEsExecuteDataRequest::DescribeDcdnEsExecuteDataRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExecuteData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnEsExecuteDataRequest::~DescribeDcdnEsExecuteDataRequest() -{} - -std::string DescribeDcdnEsExecuteDataRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeDcdnEsExecuteDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); -} - -std::string DescribeDcdnEsExecuteDataRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeDcdnEsExecuteDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); -} - -long DescribeDcdnEsExecuteDataRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnEsExecuteDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDcdnEsExecuteDataRequest::getRuleId()const -{ - return ruleId_; -} - -void DescribeDcdnEsExecuteDataRequest::setRuleId(const std::string& ruleId) -{ - ruleId_ = ruleId; - setParameter("RuleId", ruleId); -} - diff --git a/dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc b/dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc deleted file mode 100644 index 5b3c705c1..000000000 --- a/dcdn/src/model/DescribeDcdnEsExecuteDataResult.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::Dcdn; -using namespace AlibabaCloud::Dcdn::Model; - -DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult() : - ServiceResult() -{} - -DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDcdnEsExecuteDataResult::~DescribeDcdnEsExecuteDataResult() -{} - -void DescribeDcdnEsExecuteDataResult::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 DescribeDcdnEsExecuteDataResult::getContents()const -{ - return contents_; -} - diff --git a/dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigRequest.cc b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigRequest.cc new file mode 100644 index 000000000..4a8d41ef2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnFullDomainsBlockIPConfigRequest; + +DescribeDcdnFullDomainsBlockIPConfigRequest::DescribeDcdnFullDomainsBlockIPConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnFullDomainsBlockIPConfig") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnFullDomainsBlockIPConfigRequest::~DescribeDcdnFullDomainsBlockIPConfigRequest() {} + +std::string DescribeDcdnFullDomainsBlockIPConfigRequest::getIPList() const { + return iPList_; +} + +void DescribeDcdnFullDomainsBlockIPConfigRequest::setIPList(const std::string &iPList) { + iPList_ = iPList; + setParameter(std::string("IPList"), iPList); +} + diff --git a/dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigResult.cc b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigResult.cc new file mode 100644 index 000000000..ff3d3eaab --- /dev/null +++ b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPConfigResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnFullDomainsBlockIPConfigResult::DescribeDcdnFullDomainsBlockIPConfigResult() : + ServiceResult() +{} + +DescribeDcdnFullDomainsBlockIPConfigResult::DescribeDcdnFullDomainsBlockIPConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnFullDomainsBlockIPConfigResult::~DescribeDcdnFullDomainsBlockIPConfigResult() +{} + +void DescribeDcdnFullDomainsBlockIPConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + +} + +std::string DescribeDcdnFullDomainsBlockIPConfigResult::getMessage()const +{ + return message_; +} + +int DescribeDcdnFullDomainsBlockIPConfigResult::getCode()const +{ + return code_; +} + diff --git a/dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.cc b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.cc new file mode 100644 index 000000000..a8c6257cb --- /dev/null +++ b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnFullDomainsBlockIPHistoryRequest; + +DescribeDcdnFullDomainsBlockIPHistoryRequest::DescribeDcdnFullDomainsBlockIPHistoryRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnFullDomainsBlockIPHistory") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnFullDomainsBlockIPHistoryRequest::~DescribeDcdnFullDomainsBlockIPHistoryRequest() {} + +std::string DescribeDcdnFullDomainsBlockIPHistoryRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnFullDomainsBlockIPHistoryRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnFullDomainsBlockIPHistoryRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnFullDomainsBlockIPHistoryRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnFullDomainsBlockIPHistoryRequest::getIPList() const { + return iPList_; +} + +void DescribeDcdnFullDomainsBlockIPHistoryRequest::setIPList(const std::string &iPList) { + iPList_ = iPList; + setBodyParameter(std::string("IPList"), iPList); +} + diff --git a/dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryResult.cc b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryResult.cc new file mode 100644 index 000000000..7b4873345 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnFullDomainsBlockIPHistoryResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnFullDomainsBlockIPHistoryResult::DescribeDcdnFullDomainsBlockIPHistoryResult() : + ServiceResult() +{} + +DescribeDcdnFullDomainsBlockIPHistoryResult::DescribeDcdnFullDomainsBlockIPHistoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnFullDomainsBlockIPHistoryResult::~DescribeDcdnFullDomainsBlockIPHistoryResult() +{} + +void DescribeDcdnFullDomainsBlockIPHistoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allIPBlockInfoNode = value["IPBlockInfo"]["IPBlockHistory"]; + for (auto valueIPBlockInfoIPBlockHistory : allIPBlockInfoNode) + { + IPBlockHistory iPBlockInfoObject; + if(!valueIPBlockInfoIPBlockHistory["BlockIP"].isNull()) + iPBlockInfoObject.blockIP = valueIPBlockInfoIPBlockHistory["BlockIP"].asString(); + if(!valueIPBlockInfoIPBlockHistory["DeliverTime"].isNull()) + iPBlockInfoObject.deliverTime = valueIPBlockInfoIPBlockHistory["DeliverTime"].asString(); + if(!valueIPBlockInfoIPBlockHistory["Status"].isNull()) + iPBlockInfoObject.status = valueIPBlockInfoIPBlockHistory["Status"].asString(); + iPBlockInfo_.push_back(iPBlockInfoObject); + } + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + +} + +std::string DescribeDcdnFullDomainsBlockIPHistoryResult::getDescription()const +{ + return description_; +} + +std::vector DescribeDcdnFullDomainsBlockIPHistoryResult::getIPBlockInfo()const +{ + return iPBlockInfo_; +} + +int DescribeDcdnFullDomainsBlockIPHistoryResult::getCode()const +{ + return code_; +} + diff --git a/dcdn/src/model/DescribeDcdnHttpsDomainListRequest.cc b/dcdn/src/model/DescribeDcdnHttpsDomainListRequest.cc index 65b4fb887..7ab339bed 100644 --- a/dcdn/src/model/DescribeDcdnHttpsDomainListRequest.cc +++ b/dcdn/src/model/DescribeDcdnHttpsDomainListRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnHttpsDomainListRequest; - -DescribeDcdnHttpsDomainListRequest::DescribeDcdnHttpsDomainListRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnHttpsDomainList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnHttpsDomainListRequest::~DescribeDcdnHttpsDomainListRequest() -{} - -int DescribeDcdnHttpsDomainListRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnHttpsDomainListRequest; + +DescribeDcdnHttpsDomainListRequest::DescribeDcdnHttpsDomainListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnHttpsDomainList") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnHttpsDomainListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeDcdnHttpsDomainListRequest::~DescribeDcdnHttpsDomainListRequest() {} + +int DescribeDcdnHttpsDomainListRequest::getPageSize() const { + return pageSize_; } -int DescribeDcdnHttpsDomainListRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnHttpsDomainListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnHttpsDomainListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeDcdnHttpsDomainListRequest::getKeyword() const { + return keyword_; } -std::string DescribeDcdnHttpsDomainListRequest::getKeyword()const -{ - return keyword_; +void DescribeDcdnHttpsDomainListRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); } -void DescribeDcdnHttpsDomainListRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); +int DescribeDcdnHttpsDomainListRequest::getPageNumber() const { + return pageNumber_; } -long DescribeDcdnHttpsDomainListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnHttpsDomainListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnHttpsDomainListRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dcdn/src/model/DescribeDcdnHttpsDomainListResult.cc b/dcdn/src/model/DescribeDcdnHttpsDomainListResult.cc index 4c1b88875..ce6597b92 100644 --- a/dcdn/src/model/DescribeDcdnHttpsDomainListResult.cc +++ b/dcdn/src/model/DescribeDcdnHttpsDomainListResult.cc @@ -43,22 +43,22 @@ void DescribeDcdnHttpsDomainListResult::parse(const std::string &payload) 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(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertStatus"].isNull()) + certInfosObject.certStatus = valueCertInfosCertInfo["CertStatus"].asString(); + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); + if(!valueCertInfosCertInfo["CertCommonName"].isNull()) + certInfosObject.certCommonName = valueCertInfosCertInfo["CertCommonName"].asString(); certInfos_.push_back(certInfosObject); } if(!value["TotalCount"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnIpInfoRequest.cc b/dcdn/src/model/DescribeDcdnIpInfoRequest.cc index 9e96072d2..4d4364528 100644 --- a/dcdn/src/model/DescribeDcdnIpInfoRequest.cc +++ b/dcdn/src/model/DescribeDcdnIpInfoRequest.cc @@ -1,62 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnIpInfoRequest; - -DescribeDcdnIpInfoRequest::DescribeDcdnIpInfoRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnIpInfoRequest::~DescribeDcdnIpInfoRequest() -{} - -std::string DescribeDcdnIpInfoRequest::getIP()const -{ - return iP_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnIpInfoRequest; + +DescribeDcdnIpInfoRequest::DescribeDcdnIpInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnIpInfoRequest::setIP(const std::string& iP) -{ - iP_ = iP; - setParameter("IP", iP); +DescribeDcdnIpInfoRequest::~DescribeDcdnIpInfoRequest() {} + +std::string DescribeDcdnIpInfoRequest::getIP() const { + return iP_; } -long DescribeDcdnIpInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnIpInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDcdnIpInfoRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeDcdnIpInfoRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +void DescribeDcdnIpInfoRequest::setIP(const std::string &iP) { + iP_ = iP; + setParameter(std::string("IP"), iP); } diff --git a/dcdn/src/model/DescribeDcdnIpInfoResult.cc b/dcdn/src/model/DescribeDcdnIpInfoResult.cc index 5d0909464..c52de03f8 100644 --- a/dcdn/src/model/DescribeDcdnIpInfoResult.cc +++ b/dcdn/src/model/DescribeDcdnIpInfoResult.cc @@ -39,16 +39,16 @@ void DescribeDcdnIpInfoResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["RegionEname"].isNull()) + regionEname_ = value["RegionEname"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["IspEname"].isNull()) + ispEname_ = value["IspEname"].asString(); if(!value["DcdnIp"].isNull()) dcdnIp_ = value["DcdnIp"].asString(); if(!value["ISP"].isNull()) iSP_ = value["ISP"].asString(); - if(!value["IspEname"].isNull()) - ispEname_ = value["IspEname"].asString(); - if(!value["Region"].isNull()) - region_ = value["Region"].asString(); - if(!value["RegionEname"].isNull()) - regionEname_ = value["RegionEname"].asString(); } @@ -67,13 +67,13 @@ std::string DescribeDcdnIpInfoResult::getIspEname()const return ispEname_; } -std::string DescribeDcdnIpInfoResult::getDcdnIp()const -{ - return dcdnIp_; -} - std::string DescribeDcdnIpInfoResult::getRegionEname()const { return regionEname_; } +std::string DescribeDcdnIpInfoResult::getDcdnIp()const +{ + return dcdnIp_; +} + diff --git a/dcdn/src/model/DescribeDcdnIpaDomainCidrRequest.cc b/dcdn/src/model/DescribeDcdnIpaDomainCidrRequest.cc new file mode 100644 index 000000000..618893f1c --- /dev/null +++ b/dcdn/src/model/DescribeDcdnIpaDomainCidrRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnIpaDomainCidrRequest; + +DescribeDcdnIpaDomainCidrRequest::DescribeDcdnIpaDomainCidrRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaDomainCidr") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnIpaDomainCidrRequest::~DescribeDcdnIpaDomainCidrRequest() {} + +std::string DescribeDcdnIpaDomainCidrRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnIpaDomainCidrRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + diff --git a/dcdn/src/model/DescribeDcdnIpaDomainCidrResult.cc b/dcdn/src/model/DescribeDcdnIpaDomainCidrResult.cc new file mode 100644 index 000000000..57b9ce154 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnIpaDomainCidrResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnIpaDomainCidrResult::DescribeDcdnIpaDomainCidrResult() : + ServiceResult() +{} + +DescribeDcdnIpaDomainCidrResult::DescribeDcdnIpaDomainCidrResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnIpaDomainCidrResult::~DescribeDcdnIpaDomainCidrResult() +{} + +void DescribeDcdnIpaDomainCidrResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCidr = value["Cidr"]["Cidr"]; + for (const auto &item : allCidr) + cidr_.push_back(item.asString()); + +} + +std::vector DescribeDcdnIpaDomainCidrResult::getCidr()const +{ + return cidr_; +} + diff --git a/dcdn/src/model/DescribeDcdnIpaDomainConfigsRequest.cc b/dcdn/src/model/DescribeDcdnIpaDomainConfigsRequest.cc index ffccfe40c..a1c355898 100644 --- a/dcdn/src/model/DescribeDcdnIpaDomainConfigsRequest.cc +++ b/dcdn/src/model/DescribeDcdnIpaDomainConfigsRequest.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::Dcdn::Model::DescribeDcdnIpaDomainConfigsRequest; - -DescribeDcdnIpaDomainConfigsRequest::DescribeDcdnIpaDomainConfigsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnIpaDomainConfigsRequest::~DescribeDcdnIpaDomainConfigsRequest() -{} - -std::string DescribeDcdnIpaDomainConfigsRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnIpaDomainConfigsRequest; + +DescribeDcdnIpaDomainConfigsRequest::DescribeDcdnIpaDomainConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnIpaDomainConfigsRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +DescribeDcdnIpaDomainConfigsRequest::~DescribeDcdnIpaDomainConfigsRequest() {} + +std::string DescribeDcdnIpaDomainConfigsRequest::getFunctionNames() const { + return functionNames_; } -std::string DescribeDcdnIpaDomainConfigsRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnIpaDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void DescribeDcdnIpaDomainConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnIpaDomainConfigsRequest::getSecurityToken() const { + return securityToken_; } -long DescribeDcdnIpaDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnIpaDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnIpaDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnIpaDomainConfigsRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnIpaDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnIpaDomainConfigsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnIpaDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnIpaDomainConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnIpaDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeDcdnIpaDomainConfigsResult.cc b/dcdn/src/model/DescribeDcdnIpaDomainConfigsResult.cc index 5a4f2b2e8..2f0a62407 100644 --- a/dcdn/src/model/DescribeDcdnIpaDomainConfigsResult.cc +++ b/dcdn/src/model/DescribeDcdnIpaDomainConfigsResult.cc @@ -43,12 +43,12 @@ void DescribeDcdnIpaDomainConfigsResult::parse(const std::string &payload) 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(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) { diff --git a/dcdn/src/model/DescribeDcdnIpaDomainDetailRequest.cc b/dcdn/src/model/DescribeDcdnIpaDomainDetailRequest.cc index fdea1d324..b7cfd83b8 100644 --- a/dcdn/src/model/DescribeDcdnIpaDomainDetailRequest.cc +++ b/dcdn/src/model/DescribeDcdnIpaDomainDetailRequest.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::Dcdn::Model::DescribeDcdnIpaDomainDetailRequest; - -DescribeDcdnIpaDomainDetailRequest::DescribeDcdnIpaDomainDetailRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaDomainDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnIpaDomainDetailRequest::~DescribeDcdnIpaDomainDetailRequest() -{} - -std::string DescribeDcdnIpaDomainDetailRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnIpaDomainDetailRequest; + +DescribeDcdnIpaDomainDetailRequest::DescribeDcdnIpaDomainDetailRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaDomainDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnIpaDomainDetailRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnIpaDomainDetailRequest::~DescribeDcdnIpaDomainDetailRequest() {} + +std::string DescribeDcdnIpaDomainDetailRequest::getSecurityToken() const { + return securityToken_; } -long DescribeDcdnIpaDomainDetailRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnIpaDomainDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnIpaDomainDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnIpaDomainDetailRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnIpaDomainDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnIpaDomainDetailRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnIpaDomainDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnIpaDomainDetailRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnIpaDomainDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeDcdnIpaDomainDetailResult.cc b/dcdn/src/model/DescribeDcdnIpaDomainDetailResult.cc index c63bf3596..bb94e7040 100644 --- a/dcdn/src/model/DescribeDcdnIpaDomainDetailResult.cc +++ b/dcdn/src/model/DescribeDcdnIpaDomainDetailResult.cc @@ -42,42 +42,42 @@ void DescribeDcdnIpaDomainDetailResult::parse(const std::string &payload) auto domainDetailNode = value["DomainDetail"]; if(!domainDetailNode["GmtCreated"].isNull()) domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString(); - if(!domainDetailNode["GmtModified"].isNull()) - domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString(); - if(!domainDetailNode["DomainStatus"].isNull()) - domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString(); - if(!domainDetailNode["Cname"].isNull()) - domainDetail_.cname = domainDetailNode["Cname"].asString(); - if(!domainDetailNode["DomainName"].isNull()) - domainDetail_.domainName = domainDetailNode["DomainName"].asString(); + if(!domainDetailNode["SSLPub"].isNull()) + domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString(); if(!domainDetailNode["Description"].isNull()) domainDetail_.description = domainDetailNode["Description"].asString(); if(!domainDetailNode["SSLProtocol"].isNull()) domainDetail_.sSLProtocol = domainDetailNode["SSLProtocol"].asString(); - if(!domainDetailNode["SSLPub"].isNull()) - domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString(); - if(!domainDetailNode["Scope"].isNull()) - domainDetail_.scope = domainDetailNode["Scope"].asString(); - if(!domainDetailNode["CertName"].isNull()) - domainDetail_.certName = domainDetailNode["CertName"].asString(); if(!domainDetailNode["ResourceGroupId"].isNull()) domainDetail_.resourceGroupId = domainDetailNode["ResourceGroupId"].asString(); + if(!domainDetailNode["CertName"].isNull()) + domainDetail_.certName = domainDetailNode["CertName"].asString(); + if(!domainDetailNode["Scope"].isNull()) + domainDetail_.scope = domainDetailNode["Scope"].asString(); + if(!domainDetailNode["Cname"].isNull()) + domainDetail_.cname = domainDetailNode["Cname"].asString(); + if(!domainDetailNode["DomainStatus"].isNull()) + domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString(); + if(!domainDetailNode["GmtModified"].isNull()) + domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString(); + if(!domainDetailNode["DomainName"].isNull()) + domainDetail_.domainName = domainDetailNode["DomainName"].asString(); auto allSourcesNode = domainDetailNode["Sources"]["Source"]; for (auto domainDetailNodeSourcesSource : allSourcesNode) { DomainDetail::Source sourceObject; - if(!domainDetailNodeSourcesSource["Content"].isNull()) - sourceObject.content = domainDetailNodeSourcesSource["Content"].asString(); if(!domainDetailNodeSourcesSource["Type"].isNull()) sourceObject.type = domainDetailNodeSourcesSource["Type"].asString(); - if(!domainDetailNodeSourcesSource["Port"].isNull()) - sourceObject.port = std::stoi(domainDetailNodeSourcesSource["Port"].asString()); + if(!domainDetailNodeSourcesSource["Weight"].isNull()) + sourceObject.weight = domainDetailNodeSourcesSource["Weight"].asString(); if(!domainDetailNodeSourcesSource["Enabled"].isNull()) sourceObject.enabled = domainDetailNodeSourcesSource["Enabled"].asString(); if(!domainDetailNodeSourcesSource["Priority"].isNull()) sourceObject.priority = domainDetailNodeSourcesSource["Priority"].asString(); - if(!domainDetailNodeSourcesSource["Weight"].isNull()) - sourceObject.weight = domainDetailNodeSourcesSource["Weight"].asString(); + if(!domainDetailNodeSourcesSource["Port"].isNull()) + sourceObject.port = std::stoi(domainDetailNodeSourcesSource["Port"].asString()); + if(!domainDetailNodeSourcesSource["Content"].isNull()) + sourceObject.content = domainDetailNodeSourcesSource["Content"].asString(); domainDetail_.sources.push_back(sourceObject); } diff --git a/dcdn/src/model/DescribeDcdnIpaServiceRequest.cc b/dcdn/src/model/DescribeDcdnIpaServiceRequest.cc index 077538154..a904cff1a 100644 --- a/dcdn/src/model/DescribeDcdnIpaServiceRequest.cc +++ b/dcdn/src/model/DescribeDcdnIpaServiceRequest.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::Dcdn::Model::DescribeDcdnIpaServiceRequest; - -DescribeDcdnIpaServiceRequest::DescribeDcdnIpaServiceRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaService") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnIpaServiceRequest::~DescribeDcdnIpaServiceRequest() -{} - -long DescribeDcdnIpaServiceRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnIpaServiceRequest; + +DescribeDcdnIpaServiceRequest::DescribeDcdnIpaServiceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaService") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnIpaServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnIpaServiceRequest::~DescribeDcdnIpaServiceRequest() {} + +long DescribeDcdnIpaServiceRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnIpaServiceRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnIpaServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnIpaServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnIpaServiceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnIpaServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnIpaServiceResult.cc b/dcdn/src/model/DescribeDcdnIpaServiceResult.cc index 13ac5296f..155730643 100644 --- a/dcdn/src/model/DescribeDcdnIpaServiceResult.cc +++ b/dcdn/src/model/DescribeDcdnIpaServiceResult.cc @@ -47,16 +47,16 @@ void DescribeDcdnIpaServiceResult::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/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc b/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc index a26fe1c27..2adab45dd 100644 --- a/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc +++ b/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc @@ -1,166 +1,131 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnIpaUserDomainsRequest; - -DescribeDcdnIpaUserDomainsRequest::DescribeDcdnIpaUserDomainsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaUserDomains") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnIpaUserDomainsRequest::~DescribeDcdnIpaUserDomainsRequest() -{} - -int DescribeDcdnIpaUserDomainsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnIpaUserDomainsRequest; + +DescribeDcdnIpaUserDomainsRequest::DescribeDcdnIpaUserDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnIpaUserDomains") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnIpaUserDomainsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeDcdnIpaUserDomainsRequest::~DescribeDcdnIpaUserDomainsRequest() {} + +int DescribeDcdnIpaUserDomainsRequest::getPageNumber() const { + return pageNumber_; } -bool DescribeDcdnIpaUserDomainsRequest::getCheckDomainShow()const -{ - return checkDomainShow_; +void DescribeDcdnIpaUserDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeDcdnIpaUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) -{ - checkDomainShow_ = checkDomainShow; - setParameter("CheckDomainShow", checkDomainShow ? "true" : "false"); +bool DescribeDcdnIpaUserDomainsRequest::getCheckDomainShow() const { + return checkDomainShow_; } -std::string DescribeDcdnIpaUserDomainsRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void DescribeDcdnIpaUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) { + checkDomainShow_ = checkDomainShow; + setParameter(std::string("CheckDomainShow"), checkDomainShow ? "true" : "false"); } -void DescribeDcdnIpaUserDomainsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string DescribeDcdnIpaUserDomainsRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string DescribeDcdnIpaUserDomainsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnIpaUserDomainsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void DescribeDcdnIpaUserDomainsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +int DescribeDcdnIpaUserDomainsRequest::getPageSize() const { + return pageSize_; } -int DescribeDcdnIpaUserDomainsRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnIpaUserDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnIpaUserDomainsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::vector DescribeDcdnIpaUserDomainsRequest::getTag() const { + return tag_; } -std::vector DescribeDcdnIpaUserDomainsRequest::getTag()const -{ - return tag_; +void DescribeDcdnIpaUserDomainsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } } -void DescribeDcdnIpaUserDomainsRequest::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 DescribeDcdnIpaUserDomainsRequest::getFuncFilter() const { + return funcFilter_; } -std::string DescribeDcdnIpaUserDomainsRequest::getFuncFilter()const -{ - return funcFilter_; +void DescribeDcdnIpaUserDomainsRequest::setFuncFilter(const std::string &funcFilter) { + funcFilter_ = funcFilter; + setParameter(std::string("FuncFilter"), funcFilter); } -void DescribeDcdnIpaUserDomainsRequest::setFuncFilter(const std::string& funcFilter) -{ - funcFilter_ = funcFilter; - setParameter("FuncFilter", funcFilter); +std::string DescribeDcdnIpaUserDomainsRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnIpaUserDomainsRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnIpaUserDomainsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnIpaUserDomainsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +long DescribeDcdnIpaUserDomainsRequest::getOwnerId() const { + return ownerId_; } -long DescribeDcdnIpaUserDomainsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnIpaUserDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnIpaUserDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnIpaUserDomainsRequest::getFuncId() const { + return funcId_; } -std::string DescribeDcdnIpaUserDomainsRequest::getFuncId()const -{ - return funcId_; +void DescribeDcdnIpaUserDomainsRequest::setFuncId(const std::string &funcId) { + funcId_ = funcId; + setParameter(std::string("FuncId"), funcId); } -void DescribeDcdnIpaUserDomainsRequest::setFuncId(const std::string& funcId) -{ - funcId_ = funcId; - setParameter("FuncId", funcId); +std::string DescribeDcdnIpaUserDomainsRequest::getDomainStatus() const { + return domainStatus_; } -std::string DescribeDcdnIpaUserDomainsRequest::getDomainStatus()const -{ - return domainStatus_; +void DescribeDcdnIpaUserDomainsRequest::setDomainStatus(const std::string &domainStatus) { + domainStatus_ = domainStatus; + setParameter(std::string("DomainStatus"), domainStatus); } -void DescribeDcdnIpaUserDomainsRequest::setDomainStatus(const std::string& domainStatus) -{ - domainStatus_ = domainStatus; - setParameter("DomainStatus", domainStatus); +std::string DescribeDcdnIpaUserDomainsRequest::getDomainSearchType() const { + return domainSearchType_; } -std::string DescribeDcdnIpaUserDomainsRequest::getDomainSearchType()const -{ - return domainSearchType_; -} - -void DescribeDcdnIpaUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType) -{ - domainSearchType_ = domainSearchType; - setParameter("DomainSearchType", domainSearchType); +void DescribeDcdnIpaUserDomainsRequest::setDomainSearchType(const std::string &domainSearchType) { + domainSearchType_ = domainSearchType; + setParameter(std::string("DomainSearchType"), domainSearchType); } diff --git a/dcdn/src/model/DescribeDcdnIpaUserDomainsResult.cc b/dcdn/src/model/DescribeDcdnIpaUserDomainsResult.cc index 31c3b24d4..d97f650f5 100644 --- a/dcdn/src/model/DescribeDcdnIpaUserDomainsResult.cc +++ b/dcdn/src/model/DescribeDcdnIpaUserDomainsResult.cc @@ -43,16 +43,8 @@ void DescribeDcdnIpaUserDomainsResult::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["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()) @@ -61,20 +53,28 @@ void DescribeDcdnIpaUserDomainsResult::parse(const std::string &payload) domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); if(!valueDomainsPageData["Sandbox"].isNull()) domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); + if(!valueDomainsPageData["DomainStatus"].isNull()) + domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; for (auto valueDomainsPageDataSourcesSource : allSourcesNode) { PageData::Source sourcesObject; if(!valueDomainsPageDataSourcesSource["Type"].isNull()) sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); - if(!valueDomainsPageDataSourcesSource["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(); + if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) + sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); + if(!valueDomainsPageDataSourcesSource["Port"].isNull()) + sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); + if(!valueDomainsPageDataSourcesSource["Content"].isNull()) + sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); domainsObject.sources.push_back(sourcesObject); } domains_.push_back(domainsObject); diff --git a/dcdn/src/model/DescribeDcdnKvAccountRequest.cc b/dcdn/src/model/DescribeDcdnKvAccountRequest.cc new file mode 100644 index 000000000..cfbec1e3e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnKvAccountRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnKvAccountRequest; + +DescribeDcdnKvAccountRequest::DescribeDcdnKvAccountRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnKvAccount") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnKvAccountRequest::~DescribeDcdnKvAccountRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnKvAccountResult.cc b/dcdn/src/model/DescribeDcdnKvAccountResult.cc new file mode 100644 index 000000000..6deb26500 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnKvAccountResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnKvAccountResult::DescribeDcdnKvAccountResult() : + ServiceResult() +{} + +DescribeDcdnKvAccountResult::DescribeDcdnKvAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnKvAccountResult::~DescribeDcdnKvAccountResult() +{} + +void DescribeDcdnKvAccountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allNamespaceListNode = value["NamespaceList"]["namespaces"]; + for (auto valueNamespaceListnamespaces : allNamespaceListNode) + { + Namespaces namespaceListObject; + if(!valueNamespaceListnamespaces["Status"].isNull()) + namespaceListObject.status = valueNamespaceListnamespaces["Status"].asString(); + if(!valueNamespaceListnamespaces["Namespace"].isNull()) + namespaceListObject._namespace = valueNamespaceListnamespaces["Namespace"].asString(); + if(!valueNamespaceListnamespaces["NamespaceId"].isNull()) + namespaceListObject.namespaceId = valueNamespaceListnamespaces["NamespaceId"].asString(); + if(!valueNamespaceListnamespaces["Description"].isNull()) + namespaceListObject.description = valueNamespaceListnamespaces["Description"].asString(); + if(!valueNamespaceListnamespaces["CapacityString"].isNull()) + namespaceListObject.capacityString = valueNamespaceListnamespaces["CapacityString"].asString(); + if(!valueNamespaceListnamespaces["CapacityUsedString"].isNull()) + namespaceListObject.capacityUsedString = valueNamespaceListnamespaces["CapacityUsedString"].asString(); + namespaceList_.push_back(namespaceListObject); + } + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["NamespaceUsed"].isNull()) + namespaceUsed_ = std::stoi(value["NamespaceUsed"].asString()); + if(!value["NamespaceQuota"].isNull()) + namespaceQuota_ = std::stoi(value["NamespaceQuota"].asString()); + if(!value["CapacityString"].isNull()) + capacityString_ = value["CapacityString"].asString(); + if(!value["CapacityUsedString"].isNull()) + capacityUsedString_ = value["CapacityUsedString"].asString(); + +} + +std::string DescribeDcdnKvAccountResult::getStatus()const +{ + return status_; +} + +int DescribeDcdnKvAccountResult::getNamespaceUsed()const +{ + return namespaceUsed_; +} + +std::string DescribeDcdnKvAccountResult::getCapacityUsedString()const +{ + return capacityUsedString_; +} + +std::string DescribeDcdnKvAccountResult::getCapacityString()const +{ + return capacityString_; +} + +int DescribeDcdnKvAccountResult::getNamespaceQuota()const +{ + return namespaceQuota_; +} + +std::vector DescribeDcdnKvAccountResult::getNamespaceList()const +{ + return namespaceList_; +} + diff --git a/dcdn/src/model/DescribeDcdnKvAccountStatusRequest.cc b/dcdn/src/model/DescribeDcdnKvAccountStatusRequest.cc new file mode 100644 index 000000000..6133377b8 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnKvAccountStatusRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnKvAccountStatusRequest; + +DescribeDcdnKvAccountStatusRequest::DescribeDcdnKvAccountStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnKvAccountStatus") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnKvAccountStatusRequest::~DescribeDcdnKvAccountStatusRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnKvAccountStatusResult.cc b/dcdn/src/model/DescribeDcdnKvAccountStatusResult.cc new file mode 100644 index 000000000..1ec3277e1 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnKvAccountStatusResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnKvAccountStatusResult::DescribeDcdnKvAccountStatusResult() : + ServiceResult() +{} + +DescribeDcdnKvAccountStatusResult::DescribeDcdnKvAccountStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnKvAccountStatusResult::~DescribeDcdnKvAccountStatusResult() +{} + +void DescribeDcdnKvAccountStatusResult::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(); + +} + +std::string DescribeDcdnKvAccountStatusResult::getStatus()const +{ + return status_; +} + diff --git a/dcdn/src/model/DescribeDcdnKvNamespaceRequest.cc b/dcdn/src/model/DescribeDcdnKvNamespaceRequest.cc new file mode 100644 index 000000000..815ce2270 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnKvNamespaceRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnKvNamespaceRequest; + +DescribeDcdnKvNamespaceRequest::DescribeDcdnKvNamespaceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnKvNamespace") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnKvNamespaceRequest::~DescribeDcdnKvNamespaceRequest() {} + +std::string DescribeDcdnKvNamespaceRequest::get_Namespace() const { + return _namespace_; +} + +void DescribeDcdnKvNamespaceRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + diff --git a/dcdn/src/model/DescribeDcdnKvNamespaceResult.cc b/dcdn/src/model/DescribeDcdnKvNamespaceResult.cc new file mode 100644 index 000000000..4243c084f --- /dev/null +++ b/dcdn/src/model/DescribeDcdnKvNamespaceResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnKvNamespaceResult::DescribeDcdnKvNamespaceResult() : + ServiceResult() +{} + +DescribeDcdnKvNamespaceResult::DescribeDcdnKvNamespaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnKvNamespaceResult::~DescribeDcdnKvNamespaceResult() +{} + +void DescribeDcdnKvNamespaceResult::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["Namespace"].isNull()) + _namespace_ = value["Namespace"].asString(); + if(!value["NamespaceId"].isNull()) + namespaceId_ = value["NamespaceId"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["CapacityString"].isNull()) + capacityString_ = value["CapacityString"].asString(); + if(!value["CapacityUsedString"].isNull()) + capacityUsedString_ = value["CapacityUsedString"].asString(); + if(!value["Mode"].isNull()) + mode_ = value["Mode"].asString(); + +} + +std::string DescribeDcdnKvNamespaceResult::getStatus()const +{ + return status_; +} + +std::string DescribeDcdnKvNamespaceResult::getCapacityUsedString()const +{ + return capacityUsedString_; +} + +std::string DescribeDcdnKvNamespaceResult::getDescription()const +{ + return description_; +} + +std::string DescribeDcdnKvNamespaceResult::getCapacityString()const +{ + return capacityString_; +} + +std::string DescribeDcdnKvNamespaceResult::getMode()const +{ + return mode_; +} + +std::string DescribeDcdnKvNamespaceResult::get_Namespace()const +{ + return _namespace_; +} + +std::string DescribeDcdnKvNamespaceResult::getNamespaceId()const +{ + return namespaceId_; +} + diff --git a/dcdn/src/model/DescribeDcdnL2IpsRequest.cc b/dcdn/src/model/DescribeDcdnL2IpsRequest.cc new file mode 100644 index 000000000..14884a40e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnL2IpsRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnL2IpsRequest; + +DescribeDcdnL2IpsRequest::DescribeDcdnL2IpsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnL2Ips") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnL2IpsRequest::~DescribeDcdnL2IpsRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnL2IpsResult.cc b/dcdn/src/model/DescribeDcdnL2IpsResult.cc new file mode 100644 index 000000000..0bfef3ea0 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnL2IpsResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnL2IpsResult::DescribeDcdnL2IpsResult() : + ServiceResult() +{} + +DescribeDcdnL2IpsResult::DescribeDcdnL2IpsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnL2IpsResult::~DescribeDcdnL2IpsResult() +{} + +void DescribeDcdnL2IpsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVips = value["Vips"]["Vips"]; + for (const auto &item : allVips) + vips_.push_back(item.asString()); + +} + +std::vector DescribeDcdnL2IpsResult::getVips()const +{ + return vips_; +} + diff --git a/dcdn/src/model/DescribeDcdnL2VipsRequest.cc b/dcdn/src/model/DescribeDcdnL2VipsRequest.cc new file mode 100644 index 000000000..bad92ffd2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnL2VipsRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnL2VipsRequest; + +DescribeDcdnL2VipsRequest::DescribeDcdnL2VipsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnL2Vips") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnL2VipsRequest::~DescribeDcdnL2VipsRequest() {} + +std::string DescribeDcdnL2VipsRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnL2VipsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + diff --git a/dcdn/src/model/DescribeDcdnL2VipsResult.cc b/dcdn/src/model/DescribeDcdnL2VipsResult.cc new file mode 100644 index 000000000..5c128206a --- /dev/null +++ b/dcdn/src/model/DescribeDcdnL2VipsResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnL2VipsResult::DescribeDcdnL2VipsResult() : + ServiceResult() +{} + +DescribeDcdnL2VipsResult::DescribeDcdnL2VipsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnL2VipsResult::~DescribeDcdnL2VipsResult() +{} + +void DescribeDcdnL2VipsResult::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 DescribeDcdnL2VipsResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeDcdnL2VipsResult::getVips()const +{ + return vips_; +} + diff --git a/dcdn/src/model/DescribeDcdnOriginSiteHealthStatusRequest.cc b/dcdn/src/model/DescribeDcdnOriginSiteHealthStatusRequest.cc new file mode 100644 index 000000000..ca2e3c662 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOriginSiteHealthStatusRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnOriginSiteHealthStatusRequest; + +DescribeDcdnOriginSiteHealthStatusRequest::DescribeDcdnOriginSiteHealthStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOriginSiteHealthStatus") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnOriginSiteHealthStatusRequest::~DescribeDcdnOriginSiteHealthStatusRequest() {} + +std::string DescribeDcdnOriginSiteHealthStatusRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnOriginSiteHealthStatusRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + diff --git a/dcdn/src/model/DescribeDcdnOriginSiteHealthStatusResult.cc b/dcdn/src/model/DescribeDcdnOriginSiteHealthStatusResult.cc new file mode 100644 index 000000000..5ce5354fe --- /dev/null +++ b/dcdn/src/model/DescribeDcdnOriginSiteHealthStatusResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnOriginSiteHealthStatusResult::DescribeDcdnOriginSiteHealthStatusResult() : + ServiceResult() +{} + +DescribeDcdnOriginSiteHealthStatusResult::DescribeDcdnOriginSiteHealthStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnOriginSiteHealthStatusResult::~DescribeDcdnOriginSiteHealthStatusResult() +{} + +void DescribeDcdnOriginSiteHealthStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOriginSiteStatusNode = value["OriginSiteStatus"]["OriginSiteStatusItem"]; + for (auto valueOriginSiteStatusOriginSiteStatusItem : allOriginSiteStatusNode) + { + OriginSiteStatusItem originSiteStatusObject; + if(!valueOriginSiteStatusOriginSiteStatusItem["Host"].isNull()) + originSiteStatusObject.host = valueOriginSiteStatusOriginSiteStatusItem["Host"].asString(); + if(!valueOriginSiteStatusOriginSiteStatusItem["HealthStatus"].isNull()) + originSiteStatusObject.healthStatus = valueOriginSiteStatusOriginSiteStatusItem["HealthStatus"].asString(); + originSiteStatus_.push_back(originSiteStatusObject); + } + +} + +std::vector DescribeDcdnOriginSiteHealthStatusResult::getOriginSiteStatus()const +{ + return originSiteStatus_; +} + diff --git a/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc index 88dbedb82..d0f877741 100644 --- a/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc +++ b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnRealTimeDeliveryFieldRequest; - -DescribeDcdnRealTimeDeliveryFieldRequest::DescribeDcdnRealTimeDeliveryFieldRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRealTimeDeliveryField") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnRealTimeDeliveryFieldRequest::~DescribeDcdnRealTimeDeliveryFieldRequest() -{} - -std::string DescribeDcdnRealTimeDeliveryFieldRequest::getBusinessType()const -{ - return businessType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnRealTimeDeliveryFieldRequest; + +DescribeDcdnRealTimeDeliveryFieldRequest::DescribeDcdnRealTimeDeliveryFieldRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRealTimeDeliveryField") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnRealTimeDeliveryFieldRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setParameter("BusinessType", businessType); +DescribeDcdnRealTimeDeliveryFieldRequest::~DescribeDcdnRealTimeDeliveryFieldRequest() {} + +std::string DescribeDcdnRealTimeDeliveryFieldRequest::getBusinessType() const { + return businessType_; } -long DescribeDcdnRealTimeDeliveryFieldRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnRealTimeDeliveryFieldRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnRealTimeDeliveryFieldRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setParameter(std::string("BusinessType"), businessType); } diff --git a/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc index a958c4e31..2caee8ed4 100644 --- a/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc +++ b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc @@ -43,10 +43,10 @@ void DescribeDcdnRealTimeDeliveryFieldResult::parse(const std::string &payload) for (auto valueContentFields : allContentNode) { Fields contentObject; - if(!valueContentFields["FieldName"].isNull()) - contentObject.fieldName = valueContentFields["FieldName"].asString(); if(!valueContentFields["Description"].isNull()) contentObject.description = valueContentFields["Description"].asString(); + if(!valueContentFields["FieldName"].isNull()) + contentObject.fieldName = valueContentFields["FieldName"].asString(); content_.push_back(contentObject); } diff --git a/dcdn/src/model/DescribeDcdnRefreshQuotaRequest.cc b/dcdn/src/model/DescribeDcdnRefreshQuotaRequest.cc index 635feb49c..3fb3e6618 100644 --- a/dcdn/src/model/DescribeDcdnRefreshQuotaRequest.cc +++ b/dcdn/src/model/DescribeDcdnRefreshQuotaRequest.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::Dcdn::Model::DescribeDcdnRefreshQuotaRequest; - -DescribeDcdnRefreshQuotaRequest::DescribeDcdnRefreshQuotaRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRefreshQuota") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnRefreshQuotaRequest::~DescribeDcdnRefreshQuotaRequest() -{} - -long DescribeDcdnRefreshQuotaRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnRefreshQuotaRequest; + +DescribeDcdnRefreshQuotaRequest::DescribeDcdnRefreshQuotaRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRefreshQuota") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnRefreshQuotaRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnRefreshQuotaRequest::~DescribeDcdnRefreshQuotaRequest() {} + +long DescribeDcdnRefreshQuotaRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnRefreshQuotaRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnRefreshQuotaRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnRefreshQuotaRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnRefreshQuotaRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnRefreshQuotaRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnRefreshQuotaResult.cc b/dcdn/src/model/DescribeDcdnRefreshQuotaResult.cc index 6c4e9dade..158b23ac2 100644 --- a/dcdn/src/model/DescribeDcdnRefreshQuotaResult.cc +++ b/dcdn/src/model/DescribeDcdnRefreshQuotaResult.cc @@ -39,26 +39,30 @@ void DescribeDcdnRefreshQuotaResult::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["BlockRemain"].isNull()) + blockRemain_ = value["BlockRemain"].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(); + if(!value["RegexQuota"].isNull()) + regexQuota_ = value["RegexQuota"].asString(); + if(!value["IgnoreParamsQuota"].isNull()) + ignoreParamsQuota_ = value["IgnoreParamsQuota"].asString(); + if(!value["IgnoreParamsRemain"].isNull()) + ignoreParamsRemain_ = value["IgnoreParamsRemain"].asString(); } @@ -67,14 +71,19 @@ std::string DescribeDcdnRefreshQuotaResult::getUrlRemain()const return urlRemain_; } +std::string DescribeDcdnRefreshQuotaResult::getBlockRemain()const +{ + return blockRemain_; +} + std::string DescribeDcdnRefreshQuotaResult::getPreloadRemain()const { return preloadRemain_; } -std::string DescribeDcdnRefreshQuotaResult::getBlockRemain()const +std::string DescribeDcdnRefreshQuotaResult::getIgnoreParamsRemain()const { - return blockRemain_; + return ignoreParamsRemain_; } std::string DescribeDcdnRefreshQuotaResult::getRegexRemain()const @@ -82,16 +91,16 @@ std::string DescribeDcdnRefreshQuotaResult::getRegexRemain()const return regexRemain_; } -std::string DescribeDcdnRefreshQuotaResult::getDirRemain()const -{ - return dirRemain_; -} - std::string DescribeDcdnRefreshQuotaResult::getBlockQuota()const { return blockQuota_; } +std::string DescribeDcdnRefreshQuotaResult::getDirRemain()const +{ + return dirRemain_; +} + std::string DescribeDcdnRefreshQuotaResult::getRegexQuota()const { return regexQuota_; @@ -107,6 +116,11 @@ std::string DescribeDcdnRefreshQuotaResult::getDirQuota()const return dirQuota_; } +std::string DescribeDcdnRefreshQuotaResult::getIgnoreParamsQuota()const +{ + return ignoreParamsQuota_; +} + std::string DescribeDcdnRefreshQuotaResult::getPreloadQuota()const { return preloadQuota_; diff --git a/dcdn/src/model/DescribeDcdnRefreshTaskByIdRequest.cc b/dcdn/src/model/DescribeDcdnRefreshTaskByIdRequest.cc index 9e3234ca2..d77c27d43 100644 --- a/dcdn/src/model/DescribeDcdnRefreshTaskByIdRequest.cc +++ b/dcdn/src/model/DescribeDcdnRefreshTaskByIdRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnRefreshTaskByIdRequest; - -DescribeDcdnRefreshTaskByIdRequest::DescribeDcdnRefreshTaskByIdRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRefreshTaskById") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnRefreshTaskByIdRequest::~DescribeDcdnRefreshTaskByIdRequest() -{} - -std::string DescribeDcdnRefreshTaskByIdRequest::getTaskId()const -{ - return taskId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnRefreshTaskByIdRequest; + +DescribeDcdnRefreshTaskByIdRequest::DescribeDcdnRefreshTaskByIdRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRefreshTaskById") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnRefreshTaskByIdRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); +DescribeDcdnRefreshTaskByIdRequest::~DescribeDcdnRefreshTaskByIdRequest() {} + +std::string DescribeDcdnRefreshTaskByIdRequest::getTaskId() const { + return taskId_; } -long DescribeDcdnRefreshTaskByIdRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnRefreshTaskByIdRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnRefreshTaskByIdRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); } diff --git a/dcdn/src/model/DescribeDcdnRefreshTaskByIdResult.cc b/dcdn/src/model/DescribeDcdnRefreshTaskByIdResult.cc index 340cc4e28..00a2f13ef 100644 --- a/dcdn/src/model/DescribeDcdnRefreshTaskByIdResult.cc +++ b/dcdn/src/model/DescribeDcdnRefreshTaskByIdResult.cc @@ -43,20 +43,20 @@ void DescribeDcdnRefreshTaskByIdResult::parse(const std::string &payload) 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(); + if(!valueTasksCDNTask["Process"].isNull()) + tasksObject.process = valueTasksCDNTask["Process"].asString(); + if(!valueTasksCDNTask["Description"].isNull()) + tasksObject.description = valueTasksCDNTask["Description"].asString(); + if(!valueTasksCDNTask["ObjectPath"].isNull()) + tasksObject.objectPath = valueTasksCDNTask["ObjectPath"].asString(); + if(!valueTasksCDNTask["TaskId"].isNull()) + tasksObject.taskId = valueTasksCDNTask["TaskId"].asString(); tasks_.push_back(tasksObject); } if(!value["TotalCount"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnRefreshTasksRequest.cc b/dcdn/src/model/DescribeDcdnRefreshTasksRequest.cc index 22116732a..717989e66 100644 --- a/dcdn/src/model/DescribeDcdnRefreshTasksRequest.cc +++ b/dcdn/src/model/DescribeDcdnRefreshTasksRequest.cc @@ -1,150 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnRefreshTasksRequest; - -DescribeDcdnRefreshTasksRequest::DescribeDcdnRefreshTasksRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRefreshTasks") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnRefreshTasksRequest::~DescribeDcdnRefreshTasksRequest() -{} - -std::string DescribeDcdnRefreshTasksRequest::getObjectPath()const -{ - return objectPath_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnRefreshTasksRequest; + +DescribeDcdnRefreshTasksRequest::DescribeDcdnRefreshTasksRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRefreshTasks") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnRefreshTasksRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +DescribeDcdnRefreshTasksRequest::~DescribeDcdnRefreshTasksRequest() {} + +std::string DescribeDcdnRefreshTasksRequest::getObjectPath() const { + return objectPath_; } -std::string DescribeDcdnRefreshTasksRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnRefreshTasksRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void DescribeDcdnRefreshTasksRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeDcdnRefreshTasksRequest::getStartTime() const { + return startTime_; } -int DescribeDcdnRefreshTasksRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeDcdnRefreshTasksRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnRefreshTasksRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int DescribeDcdnRefreshTasksRequest::getPageNumber() const { + return pageNumber_; } -std::string DescribeDcdnRefreshTasksRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnRefreshTasksRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeDcdnRefreshTasksRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnRefreshTasksRequest::getSecurityToken() const { + return securityToken_; } -int DescribeDcdnRefreshTasksRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnRefreshTasksRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnRefreshTasksRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeDcdnRefreshTasksRequest::getPageSize() const { + return pageSize_; } -std::string DescribeDcdnRefreshTasksRequest::getObjectType()const -{ - return objectType_; +void DescribeDcdnRefreshTasksRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnRefreshTasksRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); +std::string DescribeDcdnRefreshTasksRequest::getObjectType() const { + return objectType_; } -std::string DescribeDcdnRefreshTasksRequest::getTaskId()const -{ - return taskId_; +void DescribeDcdnRefreshTasksRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); } -void DescribeDcdnRefreshTasksRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); +std::string DescribeDcdnRefreshTasksRequest::getTaskId() const { + return taskId_; } -std::string DescribeDcdnRefreshTasksRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnRefreshTasksRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); } -void DescribeDcdnRefreshTasksRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnRefreshTasksRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnRefreshTasksRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnRefreshTasksRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnRefreshTasksRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnRefreshTasksRequest::getEndTime() const { + return endTime_; } -long DescribeDcdnRefreshTasksRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnRefreshTasksRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnRefreshTasksRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDcdnRefreshTasksRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnRefreshTasksRequest::getStatus()const -{ - return status_; +void DescribeDcdnRefreshTasksRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnRefreshTasksRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string DescribeDcdnRefreshTasksRequest::getStatus() const { + return status_; +} + +void DescribeDcdnRefreshTasksRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/dcdn/src/model/DescribeDcdnRefreshTasksResult.cc b/dcdn/src/model/DescribeDcdnRefreshTasksResult.cc index 05006f7ff..b1bb65f49 100644 --- a/dcdn/src/model/DescribeDcdnRefreshTasksResult.cc +++ b/dcdn/src/model/DescribeDcdnRefreshTasksResult.cc @@ -43,20 +43,20 @@ void DescribeDcdnRefreshTasksResult::parse(const std::string &payload) for (auto valueTasksTask : allTasksNode) { Task tasksObject; - if(!valueTasksTask["TaskId"].isNull()) - tasksObject.taskId = valueTasksTask["TaskId"].asString(); - if(!valueTasksTask["ObjectPath"].isNull()) - tasksObject.objectPath = valueTasksTask["ObjectPath"].asString(); - if(!valueTasksTask["Process"].isNull()) - tasksObject.process = valueTasksTask["Process"].asString(); if(!valueTasksTask["Status"].isNull()) tasksObject.status = valueTasksTask["Status"].asString(); if(!valueTasksTask["CreationTime"].isNull()) tasksObject.creationTime = valueTasksTask["CreationTime"].asString(); - if(!valueTasksTask["Description"].isNull()) - tasksObject.description = valueTasksTask["Description"].asString(); if(!valueTasksTask["ObjectType"].isNull()) tasksObject.objectType = valueTasksTask["ObjectType"].asString(); + if(!valueTasksTask["Process"].isNull()) + tasksObject.process = valueTasksTask["Process"].asString(); + if(!valueTasksTask["Description"].isNull()) + tasksObject.description = valueTasksTask["Description"].asString(); + if(!valueTasksTask["ObjectPath"].isNull()) + tasksObject.objectPath = valueTasksTask["ObjectPath"].asString(); + if(!valueTasksTask["TaskId"].isNull()) + tasksObject.taskId = valueTasksTask["TaskId"].asString(); tasks_.push_back(tasksObject); } if(!value["PageNumber"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnRegionAndIspRequest.cc b/dcdn/src/model/DescribeDcdnRegionAndIspRequest.cc index 82630de84..22b0950e1 100644 --- a/dcdn/src/model/DescribeDcdnRegionAndIspRequest.cc +++ b/dcdn/src/model/DescribeDcdnRegionAndIspRequest.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::Dcdn::Model::DescribeDcdnRegionAndIspRequest; - -DescribeDcdnRegionAndIspRequest::DescribeDcdnRegionAndIspRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRegionAndIsp") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnRegionAndIspRequest::~DescribeDcdnRegionAndIspRequest() -{} - -long DescribeDcdnRegionAndIspRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnRegionAndIspRequest; + +DescribeDcdnRegionAndIspRequest::DescribeDcdnRegionAndIspRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRegionAndIsp") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnRegionAndIspRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnRegionAndIspRequest::~DescribeDcdnRegionAndIspRequest() {} + +long DescribeDcdnRegionAndIspRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnRegionAndIspRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnRegionAndIspRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnRegionAndIspRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnRegionAndIspRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnRegionAndIspRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnRegionAndIspResult.cc b/dcdn/src/model/DescribeDcdnRegionAndIspResult.cc index 294d66521..14c412aeb 100644 --- a/dcdn/src/model/DescribeDcdnRegionAndIspResult.cc +++ b/dcdn/src/model/DescribeDcdnRegionAndIspResult.cc @@ -43,20 +43,20 @@ void DescribeDcdnRegionAndIspResult::parse(const std::string &payload) for (auto valueRegionsRegion : allRegionsNode) { Region regionsObject; - if(!valueRegionsRegion["NameZh"].isNull()) - regionsObject.nameZh = valueRegionsRegion["NameZh"].asString(); if(!valueRegionsRegion["NameEn"].isNull()) regionsObject.nameEn = valueRegionsRegion["NameEn"].asString(); + if(!valueRegionsRegion["NameZh"].isNull()) + regionsObject.nameZh = valueRegionsRegion["NameZh"].asString(); regions_.push_back(regionsObject); } auto allIspsNode = value["Isps"]["Isp"]; for (auto valueIspsIsp : allIspsNode) { Isp ispsObject; - if(!valueIspsIsp["NameZh"].isNull()) - ispsObject.nameZh = valueIspsIsp["NameZh"].asString(); if(!valueIspsIsp["NameEn"].isNull()) ispsObject.nameEn = valueIspsIsp["NameEn"].asString(); + if(!valueIspsIsp["NameZh"].isNull()) + ispsObject.nameZh = valueIspsIsp["NameZh"].asString(); isps_.push_back(ispsObject); } diff --git a/dcdn/src/model/DescribeDcdnReportListRequest.cc b/dcdn/src/model/DescribeDcdnReportListRequest.cc index d83472346..0d9970b93 100644 --- a/dcdn/src/model/DescribeDcdnReportListRequest.cc +++ b/dcdn/src/model/DescribeDcdnReportListRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnReportListRequest; - -DescribeDcdnReportListRequest::DescribeDcdnReportListRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnReportList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnReportListRequest::~DescribeDcdnReportListRequest() -{} - -long DescribeDcdnReportListRequest::getReportId()const -{ - return reportId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnReportListRequest; + +DescribeDcdnReportListRequest::DescribeDcdnReportListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnReportList") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnReportListRequest::setReportId(long reportId) -{ - reportId_ = reportId; - setParameter("ReportId", std::to_string(reportId)); +DescribeDcdnReportListRequest::~DescribeDcdnReportListRequest() {} + +long DescribeDcdnReportListRequest::getReportId() const { + return reportId_; } -long DescribeDcdnReportListRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnReportListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnReportListRequest::setReportId(long reportId) { + reportId_ = reportId; + setParameter(std::string("ReportId"), std::to_string(reportId)); } diff --git a/dcdn/src/model/DescribeDcdnReportRequest.cc b/dcdn/src/model/DescribeDcdnReportRequest.cc index 7612b0da3..f920c7fef 100644 --- a/dcdn/src/model/DescribeDcdnReportRequest.cc +++ b/dcdn/src/model/DescribeDcdnReportRequest.cc @@ -1,117 +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::Dcdn::Model::DescribeDcdnReportRequest; - -DescribeDcdnReportRequest::DescribeDcdnReportRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnReport") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnReportRequest::~DescribeDcdnReportRequest() -{} - -long DescribeDcdnReportRequest::getReportId()const -{ - return reportId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnReportRequest; + +DescribeDcdnReportRequest::DescribeDcdnReportRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnReport") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnReportRequest::setReportId(long reportId) -{ - reportId_ = reportId; - setParameter("ReportId", std::to_string(reportId)); +DescribeDcdnReportRequest::~DescribeDcdnReportRequest() {} + +std::string DescribeDcdnReportRequest::getArea() const { + return area_; } -std::string DescribeDcdnReportRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnReportRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); } -void DescribeDcdnReportRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +long DescribeDcdnReportRequest::getReportId() const { + return reportId_; } -std::string DescribeDcdnReportRequest::getArea()const -{ - return area_; +void DescribeDcdnReportRequest::setReportId(long reportId) { + reportId_ = reportId; + setParameter(std::string("ReportId"), std::to_string(reportId)); } -void DescribeDcdnReportRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); +std::string DescribeDcdnReportRequest::getIsOverseas() const { + return isOverseas_; } -std::string DescribeDcdnReportRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnReportRequest::setIsOverseas(const std::string &isOverseas) { + isOverseas_ = isOverseas; + setParameter(std::string("IsOverseas"), isOverseas); } -void DescribeDcdnReportRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnReportRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnReportRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnReportRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnReportRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnReportRequest::getEndTime() const { + return endTime_; } -long DescribeDcdnReportRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnReportRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnReportRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnReportRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnReportRequest::getHttpCode()const -{ - return httpCode_; +void DescribeDcdnReportRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnReportRequest::setHttpCode(const std::string& httpCode) -{ - httpCode_ = httpCode; - setParameter("HttpCode", httpCode); +std::string DescribeDcdnReportRequest::getHttpCode() const { + return httpCode_; } -std::string DescribeDcdnReportRequest::getIsOverseas()const -{ - return isOverseas_; -} - -void DescribeDcdnReportRequest::setIsOverseas(const std::string& isOverseas) -{ - isOverseas_ = isOverseas; - setParameter("IsOverseas", isOverseas); +void DescribeDcdnReportRequest::setHttpCode(const std::string &httpCode) { + httpCode_ = httpCode; + setParameter(std::string("HttpCode"), httpCode); } diff --git a/dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeRequest.cc b/dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeRequest.cc new file mode 100644 index 000000000..dc6c3a3ef --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSLSRealTimeLogTypeRequest; + +DescribeDcdnSLSRealTimeLogTypeRequest::DescribeDcdnSLSRealTimeLogTypeRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSLSRealTimeLogType") { + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnSLSRealTimeLogTypeRequest::~DescribeDcdnSLSRealTimeLogTypeRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeResult.cc b/dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeResult.cc new file mode 100644 index 000000000..f600a7243 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSLSRealTimeLogTypeResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnSLSRealTimeLogTypeResult::DescribeDcdnSLSRealTimeLogTypeResult() : + ServiceResult() +{} + +DescribeDcdnSLSRealTimeLogTypeResult::DescribeDcdnSLSRealTimeLogTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnSLSRealTimeLogTypeResult::~DescribeDcdnSLSRealTimeLogTypeResult() +{} + +void DescribeDcdnSLSRealTimeLogTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Business"]; + for (auto valueContentBusiness : allContentNode) + { + Business contentObject; + if(!valueContentBusiness["Desc"].isNull()) + contentObject.desc = valueContentBusiness["Desc"].asString(); + if(!valueContentBusiness["BusinessType"].isNull()) + contentObject.businessType = valueContentBusiness["BusinessType"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnSLSRealTimeLogTypeResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc index a9c37e1f7..beb2d38e3 100644 --- a/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc +++ b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc @@ -1,62 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnSLSRealtimeLogDeliveryRequest; - -DescribeDcdnSLSRealtimeLogDeliveryRequest::DescribeDcdnSLSRealtimeLogDeliveryRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSLSRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnSLSRealtimeLogDeliveryRequest::~DescribeDcdnSLSRealtimeLogDeliveryRequest() -{} - -std::string DescribeDcdnSLSRealtimeLogDeliveryRequest::getBusinessType()const -{ - return businessType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSLSRealtimeLogDeliveryRequest; + +DescribeDcdnSLSRealtimeLogDeliveryRequest::DescribeDcdnSLSRealtimeLogDeliveryRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSLSRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnSLSRealtimeLogDeliveryRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setParameter("BusinessType", businessType); +DescribeDcdnSLSRealtimeLogDeliveryRequest::~DescribeDcdnSLSRealtimeLogDeliveryRequest() {} + +std::string DescribeDcdnSLSRealtimeLogDeliveryRequest::getProjectName() const { + return projectName_; } -std::string DescribeDcdnSLSRealtimeLogDeliveryRequest::getProjectName()const -{ - return projectName_; -} - -void DescribeDcdnSLSRealtimeLogDeliveryRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setParameter("ProjectName", projectName); -} - -long DescribeDcdnSLSRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnSLSRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnSLSRealtimeLogDeliveryRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setParameter(std::string("ProjectName"), projectName); } diff --git a/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc index cc0d991ba..a74895ea3 100644 --- a/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc +++ b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc @@ -40,26 +40,28 @@ void DescribeDcdnSLSRealtimeLogDeliveryResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto contentNode = value["Content"]; - if(!contentNode["ProjectName"].isNull()) - content_.projectName = contentNode["ProjectName"].asString(); - if(!contentNode["DomainName"].isNull()) - content_.domainName = contentNode["DomainName"].asString(); - if(!contentNode["FieldName"].isNull()) - content_.fieldName = contentNode["FieldName"].asString(); - if(!contentNode["SamplingRate"].isNull()) - content_.samplingRate = contentNode["SamplingRate"].asString(); - if(!contentNode["DataCenter"].isNull()) - content_.dataCenter = contentNode["DataCenter"].asString(); - if(!contentNode["SLSRegion"].isNull()) - content_.sLSRegion = contentNode["SLSRegion"].asString(); - if(!contentNode["SLSProject"].isNull()) - content_.sLSProject = contentNode["SLSProject"].asString(); - if(!contentNode["SLSLogStore"].isNull()) - content_.sLSLogStore = contentNode["SLSLogStore"].asString(); - if(!contentNode["BusinessType"].isNull()) - content_.businessType = contentNode["BusinessType"].asString(); + if(!contentNode["Status"].isNull()) + content_.status = contentNode["Status"].asString(); if(!contentNode["Type"].isNull()) content_.type = contentNode["Type"].asString(); + if(!contentNode["SLSLogStore"].isNull()) + content_.sLSLogStore = contentNode["SLSLogStore"].asString(); + if(!contentNode["DataCenter"].isNull()) + content_.dataCenter = contentNode["DataCenter"].asString(); + if(!contentNode["FieldName"].isNull()) + content_.fieldName = contentNode["FieldName"].asString(); + if(!contentNode["ProjectName"].isNull()) + content_.projectName = contentNode["ProjectName"].asString(); + if(!contentNode["SamplingRate"].isNull()) + content_.samplingRate = contentNode["SamplingRate"].asString(); + if(!contentNode["SLSProject"].isNull()) + content_.sLSProject = contentNode["SLSProject"].asString(); + if(!contentNode["DomainName"].isNull()) + content_.domainName = contentNode["DomainName"].asString(); + if(!contentNode["BusinessType"].isNull()) + content_.businessType = contentNode["BusinessType"].asString(); + if(!contentNode["SLSRegion"].isNull()) + content_.sLSRegion = contentNode["SLSRegion"].asString(); } diff --git a/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc b/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc index a2f363543..c595de68d 100644 --- a/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.cc +++ b/dcdn/src/model/DescribeDcdnSMCertificateDetailRequest.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::Dcdn::Model::DescribeDcdnSMCertificateDetailRequest; - -DescribeDcdnSMCertificateDetailRequest::DescribeDcdnSMCertificateDetailRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSMCertificateDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnSMCertificateDetailRequest::~DescribeDcdnSMCertificateDetailRequest() -{} - -long DescribeDcdnSMCertificateDetailRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSMCertificateDetailRequest; + +DescribeDcdnSMCertificateDetailRequest::DescribeDcdnSMCertificateDetailRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSMCertificateDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnSMCertificateDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnSMCertificateDetailRequest::~DescribeDcdnSMCertificateDetailRequest() {} + +std::string DescribeDcdnSMCertificateDetailRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeDcdnSMCertificateDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnSMCertificateDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnSMCertificateDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnSMCertificateDetailRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnSMCertificateDetailRequest::getCertIdentifier()const -{ - return certIdentifier_; +void DescribeDcdnSMCertificateDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnSMCertificateDetailRequest::setCertIdentifier(const std::string& certIdentifier) -{ - certIdentifier_ = certIdentifier; - setParameter("CertIdentifier", certIdentifier); +std::string DescribeDcdnSMCertificateDetailRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void DescribeDcdnSMCertificateDetailRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); } diff --git a/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc b/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc index b146b512d..ded0ceed2 100644 --- a/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc +++ b/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc @@ -39,22 +39,22 @@ void DescribeDcdnSMCertificateDetailResult::parse(const std::string &payload) 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(); + if(!value["CertIdentifier"].isNull()) + certIdentifier_ = value["CertIdentifier"].asString(); + if(!value["CommonName"].isNull()) + commonName_ = value["CommonName"].asString(); + if(!value["CertName"].isNull()) + certName_ = value["CertName"].asString(); + if(!value["Sans"].isNull()) + sans_ = value["Sans"].asString(); + if(!value["SignCertificate"].isNull()) + signCertificate_ = value["SignCertificate"].asString(); + if(!value["CertOrg"].isNull()) + certOrg_ = value["CertOrg"].asString(); + if(!value["EncryptCertificate"].isNull()) + encryptCertificate_ = value["EncryptCertificate"].asString(); } @@ -73,16 +73,16 @@ std::string DescribeDcdnSMCertificateDetailResult::getCertIdentifier()const return certIdentifier_; } -std::string DescribeDcdnSMCertificateDetailResult::getSignCertificate()const -{ - return signCertificate_; -} - std::string DescribeDcdnSMCertificateDetailResult::getCertExpireTime()const { return certExpireTime_; } +std::string DescribeDcdnSMCertificateDetailResult::getSignCertificate()const +{ + return signCertificate_; +} + std::string DescribeDcdnSMCertificateDetailResult::getCertName()const { return certName_; diff --git a/dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc b/dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc index c7db0e98c..bb127bcb8 100644 --- a/dcdn/src/model/DescribeDcdnSMCertificateListRequest.cc +++ b/dcdn/src/model/DescribeDcdnSMCertificateListRequest.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::Dcdn::Model::DescribeDcdnSMCertificateListRequest; - -DescribeDcdnSMCertificateListRequest::DescribeDcdnSMCertificateListRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSMCertificateList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnSMCertificateListRequest::~DescribeDcdnSMCertificateListRequest() -{} - -std::string DescribeDcdnSMCertificateListRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSMCertificateListRequest; + +DescribeDcdnSMCertificateListRequest::DescribeDcdnSMCertificateListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSMCertificateList") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnSMCertificateListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnSMCertificateListRequest::~DescribeDcdnSMCertificateListRequest() {} + +std::string DescribeDcdnSMCertificateListRequest::getSecurityToken() const { + return securityToken_; } -long DescribeDcdnSMCertificateListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnSMCertificateListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnSMCertificateListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnSMCertificateListRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnSMCertificateListRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnSMCertificateListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnSMCertificateListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnSMCertificateListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnSMCertificateListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc b/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc index aab7f588f..b4c1f95ab 100644 --- a/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc +++ b/dcdn/src/model/DescribeDcdnSMCertificateListResult.cc @@ -48,12 +48,12 @@ void DescribeDcdnSMCertificateListResult::parse(const std::string &payload) CertificateListModel::Cert certObject; if(!certificateListModelNodeCertListCert["CertName"].isNull()) certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); if(!certificateListModelNodeCertListCert["CertIdentifier"].isNull()) certObject.certIdentifier = certificateListModelNodeCertListCert["CertIdentifier"].asString(); if(!certificateListModelNodeCertListCert["Common"].isNull()) certObject.common = certificateListModelNodeCertListCert["Common"].asString(); - if(!certificateListModelNodeCertListCert["Issuer"].isNull()) - certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); certificateListModel_.certList.push_back(certObject); } diff --git a/dcdn/src/model/DescribeDcdnSSLCertificateListRequest.cc b/dcdn/src/model/DescribeDcdnSSLCertificateListRequest.cc new file mode 100644 index 000000000..136258c3e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSSLCertificateListRequest.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::Dcdn::Model::DescribeDcdnSSLCertificateListRequest; + +DescribeDcdnSSLCertificateListRequest::DescribeDcdnSSLCertificateListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSSLCertificateList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnSSLCertificateListRequest::~DescribeDcdnSSLCertificateListRequest() {} + +long DescribeDcdnSSLCertificateListRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnSSLCertificateListRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string DescribeDcdnSSLCertificateListRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnSSLCertificateListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +long DescribeDcdnSSLCertificateListRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnSSLCertificateListRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDcdnSSLCertificateListRequest::getMatchType() const { + return matchType_; +} + +void DescribeDcdnSSLCertificateListRequest::setMatchType(const std::string &matchType) { + matchType_ = matchType; + setParameter(std::string("MatchType"), matchType); +} + +std::string DescribeDcdnSSLCertificateListRequest::getAlgorithm() const { + return algorithm_; +} + +void DescribeDcdnSSLCertificateListRequest::setAlgorithm(const std::string &algorithm) { + algorithm_ = algorithm; + setParameter(std::string("Algorithm"), algorithm); +} + +std::string DescribeDcdnSSLCertificateListRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnSSLCertificateListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeDcdnSSLCertificateListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnSSLCertificateListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDcdnSSLCertificateListRequest::getSearchKeyword() const { + return searchKeyword_; +} + +void DescribeDcdnSSLCertificateListRequest::setSearchKeyword(const std::string &searchKeyword) { + searchKeyword_ = searchKeyword; + setParameter(std::string("SearchKeyword"), searchKeyword); +} + diff --git a/dcdn/src/model/DescribeDcdnSSLCertificateListResult.cc b/dcdn/src/model/DescribeDcdnSSLCertificateListResult.cc new file mode 100644 index 000000000..4ef6cbf6d --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSSLCertificateListResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnSSLCertificateListResult::DescribeDcdnSSLCertificateListResult() : + ServiceResult() +{} + +DescribeDcdnSSLCertificateListResult::DescribeDcdnSSLCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnSSLCertificateListResult::~DescribeDcdnSSLCertificateListResult() +{} + +void DescribeDcdnSSLCertificateListResult::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()); + if(!certificateListModelNode["PageNumber"].isNull()) + certificateListModel_.pageNumber = std::stol(certificateListModelNode["PageNumber"].asString()); + if(!certificateListModelNode["PageSize"].isNull()) + certificateListModel_.pageSize = std::stol(certificateListModelNode["PageSize"].asString()); + auto allCertListNode = certificateListModelNode["CertList"]["Cert"]; + for (auto certificateListModelNodeCertListCert : allCertListNode) + { + CertificateListModel::Cert certObject; + if(!certificateListModelNodeCertListCert["LastTime"].isNull()) + certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].asString()); + if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) + certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + if(!certificateListModelNodeCertListCert["CertId"].isNull()) + certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); + if(!certificateListModelNodeCertListCert["CertRegion"].isNull()) + certObject.certRegion = certificateListModelNodeCertListCert["CertRegion"].asString(); + certificateListModel_.certList.push_back(certObject); + } + +} + +DescribeDcdnSSLCertificateListResult::CertificateListModel DescribeDcdnSSLCertificateListResult::getCertificateListModel()const +{ + return certificateListModel_; +} + diff --git a/dcdn/src/model/DescribeDcdnSecFuncInfoRequest.cc b/dcdn/src/model/DescribeDcdnSecFuncInfoRequest.cc index 5d80feaca..459dd054d 100644 --- a/dcdn/src/model/DescribeDcdnSecFuncInfoRequest.cc +++ b/dcdn/src/model/DescribeDcdnSecFuncInfoRequest.cc @@ -1,62 +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::Dcdn::Model::DescribeDcdnSecFuncInfoRequest; - -DescribeDcdnSecFuncInfoRequest::DescribeDcdnSecFuncInfoRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSecFuncInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnSecFuncInfoRequest::~DescribeDcdnSecFuncInfoRequest() -{} - -std::string DescribeDcdnSecFuncInfoRequest::getLang()const -{ - return lang_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSecFuncInfoRequest; + +DescribeDcdnSecFuncInfoRequest::DescribeDcdnSecFuncInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSecFuncInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnSecFuncInfoRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); +DescribeDcdnSecFuncInfoRequest::~DescribeDcdnSecFuncInfoRequest() {} + +std::string DescribeDcdnSecFuncInfoRequest::getSecFuncType() const { + return secFuncType_; } -long DescribeDcdnSecFuncInfoRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnSecFuncInfoRequest::setSecFuncType(const std::string &secFuncType) { + secFuncType_ = secFuncType; + setParameter(std::string("SecFuncType"), secFuncType); } -void DescribeDcdnSecFuncInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnSecFuncInfoRequest::getLang() const { + return lang_; } -std::string DescribeDcdnSecFuncInfoRequest::getSecFuncType()const -{ - return secFuncType_; -} - -void DescribeDcdnSecFuncInfoRequest::setSecFuncType(const std::string& secFuncType) -{ - secFuncType_ = secFuncType; - setParameter("SecFuncType", secFuncType); +void DescribeDcdnSecFuncInfoRequest::setLang(const std::string &lang) { + lang_ = lang; + setParameter(std::string("Lang"), lang); } diff --git a/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc b/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc index 40dd256e8..721be2f38 100644 --- a/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc +++ b/dcdn/src/model/DescribeDcdnSecSpecInfoRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnSecSpecInfoRequest; - -DescribeDcdnSecSpecInfoRequest::DescribeDcdnSecSpecInfoRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSecSpecInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnSecSpecInfoRequest::~DescribeDcdnSecSpecInfoRequest() -{} - -long DescribeDcdnSecSpecInfoRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSecSpecInfoRequest; + +DescribeDcdnSecSpecInfoRequest::DescribeDcdnSecSpecInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSecSpecInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnSecSpecInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeDcdnSecSpecInfoRequest::~DescribeDcdnSecSpecInfoRequest() {} diff --git a/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc b/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc index fd7de8c66..016ea8883 100644 --- a/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc +++ b/dcdn/src/model/DescribeDcdnSecSpecInfoResult.cc @@ -51,10 +51,10 @@ void DescribeDcdnSecSpecInfoResult::parse(const std::string &payload) RuleInfoItem::ConfigItem ruleConfigsObject; if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Code"].isNull()) ruleConfigsObject.code = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Code"].asString(); - if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Expr"].isNull()) - ruleConfigsObject.expr = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Expr"].asString(); if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Value"].isNull()) ruleConfigsObject.value = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Value"].asString(); + if(!valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Expr"].isNull()) + ruleConfigsObject.expr = valueSpecInfosRuleInfoItemRuleConfigsConfigItem["Expr"].asString(); specInfosObject.ruleConfigs.push_back(ruleConfigsObject); } specInfos_.push_back(specInfosObject); diff --git a/dcdn/src/model/DescribeDcdnServiceRequest.cc b/dcdn/src/model/DescribeDcdnServiceRequest.cc index d540e28ca..b9304480d 100644 --- a/dcdn/src/model/DescribeDcdnServiceRequest.cc +++ b/dcdn/src/model/DescribeDcdnServiceRequest.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::Dcdn::Model::DescribeDcdnServiceRequest; - -DescribeDcdnServiceRequest::DescribeDcdnServiceRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnService") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnServiceRequest::~DescribeDcdnServiceRequest() -{} - -long DescribeDcdnServiceRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnServiceRequest; + +DescribeDcdnServiceRequest::DescribeDcdnServiceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnService") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnServiceRequest::~DescribeDcdnServiceRequest() {} + +long DescribeDcdnServiceRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnServiceRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnServiceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnServiceResult.cc b/dcdn/src/model/DescribeDcdnServiceResult.cc index 797e90e0d..fdecff1ee 100644 --- a/dcdn/src/model/DescribeDcdnServiceResult.cc +++ b/dcdn/src/model/DescribeDcdnServiceResult.cc @@ -47,22 +47,22 @@ void DescribeDcdnServiceResult::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["WebsocketChangingType"].isNull()) - websocketChangingType_ = value["WebsocketChangingType"].asString(); - if(!value["WebsocketType"].isNull()) - websocketType_ = value["WebsocketType"].asString(); if(!value["WebsocketChangingTime"].isNull()) websocketChangingTime_ = value["WebsocketChangingTime"].asString(); + if(!value["WebsocketChangingType"].isNull()) + websocketChangingType_ = value["WebsocketChangingType"].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["WebsocketType"].isNull()) + websocketType_ = value["WebsocketType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); } @@ -101,13 +101,13 @@ std::string DescribeDcdnServiceResult::getChangingAffectTime()const return changingAffectTime_; } -std::string DescribeDcdnServiceResult::getInternetChargeType()const -{ - return internetChargeType_; -} - std::string DescribeDcdnServiceResult::getWebsocketChangingTime()const { return websocketChangingTime_; } +std::string DescribeDcdnServiceResult::getInternetChargeType()const +{ + return internetChargeType_; +} + diff --git a/dcdn/src/model/DescribeDcdnStagingIpRequest.cc b/dcdn/src/model/DescribeDcdnStagingIpRequest.cc index 3df9b025b..310a94912 100644 --- a/dcdn/src/model/DescribeDcdnStagingIpRequest.cc +++ b/dcdn/src/model/DescribeDcdnStagingIpRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnStagingIpRequest; - -DescribeDcdnStagingIpRequest::DescribeDcdnStagingIpRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnStagingIp") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnStagingIpRequest::~DescribeDcdnStagingIpRequest() -{} - -long DescribeDcdnStagingIpRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnStagingIpRequest; + +DescribeDcdnStagingIpRequest::DescribeDcdnStagingIpRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnStagingIp") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnStagingIpRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeDcdnStagingIpRequest::~DescribeDcdnStagingIpRequest() {} diff --git a/dcdn/src/model/DescribeDcdnSubListRequest.cc b/dcdn/src/model/DescribeDcdnSubListRequest.cc index 541b9e047..189cc6495 100644 --- a/dcdn/src/model/DescribeDcdnSubListRequest.cc +++ b/dcdn/src/model/DescribeDcdnSubListRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnSubListRequest; - -DescribeDcdnSubListRequest::DescribeDcdnSubListRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSubList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnSubListRequest::~DescribeDcdnSubListRequest() -{} - -long DescribeDcdnSubListRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnSubListRequest; + +DescribeDcdnSubListRequest::DescribeDcdnSubListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSubList") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnSubListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeDcdnSubListRequest::~DescribeDcdnSubListRequest() {} diff --git a/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc b/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc index 8bd2b3fba..7df4e6a0e 100644 --- a/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc +++ b/dcdn/src/model/DescribeDcdnTagResourcesRequest.cc @@ -1,91 +1,67 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnTagResourcesRequest; - -DescribeDcdnTagResourcesRequest::DescribeDcdnTagResourcesRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnTagResources") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnTagResourcesRequest::~DescribeDcdnTagResourcesRequest() -{} - -std::string DescribeDcdnTagResourcesRequest::getScope()const -{ - return scope_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnTagResourcesRequest; + +DescribeDcdnTagResourcesRequest::DescribeDcdnTagResourcesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnTagResources") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnTagResourcesRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +DescribeDcdnTagResourcesRequest::~DescribeDcdnTagResourcesRequest() {} + +std::vector DescribeDcdnTagResourcesRequest::getResourceId() const { + return resourceId_; } -std::vector DescribeDcdnTagResourcesRequest::getTag()const -{ - return tag_; +void DescribeDcdnTagResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; } -void DescribeDcdnTagResourcesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } +std::string DescribeDcdnTagResourcesRequest::getScope() const { + return scope_; } -std::vector DescribeDcdnTagResourcesRequest::getResourceId()const -{ - return resourceId_; +void DescribeDcdnTagResourcesRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -void DescribeDcdnTagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } +std::vector DescribeDcdnTagResourcesRequest::getTag() const { + return tag_; } -long DescribeDcdnTagResourcesRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnTagResourcesRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } } -void DescribeDcdnTagResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnTagResourcesRequest::getResourceType() const { + return resourceType_; } -std::string DescribeDcdnTagResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void DescribeDcdnTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +void DescribeDcdnTagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } diff --git a/dcdn/src/model/DescribeDcdnTopDomainsByFlowRequest.cc b/dcdn/src/model/DescribeDcdnTopDomainsByFlowRequest.cc index dd2ea9f54..33fbd1793 100644 --- a/dcdn/src/model/DescribeDcdnTopDomainsByFlowRequest.cc +++ b/dcdn/src/model/DescribeDcdnTopDomainsByFlowRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnTopDomainsByFlowRequest; - -DescribeDcdnTopDomainsByFlowRequest::DescribeDcdnTopDomainsByFlowRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnTopDomainsByFlow") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnTopDomainsByFlowRequest::~DescribeDcdnTopDomainsByFlowRequest() -{} - -std::string DescribeDcdnTopDomainsByFlowRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnTopDomainsByFlowRequest; + +DescribeDcdnTopDomainsByFlowRequest::DescribeDcdnTopDomainsByFlowRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnTopDomainsByFlow") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnTopDomainsByFlowRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnTopDomainsByFlowRequest::~DescribeDcdnTopDomainsByFlowRequest() {} + +long DescribeDcdnTopDomainsByFlowRequest::getLimit() const { + return limit_; } -long DescribeDcdnTopDomainsByFlowRequest::getLimit()const -{ - return limit_; +void DescribeDcdnTopDomainsByFlowRequest::setLimit(long limit) { + limit_ = limit; + setParameter(std::string("Limit"), std::to_string(limit)); } -void DescribeDcdnTopDomainsByFlowRequest::setLimit(long limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); +std::string DescribeDcdnTopDomainsByFlowRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnTopDomainsByFlowRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnTopDomainsByFlowRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnTopDomainsByFlowRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnTopDomainsByFlowRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnTopDomainsByFlowRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnTopDomainsByFlowRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnTopDomainsByFlowRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnTopDomainsByFlowResult.cc b/dcdn/src/model/DescribeDcdnTopDomainsByFlowResult.cc index 5e0d1f4eb..fae45949b 100644 --- a/dcdn/src/model/DescribeDcdnTopDomainsByFlowResult.cc +++ b/dcdn/src/model/DescribeDcdnTopDomainsByFlowResult.cc @@ -43,30 +43,30 @@ void DescribeDcdnTopDomainsByFlowResult::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::stol(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/dcdn/src/model/DescribeDcdnUserBillHistoryRequest.cc b/dcdn/src/model/DescribeDcdnUserBillHistoryRequest.cc index b37462f0e..4e2cecf80 100644 --- a/dcdn/src/model/DescribeDcdnUserBillHistoryRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserBillHistoryRequest.cc @@ -1,62 +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::Dcdn::Model::DescribeDcdnUserBillHistoryRequest; - -DescribeDcdnUserBillHistoryRequest::DescribeDcdnUserBillHistoryRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserBillHistory") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserBillHistoryRequest::~DescribeDcdnUserBillHistoryRequest() -{} - -std::string DescribeDcdnUserBillHistoryRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserBillHistoryRequest; + +DescribeDcdnUserBillHistoryRequest::DescribeDcdnUserBillHistoryRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserBillHistory") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserBillHistoryRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnUserBillHistoryRequest::~DescribeDcdnUserBillHistoryRequest() {} + +std::string DescribeDcdnUserBillHistoryRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnUserBillHistoryRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnUserBillHistoryRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnUserBillHistoryRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnUserBillHistoryRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnUserBillHistoryRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnUserBillHistoryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnUserBillHistoryRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnUserBillHistoryResult.cc b/dcdn/src/model/DescribeDcdnUserBillHistoryResult.cc index ebd20e7be..32764b01b 100644 --- a/dcdn/src/model/DescribeDcdnUserBillHistoryResult.cc +++ b/dcdn/src/model/DescribeDcdnUserBillHistoryResult.cc @@ -53,16 +53,16 @@ void DescribeDcdnUserBillHistoryResult::parse(const std::string &payload) 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["Bandwidth"].isNull()) + billingDataObject.bandwidth = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].asString()); if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].isNull()) billingDataObject.count = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].asString()); + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].isNull()) + billingDataObject.cdnRegion = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].asString(); + if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].isNull()) + billingDataObject.chargeType = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].asString(); billHistoryDataObject.billingData.push_back(billingDataObject); } billHistoryData_.push_back(billHistoryDataObject); diff --git a/dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc b/dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc index 7dacb8f7a..c90fc3197 100644 --- a/dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserBillTypeRequest.cc @@ -1,62 +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::Dcdn::Model::DescribeDcdnUserBillTypeRequest; - -DescribeDcdnUserBillTypeRequest::DescribeDcdnUserBillTypeRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserBillType") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserBillTypeRequest::~DescribeDcdnUserBillTypeRequest() -{} - -std::string DescribeDcdnUserBillTypeRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserBillTypeRequest; + +DescribeDcdnUserBillTypeRequest::DescribeDcdnUserBillTypeRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserBillType") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserBillTypeRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDcdnUserBillTypeRequest::~DescribeDcdnUserBillTypeRequest() {} + +std::string DescribeDcdnUserBillTypeRequest::getEndTime() const { + return endTime_; } -std::string DescribeDcdnUserBillTypeRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnUserBillTypeRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnUserBillTypeRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnUserBillTypeRequest::getStartTime() const { + return startTime_; } -long DescribeDcdnUserBillTypeRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnUserBillTypeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnUserBillTypeRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc b/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc index 0a7d72f71..f628f2915 100644 --- a/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc +++ b/dcdn/src/model/DescribeDcdnUserBillTypeResult.cc @@ -43,18 +43,18 @@ void DescribeDcdnUserBillTypeResult::parse(const std::string &payload) 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["StartTime"].isNull()) + billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString(); if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull()) billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Product"].isNull()) + billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull()) + billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull()) + billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString(); billTypeData_.push_back(billTypeDataObject); } diff --git a/dcdn/src/model/DescribeDcdnUserCertificateExpireCountRequest.cc b/dcdn/src/model/DescribeDcdnUserCertificateExpireCountRequest.cc new file mode 100644 index 000000000..cf15d93f6 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserCertificateExpireCountRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserCertificateExpireCountRequest; + +DescribeDcdnUserCertificateExpireCountRequest::DescribeDcdnUserCertificateExpireCountRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserCertificateExpireCount") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnUserCertificateExpireCountRequest::~DescribeDcdnUserCertificateExpireCountRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnUserCertificateExpireCountResult.cc b/dcdn/src/model/DescribeDcdnUserCertificateExpireCountResult.cc new file mode 100644 index 000000000..48b6df656 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserCertificateExpireCountResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserCertificateExpireCountResult::DescribeDcdnUserCertificateExpireCountResult() : + ServiceResult() +{} + +DescribeDcdnUserCertificateExpireCountResult::DescribeDcdnUserCertificateExpireCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserCertificateExpireCountResult::~DescribeDcdnUserCertificateExpireCountResult() +{} + +void DescribeDcdnUserCertificateExpireCountResult::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 DescribeDcdnUserCertificateExpireCountResult::getExpireWithin30DaysCount()const +{ + return expireWithin30DaysCount_; +} + +int DescribeDcdnUserCertificateExpireCountResult::getExpiredCount()const +{ + return expiredCount_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserConfigsRequest.cc b/dcdn/src/model/DescribeDcdnUserConfigsRequest.cc new file mode 100644 index 000000000..ffb4019fe --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserConfigsRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserConfigsRequest; + +DescribeDcdnUserConfigsRequest::DescribeDcdnUserConfigsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserConfigs") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnUserConfigsRequest::~DescribeDcdnUserConfigsRequest() {} + +std::string DescribeDcdnUserConfigsRequest::getFunctionName() const { + return functionName_; +} + +void DescribeDcdnUserConfigsRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); +} + diff --git a/dcdn/src/model/DescribeDcdnUserConfigsResult.cc b/dcdn/src/model/DescribeDcdnUserConfigsResult.cc new file mode 100644 index 000000000..2c66b70ab --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserConfigsResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserConfigsResult::DescribeDcdnUserConfigsResult() : + ServiceResult() +{} + +DescribeDcdnUserConfigsResult::DescribeDcdnUserConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserConfigsResult::~DescribeDcdnUserConfigsResult() +{} + +void DescribeDcdnUserConfigsResult::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 DescribeDcdnUserConfigsResult::getConfigs()const +{ + return configs_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc b/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc index 2263fabbd..c80007871 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.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::Dcdn::Model::DescribeDcdnUserDomainsByFuncRequest; - -DescribeDcdnUserDomainsByFuncRequest::DescribeDcdnUserDomainsByFuncRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserDomainsByFunc") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserDomainsByFuncRequest::~DescribeDcdnUserDomainsByFuncRequest() -{} - -int DescribeDcdnUserDomainsByFuncRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserDomainsByFuncRequest; + +DescribeDcdnUserDomainsByFuncRequest::DescribeDcdnUserDomainsByFuncRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserDomainsByFunc") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserDomainsByFuncRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeDcdnUserDomainsByFuncRequest::~DescribeDcdnUserDomainsByFuncRequest() {} + +std::string DescribeDcdnUserDomainsByFuncRequest::getFuncFilter() const { + return funcFilter_; } -std::string DescribeDcdnUserDomainsByFuncRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void DescribeDcdnUserDomainsByFuncRequest::setFuncFilter(const std::string &funcFilter) { + funcFilter_ = funcFilter; + setParameter(std::string("FuncFilter"), funcFilter); } -void DescribeDcdnUserDomainsByFuncRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string DescribeDcdnUserDomainsByFuncRequest::getResourceGroupId() const { + return resourceGroupId_; } -int DescribeDcdnUserDomainsByFuncRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnUserDomainsByFuncRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void DescribeDcdnUserDomainsByFuncRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeDcdnUserDomainsByFuncRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnUserDomainsByFuncRequest::getFuncFilter()const -{ - return funcFilter_; +void DescribeDcdnUserDomainsByFuncRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnUserDomainsByFuncRequest::setFuncFilter(const std::string& funcFilter) -{ - funcFilter_ = funcFilter; - setParameter("FuncFilter", funcFilter); +int DescribeDcdnUserDomainsByFuncRequest::getPageSize() const { + return pageSize_; } -std::string DescribeDcdnUserDomainsByFuncRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnUserDomainsByFuncRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnUserDomainsByFuncRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnUserDomainsByFuncRequest::getMatchType() const { + return matchType_; } -long DescribeDcdnUserDomainsByFuncRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnUserDomainsByFuncRequest::setMatchType(const std::string &matchType) { + matchType_ = matchType; + setParameter(std::string("MatchType"), matchType); } -void DescribeDcdnUserDomainsByFuncRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +int DescribeDcdnUserDomainsByFuncRequest::getFuncId() const { + return funcId_; } -int DescribeDcdnUserDomainsByFuncRequest::getFuncId()const -{ - return funcId_; +void DescribeDcdnUserDomainsByFuncRequest::setFuncId(int funcId) { + funcId_ = funcId; + setParameter(std::string("FuncId"), std::to_string(funcId)); } -void DescribeDcdnUserDomainsByFuncRequest::setFuncId(int funcId) -{ - funcId_ = funcId; - setParameter("FuncId", std::to_string(funcId)); +int DescribeDcdnUserDomainsByFuncRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc b/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc index 2043cd7ac..3d8ee4cae 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc @@ -43,38 +43,38 @@ void DescribeDcdnUserDomainsByFuncResult::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["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["Sandbox"].isNull()) domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); + if(!valueDomainsPageData["DomainStatus"].isNull()) + domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; for (auto valueDomainsPageDataSourcesSource : allSourcesNode) { PageData::Source sourcesObject; if(!valueDomainsPageDataSourcesSource["Type"].isNull()) sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); - if(!valueDomainsPageDataSourcesSource["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(); + if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) + sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); + if(!valueDomainsPageDataSourcesSource["Port"].isNull()) + sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); + if(!valueDomainsPageDataSourcesSource["Content"].isNull()) + sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); domainsObject.sources.push_back(sourcesObject); } domains_.push_back(domainsObject); diff --git a/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc b/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc index 816ecefc7..7024d48da 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc @@ -1,199 +1,176 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnUserDomainsRequest; - -DescribeDcdnUserDomainsRequest::DescribeDcdnUserDomainsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserDomains") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserDomainsRequest::~DescribeDcdnUserDomainsRequest() -{} - -int DescribeDcdnUserDomainsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserDomainsRequest; + +DescribeDcdnUserDomainsRequest::DescribeDcdnUserDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserDomains") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserDomainsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeDcdnUserDomainsRequest::~DescribeDcdnUserDomainsRequest() {} + +int DescribeDcdnUserDomainsRequest::getPageNumber() const { + return pageNumber_; } -bool DescribeDcdnUserDomainsRequest::getCheckDomainShow()const -{ - return checkDomainShow_; +void DescribeDcdnUserDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeDcdnUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) -{ - checkDomainShow_ = checkDomainShow; - setParameter("CheckDomainShow", checkDomainShow ? "true" : "false"); +bool DescribeDcdnUserDomainsRequest::getCheckDomainShow() const { + return checkDomainShow_; } -std::string DescribeDcdnUserDomainsRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void DescribeDcdnUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) { + checkDomainShow_ = checkDomainShow; + setParameter(std::string("CheckDomainShow"), checkDomainShow ? "true" : "false"); } -void DescribeDcdnUserDomainsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string DescribeDcdnUserDomainsRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string DescribeDcdnUserDomainsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnUserDomainsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void DescribeDcdnUserDomainsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnUserDomainsRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeDcdnUserDomainsRequest::getChangeEndTime()const -{ - return changeEndTime_; +void DescribeDcdnUserDomainsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnUserDomainsRequest::setChangeEndTime(const std::string& changeEndTime) -{ - changeEndTime_ = changeEndTime; - setParameter("ChangeEndTime", changeEndTime); +std::string DescribeDcdnUserDomainsRequest::getChangeEndTime() const { + return changeEndTime_; } -int DescribeDcdnUserDomainsRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnUserDomainsRequest::setChangeEndTime(const std::string &changeEndTime) { + changeEndTime_ = changeEndTime; + setParameter(std::string("ChangeEndTime"), changeEndTime); } -void DescribeDcdnUserDomainsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeDcdnUserDomainsRequest::getPageSize() const { + return pageSize_; } -std::vector DescribeDcdnUserDomainsRequest::getTag()const -{ - return tag_; +void DescribeDcdnUserDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnUserDomainsRequest::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::vector DescribeDcdnUserDomainsRequest::getTag() const { + return tag_; } -std::string DescribeDcdnUserDomainsRequest::getFuncFilter()const -{ - return funcFilter_; +void DescribeDcdnUserDomainsRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } } -void DescribeDcdnUserDomainsRequest::setFuncFilter(const std::string& funcFilter) -{ - funcFilter_ = funcFilter; - setParameter("FuncFilter", funcFilter); +std::string DescribeDcdnUserDomainsRequest::getWebSiteType() const { + return webSiteType_; } -std::string DescribeDcdnUserDomainsRequest::getCoverage()const -{ - return coverage_; +void DescribeDcdnUserDomainsRequest::setWebSiteType(const std::string &webSiteType) { + webSiteType_ = webSiteType; + setParameter(std::string("WebSiteType"), webSiteType); } -void DescribeDcdnUserDomainsRequest::setCoverage(const std::string& coverage) -{ - coverage_ = coverage; - setParameter("Coverage", coverage); +std::string DescribeDcdnUserDomainsRequest::getFuncFilter() const { + return funcFilter_; } -std::string DescribeDcdnUserDomainsRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnUserDomainsRequest::setFuncFilter(const std::string &funcFilter) { + funcFilter_ = funcFilter; + setParameter(std::string("FuncFilter"), funcFilter); } -void DescribeDcdnUserDomainsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnUserDomainsRequest::getCoverage() const { + return coverage_; } -long DescribeDcdnUserDomainsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnUserDomainsRequest::setCoverage(const std::string &coverage) { + coverage_ = coverage; + setParameter(std::string("Coverage"), coverage); } -void DescribeDcdnUserDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnUserDomainsRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnUserDomainsRequest::getFuncId()const -{ - return funcId_; +void DescribeDcdnUserDomainsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnUserDomainsRequest::setFuncId(const std::string& funcId) -{ - funcId_ = funcId; - setParameter("FuncId", funcId); +long DescribeDcdnUserDomainsRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnUserDomainsRequest::getDomainStatus()const -{ - return domainStatus_; +void DescribeDcdnUserDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnUserDomainsRequest::setDomainStatus(const std::string& domainStatus) -{ - domainStatus_ = domainStatus; - setParameter("DomainStatus", domainStatus); +std::string DescribeDcdnUserDomainsRequest::getFuncId() const { + return funcId_; } -std::string DescribeDcdnUserDomainsRequest::getDomainSearchType()const -{ - return domainSearchType_; +void DescribeDcdnUserDomainsRequest::setFuncId(const std::string &funcId) { + funcId_ = funcId; + setParameter(std::string("FuncId"), funcId); } -void DescribeDcdnUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType) -{ - domainSearchType_ = domainSearchType; - setParameter("DomainSearchType", domainSearchType); +std::string DescribeDcdnUserDomainsRequest::getDomainStatus() const { + return domainStatus_; } -std::string DescribeDcdnUserDomainsRequest::getChangeStartTime()const -{ - return changeStartTime_; +void DescribeDcdnUserDomainsRequest::setDomainStatus(const std::string &domainStatus) { + domainStatus_ = domainStatus; + setParameter(std::string("DomainStatus"), domainStatus); } -void DescribeDcdnUserDomainsRequest::setChangeStartTime(const std::string& changeStartTime) -{ - changeStartTime_ = changeStartTime; - setParameter("ChangeStartTime", changeStartTime); +std::string DescribeDcdnUserDomainsRequest::getDomainSearchType() const { + return domainSearchType_; +} + +void DescribeDcdnUserDomainsRequest::setDomainSearchType(const std::string &domainSearchType) { + domainSearchType_ = domainSearchType; + setParameter(std::string("DomainSearchType"), domainSearchType); +} + +std::string DescribeDcdnUserDomainsRequest::getChangeStartTime() const { + return changeStartTime_; +} + +void DescribeDcdnUserDomainsRequest::setChangeStartTime(const std::string &changeStartTime) { + changeStartTime_ = changeStartTime; + setParameter(std::string("ChangeStartTime"), changeStartTime); } diff --git a/dcdn/src/model/DescribeDcdnUserDomainsResult.cc b/dcdn/src/model/DescribeDcdnUserDomainsResult.cc index deca1a7b4..d398d7751 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsResult.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsResult.cc @@ -43,16 +43,8 @@ void DescribeDcdnUserDomainsResult::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["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()) @@ -61,20 +53,34 @@ void DescribeDcdnUserDomainsResult::parse(const std::string &payload) domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); if(!valueDomainsPageData["Sandbox"].isNull()) domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); + if(!valueDomainsPageData["DomainStatus"].isNull()) + domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); + if(!valueDomainsPageData["DomainId"].isNull()) + domainsObject.domainId = std::stol(valueDomainsPageData["DomainId"].asString()); + if(!valueDomainsPageData["Scene"].isNull()) + domainsObject.scene = valueDomainsPageData["Scene"].asString(); + if(!valueDomainsPageData["FunctionType"].isNull()) + domainsObject.functionType = valueDomainsPageData["FunctionType"].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(); + if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) + sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); + if(!valueDomainsPageDataSourcesSource["Port"].isNull()) + sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); + if(!valueDomainsPageDataSourcesSource["Content"].isNull()) + sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); domainsObject.sources.push_back(sourcesObject); } domains_.push_back(domainsObject); diff --git a/dcdn/src/model/DescribeDcdnUserQuotaRequest.cc b/dcdn/src/model/DescribeDcdnUserQuotaRequest.cc index 2767f66b3..7287f7c79 100644 --- a/dcdn/src/model/DescribeDcdnUserQuotaRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserQuotaRequest.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::Dcdn::Model::DescribeDcdnUserQuotaRequest; - -DescribeDcdnUserQuotaRequest::DescribeDcdnUserQuotaRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserQuota") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserQuotaRequest::~DescribeDcdnUserQuotaRequest() -{} - -long DescribeDcdnUserQuotaRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserQuotaRequest; + +DescribeDcdnUserQuotaRequest::DescribeDcdnUserQuotaRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserQuota") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserQuotaRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnUserQuotaRequest::~DescribeDcdnUserQuotaRequest() {} + +long DescribeDcdnUserQuotaRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnUserQuotaRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnUserQuotaRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnUserQuotaRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnUserQuotaRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnUserQuotaRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnUserQuotaResult.cc b/dcdn/src/model/DescribeDcdnUserQuotaResult.cc index c93ff8b46..ace0b651d 100644 --- a/dcdn/src/model/DescribeDcdnUserQuotaResult.cc +++ b/dcdn/src/model/DescribeDcdnUserQuotaResult.cc @@ -39,24 +39,28 @@ void DescribeDcdnUserQuotaResult::parse(const std::string &payload) 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["RefreshUrlRemain"].isNull()) + refreshUrlRemain_ = std::stoi(value["RefreshUrlRemain"].asString()); + if(!value["DomainQuota"].isNull()) + domainQuota_ = std::stoi(value["DomainQuota"].asString()); if(!value["BlockRemain"].isNull()) blockRemain_ = std::stoi(value["BlockRemain"].asString()); + if(!value["PreloadRemain"].isNull()) + preloadRemain_ = std::stoi(value["PreloadRemain"].asString()); + if(!value["RefreshUrlQuota"].isNull()) + refreshUrlQuota_ = std::stoi(value["RefreshUrlQuota"].asString()); + if(!value["PreloadQuota"].isNull()) + preloadQuota_ = std::stoi(value["PreloadQuota"].asString()); + if(!value["RefreshDirQuota"].isNull()) + refreshDirQuota_ = std::stoi(value["RefreshDirQuota"].asString()); + if(!value["RefreshDirRemain"].isNull()) + refreshDirRemain_ = std::stoi(value["RefreshDirRemain"].asString()); + if(!value["IgnoreParamsQuota"].isNull()) + ignoreParamsQuota_ = std::stoi(value["IgnoreParamsQuota"].asString()); + if(!value["IgnoreParamsRemain"].isNull()) + ignoreParamsRemain_ = std::stoi(value["IgnoreParamsRemain"].asString()); } @@ -65,14 +69,19 @@ int DescribeDcdnUserQuotaResult::getRefreshUrlQuota()const return refreshUrlQuota_; } +int DescribeDcdnUserQuotaResult::getBlockRemain()const +{ + return blockRemain_; +} + int DescribeDcdnUserQuotaResult::getPreloadRemain()const { return preloadRemain_; } -int DescribeDcdnUserQuotaResult::getBlockRemain()const +int DescribeDcdnUserQuotaResult::getIgnoreParamsRemain()const { - return blockRemain_; + return ignoreParamsRemain_; } int DescribeDcdnUserQuotaResult::getRefreshDirRemain()const @@ -80,16 +89,16 @@ int DescribeDcdnUserQuotaResult::getRefreshDirRemain()const return refreshDirRemain_; } -int DescribeDcdnUserQuotaResult::getRefreshDirQuota()const -{ - return refreshDirQuota_; -} - int DescribeDcdnUserQuotaResult::getBlockQuota()const { return blockQuota_; } +int DescribeDcdnUserQuotaResult::getRefreshDirQuota()const +{ + return refreshDirQuota_; +} + int DescribeDcdnUserQuotaResult::getDomainQuota()const { return domainQuota_; @@ -100,6 +109,11 @@ int DescribeDcdnUserQuotaResult::getRefreshUrlRemain()const return refreshUrlRemain_; } +int DescribeDcdnUserQuotaResult::getIgnoreParamsQuota()const +{ + return ignoreParamsQuota_; +} + int DescribeDcdnUserQuotaResult::getPreloadQuota()const { return preloadQuota_; diff --git a/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc index 4f1c98f6f..e7fc3b1ec 100644 --- a/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnUserRealTimeDeliveryFieldRequest; - -DescribeDcdnUserRealTimeDeliveryFieldRequest::DescribeDcdnUserRealTimeDeliveryFieldRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserRealTimeDeliveryField") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDcdnUserRealTimeDeliveryFieldRequest::~DescribeDcdnUserRealTimeDeliveryFieldRequest() -{} - -std::string DescribeDcdnUserRealTimeDeliveryFieldRequest::getBusinessType()const -{ - return businessType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserRealTimeDeliveryFieldRequest; + +DescribeDcdnUserRealTimeDeliveryFieldRequest::DescribeDcdnUserRealTimeDeliveryFieldRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserRealTimeDeliveryField") { + setMethod(HttpRequest::Method::Get); } -void DescribeDcdnUserRealTimeDeliveryFieldRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setParameter("BusinessType", businessType); +DescribeDcdnUserRealTimeDeliveryFieldRequest::~DescribeDcdnUserRealTimeDeliveryFieldRequest() {} + +std::string DescribeDcdnUserRealTimeDeliveryFieldRequest::getBusinessType() const { + return businessType_; } -long DescribeDcdnUserRealTimeDeliveryFieldRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnUserRealTimeDeliveryFieldRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnUserRealTimeDeliveryFieldRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setParameter(std::string("BusinessType"), businessType); } diff --git a/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc index e612f4982..f4a1f96d5 100644 --- a/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc +++ b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc @@ -43,12 +43,12 @@ void DescribeDcdnUserRealTimeDeliveryFieldResult::parse(const std::string &paylo for (auto valueContentFields : allContentNode) { Fields contentObject; - if(!valueContentFields["FieldName"].isNull()) - contentObject.fieldName = valueContentFields["FieldName"].asString(); if(!valueContentFields["Description"].isNull()) contentObject.description = valueContentFields["Description"].asString(); if(!valueContentFields["Selected"].isNull()) contentObject.selected = valueContentFields["Selected"].asString() == "true"; + if(!valueContentFields["FieldName"].isNull()) + contentObject.fieldName = valueContentFields["FieldName"].asString(); content_.push_back(contentObject); } diff --git a/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc b/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc index 458ba8489..4d139ebc5 100644 --- a/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserResourcePackageRequest.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::Dcdn::Model::DescribeDcdnUserResourcePackageRequest; - -DescribeDcdnUserResourcePackageRequest::DescribeDcdnUserResourcePackageRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserResourcePackage") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserResourcePackageRequest::~DescribeDcdnUserResourcePackageRequest() -{} - -long DescribeDcdnUserResourcePackageRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserResourcePackageRequest; + +DescribeDcdnUserResourcePackageRequest::DescribeDcdnUserResourcePackageRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserResourcePackage") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserResourcePackageRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnUserResourcePackageRequest::~DescribeDcdnUserResourcePackageRequest() {} + +std::string DescribeDcdnUserResourcePackageRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeDcdnUserResourcePackageRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnUserResourcePackageRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeDcdnUserResourcePackageRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long DescribeDcdnUserResourcePackageRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnUserResourcePackageRequest::getStatus()const -{ - return status_; +void DescribeDcdnUserResourcePackageRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnUserResourcePackageRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string DescribeDcdnUserResourcePackageRequest::getStatus() const { + return status_; +} + +void DescribeDcdnUserResourcePackageRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/dcdn/src/model/DescribeDcdnUserResourcePackageResult.cc b/dcdn/src/model/DescribeDcdnUserResourcePackageResult.cc index b95d1a8ba..f1c5def33 100644 --- a/dcdn/src/model/DescribeDcdnUserResourcePackageResult.cc +++ b/dcdn/src/model/DescribeDcdnUserResourcePackageResult.cc @@ -43,24 +43,24 @@ void DescribeDcdnUserResourcePackageResult::parse(const std::string &payload) for (auto valueResourcePackageInfosResourcePackageInfo : allResourcePackageInfosNode) { ResourcePackageInfo resourcePackageInfosObject; + if(!valueResourcePackageInfosResourcePackageInfo["EndTime"].isNull()) + resourcePackageInfosObject.endTime = valueResourcePackageInfosResourcePackageInfo["EndTime"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["Status"].isNull()) + resourcePackageInfosObject.status = valueResourcePackageInfosResourcePackageInfo["Status"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["DisplayName"].isNull()) + resourcePackageInfosObject.displayName = valueResourcePackageInfosResourcePackageInfo["DisplayName"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["StartTime"].isNull()) + resourcePackageInfosObject.startTime = valueResourcePackageInfosResourcePackageInfo["StartTime"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["CommodityCode"].isNull()) + resourcePackageInfosObject.commodityCode = valueResourcePackageInfosResourcePackageInfo["CommodityCode"].asString(); if(!valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].isNull()) resourcePackageInfosObject.currCapacity = valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].asString(); if(!valueResourcePackageInfosResourcePackageInfo["InitCapacity"].isNull()) resourcePackageInfosObject.initCapacity = valueResourcePackageInfosResourcePackageInfo["InitCapacity"].asString(); - if(!valueResourcePackageInfosResourcePackageInfo["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(); + if(!valueResourcePackageInfosResourcePackageInfo["TemplateName"].isNull()) + resourcePackageInfosObject.templateName = valueResourcePackageInfosResourcePackageInfo["TemplateName"].asString(); resourcePackageInfos_.push_back(resourcePackageInfosObject); } diff --git a/dcdn/src/model/DescribeDcdnUserSecDropByMinuteRequest.cc b/dcdn/src/model/DescribeDcdnUserSecDropByMinuteRequest.cc index 5d0f60ea8..3401560f5 100644 --- a/dcdn/src/model/DescribeDcdnUserSecDropByMinuteRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserSecDropByMinuteRequest.cc @@ -1,139 +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::Dcdn::Model::DescribeDcdnUserSecDropByMinuteRequest; - -DescribeDcdnUserSecDropByMinuteRequest::DescribeDcdnUserSecDropByMinuteRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserSecDropByMinute") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserSecDropByMinuteRequest::~DescribeDcdnUserSecDropByMinuteRequest() -{} - -std::string DescribeDcdnUserSecDropByMinuteRequest::getRuleName()const -{ - return ruleName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserSecDropByMinuteRequest; + +DescribeDcdnUserSecDropByMinuteRequest::DescribeDcdnUserSecDropByMinuteRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserSecDropByMinute") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserSecDropByMinuteRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setParameter("RuleName", ruleName); +DescribeDcdnUserSecDropByMinuteRequest::~DescribeDcdnUserSecDropByMinuteRequest() {} + +std::string DescribeDcdnUserSecDropByMinuteRequest::getDomainName() const { + return domainName_; } -std::string DescribeDcdnUserSecDropByMinuteRequest::getStartTime()const -{ - return startTime_; +void DescribeDcdnUserSecDropByMinuteRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDcdnUserSecDropByMinuteRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +long DescribeDcdnUserSecDropByMinuteRequest::getPageSize() const { + return pageSize_; } -long DescribeDcdnUserSecDropByMinuteRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeDcdnUserSecDropByMinuteRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeDcdnUserSecDropByMinuteRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +std::string DescribeDcdnUserSecDropByMinuteRequest::getEndTime() const { + return endTime_; } -long DescribeDcdnUserSecDropByMinuteRequest::getPageSize()const -{ - return pageSize_; +void DescribeDcdnUserSecDropByMinuteRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDcdnUserSecDropByMinuteRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeDcdnUserSecDropByMinuteRequest::getRuleName() const { + return ruleName_; } -std::string DescribeDcdnUserSecDropByMinuteRequest::getLang()const -{ - return lang_; +void DescribeDcdnUserSecDropByMinuteRequest::setRuleName(const std::string &ruleName) { + ruleName_ = ruleName; + setParameter(std::string("RuleName"), ruleName); } -void DescribeDcdnUserSecDropByMinuteRequest::setLang(const std::string& lang) -{ - lang_ = lang; - setParameter("Lang", lang); +std::string DescribeDcdnUserSecDropByMinuteRequest::getStartTime() const { + return startTime_; } -std::string DescribeDcdnUserSecDropByMinuteRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnUserSecDropByMinuteRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDcdnUserSecDropByMinuteRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnUserSecDropByMinuteRequest::getSecFunc() const { + return secFunc_; } -std::string DescribeDcdnUserSecDropByMinuteRequest::getEndTime()const -{ - return endTime_; +void DescribeDcdnUserSecDropByMinuteRequest::setSecFunc(const std::string &secFunc) { + secFunc_ = secFunc; + setParameter(std::string("SecFunc"), secFunc); } -void DescribeDcdnUserSecDropByMinuteRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDcdnUserSecDropByMinuteRequest::getLang() const { + return lang_; } -long DescribeDcdnUserSecDropByMinuteRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnUserSecDropByMinuteRequest::setLang(const std::string &lang) { + lang_ = lang; + setParameter(std::string("Lang"), lang); } -void DescribeDcdnUserSecDropByMinuteRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDcdnUserSecDropByMinuteRequest::getPageNumber() const { + return pageNumber_; } -std::string DescribeDcdnUserSecDropByMinuteRequest::getSecFunc()const -{ - return secFunc_; +void DescribeDcdnUserSecDropByMinuteRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeDcdnUserSecDropByMinuteRequest::setSecFunc(const std::string& secFunc) -{ - secFunc_ = secFunc; - setParameter("SecFunc", secFunc); +std::string DescribeDcdnUserSecDropByMinuteRequest::getObject() const { + return object_; } -std::string DescribeDcdnUserSecDropByMinuteRequest::getObject()const -{ - return object_; -} - -void DescribeDcdnUserSecDropByMinuteRequest::setObject(const std::string& object) -{ - object_ = object; - setParameter("Object", object); +void DescribeDcdnUserSecDropByMinuteRequest::setObject(const std::string &object) { + object_ = object; + setParameter(std::string("Object"), object); } diff --git a/dcdn/src/model/DescribeDcdnUserSecDropByMinuteResult.cc b/dcdn/src/model/DescribeDcdnUserSecDropByMinuteResult.cc index f4e610bbc..436e7c519 100644 --- a/dcdn/src/model/DescribeDcdnUserSecDropByMinuteResult.cc +++ b/dcdn/src/model/DescribeDcdnUserSecDropByMinuteResult.cc @@ -43,30 +43,30 @@ void DescribeDcdnUserSecDropByMinuteResult::parse(const std::string &payload) for (auto valueRowsRowsItem : allRowsNode) { RowsItem rowsObject; - if(!valueRowsRowsItem["RuleName"].isNull()) - rowsObject.ruleName = valueRowsRowsItem["RuleName"].asString(); - if(!valueRowsRowsItem["Object"].isNull()) - rowsObject.object = valueRowsRowsItem["Object"].asString(); if(!valueRowsRowsItem["Domain"].isNull()) rowsObject.domain = valueRowsRowsItem["Domain"].asString(); - if(!valueRowsRowsItem["SecFunc"].isNull()) - rowsObject.secFunc = valueRowsRowsItem["SecFunc"].asString(); if(!valueRowsRowsItem["TmStr"].isNull()) rowsObject.tmStr = valueRowsRowsItem["TmStr"].asString(); if(!valueRowsRowsItem["Drops"].isNull()) rowsObject.drops = std::stoi(valueRowsRowsItem["Drops"].asString()); + if(!valueRowsRowsItem["Object"].isNull()) + rowsObject.object = valueRowsRowsItem["Object"].asString(); + if(!valueRowsRowsItem["SecFunc"].isNull()) + rowsObject.secFunc = valueRowsRowsItem["SecFunc"].asString(); + if(!valueRowsRowsItem["RuleName"].isNull()) + rowsObject.ruleName = valueRowsRowsItem["RuleName"].asString(); rows_.push_back(rowsObject); } if(!value["Description"].isNull()) description_ = value["Description"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); if(!value["Len"].isNull()) len_ = std::stoi(value["Len"].asString()); if(!value["PageNumber"].isNull()) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageSize"].isNull()) pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); } diff --git a/dcdn/src/model/DescribeDcdnUserSecDropRequest.cc b/dcdn/src/model/DescribeDcdnUserSecDropRequest.cc index cbd3faf68..6860130ed 100644 --- a/dcdn/src/model/DescribeDcdnUserSecDropRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserSecDropRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnUserSecDropRequest; - -DescribeDcdnUserSecDropRequest::DescribeDcdnUserSecDropRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserSecDrop") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserSecDropRequest::~DescribeDcdnUserSecDropRequest() -{} - -std::string DescribeDcdnUserSecDropRequest::getData()const -{ - return data_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserSecDropRequest; + +DescribeDcdnUserSecDropRequest::DescribeDcdnUserSecDropRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserSecDrop") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserSecDropRequest::setData(const std::string& data) -{ - data_ = data; - setParameter("Data", data); +DescribeDcdnUserSecDropRequest::~DescribeDcdnUserSecDropRequest() {} + +std::string DescribeDcdnUserSecDropRequest::getData() const { + return data_; } -long DescribeDcdnUserSecDropRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDcdnUserSecDropRequest::setData(const std::string &data) { + data_ = data; + setParameter(std::string("Data"), data); } -void DescribeDcdnUserSecDropRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeDcdnUserSecDropRequest::getMetric() const { + return metric_; } -std::string DescribeDcdnUserSecDropRequest::getMetric()const -{ - return metric_; +void DescribeDcdnUserSecDropRequest::setMetric(const std::string &metric) { + metric_ = metric; + setParameter(std::string("Metric"), metric); } -void DescribeDcdnUserSecDropRequest::setMetric(const std::string& metric) -{ - metric_ = metric; - setParameter("Metric", metric); +std::string DescribeDcdnUserSecDropRequest::getSecFunc() const { + return secFunc_; } -std::string DescribeDcdnUserSecDropRequest::getSecFunc()const -{ - return secFunc_; -} - -void DescribeDcdnUserSecDropRequest::setSecFunc(const std::string& secFunc) -{ - secFunc_ = secFunc; - setParameter("SecFunc", secFunc); +void DescribeDcdnUserSecDropRequest::setSecFunc(const std::string &secFunc) { + secFunc_ = secFunc; + setParameter(std::string("SecFunc"), secFunc); } diff --git a/dcdn/src/model/DescribeDcdnUserSecDropResult.cc b/dcdn/src/model/DescribeDcdnUserSecDropResult.cc index fd21a6d51..59e59953e 100644 --- a/dcdn/src/model/DescribeDcdnUserSecDropResult.cc +++ b/dcdn/src/model/DescribeDcdnUserSecDropResult.cc @@ -39,10 +39,10 @@ void DescribeDcdnUserSecDropResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Drops"].isNull()) - drops_ = std::stoi(value["Drops"].asString()); if(!value["Msg"].isNull()) msg_ = value["Msg"].asString(); + if(!value["Drops"].isNull()) + drops_ = std::stoi(value["Drops"].asString()); if(!value["UuidStr"].isNull()) uuidStr_ = value["UuidStr"].asString(); diff --git a/dcdn/src/model/DescribeDcdnUserTagsRequest.cc b/dcdn/src/model/DescribeDcdnUserTagsRequest.cc index 65fff51b1..87c1b92b1 100644 --- a/dcdn/src/model/DescribeDcdnUserTagsRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserTagsRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnUserTagsRequest; - -DescribeDcdnUserTagsRequest::DescribeDcdnUserTagsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserTags") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnUserTagsRequest::~DescribeDcdnUserTagsRequest() -{} - -long DescribeDcdnUserTagsRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserTagsRequest; + +DescribeDcdnUserTagsRequest::DescribeDcdnUserTagsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserTags") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnUserTagsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeDcdnUserTagsRequest::~DescribeDcdnUserTagsRequest() {} diff --git a/dcdn/src/model/DescribeDcdnUserVipsByDomainRequest.cc b/dcdn/src/model/DescribeDcdnUserVipsByDomainRequest.cc new file mode 100644 index 000000000..51584be01 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserVipsByDomainRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnUserVipsByDomainRequest; + +DescribeDcdnUserVipsByDomainRequest::DescribeDcdnUserVipsByDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserVipsByDomain") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnUserVipsByDomainRequest::~DescribeDcdnUserVipsByDomainRequest() {} + +std::string DescribeDcdnUserVipsByDomainRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnUserVipsByDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDcdnUserVipsByDomainRequest::getAvailable() const { + return available_; +} + +void DescribeDcdnUserVipsByDomainRequest::setAvailable(const std::string &available) { + available_ = available; + setParameter(std::string("Available"), available); +} + diff --git a/dcdn/src/model/DescribeDcdnUserVipsByDomainResult.cc b/dcdn/src/model/DescribeDcdnUserVipsByDomainResult.cc new file mode 100644 index 000000000..c7193f767 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserVipsByDomainResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserVipsByDomainResult::DescribeDcdnUserVipsByDomainResult() : + ServiceResult() +{} + +DescribeDcdnUserVipsByDomainResult::DescribeDcdnUserVipsByDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserVipsByDomainResult::~DescribeDcdnUserVipsByDomainResult() +{} + +void DescribeDcdnUserVipsByDomainResult::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 DescribeDcdnUserVipsByDomainResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeDcdnUserVipsByDomainResult::getVips()const +{ + return vips_; +} + diff --git a/dcdn/src/model/DescribeDcdnVerifyContentRequest.cc b/dcdn/src/model/DescribeDcdnVerifyContentRequest.cc index d5b57d321..8769517a6 100644 --- a/dcdn/src/model/DescribeDcdnVerifyContentRequest.cc +++ b/dcdn/src/model/DescribeDcdnVerifyContentRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeDcdnVerifyContentRequest; - -DescribeDcdnVerifyContentRequest::DescribeDcdnVerifyContentRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnVerifyContent") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnVerifyContentRequest::~DescribeDcdnVerifyContentRequest() -{} - -std::string DescribeDcdnVerifyContentRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnVerifyContentRequest; + +DescribeDcdnVerifyContentRequest::DescribeDcdnVerifyContentRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnVerifyContent") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnVerifyContentRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeDcdnVerifyContentRequest::~DescribeDcdnVerifyContentRequest() {} + +std::string DescribeDcdnVerifyContentRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnVerifyContentRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnVerifyContentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnVerifyContentRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/DescribeDcdnWafBotAppKeyRequest.cc b/dcdn/src/model/DescribeDcdnWafBotAppKeyRequest.cc new file mode 100644 index 000000000..8530d48cb --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafBotAppKeyRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafBotAppKeyRequest; + +DescribeDcdnWafBotAppKeyRequest::DescribeDcdnWafBotAppKeyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafBotAppKey") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafBotAppKeyRequest::~DescribeDcdnWafBotAppKeyRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnWafBotAppKeyResult.cc b/dcdn/src/model/DescribeDcdnWafBotAppKeyResult.cc new file mode 100644 index 000000000..e2d6a7bf9 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafBotAppKeyResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafBotAppKeyResult::DescribeDcdnWafBotAppKeyResult() : + ServiceResult() +{} + +DescribeDcdnWafBotAppKeyResult::DescribeDcdnWafBotAppKeyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafBotAppKeyResult::~DescribeDcdnWafBotAppKeyResult() +{} + +void DescribeDcdnWafBotAppKeyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["AppKey"].isNull()) + appKey_ = value["AppKey"].asString(); + +} + +std::string DescribeDcdnWafBotAppKeyResult::getAppKey()const +{ + return appKey_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafDefaultRulesRequest.cc b/dcdn/src/model/DescribeDcdnWafDefaultRulesRequest.cc new file mode 100644 index 000000000..cfa8104a1 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafDefaultRulesRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafDefaultRulesRequest; + +DescribeDcdnWafDefaultRulesRequest::DescribeDcdnWafDefaultRulesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDefaultRules") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafDefaultRulesRequest::~DescribeDcdnWafDefaultRulesRequest() {} + +std::string DescribeDcdnWafDefaultRulesRequest::getQueryArgs() const { + return queryArgs_; +} + +void DescribeDcdnWafDefaultRulesRequest::setQueryArgs(const std::string &queryArgs) { + queryArgs_ = queryArgs; + setParameter(std::string("QueryArgs"), queryArgs); +} + diff --git a/dcdn/src/model/DescribeDcdnWafDefaultRulesResult.cc b/dcdn/src/model/DescribeDcdnWafDefaultRulesResult.cc new file mode 100644 index 000000000..fab7ae837 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafDefaultRulesResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafDefaultRulesResult::DescribeDcdnWafDefaultRulesResult() : + ServiceResult() +{} + +DescribeDcdnWafDefaultRulesResult::DescribeDcdnWafDefaultRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafDefaultRulesResult::~DescribeDcdnWafDefaultRulesResult() +{} + +void DescribeDcdnWafDefaultRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Default"]; + for (auto valueContentDefault : allContentNode) + { + _Default contentObject; + if(!valueContentDefault["DefenseScene"].isNull()) + contentObject.defenseScene = valueContentDefault["DefenseScene"].asString(); + auto allRulesNode = valueContentDefault["Rules"]["Rule"]; + for (auto valueContentDefaultRulesRule : allRulesNode) + { + _Default::Rule rulesObject; + if(!valueContentDefaultRulesRule["Type"].isNull()) + rulesObject.type = valueContentDefaultRulesRule["Type"].asString(); + if(!valueContentDefaultRulesRule["Name"].isNull()) + rulesObject.name = valueContentDefaultRulesRule["Name"].asString(); + if(!valueContentDefaultRulesRule["Status"].isNull()) + rulesObject.status = valueContentDefaultRulesRule["Status"].asString(); + if(!valueContentDefaultRulesRule["Config"].isNull()) + rulesObject.config = valueContentDefaultRulesRule["Config"].asString(); + if(!valueContentDefaultRulesRule["Action"].isNull()) + rulesObject.action = valueContentDefaultRulesRule["Action"].asString(); + contentObject.rules.push_back(rulesObject); + } + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnWafDefaultRulesResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafDomainDetailRequest.cc b/dcdn/src/model/DescribeDcdnWafDomainDetailRequest.cc new file mode 100644 index 000000000..532a21649 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafDomainDetailRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafDomainDetailRequest; + +DescribeDcdnWafDomainDetailRequest::DescribeDcdnWafDomainDetailRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDomainDetail") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafDomainDetailRequest::~DescribeDcdnWafDomainDetailRequest() {} + +std::string DescribeDcdnWafDomainDetailRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnWafDomainDetailRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + diff --git a/dcdn/src/model/DescribeDcdnWafDomainDetailResult.cc b/dcdn/src/model/DescribeDcdnWafDomainDetailResult.cc new file mode 100644 index 000000000..4a0d405d6 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafDomainDetailResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafDomainDetailResult::DescribeDcdnWafDomainDetailResult() : + ServiceResult() +{} + +DescribeDcdnWafDomainDetailResult::DescribeDcdnWafDomainDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafDomainDetailResult::~DescribeDcdnWafDomainDetailResult() +{} + +void DescribeDcdnWafDomainDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto domainNode = value["Domain"]; + if(!domainNode["DomainName"].isNull()) + domain_.domainName = domainNode["DomainName"].asString(); + auto allDefenseScenesNode = domainNode["DefenseScenes"]["DefenseSceneItem"]; + for (auto domainNodeDefenseScenesDefenseSceneItem : allDefenseScenesNode) + { + Domain::DefenseSceneItem defenseSceneItemObject; + if(!domainNodeDefenseScenesDefenseSceneItem["DefenseScene"].isNull()) + defenseSceneItemObject.defenseScene = domainNodeDefenseScenesDefenseSceneItem["DefenseScene"].asString(); + if(!domainNodeDefenseScenesDefenseSceneItem["PolicyId"].isNull()) + defenseSceneItemObject.policyId = std::stol(domainNodeDefenseScenesDefenseSceneItem["PolicyId"].asString()); + if(!domainNodeDefenseScenesDefenseSceneItem["PolicyIds"].isNull()) + defenseSceneItemObject.policyIds = domainNodeDefenseScenesDefenseSceneItem["PolicyIds"].asString(); + domain_.defenseScenes.push_back(defenseSceneItemObject); + } + +} + +DescribeDcdnWafDomainDetailResult::Domain DescribeDcdnWafDomainDetailResult::getDomain()const +{ + return domain_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafDomainRequest.cc b/dcdn/src/model/DescribeDcdnWafDomainRequest.cc index c51e2241b..a455c4360 100644 --- a/dcdn/src/model/DescribeDcdnWafDomainRequest.cc +++ b/dcdn/src/model/DescribeDcdnWafDomainRequest.cc @@ -1,73 +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::Dcdn::Model::DescribeDcdnWafDomainRequest; - -DescribeDcdnWafDomainRequest::DescribeDcdnWafDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnWafDomainRequest::~DescribeDcdnWafDomainRequest() -{} - -std::string DescribeDcdnWafDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafDomainRequest; + +DescribeDcdnWafDomainRequest::DescribeDcdnWafDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDomain") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnWafDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +DescribeDcdnWafDomainRequest::~DescribeDcdnWafDomainRequest() {} + +std::string DescribeDcdnWafDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string DescribeDcdnWafDomainRequest::getRegionId()const -{ - return regionId_; +void DescribeDcdnWafDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void DescribeDcdnWafDomainRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); +std::string DescribeDcdnWafDomainRequest::getRegionId() const { + return regionId_; } -std::string DescribeDcdnWafDomainRequest::getDomainName()const -{ - return domainName_; +void DescribeDcdnWafDomainRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); } -void DescribeDcdnWafDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDcdnWafDomainRequest::getDomainName() const { + return domainName_; } -long DescribeDcdnWafDomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDcdnWafDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void DescribeDcdnWafDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/DescribeDcdnWafDomainResult.cc b/dcdn/src/model/DescribeDcdnWafDomainResult.cc index d21b43cc9..c572cc997 100644 --- a/dcdn/src/model/DescribeDcdnWafDomainResult.cc +++ b/dcdn/src/model/DescribeDcdnWafDomainResult.cc @@ -43,16 +43,16 @@ void DescribeDcdnWafDomainResult::parse(const std::string &payload) for (auto valueOutPutDomainsOutPutDomain : allOutPutDomainsNode) { OutPutDomain outPutDomainsObject; + if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull()) + outPutDomainsObject.aclStatus = std::stoi(valueOutPutDomainsOutPutDomain["AclStatus"].asString()); if(!valueOutPutDomainsOutPutDomain["Status"].isNull()) outPutDomainsObject.status = std::stoi(valueOutPutDomainsOutPutDomain["Status"].asString()); if(!valueOutPutDomainsOutPutDomain["Domain"].isNull()) outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString(); - if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull()) - outPutDomainsObject.wafStatus = std::stoi(valueOutPutDomainsOutPutDomain["WafStatus"].asString()); if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull()) outPutDomainsObject.ccStatus = std::stoi(valueOutPutDomainsOutPutDomain["CcStatus"].asString()); - if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull()) - outPutDomainsObject.aclStatus = std::stoi(valueOutPutDomainsOutPutDomain["AclStatus"].asString()); + if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull()) + outPutDomainsObject.wafStatus = std::stoi(valueOutPutDomainsOutPutDomain["WafStatus"].asString()); outPutDomains_.push_back(outPutDomainsObject); } if(!value["TotalCount"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnWafDomainsRequest.cc b/dcdn/src/model/DescribeDcdnWafDomainsRequest.cc new file mode 100644 index 000000000..ef26e7029 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafDomainsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafDomainsRequest; + +DescribeDcdnWafDomainsRequest::DescribeDcdnWafDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDomains") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafDomainsRequest::~DescribeDcdnWafDomainsRequest() {} + +std::string DescribeDcdnWafDomainsRequest::getQueryArgs() const { + return queryArgs_; +} + +void DescribeDcdnWafDomainsRequest::setQueryArgs(const std::string &queryArgs) { + queryArgs_ = queryArgs; + setParameter(std::string("QueryArgs"), queryArgs); +} + +int DescribeDcdnWafDomainsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int DescribeDcdnWafDomainsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/ListDcdnEsTemplateInfoResult.cc b/dcdn/src/model/DescribeDcdnWafDomainsResult.cc similarity index 50% rename from dcdn/src/model/ListDcdnEsTemplateInfoResult.cc rename to dcdn/src/model/DescribeDcdnWafDomainsResult.cc index b2c9c34f5..ac573d492 100644 --- a/dcdn/src/model/ListDcdnEsTemplateInfoResult.cc +++ b/dcdn/src/model/DescribeDcdnWafDomainsResult.cc @@ -14,70 +14,68 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Dcdn; using namespace AlibabaCloud::Dcdn::Model; -ListDcdnEsTemplateInfoResult::ListDcdnEsTemplateInfoResult() : +DescribeDcdnWafDomainsResult::DescribeDcdnWafDomainsResult() : ServiceResult() {} -ListDcdnEsTemplateInfoResult::ListDcdnEsTemplateInfoResult(const std::string &payload) : +DescribeDcdnWafDomainsResult::DescribeDcdnWafDomainsResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListDcdnEsTemplateInfoResult::~ListDcdnEsTemplateInfoResult() +DescribeDcdnWafDomainsResult::~DescribeDcdnWafDomainsResult() {} -void ListDcdnEsTemplateInfoResult::parse(const std::string &payload) +void DescribeDcdnWafDomainsResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allDataItemsNode = value["DataItems"]["DataItem"]; - for (auto valueDataItemsDataItem : allDataItemsNode) + auto allDomainsNode = value["Domains"]["DomainItem"]; + for (auto valueDomainsDomainItem : allDomainsNode) { - DataItem dataItemsObject; - if(!valueDataItemsDataItem["Id"].isNull()) - dataItemsObject.id = std::stoi(valueDataItemsDataItem["Id"].asString()); - if(!valueDataItemsDataItem["TmplName"].isNull()) - dataItemsObject.tmplName = valueDataItemsDataItem["TmplName"].asString(); - if(!valueDataItemsDataItem["TmplDef"].isNull()) - dataItemsObject.tmplDef = valueDataItemsDataItem["TmplDef"].asString(); - if(!valueDataItemsDataItem["TmplDesc"].isNull()) - dataItemsObject.tmplDesc = valueDataItemsDataItem["TmplDesc"].asString(); - dataItems_.push_back(dataItemsObject); + DomainItem domainsObject; + if(!valueDomainsDomainItem["PolicyCount"].isNull()) + domainsObject.policyCount = std::stoi(valueDomainsDomainItem["PolicyCount"].asString()); + if(!valueDomainsDomainItem["ClientIpTag"].isNull()) + domainsObject.clientIpTag = valueDomainsDomainItem["ClientIpTag"].asString(); + if(!valueDomainsDomainItem["DomainName"].isNull()) + domainsObject.domainName = valueDomainsDomainItem["DomainName"].asString(); + domains_.push_back(domainsObject); } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); if(!value["PageSize"].isNull()) pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["PageNumber"].isNull()) pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); } -int ListDcdnEsTemplateInfoResult::getTotalCount()const +std::vector DescribeDcdnWafDomainsResult::getDomains()const +{ + return domains_; +} + +int DescribeDcdnWafDomainsResult::getTotalCount()const { return totalCount_; } -int ListDcdnEsTemplateInfoResult::getPageSize()const +int DescribeDcdnWafDomainsResult::getPageSize()const { return pageSize_; } -std::vector ListDcdnEsTemplateInfoResult::getDataItems()const -{ - return dataItems_; -} - -int ListDcdnEsTemplateInfoResult::getPageNumber()const +int DescribeDcdnWafDomainsResult::getPageNumber()const { return pageNumber_; } diff --git a/dcdn/src/model/DescribeDcdnWafFilterInfoRequest.cc b/dcdn/src/model/DescribeDcdnWafFilterInfoRequest.cc new file mode 100644 index 000000000..5f3d844f3 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafFilterInfoRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafFilterInfoRequest; + +DescribeDcdnWafFilterInfoRequest::DescribeDcdnWafFilterInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafFilterInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafFilterInfoRequest::~DescribeDcdnWafFilterInfoRequest() {} + +std::string DescribeDcdnWafFilterInfoRequest::getDefenseScenes() const { + return defenseScenes_; +} + +void DescribeDcdnWafFilterInfoRequest::setDefenseScenes(const std::string &defenseScenes) { + defenseScenes_ = defenseScenes; + setParameter(std::string("DefenseScenes"), defenseScenes); +} + +std::string DescribeDcdnWafFilterInfoRequest::getLanguage() const { + return language_; +} + +void DescribeDcdnWafFilterInfoRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + diff --git a/dcdn/src/model/DescribeDcdnWafFilterInfoResult.cc b/dcdn/src/model/DescribeDcdnWafFilterInfoResult.cc new file mode 100644 index 000000000..d345b6a27 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafFilterInfoResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafFilterInfoResult::DescribeDcdnWafFilterInfoResult() : + ServiceResult() +{} + +DescribeDcdnWafFilterInfoResult::DescribeDcdnWafFilterInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafFilterInfoResult::~DescribeDcdnWafFilterInfoResult() +{} + +void DescribeDcdnWafFilterInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["FilterInfo"]; + for (auto valueContentFilterInfo : allContentNode) + { + FilterInfo contentObject; + if(!valueContentFilterInfo["DefenseScene"].isNull()) + contentObject.defenseScene = valueContentFilterInfo["DefenseScene"].asString(); + auto allFieldsNode = valueContentFilterInfo["Fields"]["Field"]; + for (auto valueContentFilterInfoFieldsField : allFieldsNode) + { + FilterInfo::Field fieldsObject; + if(!valueContentFilterInfoFieldsField["ExtendField"].isNull()) + fieldsObject.extendField = valueContentFilterInfoFieldsField["ExtendField"].asString(); + if(!valueContentFilterInfoFieldsField["MatchField"].isNull()) + fieldsObject.matchField = valueContentFilterInfoFieldsField["MatchField"].asString(); + auto allLogicalSymbolNode = valueContentFilterInfoFieldsField["LogicalSymbol"]["Logic"]; + for (auto valueContentFilterInfoFieldsFieldLogicalSymbolLogic : allLogicalSymbolNode) + { + FilterInfo::Field::Logic logicalSymbolObject; + if(!valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Type"].isNull()) + logicalSymbolObject.type = valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Type"].asString(); + if(!valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Symbol"].isNull()) + logicalSymbolObject.symbol = valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Symbol"].asString(); + if(!valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Tip"].isNull()) + logicalSymbolObject.tip = valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Tip"].asString(); + if(!valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Attributes"].isNull()) + logicalSymbolObject.attributes = std::stoi(valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Attributes"].asString()); + if(!valueContentFilterInfoFieldsFieldLogicalSymbolLogic["MaxLength"].isNull()) + logicalSymbolObject.maxLength = std::stoi(valueContentFilterInfoFieldsFieldLogicalSymbolLogic["MaxLength"].asString()); + if(!valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Description"].isNull()) + logicalSymbolObject.description = valueContentFilterInfoFieldsFieldLogicalSymbolLogic["Description"].asString(); + auto regexpNode = value["Regexp"]; + if(!regexpNode["Pattern"].isNull()) + logicalSymbolObject.regexp.pattern = regexpNode["Pattern"].asString(); + if(!regexpNode["ErrMsg"].isNull()) + logicalSymbolObject.regexp.errMsg = regexpNode["ErrMsg"].asString(); + fieldsObject.logicalSymbol.push_back(logicalSymbolObject); + } + contentObject.fields.push_back(fieldsObject); + } + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnWafFilterInfoResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafGeoInfoRequest.cc b/dcdn/src/model/DescribeDcdnWafGeoInfoRequest.cc new file mode 100644 index 000000000..0d7dcffd4 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafGeoInfoRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafGeoInfoRequest; + +DescribeDcdnWafGeoInfoRequest::DescribeDcdnWafGeoInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafGeoInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafGeoInfoRequest::~DescribeDcdnWafGeoInfoRequest() {} + +std::string DescribeDcdnWafGeoInfoRequest::getLanguage() const { + return language_; +} + +void DescribeDcdnWafGeoInfoRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + diff --git a/dcdn/src/model/DescribeDcdnWafGeoInfoResult.cc b/dcdn/src/model/DescribeDcdnWafGeoInfoResult.cc new file mode 100644 index 000000000..d6b680a96 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafGeoInfoResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafGeoInfoResult::DescribeDcdnWafGeoInfoResult() : + ServiceResult() +{} + +DescribeDcdnWafGeoInfoResult::DescribeDcdnWafGeoInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafGeoInfoResult::~DescribeDcdnWafGeoInfoResult() +{} + +void DescribeDcdnWafGeoInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["GeoInfo"]; + for (auto valueContentGeoInfo : allContentNode) + { + GeoInfo contentObject; + if(!valueContentGeoInfo["Type"].isNull()) + contentObject.type = valueContentGeoInfo["Type"].asString(); + auto allContinentsNode = valueContentGeoInfo["Continents"]["ContinentsItem"]; + for (auto valueContentGeoInfoContinentsContinentsItem : allContinentsNode) + { + GeoInfo::ContinentsItem continentsObject; + if(!valueContentGeoInfoContinentsContinentsItem["Name"].isNull()) + continentsObject.name = valueContentGeoInfoContinentsContinentsItem["Name"].asString(); + auto allRegionsNode = valueContentGeoInfoContinentsContinentsItem["Regions"]["RegionsItem"]; + for (auto valueContentGeoInfoContinentsContinentsItemRegionsRegionsItem : allRegionsNode) + { + GeoInfo::ContinentsItem::RegionsItem regionsObject; + if(!valueContentGeoInfoContinentsContinentsItemRegionsRegionsItem["Name"].isNull()) + regionsObject.name = valueContentGeoInfoContinentsContinentsItemRegionsRegionsItem["Name"].asString(); + if(!valueContentGeoInfoContinentsContinentsItemRegionsRegionsItem["Value"].isNull()) + regionsObject.value = valueContentGeoInfoContinentsContinentsItemRegionsRegionsItem["Value"].asString(); + continentsObject.regions.push_back(regionsObject); + } + contentObject.continents.push_back(continentsObject); + } + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnWafGeoInfoResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafGroupRequest.cc b/dcdn/src/model/DescribeDcdnWafGroupRequest.cc new file mode 100644 index 000000000..546092502 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafGroupRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafGroupRequest; + +DescribeDcdnWafGroupRequest::DescribeDcdnWafGroupRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafGroup") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafGroupRequest::~DescribeDcdnWafGroupRequest() {} + +std::string DescribeDcdnWafGroupRequest::getQueryArgs() const { + return queryArgs_; +} + +void DescribeDcdnWafGroupRequest::setQueryArgs(const std::string &queryArgs) { + queryArgs_ = queryArgs; + setParameter(std::string("QueryArgs"), queryArgs); +} + +std::string DescribeDcdnWafGroupRequest::getScope() const { + return scope_; +} + +void DescribeDcdnWafGroupRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + +int DescribeDcdnWafGroupRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDcdnWafGroupRequest::getLanguage() const { + return language_; +} + +void DescribeDcdnWafGroupRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + +long DescribeDcdnWafGroupRequest::getId() const { + return id_; +} + +void DescribeDcdnWafGroupRequest::setId(long id) { + id_ = id; + setParameter(std::string("Id"), std::to_string(id)); +} + +int DescribeDcdnWafGroupRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafGroupRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafGroupResult.cc b/dcdn/src/model/DescribeDcdnWafGroupResult.cc new file mode 100644 index 000000000..995e61f4d --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafGroupResult.cc @@ -0,0 +1,122 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafGroupResult::DescribeDcdnWafGroupResult() : + ServiceResult() +{} + +DescribeDcdnWafGroupResult::DescribeDcdnWafGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafGroupResult::~DescribeDcdnWafGroupResult() +{} + +void DescribeDcdnWafGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRulesNode = value["Rules"]["RuleItem"]; + for (auto valueRulesRuleItem : allRulesNode) + { + RuleItem rulesObject; + if(!valueRulesRuleItem["GmtModified"].isNull()) + rulesObject.gmtModified = valueRulesRuleItem["GmtModified"].asString(); + if(!valueRulesRuleItem["Id"].isNull()) + rulesObject.id = std::stol(valueRulesRuleItem["Id"].asString()); + if(!valueRulesRuleItem["Name"].isNull()) + rulesObject.name = valueRulesRuleItem["Name"].asString(); + if(!valueRulesRuleItem["Description"].isNull()) + rulesObject.description = valueRulesRuleItem["Description"].asString(); + if(!valueRulesRuleItem["RiskLevel"].isNull()) + rulesObject.riskLevel = std::stoi(valueRulesRuleItem["RiskLevel"].asString()); + if(!valueRulesRuleItem["ProtectionType"].isNull()) + rulesObject.protectionType = std::stoi(valueRulesRuleItem["ProtectionType"].asString()); + if(!valueRulesRuleItem["ApplicationType"].isNull()) + rulesObject.applicationType = std::stoi(valueRulesRuleItem["ApplicationType"].asString()); + if(!valueRulesRuleItem["CveId"].isNull()) + rulesObject.cveId = valueRulesRuleItem["CveId"].asString(); + if(!valueRulesRuleItem["CveUrl"].isNull()) + rulesObject.cveUrl = valueRulesRuleItem["CveUrl"].asString(); + rules_.push_back(rulesObject); + } + if(!value["Id"].isNull()) + id_ = std::stol(value["Id"].asString()); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["TemplateId"].isNull()) + templateId_ = std::stol(value["TemplateId"].asString()); + if(!value["Subscribe"].isNull()) + subscribe_ = value["Subscribe"].asString(); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +int DescribeDcdnWafGroupResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeDcdnWafGroupResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDcdnWafGroupResult::getPageNumber()const +{ + return pageNumber_; +} + +long DescribeDcdnWafGroupResult::getId()const +{ + return id_; +} + +std::string DescribeDcdnWafGroupResult::getSubscribe()const +{ + return subscribe_; +} + +std::vector DescribeDcdnWafGroupResult::getRules()const +{ + return rules_; +} + +long DescribeDcdnWafGroupResult::getTemplateId()const +{ + return templateId_; +} + +std::string DescribeDcdnWafGroupResult::getName()const +{ + return name_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafGroupsRequest.cc b/dcdn/src/model/DescribeDcdnWafGroupsRequest.cc new file mode 100644 index 000000000..022dce512 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafGroupsRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafGroupsRequest; + +DescribeDcdnWafGroupsRequest::DescribeDcdnWafGroupsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafGroups") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafGroupsRequest::~DescribeDcdnWafGroupsRequest() {} + +std::string DescribeDcdnWafGroupsRequest::getQueryArgs() const { + return queryArgs_; +} + +void DescribeDcdnWafGroupsRequest::setQueryArgs(const std::string &queryArgs) { + queryArgs_ = queryArgs; + setParameter(std::string("QueryArgs"), queryArgs); +} + +int DescribeDcdnWafGroupsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafGroupsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDcdnWafGroupsRequest::getLanguage() const { + return language_; +} + +void DescribeDcdnWafGroupsRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); +} + +int DescribeDcdnWafGroupsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafGroupsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafGroupsResult.cc b/dcdn/src/model/DescribeDcdnWafGroupsResult.cc new file mode 100644 index 000000000..d420b33a7 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafGroupsResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafGroupsResult::DescribeDcdnWafGroupsResult() : + ServiceResult() +{} + +DescribeDcdnWafGroupsResult::DescribeDcdnWafGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafGroupsResult::~DescribeDcdnWafGroupsResult() +{} + +void DescribeDcdnWafGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allWafGroupsNode = value["WafGroups"]["WafGroupItem"]; + for (auto valueWafGroupsWafGroupItem : allWafGroupsNode) + { + WafGroupItem wafGroupsObject; + if(!valueWafGroupsWafGroupItem["GmtModified"].isNull()) + wafGroupsObject.gmtModified = valueWafGroupsWafGroupItem["GmtModified"].asString(); + if(!valueWafGroupsWafGroupItem["Id"].isNull()) + wafGroupsObject.id = std::stol(valueWafGroupsWafGroupItem["Id"].asString()); + if(!valueWafGroupsWafGroupItem["Name"].isNull()) + wafGroupsObject.name = valueWafGroupsWafGroupItem["Name"].asString(); + if(!valueWafGroupsWafGroupItem["RuleCount"].isNull()) + wafGroupsObject.ruleCount = std::stoi(valueWafGroupsWafGroupItem["RuleCount"].asString()); + if(!valueWafGroupsWafGroupItem["TemplateId"].isNull()) + wafGroupsObject.templateId = std::stol(valueWafGroupsWafGroupItem["TemplateId"].asString()); + if(!valueWafGroupsWafGroupItem["Subscribe"].isNull()) + wafGroupsObject.subscribe = valueWafGroupsWafGroupItem["Subscribe"].asString(); + auto allPoliciesNode = valueWafGroupsWafGroupItem["Policies"]["PolicyItem"]; + for (auto valueWafGroupsWafGroupItemPoliciesPolicyItem : allPoliciesNode) + { + WafGroupItem::PolicyItem policiesObject; + if(!valueWafGroupsWafGroupItemPoliciesPolicyItem["Id"].isNull()) + policiesObject.id = std::stol(valueWafGroupsWafGroupItemPoliciesPolicyItem["Id"].asString()); + if(!valueWafGroupsWafGroupItemPoliciesPolicyItem["Name"].isNull()) + policiesObject.name = valueWafGroupsWafGroupItemPoliciesPolicyItem["Name"].asString(); + if(!valueWafGroupsWafGroupItemPoliciesPolicyItem["Type"].isNull()) + policiesObject.type = valueWafGroupsWafGroupItemPoliciesPolicyItem["Type"].asString(); + wafGroupsObject.policies.push_back(policiesObject); + } + wafGroups_.push_back(wafGroupsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +std::vector DescribeDcdnWafGroupsResult::getWafGroups()const +{ + return wafGroups_; +} + +int DescribeDcdnWafGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeDcdnWafGroupsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDcdnWafGroupsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafLogsRequest.cc b/dcdn/src/model/DescribeDcdnWafLogsRequest.cc new file mode 100644 index 000000000..8f3153be1 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafLogsRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafLogsRequest; + +DescribeDcdnWafLogsRequest::DescribeDcdnWafLogsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafLogs") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafLogsRequest::~DescribeDcdnWafLogsRequest() {} + +std::string DescribeDcdnWafLogsRequest::getLogType() const { + return logType_; +} + +void DescribeDcdnWafLogsRequest::setLogType(const std::string &logType) { + logType_ = logType; + setParameter(std::string("LogType"), logType); +} + +std::string DescribeDcdnWafLogsRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnWafLogsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeDcdnWafLogsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafLogsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDcdnWafLogsRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnWafLogsRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnWafLogsRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnWafLogsRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +long DescribeDcdnWafLogsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafLogsRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafLogsResult.cc b/dcdn/src/model/DescribeDcdnWafLogsResult.cc new file mode 100644 index 000000000..8f2c3020e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafLogsResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafLogsResult::DescribeDcdnWafLogsResult() : + ServiceResult() +{} + +DescribeDcdnWafLogsResult::DescribeDcdnWafLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafLogsResult::~DescribeDcdnWafLogsResult() +{} + +void DescribeDcdnWafLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainLogDetailsNode = value["DomainLogDetails"]["DomainLogDetail"]; + for (auto valueDomainLogDetailsDomainLogDetail : 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["EndTime"].isNull()) + logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString(); + 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(); + 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); + } + +} + +std::vector DescribeDcdnWafLogsResult::getDomainLogDetails()const +{ + return domainLogDetails_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafPoliciesRequest.cc b/dcdn/src/model/DescribeDcdnWafPoliciesRequest.cc new file mode 100644 index 000000000..f8d2fd22e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPoliciesRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafPoliciesRequest; + +DescribeDcdnWafPoliciesRequest::DescribeDcdnWafPoliciesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafPolicies") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafPoliciesRequest::~DescribeDcdnWafPoliciesRequest() {} + +std::string DescribeDcdnWafPoliciesRequest::getQueryArgs() const { + return queryArgs_; +} + +void DescribeDcdnWafPoliciesRequest::setQueryArgs(const std::string &queryArgs) { + queryArgs_ = queryArgs; + setParameter(std::string("QueryArgs"), queryArgs); +} + +int DescribeDcdnWafPoliciesRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafPoliciesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int DescribeDcdnWafPoliciesRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafPoliciesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafPoliciesResult.cc b/dcdn/src/model/DescribeDcdnWafPoliciesResult.cc new file mode 100644 index 000000000..94d9126c5 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPoliciesResult.cc @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafPoliciesResult::DescribeDcdnWafPoliciesResult() : + ServiceResult() +{} + +DescribeDcdnWafPoliciesResult::DescribeDcdnWafPoliciesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafPoliciesResult::~DescribeDcdnWafPoliciesResult() +{} + +void DescribeDcdnWafPoliciesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPoliciesNode = value["Policies"]["PolicyItem"]; + for (auto valuePoliciesPolicyItem : allPoliciesNode) + { + PolicyItem policiesObject; + if(!valuePoliciesPolicyItem["PolicyStatus"].isNull()) + policiesObject.policyStatus = valuePoliciesPolicyItem["PolicyStatus"].asString(); + if(!valuePoliciesPolicyItem["DefenseScene"].isNull()) + policiesObject.defenseScene = valuePoliciesPolicyItem["DefenseScene"].asString(); + if(!valuePoliciesPolicyItem["DomainCount"].isNull()) + policiesObject.domainCount = std::stoi(valuePoliciesPolicyItem["DomainCount"].asString()); + if(!valuePoliciesPolicyItem["PolicyName"].isNull()) + policiesObject.policyName = valuePoliciesPolicyItem["PolicyName"].asString(); + if(!valuePoliciesPolicyItem["PolicyId"].isNull()) + policiesObject.policyId = std::stol(valuePoliciesPolicyItem["PolicyId"].asString()); + if(!valuePoliciesPolicyItem["RuleCount"].isNull()) + policiesObject.ruleCount = std::stol(valuePoliciesPolicyItem["RuleCount"].asString()); + if(!valuePoliciesPolicyItem["GmtModified"].isNull()) + policiesObject.gmtModified = valuePoliciesPolicyItem["GmtModified"].asString(); + if(!valuePoliciesPolicyItem["PolicyType"].isNull()) + policiesObject.policyType = valuePoliciesPolicyItem["PolicyType"].asString(); + policies_.push_back(policiesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeDcdnWafPoliciesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeDcdnWafPoliciesResult::getPolicies()const +{ + return policies_; +} + +int DescribeDcdnWafPoliciesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDcdnWafPoliciesResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafPolicyDomainsRequest.cc b/dcdn/src/model/DescribeDcdnWafPolicyDomainsRequest.cc new file mode 100644 index 000000000..9cdd00c42 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPolicyDomainsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafPolicyDomainsRequest; + +DescribeDcdnWafPolicyDomainsRequest::DescribeDcdnWafPolicyDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafPolicyDomains") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafPolicyDomainsRequest::~DescribeDcdnWafPolicyDomainsRequest() {} + +long DescribeDcdnWafPolicyDomainsRequest::getPolicyId() const { + return policyId_; +} + +void DescribeDcdnWafPolicyDomainsRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), std::to_string(policyId)); +} + +int DescribeDcdnWafPolicyDomainsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafPolicyDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int DescribeDcdnWafPolicyDomainsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafPolicyDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafPolicyDomainsResult.cc b/dcdn/src/model/DescribeDcdnWafPolicyDomainsResult.cc new file mode 100644 index 000000000..ffe7888a7 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPolicyDomainsResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafPolicyDomainsResult::DescribeDcdnWafPolicyDomainsResult() : + ServiceResult() +{} + +DescribeDcdnWafPolicyDomainsResult::DescribeDcdnWafPolicyDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafPolicyDomainsResult::~DescribeDcdnWafPolicyDomainsResult() +{} + +void DescribeDcdnWafPolicyDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["DomainItem"]; + for (auto valueDomainsDomainItem : allDomainsNode) + { + DomainItem domainsObject; + if(!valueDomainsDomainItem["DomainName"].isNull()) + domainsObject.domainName = valueDomainsDomainItem["DomainName"].asString(); + domains_.push_back(domainsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeDcdnWafPolicyDomainsResult::getDomains()const +{ + return domains_; +} + +int DescribeDcdnWafPolicyDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeDcdnWafPolicyDomainsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDcdnWafPolicyDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafPolicyRequest.cc b/dcdn/src/model/DescribeDcdnWafPolicyRequest.cc new file mode 100644 index 000000000..c8046b559 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPolicyRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafPolicyRequest; + +DescribeDcdnWafPolicyRequest::DescribeDcdnWafPolicyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafPolicy") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafPolicyRequest::~DescribeDcdnWafPolicyRequest() {} + +long DescribeDcdnWafPolicyRequest::getPolicyId() const { + return policyId_; +} + +void DescribeDcdnWafPolicyRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), std::to_string(policyId)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafPolicyResult.cc b/dcdn/src/model/DescribeDcdnWafPolicyResult.cc new file mode 100644 index 000000000..202756cb7 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPolicyResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafPolicyResult::DescribeDcdnWafPolicyResult() : + ServiceResult() +{} + +DescribeDcdnWafPolicyResult::DescribeDcdnWafPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafPolicyResult::~DescribeDcdnWafPolicyResult() +{} + +void DescribeDcdnWafPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto policyNode = value["Policy"]; + if(!policyNode["PolicyStatus"].isNull()) + policy_.policyStatus = policyNode["PolicyStatus"].asString(); + if(!policyNode["DefenseScene"].isNull()) + policy_.defenseScene = policyNode["DefenseScene"].asString(); + if(!policyNode["DomainCount"].isNull()) + policy_.domainCount = std::stoi(policyNode["DomainCount"].asString()); + if(!policyNode["RuleConfigs"].isNull()) + policy_.ruleConfigs = policyNode["RuleConfigs"].asString(); + if(!policyNode["PolicyName"].isNull()) + policy_.policyName = policyNode["PolicyName"].asString(); + if(!policyNode["PolicyId"].isNull()) + policy_.policyId = std::stol(policyNode["PolicyId"].asString()); + if(!policyNode["RuleCount"].isNull()) + policy_.ruleCount = std::stol(policyNode["RuleCount"].asString()); + if(!policyNode["GmtModified"].isNull()) + policy_.gmtModified = policyNode["GmtModified"].asString(); + if(!policyNode["PolicyType"].isNull()) + policy_.policyType = policyNode["PolicyType"].asString(); + +} + +DescribeDcdnWafPolicyResult::Policy DescribeDcdnWafPolicyResult::getPolicy()const +{ + return policy_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafPolicyValidDomainsRequest.cc b/dcdn/src/model/DescribeDcdnWafPolicyValidDomainsRequest.cc new file mode 100644 index 000000000..2fd11961b --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPolicyValidDomainsRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafPolicyValidDomainsRequest; + +DescribeDcdnWafPolicyValidDomainsRequest::DescribeDcdnWafPolicyValidDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafPolicyValidDomains") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafPolicyValidDomainsRequest::~DescribeDcdnWafPolicyValidDomainsRequest() {} + +std::string DescribeDcdnWafPolicyValidDomainsRequest::getDefenseScene() const { + return defenseScene_; +} + +void DescribeDcdnWafPolicyValidDomainsRequest::setDefenseScene(const std::string &defenseScene) { + defenseScene_ = defenseScene; + setParameter(std::string("DefenseScene"), defenseScene); +} + +std::string DescribeDcdnWafPolicyValidDomainsRequest::getDomainNameLike() const { + return domainNameLike_; +} + +void DescribeDcdnWafPolicyValidDomainsRequest::setDomainNameLike(const std::string &domainNameLike) { + domainNameLike_ = domainNameLike; + setParameter(std::string("DomainNameLike"), domainNameLike); +} + +int DescribeDcdnWafPolicyValidDomainsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafPolicyValidDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int DescribeDcdnWafPolicyValidDomainsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafPolicyValidDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafPolicyValidDomainsResult.cc b/dcdn/src/model/DescribeDcdnWafPolicyValidDomainsResult.cc new file mode 100644 index 000000000..947629443 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafPolicyValidDomainsResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafPolicyValidDomainsResult::DescribeDcdnWafPolicyValidDomainsResult() : + ServiceResult() +{} + +DescribeDcdnWafPolicyValidDomainsResult::DescribeDcdnWafPolicyValidDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafPolicyValidDomainsResult::~DescribeDcdnWafPolicyValidDomainsResult() +{} + +void DescribeDcdnWafPolicyValidDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["DomainItem"]; + for (auto valueDomainsDomainItem : allDomainsNode) + { + DomainItem domainsObject; + if(!valueDomainsDomainItem["PolicyName"].isNull()) + domainsObject.policyName = valueDomainsDomainItem["PolicyName"].asString(); + if(!valueDomainsDomainItem["PolicyId"].isNull()) + domainsObject.policyId = std::stol(valueDomainsDomainItem["PolicyId"].asString()); + if(!valueDomainsDomainItem["DomainName"].isNull()) + domainsObject.domainName = valueDomainsDomainItem["DomainName"].asString(); + if(!valueDomainsDomainItem["PolicyType"].isNull()) + domainsObject.policyType = valueDomainsDomainItem["PolicyType"].asString(); + auto allPoliciesNode = valueDomainsDomainItem["Policies"]["Policy"]; + for (auto valueDomainsDomainItemPoliciesPolicy : allPoliciesNode) + { + DomainItem::Policy policiesObject; + if(!valueDomainsDomainItemPoliciesPolicy["Id"].isNull()) + policiesObject.id = std::stol(valueDomainsDomainItemPoliciesPolicy["Id"].asString()); + if(!valueDomainsDomainItemPoliciesPolicy["Name"].isNull()) + policiesObject.name = valueDomainsDomainItemPoliciesPolicy["Name"].asString(); + if(!valueDomainsDomainItemPoliciesPolicy["Type"].isNull()) + policiesObject.type = valueDomainsDomainItemPoliciesPolicy["Type"].asString(); + domainsObject.policies.push_back(policiesObject); + } + domains_.push_back(domainsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeDcdnWafPolicyValidDomainsResult::getDomains()const +{ + return domains_; +} + +int DescribeDcdnWafPolicyValidDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeDcdnWafPolicyValidDomainsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDcdnWafPolicyValidDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafRuleRequest.cc b/dcdn/src/model/DescribeDcdnWafRuleRequest.cc new file mode 100644 index 000000000..3046501fa --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafRuleRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafRuleRequest; + +DescribeDcdnWafRuleRequest::DescribeDcdnWafRuleRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafRule") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafRuleRequest::~DescribeDcdnWafRuleRequest() {} + +long DescribeDcdnWafRuleRequest::getRuleId() const { + return ruleId_; +} + +void DescribeDcdnWafRuleRequest::setRuleId(long ruleId) { + ruleId_ = ruleId; + setParameter(std::string("RuleId"), std::to_string(ruleId)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafRuleResult.cc b/dcdn/src/model/DescribeDcdnWafRuleResult.cc new file mode 100644 index 000000000..72922dbdc --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafRuleResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafRuleResult::DescribeDcdnWafRuleResult() : + ServiceResult() +{} + +DescribeDcdnWafRuleResult::DescribeDcdnWafRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafRuleResult::~DescribeDcdnWafRuleResult() +{} + +void DescribeDcdnWafRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto ruleNode = value["Rule"]; + if(!ruleNode["RuleStatus"].isNull()) + rule_.ruleStatus = ruleNode["RuleStatus"].asString(); + if(!ruleNode["DefenseScene"].isNull()) + rule_.defenseScene = ruleNode["DefenseScene"].asString(); + if(!ruleNode["PolicyId"].isNull()) + rule_.policyId = std::stol(ruleNode["PolicyId"].asString()); + if(!ruleNode["GmtModified"].isNull()) + rule_.gmtModified = ruleNode["GmtModified"].asString(); + if(!ruleNode["RuleId"].isNull()) + rule_.ruleId = std::stol(ruleNode["RuleId"].asString()); + if(!ruleNode["RuleName"].isNull()) + rule_.ruleName = ruleNode["RuleName"].asString(); + if(!ruleNode["RuleConfig"].isNull()) + rule_.ruleConfig = ruleNode["RuleConfig"].asString(); + +} + +DescribeDcdnWafRuleResult::Rule DescribeDcdnWafRuleResult::getRule()const +{ + return rule_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafRulesRequest.cc b/dcdn/src/model/DescribeDcdnWafRulesRequest.cc new file mode 100644 index 000000000..63eb325ca --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafRulesRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafRulesRequest; + +DescribeDcdnWafRulesRequest::DescribeDcdnWafRulesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafRules") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafRulesRequest::~DescribeDcdnWafRulesRequest() {} + +std::string DescribeDcdnWafRulesRequest::getQueryArgs() const { + return queryArgs_; +} + +void DescribeDcdnWafRulesRequest::setQueryArgs(const std::string &queryArgs) { + queryArgs_ = queryArgs; + setParameter(std::string("QueryArgs"), queryArgs); +} + +int DescribeDcdnWafRulesRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDcdnWafRulesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int DescribeDcdnWafRulesRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDcdnWafRulesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDcdnWafRulesResult.cc b/dcdn/src/model/DescribeDcdnWafRulesResult.cc new file mode 100644 index 000000000..37af5d3cb --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafRulesResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafRulesResult::DescribeDcdnWafRulesResult() : + ServiceResult() +{} + +DescribeDcdnWafRulesResult::DescribeDcdnWafRulesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafRulesResult::~DescribeDcdnWafRulesResult() +{} + +void DescribeDcdnWafRulesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRulesNode = value["Rules"]["RuleItem"]; + for (auto valueRulesRuleItem : allRulesNode) + { + RuleItem rulesObject; + if(!valueRulesRuleItem["RuleStatus"].isNull()) + rulesObject.ruleStatus = valueRulesRuleItem["RuleStatus"].asString(); + if(!valueRulesRuleItem["DefenseScene"].isNull()) + rulesObject.defenseScene = valueRulesRuleItem["DefenseScene"].asString(); + if(!valueRulesRuleItem["PolicyId"].isNull()) + rulesObject.policyId = std::stol(valueRulesRuleItem["PolicyId"].asString()); + if(!valueRulesRuleItem["GmtModified"].isNull()) + rulesObject.gmtModified = valueRulesRuleItem["GmtModified"].asString(); + if(!valueRulesRuleItem["RuleId"].isNull()) + rulesObject.ruleId = std::stol(valueRulesRuleItem["RuleId"].asString()); + if(!valueRulesRuleItem["RuleName"].isNull()) + rulesObject.ruleName = valueRulesRuleItem["RuleName"].asString(); + if(!valueRulesRuleItem["RuleConfig"].isNull()) + rulesObject.ruleConfig = valueRulesRuleItem["RuleConfig"].asString(); + rules_.push_back(rulesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeDcdnWafRulesResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeDcdnWafRulesResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDcdnWafRulesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector DescribeDcdnWafRulesResult::getRules()const +{ + return rules_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafScenesRequest.cc b/dcdn/src/model/DescribeDcdnWafScenesRequest.cc new file mode 100644 index 000000000..76cb58540 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafScenesRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafScenesRequest; + +DescribeDcdnWafScenesRequest::DescribeDcdnWafScenesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafScenes") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafScenesRequest::~DescribeDcdnWafScenesRequest() {} + +std::string DescribeDcdnWafScenesRequest::getDefenseScenes() const { + return defenseScenes_; +} + +void DescribeDcdnWafScenesRequest::setDefenseScenes(const std::string &defenseScenes) { + defenseScenes_ = defenseScenes; + setParameter(std::string("DefenseScenes"), defenseScenes); +} + diff --git a/dcdn/src/model/DescribeDcdnWafScenesResult.cc b/dcdn/src/model/DescribeDcdnWafScenesResult.cc new file mode 100644 index 000000000..f818eef40 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafScenesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafScenesResult::DescribeDcdnWafScenesResult() : + ServiceResult() +{} + +DescribeDcdnWafScenesResult::DescribeDcdnWafScenesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafScenesResult::~DescribeDcdnWafScenesResult() +{} + +void DescribeDcdnWafScenesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDefenseScenesNode = value["DefenseScenes"]["DefenseSceneItem"]; + for (auto valueDefenseScenesDefenseSceneItem : allDefenseScenesNode) + { + DefenseSceneItem defenseScenesObject; + if(!valueDefenseScenesDefenseSceneItem["PolicyCount"].isNull()) + defenseScenesObject.policyCount = std::stoi(valueDefenseScenesDefenseSceneItem["PolicyCount"].asString()); + if(!valueDefenseScenesDefenseSceneItem["RuleCount"].isNull()) + defenseScenesObject.ruleCount = std::stoi(valueDefenseScenesDefenseSceneItem["RuleCount"].asString()); + if(!valueDefenseScenesDefenseSceneItem["DefenseScene"].isNull()) + defenseScenesObject.defenseScene = valueDefenseScenesDefenseSceneItem["DefenseScene"].asString(); + defenseScenes_.push_back(defenseScenesObject); + } + +} + +std::vector DescribeDcdnWafScenesResult::getDefenseScenes()const +{ + return defenseScenes_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafServiceRequest.cc b/dcdn/src/model/DescribeDcdnWafServiceRequest.cc new file mode 100644 index 000000000..74af3e1a8 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafServiceRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafServiceRequest; + +DescribeDcdnWafServiceRequest::DescribeDcdnWafServiceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafService") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafServiceRequest::~DescribeDcdnWafServiceRequest() {} + +long DescribeDcdnWafServiceRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDcdnWafServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeDcdnWafServiceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnWafServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + diff --git a/dcdn/src/model/DescribeDcdnWafServiceResult.cc b/dcdn/src/model/DescribeDcdnWafServiceResult.cc new file mode 100644 index 000000000..a3a8537a6 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafServiceResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafServiceResult::DescribeDcdnWafServiceResult() : + ServiceResult() +{} + +DescribeDcdnWafServiceResult::DescribeDcdnWafServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafServiceResult::~DescribeDcdnWafServiceResult() +{} + +void DescribeDcdnWafServiceResult::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["RequestBillingType"].isNull()) + requestBillingType_ = value["RequestBillingType"].asString(); + if(!value["Edition"].isNull()) + edition_ = value["Edition"].asString(); + if(!value["OpeningTime"].isNull()) + openingTime_ = value["OpeningTime"].asString(); + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString(); + if(!value["RuleBillingType"].isNull()) + ruleBillingType_ = value["RuleBillingType"].asString(); + +} + +std::string DescribeDcdnWafServiceResult::getStatus()const +{ + return status_; +} + +std::string DescribeDcdnWafServiceResult::getRuleBillingType()const +{ + return ruleBillingType_; +} + +std::string DescribeDcdnWafServiceResult::getRequestBillingType()const +{ + return requestBillingType_; +} + +std::string DescribeDcdnWafServiceResult::getOpeningTime()const +{ + return openingTime_; +} + +std::string DescribeDcdnWafServiceResult::getEnabled()const +{ + return enabled_; +} + +std::string DescribeDcdnWafServiceResult::getEdition()const +{ + return edition_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafSpecInfoRequest.cc b/dcdn/src/model/DescribeDcdnWafSpecInfoRequest.cc new file mode 100644 index 000000000..ca37b85d8 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafSpecInfoRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafSpecInfoRequest; + +DescribeDcdnWafSpecInfoRequest::DescribeDcdnWafSpecInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafSpecInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafSpecInfoRequest::~DescribeDcdnWafSpecInfoRequest() {} + diff --git a/dcdn/src/model/DescribeDcdnWafSpecInfoResult.cc b/dcdn/src/model/DescribeDcdnWafSpecInfoResult.cc new file mode 100644 index 000000000..346c80aed --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafSpecInfoResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafSpecInfoResult::DescribeDcdnWafSpecInfoResult() : + ServiceResult() +{} + +DescribeDcdnWafSpecInfoResult::DescribeDcdnWafSpecInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafSpecInfoResult::~DescribeDcdnWafSpecInfoResult() +{} + +void DescribeDcdnWafSpecInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSpecInfosNode = value["SpecInfos"]["RuleInfoItem"]; + for (auto valueSpecInfosRuleInfoItem : allSpecInfosNode) + { + RuleInfoItem specInfosObject; + if(!valueSpecInfosRuleInfoItem["DefenseScene"].isNull()) + specInfosObject.defenseScene = valueSpecInfosRuleInfoItem["DefenseScene"].asString(); + auto allConfigsNode = valueSpecInfosRuleInfoItem["Configs"]["ConfigItem"]; + for (auto valueSpecInfosRuleInfoItemConfigsConfigItem : allConfigsNode) + { + RuleInfoItem::ConfigItem configsObject; + if(!valueSpecInfosRuleInfoItemConfigsConfigItem["Value"].isNull()) + configsObject.value = valueSpecInfosRuleInfoItemConfigsConfigItem["Value"].asString(); + if(!valueSpecInfosRuleInfoItemConfigsConfigItem["Config"].isNull()) + configsObject.config = valueSpecInfosRuleInfoItemConfigsConfigItem["Config"].asString(); + if(!valueSpecInfosRuleInfoItemConfigsConfigItem["Expr"].isNull()) + configsObject.expr = valueSpecInfosRuleInfoItemConfigsConfigItem["Expr"].asString(); + specInfosObject.configs.push_back(configsObject); + } + specInfos_.push_back(specInfosObject); + } + if(!value["Edition"].isNull()) + edition_ = value["Edition"].asString(); + +} + +std::vector DescribeDcdnWafSpecInfoResult::getSpecInfos()const +{ + return specInfos_; +} + +std::string DescribeDcdnWafSpecInfoResult::getEdition()const +{ + return edition_; +} + diff --git a/dcdn/src/model/DescribeDcdnWafUsageDataRequest.cc b/dcdn/src/model/DescribeDcdnWafUsageDataRequest.cc new file mode 100644 index 000000000..ab46ce231 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafUsageDataRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnWafUsageDataRequest; + +DescribeDcdnWafUsageDataRequest::DescribeDcdnWafUsageDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnWafUsageDataRequest::~DescribeDcdnWafUsageDataRequest() {} + +std::string DescribeDcdnWafUsageDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeDcdnWafUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeDcdnWafUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeDcdnWafUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDcdnWafUsageDataRequest::getInterval() const { + return interval_; +} + +void DescribeDcdnWafUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeDcdnWafUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeDcdnWafUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeDcdnWafUsageDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeDcdnWafUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + diff --git a/dcdn/src/model/DescribeDcdnWafUsageDataResult.cc b/dcdn/src/model/DescribeDcdnWafUsageDataResult.cc new file mode 100644 index 000000000..bf0b3f2b2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnWafUsageDataResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnWafUsageDataResult::DescribeDcdnWafUsageDataResult() : + ServiceResult() +{} + +DescribeDcdnWafUsageDataResult::DescribeDcdnWafUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnWafUsageDataResult::~DescribeDcdnWafUsageDataResult() +{} + +void DescribeDcdnWafUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allWafUsageDataNode = value["WafUsageData"]["WafUsageDataItem"]; + for (auto valueWafUsageDataWafUsageDataItem : allWafUsageDataNode) + { + WafUsageDataItem wafUsageDataObject; + if(!valueWafUsageDataWafUsageDataItem["ObserveCnt"].isNull()) + wafUsageDataObject.observeCnt = std::stol(valueWafUsageDataWafUsageDataItem["ObserveCnt"].asString()); + if(!valueWafUsageDataWafUsageDataItem["Domain"].isNull()) + wafUsageDataObject.domain = valueWafUsageDataWafUsageDataItem["Domain"].asString(); + if(!valueWafUsageDataWafUsageDataItem["BlockCnt"].isNull()) + wafUsageDataObject.blockCnt = std::stol(valueWafUsageDataWafUsageDataItem["BlockCnt"].asString()); + if(!valueWafUsageDataWafUsageDataItem["AccessCnt"].isNull()) + wafUsageDataObject.accessCnt = std::stol(valueWafUsageDataWafUsageDataItem["AccessCnt"].asString()); + if(!valueWafUsageDataWafUsageDataItem["TimeStamp"].isNull()) + wafUsageDataObject.timeStamp = valueWafUsageDataWafUsageDataItem["TimeStamp"].asString(); + if(!valueWafUsageDataWafUsageDataItem["SecCu"].isNull()) + wafUsageDataObject.secCu = std::stol(valueWafUsageDataWafUsageDataItem["SecCu"].asString()); + wafUsageData_.push_back(wafUsageDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::string DescribeDcdnWafUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeDcdnWafUsageDataResult::getWafUsageData()const +{ + return wafUsageData_; +} + +std::string DescribeDcdnWafUsageDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/dcdn/src/model/DescribeDcdnsecServiceRequest.cc b/dcdn/src/model/DescribeDcdnsecServiceRequest.cc index 374f3837e..a213ceffb 100644 --- a/dcdn/src/model/DescribeDcdnsecServiceRequest.cc +++ b/dcdn/src/model/DescribeDcdnsecServiceRequest.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::Dcdn::Model::DescribeDcdnsecServiceRequest; - -DescribeDcdnsecServiceRequest::DescribeDcdnsecServiceRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnsecService") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDcdnsecServiceRequest::~DescribeDcdnsecServiceRequest() -{} - -long DescribeDcdnsecServiceRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnsecServiceRequest; + +DescribeDcdnsecServiceRequest::DescribeDcdnsecServiceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnsecService") { + setMethod(HttpRequest::Method::Post); } -void DescribeDcdnsecServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeDcdnsecServiceRequest::~DescribeDcdnsecServiceRequest() {} + +long DescribeDcdnsecServiceRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDcdnsecServiceRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeDcdnsecServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDcdnsecServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeDcdnsecServiceRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeDcdnsecServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeDcdnsecServiceResult.cc b/dcdn/src/model/DescribeDcdnsecServiceResult.cc index 97c64309e..ae8f938bf 100644 --- a/dcdn/src/model/DescribeDcdnsecServiceResult.cc +++ b/dcdn/src/model/DescribeDcdnsecServiceResult.cc @@ -47,26 +47,26 @@ void DescribeDcdnsecServiceResult::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["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); - if(!value["ChangingChargeType"].isNull()) - changingChargeType_ = value["ChangingChargeType"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); if(!value["ChangingAffectTime"].isNull()) changingAffectTime_ = value["ChangingAffectTime"].asString(); - if(!value["Version"].isNull()) - version_ = value["Version"].asString(); - if(!value["FlowType"].isNull()) - flowType_ = value["FlowType"].asString(); - if(!value["RequestType"].isNull()) - requestType_ = value["RequestType"].asString(); if(!value["DomainNum"].isNull()) domainNum_ = value["DomainNum"].asString(); + if(!value["ChangingChargeType"].isNull()) + changingChargeType_ = value["ChangingChargeType"].asString(); + if(!value["Version"].isNull()) + version_ = value["Version"].asString(); + if(!value["RequestType"].isNull()) + requestType_ = value["RequestType"].asString(); + if(!value["FlowType"].isNull()) + flowType_ = value["FlowType"].asString(); + if(!value["InternetChargeType"].isNull()) + internetChargeType_ = value["InternetChargeType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); } @@ -80,31 +80,31 @@ std::string DescribeDcdnsecServiceResult::getEndTime()const return endTime_; } -std::string DescribeDcdnsecServiceResult::getInstanceId()const -{ - return instanceId_; -} - std::string DescribeDcdnsecServiceResult::getVersion()const { return version_; } +std::string DescribeDcdnsecServiceResult::getInstanceId()const +{ + return instanceId_; +} + std::string DescribeDcdnsecServiceResult::getStartTime()const { return startTime_; } -std::string DescribeDcdnsecServiceResult::getFlowType()const -{ - return flowType_; -} - std::string DescribeDcdnsecServiceResult::getDomainNum()const { return domainNum_; } +std::string DescribeDcdnsecServiceResult::getFlowType()const +{ + return flowType_; +} + std::vector DescribeDcdnsecServiceResult::getOperationLocks()const { return operationLocks_; @@ -115,13 +115,13 @@ std::string DescribeDcdnsecServiceResult::getChangingAffectTime()const return changingAffectTime_; } -std::string DescribeDcdnsecServiceResult::getInternetChargeType()const -{ - return internetChargeType_; -} - std::string DescribeDcdnsecServiceResult::getRequestType()const { return requestType_; } +std::string DescribeDcdnsecServiceResult::getInternetChargeType()const +{ + return internetChargeType_; +} + diff --git a/dcdn/src/model/DescribeDdosAllEventListRequest.cc b/dcdn/src/model/DescribeDdosAllEventListRequest.cc new file mode 100644 index 000000000..6227e6a20 --- /dev/null +++ b/dcdn/src/model/DescribeDdosAllEventListRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDdosAllEventListRequest; + +DescribeDdosAllEventListRequest::DescribeDdosAllEventListRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeDdosAllEventList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeDdosAllEventListRequest::~DescribeDdosAllEventListRequest() {} + +int DescribeDdosAllEventListRequest::getPageSize() const { + return pageSize_; +} + +void DescribeDdosAllEventListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeDdosAllEventListRequest::getEndTime() const { + return endTime_; +} + +void DescribeDdosAllEventListRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeDdosAllEventListRequest::getEventType() const { + return eventType_; +} + +void DescribeDdosAllEventListRequest::setEventType(const std::string &eventType) { + eventType_ = eventType; + setParameter(std::string("EventType"), eventType); +} + +std::string DescribeDdosAllEventListRequest::getStartTime() const { + return startTime_; +} + +void DescribeDdosAllEventListRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +int DescribeDdosAllEventListRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeDdosAllEventListRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeDdosAllEventListResult.cc b/dcdn/src/model/DescribeDdosAllEventListResult.cc new file mode 100644 index 000000000..823d1cfd0 --- /dev/null +++ b/dcdn/src/model/DescribeDdosAllEventListResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDdosAllEventListResult::DescribeDdosAllEventListResult() : + ServiceResult() +{} + +DescribeDdosAllEventListResult::DescribeDdosAllEventListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDdosAllEventListResult::~DescribeDdosAllEventListResult() +{} + +void DescribeDdosAllEventListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataListNode = value["DataList"]["DdosDomainAttackEvent"]; + for (auto valueDataListDdosDomainAttackEvent : allDataListNode) + { + DdosDomainAttackEvent dataListObject; + if(!valueDataListDdosDomainAttackEvent["Target"].isNull()) + dataListObject.target = valueDataListDdosDomainAttackEvent["Target"].asString(); + if(!valueDataListDdosDomainAttackEvent["StartTime"].isNull()) + dataListObject.startTime = valueDataListDdosDomainAttackEvent["StartTime"].asString(); + if(!valueDataListDdosDomainAttackEvent["EndTime"].isNull()) + dataListObject.endTime = valueDataListDdosDomainAttackEvent["EndTime"].asString(); + if(!valueDataListDdosDomainAttackEvent["EventType"].isNull()) + dataListObject.eventType = valueDataListDdosDomainAttackEvent["EventType"].asString(); + if(!valueDataListDdosDomainAttackEvent["Bps"].isNull()) + dataListObject.bps = std::stol(valueDataListDdosDomainAttackEvent["Bps"].asString()); + if(!valueDataListDdosDomainAttackEvent["Pps"].isNull()) + dataListObject.pps = std::stol(valueDataListDdosDomainAttackEvent["Pps"].asString()); + if(!valueDataListDdosDomainAttackEvent["Cps"].isNull()) + dataListObject.cps = std::stol(valueDataListDdosDomainAttackEvent["Cps"].asString()); + if(!valueDataListDdosDomainAttackEvent["Qps"].isNull()) + dataListObject.qps = std::stol(valueDataListDdosDomainAttackEvent["Qps"].asString()); + if(!valueDataListDdosDomainAttackEvent["EventId"].isNull()) + dataListObject.eventId = valueDataListDdosDomainAttackEvent["EventId"].asString(); + dataList_.push_back(dataListObject); + } + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + +} + +std::vector DescribeDdosAllEventListResult::getDataList()const +{ + return dataList_; +} + +int DescribeDdosAllEventListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeDdosAllEventListResult::getPageNumber()const +{ + return pageNumber_; +} + +long DescribeDdosAllEventListResult::getTotal()const +{ + return total_; +} + diff --git a/dcdn/src/model/DescribeEncryptRoutineUidRequest.cc b/dcdn/src/model/DescribeEncryptRoutineUidRequest.cc new file mode 100644 index 000000000..d457cded1 --- /dev/null +++ b/dcdn/src/model/DescribeEncryptRoutineUidRequest.cc @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeEncryptRoutineUidRequest; + +DescribeEncryptRoutineUidRequest::DescribeEncryptRoutineUidRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeEncryptRoutineUid") { + setMethod(HttpRequest::Method::Post); +} + +DescribeEncryptRoutineUidRequest::~DescribeEncryptRoutineUidRequest() {} + diff --git a/dcdn/src/model/DescribeEncryptRoutineUidResult.cc b/dcdn/src/model/DescribeEncryptRoutineUidResult.cc new file mode 100644 index 000000000..3b8b7aa29 --- /dev/null +++ b/dcdn/src/model/DescribeEncryptRoutineUidResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeEncryptRoutineUidResult::DescribeEncryptRoutineUidResult() : + ServiceResult() +{} + +DescribeEncryptRoutineUidResult::DescribeEncryptRoutineUidResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeEncryptRoutineUidResult::~DescribeEncryptRoutineUidResult() +{} + +void DescribeEncryptRoutineUidResult::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 DescribeEncryptRoutineUidResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeHighlightInfoRequest.cc b/dcdn/src/model/DescribeHighlightInfoRequest.cc new file mode 100644 index 000000000..48c638f60 --- /dev/null +++ b/dcdn/src/model/DescribeHighlightInfoRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeHighlightInfoRequest; + +DescribeHighlightInfoRequest::DescribeHighlightInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeHighlightInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeHighlightInfoRequest::~DescribeHighlightInfoRequest() {} + +std::string DescribeHighlightInfoRequest::getTraceId() const { + return traceId_; +} + +void DescribeHighlightInfoRequest::setTraceId(const std::string &traceId) { + traceId_ = traceId; + setParameter(std::string("TraceId"), traceId); +} + +std::string DescribeHighlightInfoRequest::getEndTime() const { + return endTime_; +} + +void DescribeHighlightInfoRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeHighlightInfoRequest::getStartTime() const { + return startTime_; +} + +void DescribeHighlightInfoRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeHighlightInfoRequest::getLang() const { + return lang_; +} + +void DescribeHighlightInfoRequest::setLang(const std::string &lang) { + lang_ = lang; + setParameter(std::string("Lang"), lang); +} + diff --git a/dcdn/src/model/DescribeHighlightInfoResult.cc b/dcdn/src/model/DescribeHighlightInfoResult.cc new file mode 100644 index 000000000..d9dc906a4 --- /dev/null +++ b/dcdn/src/model/DescribeHighlightInfoResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeHighlightInfoResult::DescribeHighlightInfoResult() : + ServiceResult() +{} + +DescribeHighlightInfoResult::DescribeHighlightInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeHighlightInfoResult::~DescribeHighlightInfoResult() +{} + +void DescribeHighlightInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataModuleNode = value["DataModule"]["DataItem"]; + for (auto valueDataModuleDataItem : allDataModuleNode) + { + DataItem dataModuleObject; + if(!valueDataModuleDataItem["Key"].isNull()) + dataModuleObject.key = valueDataModuleDataItem["Key"].asString(); + if(!valueDataModuleDataItem["Hit"].isNull()) + dataModuleObject.hit = valueDataModuleDataItem["Hit"].asString(); + if(!valueDataModuleDataItem["Raw"].isNull()) + dataModuleObject.raw = valueDataModuleDataItem["Raw"].asString(); + dataModule_.push_back(dataModuleObject); + } + +} + +std::vector DescribeHighlightInfoResult::getDataModule()const +{ + return dataModule_; +} + diff --git a/dcdn/src/model/DescribeKvUsageDataRequest.cc b/dcdn/src/model/DescribeKvUsageDataRequest.cc new file mode 100644 index 000000000..a40dce193 --- /dev/null +++ b/dcdn/src/model/DescribeKvUsageDataRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeKvUsageDataRequest; + +DescribeKvUsageDataRequest::DescribeKvUsageDataRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeKvUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeKvUsageDataRequest::~DescribeKvUsageDataRequest() {} + +std::string DescribeKvUsageDataRequest::getAccessType() const { + return accessType_; +} + +void DescribeKvUsageDataRequest::setAccessType(const std::string &accessType) { + accessType_ = accessType; + setParameter(std::string("AccessType"), accessType); +} + +std::string DescribeKvUsageDataRequest::getField() const { + return field_; +} + +void DescribeKvUsageDataRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); +} + +std::string DescribeKvUsageDataRequest::getNamespaceId() const { + return namespaceId_; +} + +void DescribeKvUsageDataRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); +} + +std::string DescribeKvUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeKvUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +std::string DescribeKvUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeKvUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeKvUsageDataRequest::getResponseType() const { + return responseType_; +} + +void DescribeKvUsageDataRequest::setResponseType(const std::string &responseType) { + responseType_ = responseType; + setParameter(std::string("ResponseType"), responseType); +} + +std::string DescribeKvUsageDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeKvUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + diff --git a/dcdn/src/model/DescribeKvUsageDataResult.cc b/dcdn/src/model/DescribeKvUsageDataResult.cc new file mode 100644 index 000000000..624e83ec4 --- /dev/null +++ b/dcdn/src/model/DescribeKvUsageDataResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeKvUsageDataResult::DescribeKvUsageDataResult() : + ServiceResult() +{} + +DescribeKvUsageDataResult::DescribeKvUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeKvUsageDataResult::~DescribeKvUsageDataResult() +{} + +void DescribeKvUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allKvUsageDataNode = value["KvUsageData"]["KvUsageDataItem"]; + for (auto valueKvUsageDataKvUsageDataItem : allKvUsageDataNode) + { + KvUsageDataItem kvUsageDataObject; + if(!valueKvUsageDataKvUsageDataItem["TimeStamp"].isNull()) + kvUsageDataObject.timeStamp = valueKvUsageDataKvUsageDataItem["TimeStamp"].asString(); + if(!valueKvUsageDataKvUsageDataItem["NamespaceId"].isNull()) + kvUsageDataObject.namespaceId = valueKvUsageDataKvUsageDataItem["NamespaceId"].asString(); + if(!valueKvUsageDataKvUsageDataItem["AccessType"].isNull()) + kvUsageDataObject.accessType = valueKvUsageDataKvUsageDataItem["AccessType"].asString(); + if(!valueKvUsageDataKvUsageDataItem["Acc"].isNull()) + kvUsageDataObject.acc = std::stol(valueKvUsageDataKvUsageDataItem["Acc"].asString()); + kvUsageData_.push_back(kvUsageDataObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeKvUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeKvUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeKvUsageDataResult::getKvUsageData()const +{ + return kvUsageData_; +} + diff --git a/dcdn/src/model/DescribeRDDomainConfigRequest.cc b/dcdn/src/model/DescribeRDDomainConfigRequest.cc new file mode 100644 index 000000000..e9faf6202 --- /dev/null +++ b/dcdn/src/model/DescribeRDDomainConfigRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRDDomainConfigRequest; + +DescribeRDDomainConfigRequest::DescribeRDDomainConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRDDomainConfig") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRDDomainConfigRequest::~DescribeRDDomainConfigRequest() {} + +std::string DescribeRDDomainConfigRequest::getFunctionName() const { + return functionName_; +} + +void DescribeRDDomainConfigRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); +} + +std::string DescribeRDDomainConfigRequest::getDomainName() const { + return domainName_; +} + +void DescribeRDDomainConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + diff --git a/dcdn/src/model/DescribeRDDomainConfigResult.cc b/dcdn/src/model/DescribeRDDomainConfigResult.cc new file mode 100644 index 000000000..42a4df44e --- /dev/null +++ b/dcdn/src/model/DescribeRDDomainConfigResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeRDDomainConfigResult::DescribeRDDomainConfigResult() : + ServiceResult() +{} + +DescribeRDDomainConfigResult::DescribeRDDomainConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRDDomainConfigResult::~DescribeRDDomainConfigResult() +{} + +void DescribeRDDomainConfigResult::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["ConfigId"].isNull()) + domainConfigsObject.configId = std::stol(valueDomainConfigsDomainConfig["ConfigId"].asString()); + if(!valueDomainConfigsDomainConfig["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); + if(!valueDomainConfigsDomainConfig["ParentId"].isNull()) + domainConfigsObject.parentId = valueDomainConfigsDomainConfig["ParentId"].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 DescribeRDDomainConfigResult::getDomainConfigs()const +{ + return domainConfigs_; +} + diff --git a/dcdn/src/model/DescribeRDDomainsRequest.cc b/dcdn/src/model/DescribeRDDomainsRequest.cc new file mode 100644 index 000000000..19e03e9c6 --- /dev/null +++ b/dcdn/src/model/DescribeRDDomainsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRDDomainsRequest; + +DescribeRDDomainsRequest::DescribeRDDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRDDomains") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRDDomainsRequest::~DescribeRDDomainsRequest() {} + +int DescribeRDDomainsRequest::getPageSize() const { + return pageSize_; +} + +void DescribeRDDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int DescribeRDDomainsRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeRDDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/DescribeRDDomainsResult.cc b/dcdn/src/model/DescribeRDDomainsResult.cc new file mode 100644 index 000000000..a881a9785 --- /dev/null +++ b/dcdn/src/model/DescribeRDDomainsResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeRDDomainsResult::DescribeRDDomainsResult() : + ServiceResult() +{} + +DescribeRDDomainsResult::DescribeRDDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRDDomainsResult::~DescribeRDDomainsResult() +{} + +void DescribeRDDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["PageData"]; + for (auto valueDomainsPageData : allDomainsNode) + { + PageData domainsObject; + if(!valueDomainsPageData["GmtCreated"].isNull()) + domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); + if(!valueDomainsPageData["SslProtocol"].isNull()) + domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString(); + if(!valueDomainsPageData["ServiceCode"].isNull()) + domainsObject.serviceCode = valueDomainsPageData["ServiceCode"].asString(); + if(!valueDomainsPageData["Description"].isNull()) + domainsObject.description = valueDomainsPageData["Description"].asString(); + if(!valueDomainsPageData["ResourceGroupId"].isNull()) + domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); + if(!valueDomainsPageData["BizName"].isNull()) + domainsObject.bizName = valueDomainsPageData["BizName"].asString(); + if(!valueDomainsPageData["Sandbox"].isNull()) + domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); + if(!valueDomainsPageData["DomainStatus"].isNull()) + domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); + auto allSourcesNode = valueDomainsPageData["Sources"]["Source"]; + for (auto valueDomainsPageDataSourcesSource : allSourcesNode) + { + PageData::Source sourcesObject; + if(!valueDomainsPageDataSourcesSource["Type"].isNull()) + sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString(); + if(!valueDomainsPageDataSourcesSource["Weight"].isNull()) + sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString(); + if(!valueDomainsPageDataSourcesSource["Priority"].isNull()) + sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString(); + if(!valueDomainsPageDataSourcesSource["Port"].isNull()) + sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString()); + if(!valueDomainsPageDataSourcesSource["Content"].isNull()) + sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString(); + domainsObject.sources.push_back(sourcesObject); + } + domains_.push_back(domainsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeRDDomainsResult::getDomains()const +{ + return domains_; +} + +long DescribeRDDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeRDDomainsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeRDDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc b/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc index 012fe8a96..1ac3ff41d 100644 --- a/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc +++ b/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeRoutineCanaryEnvsRequest; - -DescribeRoutineCanaryEnvsRequest::DescribeRoutineCanaryEnvsRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineCanaryEnvs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoutineCanaryEnvsRequest::~DescribeRoutineCanaryEnvsRequest() -{} - -long DescribeRoutineCanaryEnvsRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineCanaryEnvsRequest; + +DescribeRoutineCanaryEnvsRequest::DescribeRoutineCanaryEnvsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineCanaryEnvs") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoutineCanaryEnvsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeRoutineCanaryEnvsRequest::~DescribeRoutineCanaryEnvsRequest() {} diff --git a/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc b/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc index 762831b63..3efae0b18 100644 --- a/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc +++ b/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc @@ -1,62 +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::Dcdn::Model::DescribeRoutineCodeRevisionRequest; - -DescribeRoutineCodeRevisionRequest::DescribeRoutineCodeRevisionRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineCodeRevision") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoutineCodeRevisionRequest::~DescribeRoutineCodeRevisionRequest() -{} - -std::string DescribeRoutineCodeRevisionRequest::getSelectCodeRevision()const -{ - return selectCodeRevision_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineCodeRevisionRequest; + +DescribeRoutineCodeRevisionRequest::DescribeRoutineCodeRevisionRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineCodeRevision") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string& selectCodeRevision) -{ - selectCodeRevision_ = selectCodeRevision; - setBodyParameter("SelectCodeRevision", selectCodeRevision); +DescribeRoutineCodeRevisionRequest::~DescribeRoutineCodeRevisionRequest() {} + +std::string DescribeRoutineCodeRevisionRequest::getName() const { + return name_; } -long DescribeRoutineCodeRevisionRequest::getOwnerId()const -{ - return ownerId_; +void DescribeRoutineCodeRevisionRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void DescribeRoutineCodeRevisionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeRoutineCodeRevisionRequest::getSelectCodeRevision() const { + return selectCodeRevision_; } -std::string DescribeRoutineCodeRevisionRequest::getName()const -{ - return name_; -} - -void DescribeRoutineCodeRevisionRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void DescribeRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string &selectCodeRevision) { + selectCodeRevision_ = selectCodeRevision; + setBodyParameter(std::string("SelectCodeRevision"), selectCodeRevision); } diff --git a/dcdn/src/model/DescribeRoutineRelatedDomainsRequest.cc b/dcdn/src/model/DescribeRoutineRelatedDomainsRequest.cc new file mode 100644 index 000000000..97225d79b --- /dev/null +++ b/dcdn/src/model/DescribeRoutineRelatedDomainsRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineRelatedDomainsRequest; + +DescribeRoutineRelatedDomainsRequest::DescribeRoutineRelatedDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineRelatedDomains") { + setMethod(HttpRequest::Method::Post); +} + +DescribeRoutineRelatedDomainsRequest::~DescribeRoutineRelatedDomainsRequest() {} + +std::string DescribeRoutineRelatedDomainsRequest::getName() const { + return name_; +} + +void DescribeRoutineRelatedDomainsRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); +} + diff --git a/dcdn/src/model/DescribeRoutineRelatedDomainsResult.cc b/dcdn/src/model/DescribeRoutineRelatedDomainsResult.cc new file mode 100644 index 000000000..a05103b2b --- /dev/null +++ b/dcdn/src/model/DescribeRoutineRelatedDomainsResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeRoutineRelatedDomainsResult::DescribeRoutineRelatedDomainsResult() : + ServiceResult() +{} + +DescribeRoutineRelatedDomainsResult::DescribeRoutineRelatedDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoutineRelatedDomainsResult::~DescribeRoutineRelatedDomainsResult() +{} + +void DescribeRoutineRelatedDomainsResult::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 DescribeRoutineRelatedDomainsResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeRoutineRequest.cc b/dcdn/src/model/DescribeRoutineRequest.cc index 91cf87182..7127ee24f 100644 --- a/dcdn/src/model/DescribeRoutineRequest.cc +++ b/dcdn/src/model/DescribeRoutineRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeRoutineRequest; - -DescribeRoutineRequest::DescribeRoutineRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutine") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoutineRequest::~DescribeRoutineRequest() -{} - -long DescribeRoutineRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineRequest; + +DescribeRoutineRequest::DescribeRoutineRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutine") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoutineRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeRoutineRequest::~DescribeRoutineRequest() {} + +std::string DescribeRoutineRequest::getName() const { + return name_; } -std::string DescribeRoutineRequest::getName()const -{ - return name_; -} - -void DescribeRoutineRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void DescribeRoutineRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } diff --git a/dcdn/src/model/DescribeRoutineSpecRequest.cc b/dcdn/src/model/DescribeRoutineSpecRequest.cc index 409164575..4a178cbd9 100644 --- a/dcdn/src/model/DescribeRoutineSpecRequest.cc +++ b/dcdn/src/model/DescribeRoutineSpecRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeRoutineSpecRequest; - -DescribeRoutineSpecRequest::DescribeRoutineSpecRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineSpec") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoutineSpecRequest::~DescribeRoutineSpecRequest() -{} - -long DescribeRoutineSpecRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineSpecRequest; + +DescribeRoutineSpecRequest::DescribeRoutineSpecRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineSpec") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoutineSpecRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeRoutineSpecRequest::~DescribeRoutineSpecRequest() {} diff --git a/dcdn/src/model/DescribeRoutineUserInfoRequest.cc b/dcdn/src/model/DescribeRoutineUserInfoRequest.cc index 9e5ad3a29..daf758f2a 100644 --- a/dcdn/src/model/DescribeRoutineUserInfoRequest.cc +++ b/dcdn/src/model/DescribeRoutineUserInfoRequest.cc @@ -1,40 +1,27 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeRoutineUserInfoRequest; - -DescribeRoutineUserInfoRequest::DescribeRoutineUserInfoRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineUserInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoutineUserInfoRequest::~DescribeRoutineUserInfoRequest() -{} - -long DescribeRoutineUserInfoRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineUserInfoRequest; + +DescribeRoutineUserInfoRequest::DescribeRoutineUserInfoRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineUserInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoutineUserInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} +DescribeRoutineUserInfoRequest::~DescribeRoutineUserInfoRequest() {} diff --git a/dcdn/src/model/DescribeUserDcdnIpaStatusRequest.cc b/dcdn/src/model/DescribeUserDcdnIpaStatusRequest.cc index 59bb369f3..91db6b41b 100644 --- a/dcdn/src/model/DescribeUserDcdnIpaStatusRequest.cc +++ b/dcdn/src/model/DescribeUserDcdnIpaStatusRequest.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::Dcdn::Model::DescribeUserDcdnIpaStatusRequest; - -DescribeUserDcdnIpaStatusRequest::DescribeUserDcdnIpaStatusRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserDcdnIpaStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserDcdnIpaStatusRequest::~DescribeUserDcdnIpaStatusRequest() -{} - -long DescribeUserDcdnIpaStatusRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeUserDcdnIpaStatusRequest; + +DescribeUserDcdnIpaStatusRequest::DescribeUserDcdnIpaStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserDcdnIpaStatus") { + setMethod(HttpRequest::Method::Post); } -void DescribeUserDcdnIpaStatusRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeUserDcdnIpaStatusRequest::~DescribeUserDcdnIpaStatusRequest() {} + +long DescribeUserDcdnIpaStatusRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUserDcdnIpaStatusRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeUserDcdnIpaStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeUserDcdnIpaStatusRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeUserDcdnIpaStatusRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeUserDcdnIpaStatusRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeUserDcdnIpaStatusResult.cc b/dcdn/src/model/DescribeUserDcdnIpaStatusResult.cc index f79b09fcd..d13f540c4 100644 --- a/dcdn/src/model/DescribeUserDcdnIpaStatusResult.cc +++ b/dcdn/src/model/DescribeUserDcdnIpaStatusResult.cc @@ -39,14 +39,14 @@ void DescribeUserDcdnIpaStatusResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Enabled"].isNull()) - enabled_ = value["Enabled"].asString() == "true"; - if(!value["OnService"].isNull()) - onService_ = value["OnService"].asString() == "true"; if(!value["InDebt"].isNull()) inDebt_ = value["InDebt"].asString() == "true"; + if(!value["OnService"].isNull()) + onService_ = value["OnService"].asString() == "true"; if(!value["InDebtOverdue"].isNull()) inDebtOverdue_ = value["InDebtOverdue"].asString() == "true"; + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; } diff --git a/dcdn/src/model/DescribeUserDcdnStatusRequest.cc b/dcdn/src/model/DescribeUserDcdnStatusRequest.cc index 1eff00642..6b16f7320 100644 --- a/dcdn/src/model/DescribeUserDcdnStatusRequest.cc +++ b/dcdn/src/model/DescribeUserDcdnStatusRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeUserDcdnStatusRequest; - -DescribeUserDcdnStatusRequest::DescribeUserDcdnStatusRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserDcdnStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserDcdnStatusRequest::~DescribeUserDcdnStatusRequest() -{} - -long DescribeUserDcdnStatusRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeUserDcdnStatusRequest; + +DescribeUserDcdnStatusRequest::DescribeUserDcdnStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserDcdnStatus") { + setMethod(HttpRequest::Method::Post); } -void DescribeUserDcdnStatusRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeUserDcdnStatusRequest::~DescribeUserDcdnStatusRequest() {} + +long DescribeUserDcdnStatusRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUserDcdnStatusRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeUserDcdnStatusRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +void DescribeUserDcdnStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeUserDcdnStatusResult.cc b/dcdn/src/model/DescribeUserDcdnStatusResult.cc index 57635f89e..3c772a536 100644 --- a/dcdn/src/model/DescribeUserDcdnStatusResult.cc +++ b/dcdn/src/model/DescribeUserDcdnStatusResult.cc @@ -39,14 +39,14 @@ void DescribeUserDcdnStatusResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Enabled"].isNull()) - enabled_ = value["Enabled"].asString() == "true"; - if(!value["OnService"].isNull()) - onService_ = value["OnService"].asString() == "true"; if(!value["InDebt"].isNull()) inDebt_ = value["InDebt"].asString() == "true"; + if(!value["OnService"].isNull()) + onService_ = value["OnService"].asString() == "true"; if(!value["InDebtOverdue"].isNull()) inDebtOverdue_ = value["InDebtOverdue"].asString() == "true"; + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; } diff --git a/dcdn/src/model/DescribeUserErStatusRequest.cc b/dcdn/src/model/DescribeUserErStatusRequest.cc index 0e8b5b108..3307deeb9 100644 --- a/dcdn/src/model/DescribeUserErStatusRequest.cc +++ b/dcdn/src/model/DescribeUserErStatusRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::DescribeUserErStatusRequest; - -DescribeUserErStatusRequest::DescribeUserErStatusRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserErStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserErStatusRequest::~DescribeUserErStatusRequest() -{} - -long DescribeUserErStatusRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeUserErStatusRequest; + +DescribeUserErStatusRequest::DescribeUserErStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserErStatus") { + setMethod(HttpRequest::Method::Post); } -void DescribeUserErStatusRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeUserErStatusRequest::~DescribeUserErStatusRequest() {} + +long DescribeUserErStatusRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUserErStatusRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeUserErStatusRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +void DescribeUserErStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/DescribeUserErStatusResult.cc b/dcdn/src/model/DescribeUserErStatusResult.cc index 49f5f9b4e..8704fd0e1 100644 --- a/dcdn/src/model/DescribeUserErStatusResult.cc +++ b/dcdn/src/model/DescribeUserErStatusResult.cc @@ -39,14 +39,14 @@ void DescribeUserErStatusResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Enabled"].isNull()) - enabled_ = value["Enabled"].asString() == "true"; - if(!value["OnService"].isNull()) - onService_ = value["OnService"].asString() == "true"; if(!value["InDebt"].isNull()) inDebt_ = value["InDebt"].asString() == "true"; + if(!value["OnService"].isNull()) + onService_ = value["OnService"].asString() == "true"; if(!value["InDebtOverdue"].isNull()) inDebtOverdue_ = value["InDebtOverdue"].asString() == "true"; + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; } diff --git a/dcdn/src/model/DescribeUserLogserviceStatusRequest.cc b/dcdn/src/model/DescribeUserLogserviceStatusRequest.cc index 604d0a2d1..a30a189d9 100644 --- a/dcdn/src/model/DescribeUserLogserviceStatusRequest.cc +++ b/dcdn/src/model/DescribeUserLogserviceStatusRequest.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::Dcdn::Model::DescribeUserLogserviceStatusRequest; - -DescribeUserLogserviceStatusRequest::DescribeUserLogserviceStatusRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserLogserviceStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUserLogserviceStatusRequest::~DescribeUserLogserviceStatusRequest() -{} - -long DescribeUserLogserviceStatusRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeUserLogserviceStatusRequest; + +DescribeUserLogserviceStatusRequest::DescribeUserLogserviceStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "DescribeUserLogserviceStatus") { + setMethod(HttpRequest::Method::Post); } -void DescribeUserLogserviceStatusRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeUserLogserviceStatusRequest::~DescribeUserLogserviceStatusRequest() {} + +long DescribeUserLogserviceStatusRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUserLogserviceStatusRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeUserLogserviceStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeUserLogserviceStatusRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeUserLogserviceStatusRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeUserLogserviceStatusRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/DescribeUserLogserviceStatusResult.cc b/dcdn/src/model/DescribeUserLogserviceStatusResult.cc index 7f5b64abf..fe6ecec7b 100644 --- a/dcdn/src/model/DescribeUserLogserviceStatusResult.cc +++ b/dcdn/src/model/DescribeUserLogserviceStatusResult.cc @@ -39,14 +39,14 @@ void DescribeUserLogserviceStatusResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Enabled"].isNull()) - enabled_ = value["Enabled"].asString() == "true"; - if(!value["OnService"].isNull()) - onService_ = value["OnService"].asString() == "true"; if(!value["InDebt"].isNull()) inDebt_ = value["InDebt"].asString() == "true"; + if(!value["OnService"].isNull()) + onService_ = value["OnService"].asString() == "true"; if(!value["InDebtOverdue"].isNull()) inDebtOverdue_ = value["InDebtOverdue"].asString() == "true"; + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; } diff --git a/dcdn/src/model/EditRoutineConfRequest.cc b/dcdn/src/model/EditRoutineConfRequest.cc index b7062db32..ac96c1331 100644 --- a/dcdn/src/model/EditRoutineConfRequest.cc +++ b/dcdn/src/model/EditRoutineConfRequest.cc @@ -1,73 +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::Dcdn::Model::EditRoutineConfRequest; - -EditRoutineConfRequest::EditRoutineConfRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "EditRoutineConf") -{ - setMethod(HttpRequest::Method::Post); -} - -EditRoutineConfRequest::~EditRoutineConfRequest() -{} - -std::string EditRoutineConfRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::EditRoutineConfRequest; + +EditRoutineConfRequest::EditRoutineConfRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "EditRoutineConf") { + setMethod(HttpRequest::Method::Post); } -void EditRoutineConfRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +EditRoutineConfRequest::~EditRoutineConfRequest() {} + +std::string EditRoutineConfRequest::getEnvConf() const { + return envConf_; } -std::string EditRoutineConfRequest::getEnvConf()const -{ - return envConf_; +void EditRoutineConfRequest::setEnvConf(const std::string &envConf) { + envConf_ = envConf; + setBodyParameter(std::string("EnvConf"), envConf); } -void EditRoutineConfRequest::setEnvConf(const std::string& envConf) -{ - envConf_ = envConf; - setBodyParameter("EnvConf", envConf); +std::string EditRoutineConfRequest::getName() const { + return name_; } -long EditRoutineConfRequest::getOwnerId()const -{ - return ownerId_; +void EditRoutineConfRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void EditRoutineConfRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string EditRoutineConfRequest::getDescription() const { + return description_; } -std::string EditRoutineConfRequest::getName()const -{ - return name_; -} - -void EditRoutineConfRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void EditRoutineConfRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } diff --git a/dcdn/src/model/GetDcdnKvRequest.cc b/dcdn/src/model/GetDcdnKvRequest.cc new file mode 100644 index 000000000..ac49126c0 --- /dev/null +++ b/dcdn/src/model/GetDcdnKvRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::GetDcdnKvRequest; + +GetDcdnKvRequest::GetDcdnKvRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "GetDcdnKv") { + setMethod(HttpRequest::Method::Get); +} + +GetDcdnKvRequest::~GetDcdnKvRequest() {} + +std::string GetDcdnKvRequest::get_Namespace() const { + return _namespace_; +} + +void GetDcdnKvRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +std::string GetDcdnKvRequest::getKey() const { + return key_; +} + +void GetDcdnKvRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/dcdn/src/model/GetDcdnKvResult.cc b/dcdn/src/model/GetDcdnKvResult.cc new file mode 100644 index 000000000..6fb85a964 --- /dev/null +++ b/dcdn/src/model/GetDcdnKvResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +GetDcdnKvResult::GetDcdnKvResult() : + ServiceResult() +{} + +GetDcdnKvResult::GetDcdnKvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDcdnKvResult::~GetDcdnKvResult() +{} + +void GetDcdnKvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Value"].isNull()) + value_ = value["Value"].asString(); + +} + +std::string GetDcdnKvResult::getValue()const +{ + return value_; +} + diff --git a/dcdn/src/model/GetDcdnKvStatusRequest.cc b/dcdn/src/model/GetDcdnKvStatusRequest.cc new file mode 100644 index 000000000..0e0a945ac --- /dev/null +++ b/dcdn/src/model/GetDcdnKvStatusRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::GetDcdnKvStatusRequest; + +GetDcdnKvStatusRequest::GetDcdnKvStatusRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "GetDcdnKvStatus") { + setMethod(HttpRequest::Method::Post); +} + +GetDcdnKvStatusRequest::~GetDcdnKvStatusRequest() {} + +std::string GetDcdnKvStatusRequest::get_Namespace() const { + return _namespace_; +} + +void GetDcdnKvStatusRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +std::string GetDcdnKvStatusRequest::getKey() const { + return key_; +} + +void GetDcdnKvStatusRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/dcdn/src/model/GetDcdnKvStatusResult.cc b/dcdn/src/model/GetDcdnKvStatusResult.cc new file mode 100644 index 000000000..b0627235e --- /dev/null +++ b/dcdn/src/model/GetDcdnKvStatusResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +GetDcdnKvStatusResult::GetDcdnKvStatusResult() : + ServiceResult() +{} + +GetDcdnKvStatusResult::GetDcdnKvStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDcdnKvStatusResult::~GetDcdnKvStatusResult() +{} + +void GetDcdnKvStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Complete"].isNull()) + complete_ = value["Complete"].asString() == "true"; + if(!value["Expire"].isNull()) + expire_ = value["Expire"].asString(); + +} + +std::string GetDcdnKvStatusResult::getExpire()const +{ + return expire_; +} + +bool GetDcdnKvStatusResult::getComplete()const +{ + return complete_; +} + diff --git a/dcdn/src/model/ListDcdnEsTemplateInfoRequest.cc b/dcdn/src/model/ListDcdnEsTemplateInfoRequest.cc deleted file mode 100644 index 8df8bab0b..000000000 --- a/dcdn/src/model/ListDcdnEsTemplateInfoRequest.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::Dcdn::Model::ListDcdnEsTemplateInfoRequest; - -ListDcdnEsTemplateInfoRequest::ListDcdnEsTemplateInfoRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "ListDcdnEsTemplateInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -ListDcdnEsTemplateInfoRequest::~ListDcdnEsTemplateInfoRequest() -{} - -std::string ListDcdnEsTemplateInfoRequest::getLanguage()const -{ - return language_; -} - -void ListDcdnEsTemplateInfoRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); -} - -int ListDcdnEsTemplateInfoRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDcdnEsTemplateInfoRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListDcdnEsTemplateInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDcdnEsTemplateInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListDcdnEsTemplateInfoRequest::getOp()const -{ - return op_; -} - -void ListDcdnEsTemplateInfoRequest::setOp(const std::string& op) -{ - op_ = op; - setParameter("Op", op); -} - -long ListDcdnEsTemplateInfoRequest::getOwnerId()const -{ - return ownerId_; -} - -void ListDcdnEsTemplateInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - diff --git a/dcdn/src/model/ListDcdnKvRequest.cc b/dcdn/src/model/ListDcdnKvRequest.cc new file mode 100644 index 000000000..29592f8a9 --- /dev/null +++ b/dcdn/src/model/ListDcdnKvRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::ListDcdnKvRequest; + +ListDcdnKvRequest::ListDcdnKvRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ListDcdnKv") { + setMethod(HttpRequest::Method::Get); +} + +ListDcdnKvRequest::~ListDcdnKvRequest() {} + +std::string ListDcdnKvRequest::getPrefix() const { + return prefix_; +} + +void ListDcdnKvRequest::setPrefix(const std::string &prefix) { + prefix_ = prefix; + setParameter(std::string("Prefix"), prefix); +} + +std::string ListDcdnKvRequest::get_Namespace() const { + return _namespace_; +} + +void ListDcdnKvRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +int ListDcdnKvRequest::getPageSize() const { + return pageSize_; +} + +void ListDcdnKvRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int ListDcdnKvRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDcdnKvRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dcdn/src/model/ListDcdnKvResult.cc b/dcdn/src/model/ListDcdnKvResult.cc new file mode 100644 index 000000000..8d17e7c5a --- /dev/null +++ b/dcdn/src/model/ListDcdnKvResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +ListDcdnKvResult::ListDcdnKvResult() : + ServiceResult() +{} + +ListDcdnKvResult::ListDcdnKvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDcdnKvResult::~ListDcdnKvResult() +{} + +void ListDcdnKvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allKeysNode = value["Keys"]["Key"]; + for (auto valueKeysKey : allKeysNode) + { + Key keysObject; + if(!valueKeysKey["Name"].isNull()) + keysObject.name = valueKeysKey["Name"].asString(); + if(!valueKeysKey["UpdateTime"].isNull()) + keysObject.updateTime = valueKeysKey["UpdateTime"].asString(); + keys_.push_back(keysObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListDcdnKvResult::getTotalCount()const +{ + return totalCount_; +} + +int ListDcdnKvResult::getPageSize()const +{ + return pageSize_; +} + +int ListDcdnKvResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListDcdnKvResult::getKeys()const +{ + return keys_; +} + diff --git a/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc index b7a58221a..ba09ee729 100644 --- a/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc +++ b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc @@ -1,84 +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::Dcdn::Model::ListDcdnRealTimeDeliveryProjectRequest; - -ListDcdnRealTimeDeliveryProjectRequest::ListDcdnRealTimeDeliveryProjectRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "ListDcdnRealTimeDeliveryProject") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDcdnRealTimeDeliveryProjectRequest::~ListDcdnRealTimeDeliveryProjectRequest() -{} - -int ListDcdnRealTimeDeliveryProjectRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::ListDcdnRealTimeDeliveryProjectRequest; + +ListDcdnRealTimeDeliveryProjectRequest::ListDcdnRealTimeDeliveryProjectRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ListDcdnRealTimeDeliveryProject") { + setMethod(HttpRequest::Method::Post); } -void ListDcdnRealTimeDeliveryProjectRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListDcdnRealTimeDeliveryProjectRequest::~ListDcdnRealTimeDeliveryProjectRequest() {} + +std::string ListDcdnRealTimeDeliveryProjectRequest::getDomainName() const { + return domainName_; } -std::string ListDcdnRealTimeDeliveryProjectRequest::getBusinessType()const -{ - return businessType_; +void ListDcdnRealTimeDeliveryProjectRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ListDcdnRealTimeDeliveryProjectRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setParameter("BusinessType", businessType); +int ListDcdnRealTimeDeliveryProjectRequest::getPageSize() const { + return pageSize_; } -int ListDcdnRealTimeDeliveryProjectRequest::getPageSize()const -{ - return pageSize_; +void ListDcdnRealTimeDeliveryProjectRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDcdnRealTimeDeliveryProjectRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListDcdnRealTimeDeliveryProjectRequest::getPageNumber() const { + return pageNumber_; } -std::string ListDcdnRealTimeDeliveryProjectRequest::getDomainName()const -{ - return domainName_; +void ListDcdnRealTimeDeliveryProjectRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListDcdnRealTimeDeliveryProjectRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ListDcdnRealTimeDeliveryProjectRequest::getBusinessType() const { + return businessType_; } -long ListDcdnRealTimeDeliveryProjectRequest::getOwnerId()const -{ - return ownerId_; -} - -void ListDcdnRealTimeDeliveryProjectRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void ListDcdnRealTimeDeliveryProjectRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setParameter(std::string("BusinessType"), businessType); } diff --git a/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc index 374dd47bb..c197a12a0 100644 --- a/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc +++ b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc @@ -43,26 +43,26 @@ void ListDcdnRealTimeDeliveryProjectResult::parse(const std::string &payload) for (auto valueContentProjects : allContentNode) { Projects contentObject; - if(!valueContentProjects["ProjectName"].isNull()) - contentObject.projectName = valueContentProjects["ProjectName"].asString(); if(!valueContentProjects["Type"].isNull()) contentObject.type = valueContentProjects["Type"].asString(); - if(!valueContentProjects["DomainName"].isNull()) - contentObject.domainName = valueContentProjects["DomainName"].asString(); - if(!valueContentProjects["FieldName"].isNull()) - contentObject.fieldName = valueContentProjects["FieldName"].asString(); - if(!valueContentProjects["SamplingRate"].isNull()) - contentObject.samplingRate = std::stof(valueContentProjects["SamplingRate"].asString()); - if(!valueContentProjects["DataCenter"].isNull()) - contentObject.dataCenter = valueContentProjects["DataCenter"].asString(); - if(!valueContentProjects["SLSRegion"].isNull()) - contentObject.sLSRegion = valueContentProjects["SLSRegion"].asString(); - if(!valueContentProjects["SLSProject"].isNull()) - contentObject.sLSProject = valueContentProjects["SLSProject"].asString(); if(!valueContentProjects["SLSLogStore"].isNull()) contentObject.sLSLogStore = valueContentProjects["SLSLogStore"].asString(); + if(!valueContentProjects["DataCenter"].isNull()) + contentObject.dataCenter = valueContentProjects["DataCenter"].asString(); + if(!valueContentProjects["FieldName"].isNull()) + contentObject.fieldName = valueContentProjects["FieldName"].asString(); + if(!valueContentProjects["ProjectName"].isNull()) + contentObject.projectName = valueContentProjects["ProjectName"].asString(); + if(!valueContentProjects["SamplingRate"].isNull()) + contentObject.samplingRate = std::stof(valueContentProjects["SamplingRate"].asString()); + if(!valueContentProjects["SLSProject"].isNull()) + contentObject.sLSProject = valueContentProjects["SLSProject"].asString(); + if(!valueContentProjects["DomainName"].isNull()) + contentObject.domainName = valueContentProjects["DomainName"].asString(); if(!valueContentProjects["BusinessType"].isNull()) contentObject.businessType = valueContentProjects["BusinessType"].asString(); + if(!valueContentProjects["SLSRegion"].isNull()) + contentObject.sLSRegion = valueContentProjects["SLSRegion"].asString(); content_.push_back(contentObject); } if(!value["TotalCount"].isNull()) diff --git a/dcdn/src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc b/dcdn/src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc index 8f5b24295..e36f21dee 100644 --- a/dcdn/src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc +++ b/dcdn/src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc @@ -1,62 +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::Dcdn::Model::ModifyDCdnDomainSchdmByPropertyRequest; - -ModifyDCdnDomainSchdmByPropertyRequest::ModifyDCdnDomainSchdmByPropertyRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "ModifyDCdnDomainSchdmByProperty") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyDCdnDomainSchdmByPropertyRequest::~ModifyDCdnDomainSchdmByPropertyRequest() -{} - -std::string ModifyDCdnDomainSchdmByPropertyRequest::getProperty()const -{ - return property_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::ModifyDCdnDomainSchdmByPropertyRequest; + +ModifyDCdnDomainSchdmByPropertyRequest::ModifyDCdnDomainSchdmByPropertyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ModifyDCdnDomainSchdmByProperty") { + setMethod(HttpRequest::Method::Post); } -void ModifyDCdnDomainSchdmByPropertyRequest::setProperty(const std::string& property) -{ - property_ = property; - setParameter("Property", property); +ModifyDCdnDomainSchdmByPropertyRequest::~ModifyDCdnDomainSchdmByPropertyRequest() {} + +std::string ModifyDCdnDomainSchdmByPropertyRequest::getDomainName() const { + return domainName_; } -std::string ModifyDCdnDomainSchdmByPropertyRequest::getDomainName()const -{ - return domainName_; +void ModifyDCdnDomainSchdmByPropertyRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ModifyDCdnDomainSchdmByPropertyRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ModifyDCdnDomainSchdmByPropertyRequest::getProperty() const { + return property_; } -long ModifyDCdnDomainSchdmByPropertyRequest::getOwnerId()const -{ - return ownerId_; -} - -void ModifyDCdnDomainSchdmByPropertyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void ModifyDCdnDomainSchdmByPropertyRequest::setProperty(const std::string &property) { + property_ = property; + setParameter(std::string("Property"), property); } diff --git a/dcdn/src/model/ModifyDcdnWafGroupRequest.cc b/dcdn/src/model/ModifyDcdnWafGroupRequest.cc new file mode 100644 index 000000000..2085d50b2 --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafGroupRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::ModifyDcdnWafGroupRequest; + +ModifyDcdnWafGroupRequest::ModifyDcdnWafGroupRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ModifyDcdnWafGroup") { + setMethod(HttpRequest::Method::Post); +} + +ModifyDcdnWafGroupRequest::~ModifyDcdnWafGroupRequest() {} + +std::string ModifyDcdnWafGroupRequest::getName() const { + return name_; +} + +void ModifyDcdnWafGroupRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); +} + +std::string ModifyDcdnWafGroupRequest::getRules() const { + return rules_; +} + +void ModifyDcdnWafGroupRequest::setRules(const std::string &rules) { + rules_ = rules; + setBodyParameter(std::string("Rules"), rules); +} + +long ModifyDcdnWafGroupRequest::getId() const { + return id_; +} + +void ModifyDcdnWafGroupRequest::setId(long id) { + id_ = id; + setBodyParameter(std::string("Id"), std::to_string(id)); +} + diff --git a/dcdn/src/model/ModifyDcdnWafGroupResult.cc b/dcdn/src/model/ModifyDcdnWafGroupResult.cc new file mode 100644 index 000000000..70d783c45 --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +ModifyDcdnWafGroupResult::ModifyDcdnWafGroupResult() : + ServiceResult() +{} + +ModifyDcdnWafGroupResult::ModifyDcdnWafGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDcdnWafGroupResult::~ModifyDcdnWafGroupResult() +{} + +void ModifyDcdnWafGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/ModifyDcdnWafPolicyDomainsRequest.cc b/dcdn/src/model/ModifyDcdnWafPolicyDomainsRequest.cc new file mode 100644 index 000000000..5cc9d915a --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafPolicyDomainsRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::ModifyDcdnWafPolicyDomainsRequest; + +ModifyDcdnWafPolicyDomainsRequest::ModifyDcdnWafPolicyDomainsRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ModifyDcdnWafPolicyDomains") { + setMethod(HttpRequest::Method::Post); +} + +ModifyDcdnWafPolicyDomainsRequest::~ModifyDcdnWafPolicyDomainsRequest() {} + +long ModifyDcdnWafPolicyDomainsRequest::getPolicyId() const { + return policyId_; +} + +void ModifyDcdnWafPolicyDomainsRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setBodyParameter(std::string("PolicyId"), std::to_string(policyId)); +} + +int ModifyDcdnWafPolicyDomainsRequest::getMethod() const { + return method_; +} + +void ModifyDcdnWafPolicyDomainsRequest::setMethod(int method) { + method_ = method; + setBodyParameter(std::string("Method"), std::to_string(method)); +} + +std::string ModifyDcdnWafPolicyDomainsRequest::getBindDomains() const { + return bindDomains_; +} + +void ModifyDcdnWafPolicyDomainsRequest::setBindDomains(const std::string &bindDomains) { + bindDomains_ = bindDomains; + setBodyParameter(std::string("BindDomains"), bindDomains); +} + +std::string ModifyDcdnWafPolicyDomainsRequest::getUnbindDomains() const { + return unbindDomains_; +} + +void ModifyDcdnWafPolicyDomainsRequest::setUnbindDomains(const std::string &unbindDomains) { + unbindDomains_ = unbindDomains; + setBodyParameter(std::string("UnbindDomains"), unbindDomains); +} + diff --git a/dcdn/src/model/ModifyDcdnWafPolicyDomainsResult.cc b/dcdn/src/model/ModifyDcdnWafPolicyDomainsResult.cc new file mode 100644 index 000000000..31915f71e --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafPolicyDomainsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +ModifyDcdnWafPolicyDomainsResult::ModifyDcdnWafPolicyDomainsResult() : + ServiceResult() +{} + +ModifyDcdnWafPolicyDomainsResult::ModifyDcdnWafPolicyDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDcdnWafPolicyDomainsResult::~ModifyDcdnWafPolicyDomainsResult() +{} + +void ModifyDcdnWafPolicyDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/ModifyDcdnWafPolicyRequest.cc b/dcdn/src/model/ModifyDcdnWafPolicyRequest.cc new file mode 100644 index 000000000..c7ae5340b --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafPolicyRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::ModifyDcdnWafPolicyRequest; + +ModifyDcdnWafPolicyRequest::ModifyDcdnWafPolicyRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ModifyDcdnWafPolicy") { + setMethod(HttpRequest::Method::Post); +} + +ModifyDcdnWafPolicyRequest::~ModifyDcdnWafPolicyRequest() {} + +long ModifyDcdnWafPolicyRequest::getPolicyId() const { + return policyId_; +} + +void ModifyDcdnWafPolicyRequest::setPolicyId(long policyId) { + policyId_ = policyId; + setBodyParameter(std::string("PolicyId"), std::to_string(policyId)); +} + +std::string ModifyDcdnWafPolicyRequest::getPolicyStatus() const { + return policyStatus_; +} + +void ModifyDcdnWafPolicyRequest::setPolicyStatus(const std::string &policyStatus) { + policyStatus_ = policyStatus; + setBodyParameter(std::string("PolicyStatus"), policyStatus); +} + +std::string ModifyDcdnWafPolicyRequest::getPolicyName() const { + return policyName_; +} + +void ModifyDcdnWafPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setBodyParameter(std::string("PolicyName"), policyName); +} + diff --git a/dcdn/src/model/ModifyDcdnWafPolicyResult.cc b/dcdn/src/model/ModifyDcdnWafPolicyResult.cc new file mode 100644 index 000000000..75b4c339e --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafPolicyResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +ModifyDcdnWafPolicyResult::ModifyDcdnWafPolicyResult() : + ServiceResult() +{} + +ModifyDcdnWafPolicyResult::ModifyDcdnWafPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDcdnWafPolicyResult::~ModifyDcdnWafPolicyResult() +{} + +void ModifyDcdnWafPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/ModifyDcdnWafRuleRequest.cc b/dcdn/src/model/ModifyDcdnWafRuleRequest.cc new file mode 100644 index 000000000..44e8b4bcd --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafRuleRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::ModifyDcdnWafRuleRequest; + +ModifyDcdnWafRuleRequest::ModifyDcdnWafRuleRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "ModifyDcdnWafRule") { + setMethod(HttpRequest::Method::Post); +} + +ModifyDcdnWafRuleRequest::~ModifyDcdnWafRuleRequest() {} + +std::string ModifyDcdnWafRuleRequest::getRuleConfig() const { + return ruleConfig_; +} + +void ModifyDcdnWafRuleRequest::setRuleConfig(const std::string &ruleConfig) { + ruleConfig_ = ruleConfig; + setBodyParameter(std::string("RuleConfig"), ruleConfig); +} + +std::string ModifyDcdnWafRuleRequest::getRuleStatus() const { + return ruleStatus_; +} + +void ModifyDcdnWafRuleRequest::setRuleStatus(const std::string &ruleStatus) { + ruleStatus_ = ruleStatus; + setBodyParameter(std::string("RuleStatus"), ruleStatus); +} + +std::string ModifyDcdnWafRuleRequest::getRuleName() const { + return ruleName_; +} + +void ModifyDcdnWafRuleRequest::setRuleName(const std::string &ruleName) { + ruleName_ = ruleName; + setBodyParameter(std::string("RuleName"), ruleName); +} + +long ModifyDcdnWafRuleRequest::getRuleId() const { + return ruleId_; +} + +void ModifyDcdnWafRuleRequest::setRuleId(long ruleId) { + ruleId_ = ruleId; + setBodyParameter(std::string("RuleId"), std::to_string(ruleId)); +} + diff --git a/dcdn/src/model/ModifyDcdnWafRuleResult.cc b/dcdn/src/model/ModifyDcdnWafRuleResult.cc new file mode 100644 index 000000000..3d6fbb303 --- /dev/null +++ b/dcdn/src/model/ModifyDcdnWafRuleResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +ModifyDcdnWafRuleResult::ModifyDcdnWafRuleResult() : + ServiceResult() +{} + +ModifyDcdnWafRuleResult::ModifyDcdnWafRuleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDcdnWafRuleResult::~ModifyDcdnWafRuleResult() +{} + +void ModifyDcdnWafRuleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/OpenDcdnServiceRequest.cc b/dcdn/src/model/OpenDcdnServiceRequest.cc index f41bb11b1..dab4b6742 100644 --- a/dcdn/src/model/OpenDcdnServiceRequest.cc +++ b/dcdn/src/model/OpenDcdnServiceRequest.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::Dcdn::Model::OpenDcdnServiceRequest; - -OpenDcdnServiceRequest::OpenDcdnServiceRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "OpenDcdnService") -{ - setMethod(HttpRequest::Method::Post); -} - -OpenDcdnServiceRequest::~OpenDcdnServiceRequest() -{} - -std::string OpenDcdnServiceRequest::getWebsocketBillType()const -{ - return websocketBillType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::OpenDcdnServiceRequest; + +OpenDcdnServiceRequest::OpenDcdnServiceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "OpenDcdnService") { + setMethod(HttpRequest::Method::Post); } -void OpenDcdnServiceRequest::setWebsocketBillType(const std::string& websocketBillType) -{ - websocketBillType_ = websocketBillType; - setParameter("WebsocketBillType", websocketBillType); +OpenDcdnServiceRequest::~OpenDcdnServiceRequest() {} + +std::string OpenDcdnServiceRequest::getWebsocketBillType() const { + return websocketBillType_; } -std::string OpenDcdnServiceRequest::getBillType()const -{ - return billType_; +void OpenDcdnServiceRequest::setWebsocketBillType(const std::string &websocketBillType) { + websocketBillType_ = websocketBillType; + setParameter(std::string("WebsocketBillType"), websocketBillType); } -void OpenDcdnServiceRequest::setBillType(const std::string& billType) -{ - billType_ = billType; - setParameter("BillType", billType); +std::string OpenDcdnServiceRequest::getBillType() const { + return billType_; } -std::string OpenDcdnServiceRequest::getSecurityToken()const -{ - return securityToken_; +void OpenDcdnServiceRequest::setBillType(const std::string &billType) { + billType_ = billType; + setParameter(std::string("BillType"), billType); } -void OpenDcdnServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string OpenDcdnServiceRequest::getSecurityToken() const { + return securityToken_; } -long OpenDcdnServiceRequest::getOwnerId()const -{ - return ownerId_; +void OpenDcdnServiceRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void OpenDcdnServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long OpenDcdnServiceRequest::getOwnerId() const { + return ownerId_; +} + +void OpenDcdnServiceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/PreloadDcdnObjectCachesRequest.cc b/dcdn/src/model/PreloadDcdnObjectCachesRequest.cc index 8ce258002..147a8ccef 100644 --- a/dcdn/src/model/PreloadDcdnObjectCachesRequest.cc +++ b/dcdn/src/model/PreloadDcdnObjectCachesRequest.cc @@ -1,73 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::PreloadDcdnObjectCachesRequest; - -PreloadDcdnObjectCachesRequest::PreloadDcdnObjectCachesRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "PreloadDcdnObjectCaches") -{ - setMethod(HttpRequest::Method::Post); -} - -PreloadDcdnObjectCachesRequest::~PreloadDcdnObjectCachesRequest() -{} - -std::string PreloadDcdnObjectCachesRequest::getArea()const -{ - return area_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::PreloadDcdnObjectCachesRequest; + +PreloadDcdnObjectCachesRequest::PreloadDcdnObjectCachesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "PreloadDcdnObjectCaches") { + setMethod(HttpRequest::Method::Post); } -void PreloadDcdnObjectCachesRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); +PreloadDcdnObjectCachesRequest::~PreloadDcdnObjectCachesRequest() {} + +std::string PreloadDcdnObjectCachesRequest::getObjectPath() const { + return objectPath_; } -std::string PreloadDcdnObjectCachesRequest::getObjectPath()const -{ - return objectPath_; +void PreloadDcdnObjectCachesRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void PreloadDcdnObjectCachesRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +std::string PreloadDcdnObjectCachesRequest::getSecurityToken() const { + return securityToken_; } -long PreloadDcdnObjectCachesRequest::getOwnerId()const -{ - return ownerId_; +void PreloadDcdnObjectCachesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void PreloadDcdnObjectCachesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +bool PreloadDcdnObjectCachesRequest::getL2Preload() const { + return l2Preload_; } -std::string PreloadDcdnObjectCachesRequest::getSecurityToken()const -{ - return securityToken_; +void PreloadDcdnObjectCachesRequest::setL2Preload(bool l2Preload) { + l2Preload_ = l2Preload; + setParameter(std::string("L2Preload"), l2Preload ? "true" : "false"); } -void PreloadDcdnObjectCachesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string PreloadDcdnObjectCachesRequest::getArea() const { + return area_; +} + +void PreloadDcdnObjectCachesRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); +} + +std::string PreloadDcdnObjectCachesRequest::getWithHeader() const { + return withHeader_; +} + +void PreloadDcdnObjectCachesRequest::setWithHeader(const std::string &withHeader) { + withHeader_ = withHeader; + setParameter(std::string("WithHeader"), withHeader); +} + +long PreloadDcdnObjectCachesRequest::getOwnerId() const { + return ownerId_; +} + +void PreloadDcdnObjectCachesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc b/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc index 3112f69d6..b31146875 100644 --- a/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc +++ b/dcdn/src/model/PublishDcdnStagingConfigToProductionRequest.cc @@ -1,62 +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::Dcdn::Model::PublishDcdnStagingConfigToProductionRequest; - -PublishDcdnStagingConfigToProductionRequest::PublishDcdnStagingConfigToProductionRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "PublishDcdnStagingConfigToProduction") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishDcdnStagingConfigToProductionRequest::~PublishDcdnStagingConfigToProductionRequest() -{} - -std::string PublishDcdnStagingConfigToProductionRequest::getFunctionName()const -{ - return functionName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::PublishDcdnStagingConfigToProductionRequest; + +PublishDcdnStagingConfigToProductionRequest::PublishDcdnStagingConfigToProductionRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "PublishDcdnStagingConfigToProduction") { + setMethod(HttpRequest::Method::Post); } -void PublishDcdnStagingConfigToProductionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); +PublishDcdnStagingConfigToProductionRequest::~PublishDcdnStagingConfigToProductionRequest() {} + +std::string PublishDcdnStagingConfigToProductionRequest::getFunctionName() const { + return functionName_; } -std::string PublishDcdnStagingConfigToProductionRequest::getDomainName()const -{ - return domainName_; +void PublishDcdnStagingConfigToProductionRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); } -void PublishDcdnStagingConfigToProductionRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string PublishDcdnStagingConfigToProductionRequest::getDomainName() const { + return domainName_; } -long PublishDcdnStagingConfigToProductionRequest::getOwnerId()const -{ - return ownerId_; -} - -void PublishDcdnStagingConfigToProductionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void PublishDcdnStagingConfigToProductionRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc b/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc index 2b9feaba1..2f6ea840b 100644 --- a/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc +++ b/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc @@ -1,73 +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::Dcdn::Model::PublishRoutineCodeRevisionRequest; - -PublishRoutineCodeRevisionRequest::PublishRoutineCodeRevisionRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "PublishRoutineCodeRevision") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishRoutineCodeRevisionRequest::~PublishRoutineCodeRevisionRequest() -{} - -std::string PublishRoutineCodeRevisionRequest::getSelectCodeRevision()const -{ - return selectCodeRevision_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::PublishRoutineCodeRevisionRequest; + +PublishRoutineCodeRevisionRequest::PublishRoutineCodeRevisionRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "PublishRoutineCodeRevision") { + setMethod(HttpRequest::Method::Post); } -void PublishRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string& selectCodeRevision) -{ - selectCodeRevision_ = selectCodeRevision; - setBodyParameter("SelectCodeRevision", selectCodeRevision); +PublishRoutineCodeRevisionRequest::~PublishRoutineCodeRevisionRequest() {} + +std::string PublishRoutineCodeRevisionRequest::getName() const { + return name_; } -std::string PublishRoutineCodeRevisionRequest::getEnvs()const -{ - return envs_; +void PublishRoutineCodeRevisionRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void PublishRoutineCodeRevisionRequest::setEnvs(const std::string& envs) -{ - envs_ = envs; - setBodyParameter("Envs", envs); +std::string PublishRoutineCodeRevisionRequest::getSelectCodeRevision() const { + return selectCodeRevision_; } -long PublishRoutineCodeRevisionRequest::getOwnerId()const -{ - return ownerId_; +void PublishRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string &selectCodeRevision) { + selectCodeRevision_ = selectCodeRevision; + setBodyParameter(std::string("SelectCodeRevision"), selectCodeRevision); } -void PublishRoutineCodeRevisionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string PublishRoutineCodeRevisionRequest::getEnvs() const { + return envs_; } -std::string PublishRoutineCodeRevisionRequest::getName()const -{ - return name_; -} - -void PublishRoutineCodeRevisionRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void PublishRoutineCodeRevisionRequest::setEnvs(const std::string &envs) { + envs_ = envs; + setBodyParameter(std::string("Envs"), envs); } diff --git a/dcdn/src/model/PutDcdnKvNamespaceRequest.cc b/dcdn/src/model/PutDcdnKvNamespaceRequest.cc new file mode 100644 index 000000000..55ca58e9c --- /dev/null +++ b/dcdn/src/model/PutDcdnKvNamespaceRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::PutDcdnKvNamespaceRequest; + +PutDcdnKvNamespaceRequest::PutDcdnKvNamespaceRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "PutDcdnKvNamespace") { + setMethod(HttpRequest::Method::Post); +} + +PutDcdnKvNamespaceRequest::~PutDcdnKvNamespaceRequest() {} + +std::string PutDcdnKvNamespaceRequest::get_Namespace() const { + return _namespace_; +} + +void PutDcdnKvNamespaceRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setBodyParameter(std::string("Namespace"), _namespace); +} + +std::string PutDcdnKvNamespaceRequest::getDescription() const { + return description_; +} + +void PutDcdnKvNamespaceRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); +} + diff --git a/dcdn/src/model/PutDcdnKvNamespaceResult.cc b/dcdn/src/model/PutDcdnKvNamespaceResult.cc new file mode 100644 index 000000000..6b3348cce --- /dev/null +++ b/dcdn/src/model/PutDcdnKvNamespaceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +PutDcdnKvNamespaceResult::PutDcdnKvNamespaceResult() : + ServiceResult() +{} + +PutDcdnKvNamespaceResult::PutDcdnKvNamespaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PutDcdnKvNamespaceResult::~PutDcdnKvNamespaceResult() +{} + +void PutDcdnKvNamespaceResult::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["Namespace"].isNull()) + _namespace_ = value["Namespace"].asString(); + if(!value["NamespaceId"].isNull()) + namespaceId_ = value["NamespaceId"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + +} + +std::string PutDcdnKvNamespaceResult::getStatus()const +{ + return status_; +} + +std::string PutDcdnKvNamespaceResult::getDescription()const +{ + return description_; +} + +std::string PutDcdnKvNamespaceResult::get_Namespace()const +{ + return _namespace_; +} + +std::string PutDcdnKvNamespaceResult::getNamespaceId()const +{ + return namespaceId_; +} + diff --git a/dcdn/src/model/PutDcdnKvRequest.cc b/dcdn/src/model/PutDcdnKvRequest.cc new file mode 100644 index 000000000..133f589e4 --- /dev/null +++ b/dcdn/src/model/PutDcdnKvRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::PutDcdnKvRequest; + +PutDcdnKvRequest::PutDcdnKvRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "PutDcdnKv") { + setMethod(HttpRequest::Method::Post); +} + +PutDcdnKvRequest::~PutDcdnKvRequest() {} + +long PutDcdnKvRequest::getExpirationTtl() const { + return expirationTtl_; +} + +void PutDcdnKvRequest::setExpirationTtl(long expirationTtl) { + expirationTtl_ = expirationTtl; + setParameter(std::string("ExpirationTtl"), std::to_string(expirationTtl)); +} + +std::string PutDcdnKvRequest::get_Namespace() const { + return _namespace_; +} + +void PutDcdnKvRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +long PutDcdnKvRequest::getExpiration() const { + return expiration_; +} + +void PutDcdnKvRequest::setExpiration(long expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), std::to_string(expiration)); +} + +std::string PutDcdnKvRequest::getValue() const { + return value_; +} + +void PutDcdnKvRequest::setValue(const std::string &value) { + value_ = value; + setBodyParameter(std::string("Value"), value); +} + +std::string PutDcdnKvRequest::getKey() const { + return key_; +} + +void PutDcdnKvRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + diff --git a/dcdn/src/model/PutDcdnKvResult.cc b/dcdn/src/model/PutDcdnKvResult.cc new file mode 100644 index 000000000..f526e061a --- /dev/null +++ b/dcdn/src/model/PutDcdnKvResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +PutDcdnKvResult::PutDcdnKvResult() : + ServiceResult() +{} + +PutDcdnKvResult::PutDcdnKvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PutDcdnKvResult::~PutDcdnKvResult() +{} + +void PutDcdnKvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Length"].isNull()) + length_ = std::stoi(value["Length"].asString()); + if(!value["Value"].isNull()) + value_ = value["Value"].asString(); + +} + +int PutDcdnKvResult::getLength()const +{ + return length_; +} + +std::string PutDcdnKvResult::getValue()const +{ + return value_; +} + diff --git a/dcdn/src/model/PutDcdnKvWithHighCapacityRequest.cc b/dcdn/src/model/PutDcdnKvWithHighCapacityRequest.cc new file mode 100644 index 000000000..693343128 --- /dev/null +++ b/dcdn/src/model/PutDcdnKvWithHighCapacityRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::PutDcdnKvWithHighCapacityRequest; + +PutDcdnKvWithHighCapacityRequest::PutDcdnKvWithHighCapacityRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "PutDcdnKvWithHighCapacity") { + setMethod(HttpRequest::Method::Post); +} + +PutDcdnKvWithHighCapacityRequest::~PutDcdnKvWithHighCapacityRequest() {} + +std::string PutDcdnKvWithHighCapacityRequest::get_Namespace() const { + return _namespace_; +} + +void PutDcdnKvWithHighCapacityRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); +} + +std::string PutDcdnKvWithHighCapacityRequest::getKey() const { + return key_; +} + +void PutDcdnKvWithHighCapacityRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); +} + +std::string PutDcdnKvWithHighCapacityRequest::getUrl() const { + return url_; +} + +void PutDcdnKvWithHighCapacityRequest::setUrl(const std::string &url) { + url_ = url; + setParameter(std::string("Url"), url); +} + diff --git a/dcdn/src/model/PutDcdnKvWithHighCapacityResult.cc b/dcdn/src/model/PutDcdnKvWithHighCapacityResult.cc new file mode 100644 index 000000000..86ec6b241 --- /dev/null +++ b/dcdn/src/model/PutDcdnKvWithHighCapacityResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +PutDcdnKvWithHighCapacityResult::PutDcdnKvWithHighCapacityResult() : + ServiceResult() +{} + +PutDcdnKvWithHighCapacityResult::PutDcdnKvWithHighCapacityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PutDcdnKvWithHighCapacityResult::~PutDcdnKvWithHighCapacityResult() +{} + +void PutDcdnKvWithHighCapacityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Length"].isNull()) + length_ = std::stoi(value["Length"].asString()); + if(!value["Value"].isNull()) + value_ = value["Value"].asString(); + +} + +int PutDcdnKvWithHighCapacityResult::getLength()const +{ + return length_; +} + +std::string PutDcdnKvWithHighCapacityResult::getValue()const +{ + return value_; +} + diff --git a/dcdn/src/model/RefreshDcdnObjectCacheByCacheTagRequest.cc b/dcdn/src/model/RefreshDcdnObjectCacheByCacheTagRequest.cc new file mode 100644 index 000000000..5636610fd --- /dev/null +++ b/dcdn/src/model/RefreshDcdnObjectCacheByCacheTagRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::RefreshDcdnObjectCacheByCacheTagRequest; + +RefreshDcdnObjectCacheByCacheTagRequest::RefreshDcdnObjectCacheByCacheTagRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "RefreshDcdnObjectCacheByCacheTag") { + setMethod(HttpRequest::Method::Post); +} + +RefreshDcdnObjectCacheByCacheTagRequest::~RefreshDcdnObjectCacheByCacheTagRequest() {} + +std::string RefreshDcdnObjectCacheByCacheTagRequest::getCacheTag() const { + return cacheTag_; +} + +void RefreshDcdnObjectCacheByCacheTagRequest::setCacheTag(const std::string &cacheTag) { + cacheTag_ = cacheTag; + setParameter(std::string("CacheTag"), cacheTag); +} + +std::string RefreshDcdnObjectCacheByCacheTagRequest::getDomainName() const { + return domainName_; +} + +void RefreshDcdnObjectCacheByCacheTagRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +bool RefreshDcdnObjectCacheByCacheTagRequest::getForce() const { + return force_; +} + +void RefreshDcdnObjectCacheByCacheTagRequest::setForce(bool force) { + force_ = force; + setParameter(std::string("Force"), force ? "true" : "false"); +} + diff --git a/dcdn/src/model/RefreshDcdnObjectCacheByCacheTagResult.cc b/dcdn/src/model/RefreshDcdnObjectCacheByCacheTagResult.cc new file mode 100644 index 000000000..712ce5a4f --- /dev/null +++ b/dcdn/src/model/RefreshDcdnObjectCacheByCacheTagResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +RefreshDcdnObjectCacheByCacheTagResult::RefreshDcdnObjectCacheByCacheTagResult() : + ServiceResult() +{} + +RefreshDcdnObjectCacheByCacheTagResult::RefreshDcdnObjectCacheByCacheTagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefreshDcdnObjectCacheByCacheTagResult::~RefreshDcdnObjectCacheByCacheTagResult() +{} + +void RefreshDcdnObjectCacheByCacheTagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RefreshTaskId"].isNull()) + refreshTaskId_ = value["RefreshTaskId"].asString(); + +} + +std::string RefreshDcdnObjectCacheByCacheTagResult::getRefreshTaskId()const +{ + return refreshTaskId_; +} + diff --git a/dcdn/src/model/RefreshDcdnObjectCachesRequest.cc b/dcdn/src/model/RefreshDcdnObjectCachesRequest.cc index 6513d1b92..7d17f3c17 100644 --- a/dcdn/src/model/RefreshDcdnObjectCachesRequest.cc +++ b/dcdn/src/model/RefreshDcdnObjectCachesRequest.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::Dcdn::Model::RefreshDcdnObjectCachesRequest; - -RefreshDcdnObjectCachesRequest::RefreshDcdnObjectCachesRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "RefreshDcdnObjectCaches") -{ - setMethod(HttpRequest::Method::Post); -} - -RefreshDcdnObjectCachesRequest::~RefreshDcdnObjectCachesRequest() -{} - -std::string RefreshDcdnObjectCachesRequest::getObjectPath()const -{ - return objectPath_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::RefreshDcdnObjectCachesRequest; + +RefreshDcdnObjectCachesRequest::RefreshDcdnObjectCachesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "RefreshDcdnObjectCaches") { + setMethod(HttpRequest::Method::Post); } -void RefreshDcdnObjectCachesRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +RefreshDcdnObjectCachesRequest::~RefreshDcdnObjectCachesRequest() {} + +std::string RefreshDcdnObjectCachesRequest::getObjectPath() const { + return objectPath_; } -long RefreshDcdnObjectCachesRequest::getOwnerId()const -{ - return ownerId_; +void RefreshDcdnObjectCachesRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void RefreshDcdnObjectCachesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string RefreshDcdnObjectCachesRequest::getSecurityToken() const { + return securityToken_; } -std::string RefreshDcdnObjectCachesRequest::getSecurityToken()const -{ - return securityToken_; +void RefreshDcdnObjectCachesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void RefreshDcdnObjectCachesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string RefreshDcdnObjectCachesRequest::getObjectType() const { + return objectType_; } -std::string RefreshDcdnObjectCachesRequest::getObjectType()const -{ - return objectType_; +void RefreshDcdnObjectCachesRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); } -void RefreshDcdnObjectCachesRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); +long RefreshDcdnObjectCachesRequest::getOwnerId() const { + return ownerId_; +} + +void RefreshDcdnObjectCachesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +bool RefreshDcdnObjectCachesRequest::getForce() const { + return force_; +} + +void RefreshDcdnObjectCachesRequest::setForce(bool force) { + force_ = force; + setParameter(std::string("Force"), force ? "true" : "false"); } diff --git a/dcdn/src/model/RefreshErObjectCachesRequest.cc b/dcdn/src/model/RefreshErObjectCachesRequest.cc new file mode 100644 index 000000000..12f316a46 --- /dev/null +++ b/dcdn/src/model/RefreshErObjectCachesRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::RefreshErObjectCachesRequest; + +RefreshErObjectCachesRequest::RefreshErObjectCachesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "RefreshErObjectCaches") { + setMethod(HttpRequest::Method::Post); +} + +RefreshErObjectCachesRequest::~RefreshErObjectCachesRequest() {} + +std::string RefreshErObjectCachesRequest::getMergeDomainName() const { + return mergeDomainName_; +} + +void RefreshErObjectCachesRequest::setMergeDomainName(const std::string &mergeDomainName) { + mergeDomainName_ = mergeDomainName; + setParameter(std::string("MergeDomainName"), mergeDomainName); +} + +std::string RefreshErObjectCachesRequest::getObjectPath() const { + return objectPath_; +} + +void RefreshErObjectCachesRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); +} + +bool RefreshErObjectCachesRequest::getForce() const { + return force_; +} + +void RefreshErObjectCachesRequest::setForce(bool force) { + force_ = force; + setParameter(std::string("Force"), force ? "true" : "false"); +} + +std::string RefreshErObjectCachesRequest::getObjectType() const { + return objectType_; +} + +void RefreshErObjectCachesRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); +} + +std::string RefreshErObjectCachesRequest::getRoutineId() const { + return routineId_; +} + +void RefreshErObjectCachesRequest::setRoutineId(const std::string &routineId) { + routineId_ = routineId; + setParameter(std::string("RoutineId"), routineId); +} + diff --git a/dcdn/src/model/RefreshErObjectCachesResult.cc b/dcdn/src/model/RefreshErObjectCachesResult.cc new file mode 100644 index 000000000..c8a88badd --- /dev/null +++ b/dcdn/src/model/RefreshErObjectCachesResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +RefreshErObjectCachesResult::RefreshErObjectCachesResult() : + ServiceResult() +{} + +RefreshErObjectCachesResult::RefreshErObjectCachesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefreshErObjectCachesResult::~RefreshErObjectCachesResult() +{} + +void RefreshErObjectCachesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RefreshTaskId"].isNull()) + refreshTaskId_ = value["RefreshTaskId"].asString(); + +} + +std::string RefreshErObjectCachesResult::getRefreshTaskId()const +{ + return refreshTaskId_; +} + diff --git a/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc b/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc index 31bb006df..b4b1f11d2 100644 --- a/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc +++ b/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::RollbackDcdnStagingConfigRequest; - -RollbackDcdnStagingConfigRequest::RollbackDcdnStagingConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "RollbackDcdnStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -RollbackDcdnStagingConfigRequest::~RollbackDcdnStagingConfigRequest() -{} - -std::string RollbackDcdnStagingConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::RollbackDcdnStagingConfigRequest; + +RollbackDcdnStagingConfigRequest::RollbackDcdnStagingConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "RollbackDcdnStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void RollbackDcdnStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +RollbackDcdnStagingConfigRequest::~RollbackDcdnStagingConfigRequest() {} + +std::string RollbackDcdnStagingConfigRequest::getDomainName() const { + return domainName_; } -long RollbackDcdnStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void RollbackDcdnStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void RollbackDcdnStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/SetDcdnConfigOfVersionRequest.cc b/dcdn/src/model/SetDcdnConfigOfVersionRequest.cc deleted file mode 100644 index e5cd0e294..000000000 --- a/dcdn/src/model/SetDcdnConfigOfVersionRequest.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::Dcdn::Model::SetDcdnConfigOfVersionRequest; - -SetDcdnConfigOfVersionRequest::SetDcdnConfigOfVersionRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnConfigOfVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnConfigOfVersionRequest::~SetDcdnConfigOfVersionRequest() -{} - -std::string SetDcdnConfigOfVersionRequest::getVersionId()const -{ - return versionId_; -} - -void SetDcdnConfigOfVersionRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); -} - -std::string SetDcdnConfigOfVersionRequest::getSecurityToken()const -{ - return securityToken_; -} - -void SetDcdnConfigOfVersionRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string SetDcdnConfigOfVersionRequest::getFunctionName()const -{ - return functionName_; -} - -void SetDcdnConfigOfVersionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - -std::string SetDcdnConfigOfVersionRequest::getFunctionArgs()const -{ - return functionArgs_; -} - -void SetDcdnConfigOfVersionRequest::setFunctionArgs(const std::string& functionArgs) -{ - functionArgs_ = functionArgs; - setParameter("FunctionArgs", functionArgs); -} - -std::string SetDcdnConfigOfVersionRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void SetDcdnConfigOfVersionRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long SetDcdnConfigOfVersionRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetDcdnConfigOfVersionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -long SetDcdnConfigOfVersionRequest::getFunctionId()const -{ - return functionId_; -} - -void SetDcdnConfigOfVersionRequest::setFunctionId(long functionId) -{ - functionId_ = functionId; - setParameter("FunctionId", std::to_string(functionId)); -} - -std::string SetDcdnConfigOfVersionRequest::getConfigId()const -{ - return configId_; -} - -void SetDcdnConfigOfVersionRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); -} - diff --git a/dcdn/src/model/SetDcdnDomainCSRCertificateRequest.cc b/dcdn/src/model/SetDcdnDomainCSRCertificateRequest.cc index a5da0a175..2bef8ffff 100644 --- a/dcdn/src/model/SetDcdnDomainCSRCertificateRequest.cc +++ b/dcdn/src/model/SetDcdnDomainCSRCertificateRequest.cc @@ -1,62 +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::Dcdn::Model::SetDcdnDomainCSRCertificateRequest; - -SetDcdnDomainCSRCertificateRequest::SetDcdnDomainCSRCertificateRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainCSRCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnDomainCSRCertificateRequest::~SetDcdnDomainCSRCertificateRequest() -{} - -std::string SetDcdnDomainCSRCertificateRequest::getServerCertificate()const -{ - return serverCertificate_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnDomainCSRCertificateRequest; + +SetDcdnDomainCSRCertificateRequest::SetDcdnDomainCSRCertificateRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainCSRCertificate") { + setMethod(HttpRequest::Method::Post); } -void SetDcdnDomainCSRCertificateRequest::setServerCertificate(const std::string& serverCertificate) -{ - serverCertificate_ = serverCertificate; - setParameter("ServerCertificate", serverCertificate); +SetDcdnDomainCSRCertificateRequest::~SetDcdnDomainCSRCertificateRequest() {} + +std::string SetDcdnDomainCSRCertificateRequest::getServerCertificate() const { + return serverCertificate_; } -std::string SetDcdnDomainCSRCertificateRequest::getDomainName()const -{ - return domainName_; +void SetDcdnDomainCSRCertificateRequest::setServerCertificate(const std::string &serverCertificate) { + serverCertificate_ = serverCertificate; + setParameter(std::string("ServerCertificate"), serverCertificate); } -void SetDcdnDomainCSRCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetDcdnDomainCSRCertificateRequest::getDomainName() const { + return domainName_; } -long SetDcdnDomainCSRCertificateRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetDcdnDomainCSRCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void SetDcdnDomainCSRCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/SetDcdnDomainCertificateRequest.cc b/dcdn/src/model/SetDcdnDomainCertificateRequest.cc index 5ac6f3967..cd50aab98 100644 --- a/dcdn/src/model/SetDcdnDomainCertificateRequest.cc +++ b/dcdn/src/model/SetDcdnDomainCertificateRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::SetDcdnDomainCertificateRequest; - -SetDcdnDomainCertificateRequest::SetDcdnDomainCertificateRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnDomainCertificateRequest::~SetDcdnDomainCertificateRequest() -{} - -std::string SetDcdnDomainCertificateRequest::getSSLProtocol()const -{ - return sSLProtocol_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnDomainCertificateRequest; + +SetDcdnDomainCertificateRequest::SetDcdnDomainCertificateRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainCertificate") { + setMethod(HttpRequest::Method::Post); } -void SetDcdnDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) -{ - sSLProtocol_ = sSLProtocol; - setParameter("SSLProtocol", sSLProtocol); +SetDcdnDomainCertificateRequest::~SetDcdnDomainCertificateRequest() {} + +std::string SetDcdnDomainCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; } -std::string SetDcdnDomainCertificateRequest::getSecurityToken()const -{ - return securityToken_; +void SetDcdnDomainCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); } -void SetDcdnDomainCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string SetDcdnDomainCertificateRequest::getSecurityToken() const { + return securityToken_; } -std::string SetDcdnDomainCertificateRequest::getCertType()const -{ - return certType_; +void SetDcdnDomainCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void SetDcdnDomainCertificateRequest::setCertType(const std::string& certType) -{ - certType_ = certType; - setParameter("CertType", certType); +std::string SetDcdnDomainCertificateRequest::getCertType() const { + return certType_; } -std::string SetDcdnDomainCertificateRequest::getSSLPri()const -{ - return sSLPri_; +void SetDcdnDomainCertificateRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); } -void SetDcdnDomainCertificateRequest::setSSLPri(const std::string& sSLPri) -{ - sSLPri_ = sSLPri; - setParameter("SSLPri", sSLPri); +std::string SetDcdnDomainCertificateRequest::getSSLPri() const { + return sSLPri_; } -std::string SetDcdnDomainCertificateRequest::getForceSet()const -{ - return forceSet_; +void SetDcdnDomainCertificateRequest::setSSLPri(const std::string &sSLPri) { + sSLPri_ = sSLPri; + setParameter(std::string("SSLPri"), sSLPri); } -void SetDcdnDomainCertificateRequest::setForceSet(const std::string& forceSet) -{ - forceSet_ = forceSet; - setParameter("ForceSet", forceSet); +std::string SetDcdnDomainCertificateRequest::getForceSet() const { + return forceSet_; } -std::string SetDcdnDomainCertificateRequest::getCertName()const -{ - return certName_; +void SetDcdnDomainCertificateRequest::setForceSet(const std::string &forceSet) { + forceSet_ = forceSet; + setParameter(std::string("ForceSet"), forceSet); } -void SetDcdnDomainCertificateRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); +std::string SetDcdnDomainCertificateRequest::getCertName() const { + return certName_; } -std::string SetDcdnDomainCertificateRequest::getDomainName()const -{ - return domainName_; +void SetDcdnDomainCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); } -void SetDcdnDomainCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetDcdnDomainCertificateRequest::getDomainName() const { + return domainName_; } -long SetDcdnDomainCertificateRequest::getOwnerId()const -{ - return ownerId_; +void SetDcdnDomainCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetDcdnDomainCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetDcdnDomainCertificateRequest::getOwnerId() const { + return ownerId_; } -std::string SetDcdnDomainCertificateRequest::getSSLPub()const -{ - return sSLPub_; +void SetDcdnDomainCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetDcdnDomainCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); +std::string SetDcdnDomainCertificateRequest::getSSLPub() const { + return sSLPub_; } -std::string SetDcdnDomainCertificateRequest::getRegion()const -{ - return region_; +void SetDcdnDomainCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); } -void SetDcdnDomainCertificateRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string SetDcdnDomainCertificateRequest::getRegion() const { + return region_; +} + +void SetDcdnDomainCertificateRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } diff --git a/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc b/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc index 03318d0cf..e9768e43d 100644 --- a/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc +++ b/dcdn/src/model/SetDcdnDomainSMCertificateRequest.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::Dcdn::Model::SetDcdnDomainSMCertificateRequest; - -SetDcdnDomainSMCertificateRequest::SetDcdnDomainSMCertificateRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainSMCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnDomainSMCertificateRequest::~SetDcdnDomainSMCertificateRequest() -{} - -std::string SetDcdnDomainSMCertificateRequest::getSSLProtocol()const -{ - return sSLProtocol_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnDomainSMCertificateRequest; + +SetDcdnDomainSMCertificateRequest::SetDcdnDomainSMCertificateRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainSMCertificate") { + setMethod(HttpRequest::Method::Post); } -void SetDcdnDomainSMCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) -{ - sSLProtocol_ = sSLProtocol; - setParameter("SSLProtocol", sSLProtocol); +SetDcdnDomainSMCertificateRequest::~SetDcdnDomainSMCertificateRequest() {} + +std::string SetDcdnDomainSMCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; } -std::string SetDcdnDomainSMCertificateRequest::getDomainName()const -{ - return domainName_; +void SetDcdnDomainSMCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); } -void SetDcdnDomainSMCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetDcdnDomainSMCertificateRequest::getSecurityToken() const { + return securityToken_; } -long SetDcdnDomainSMCertificateRequest::getOwnerId()const -{ - return ownerId_; +void SetDcdnDomainSMCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void SetDcdnDomainSMCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string SetDcdnDomainSMCertificateRequest::getDomainName() const { + return domainName_; } -std::string SetDcdnDomainSMCertificateRequest::getSecurityToken()const -{ - return securityToken_; +void SetDcdnDomainSMCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetDcdnDomainSMCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +long SetDcdnDomainSMCertificateRequest::getOwnerId() const { + return ownerId_; } -std::string SetDcdnDomainSMCertificateRequest::getCertIdentifier()const -{ - return certIdentifier_; +void SetDcdnDomainSMCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetDcdnDomainSMCertificateRequest::setCertIdentifier(const std::string& certIdentifier) -{ - certIdentifier_ = certIdentifier; - setParameter("CertIdentifier", certIdentifier); +std::string SetDcdnDomainSMCertificateRequest::getCertIdentifier() const { + return certIdentifier_; +} + +void SetDcdnDomainSMCertificateRequest::setCertIdentifier(const std::string &certIdentifier) { + certIdentifier_ = certIdentifier; + setParameter(std::string("CertIdentifier"), certIdentifier); } diff --git a/dcdn/src/model/SetDcdnDomainSSLCertificateRequest.cc b/dcdn/src/model/SetDcdnDomainSSLCertificateRequest.cc new file mode 100644 index 000000000..831bc96e0 --- /dev/null +++ b/dcdn/src/model/SetDcdnDomainSSLCertificateRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnDomainSSLCertificateRequest; + +SetDcdnDomainSSLCertificateRequest::SetDcdnDomainSSLCertificateRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainSSLCertificate") { + setMethod(HttpRequest::Method::Post); +} + +SetDcdnDomainSSLCertificateRequest::~SetDcdnDomainSSLCertificateRequest() {} + +std::string SetDcdnDomainSSLCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; +} + +void SetDcdnDomainSSLCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); +} + +long SetDcdnDomainSSLCertificateRequest::getCertId() const { + return certId_; +} + +void SetDcdnDomainSSLCertificateRequest::setCertId(long certId) { + certId_ = certId; + setParameter(std::string("CertId"), std::to_string(certId)); +} + +std::string SetDcdnDomainSSLCertificateRequest::getSecurityToken() const { + return securityToken_; +} + +void SetDcdnDomainSSLCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string SetDcdnDomainSSLCertificateRequest::getCertType() const { + return certType_; +} + +void SetDcdnDomainSSLCertificateRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); +} + +std::string SetDcdnDomainSSLCertificateRequest::getSSLPri() const { + return sSLPri_; +} + +void SetDcdnDomainSSLCertificateRequest::setSSLPri(const std::string &sSLPri) { + sSLPri_ = sSLPri; + setParameter(std::string("SSLPri"), sSLPri); +} + +std::string SetDcdnDomainSSLCertificateRequest::getCertRegion() const { + return certRegion_; +} + +void SetDcdnDomainSSLCertificateRequest::setCertRegion(const std::string &certRegion) { + certRegion_ = certRegion; + setParameter(std::string("CertRegion"), certRegion); +} + +std::string SetDcdnDomainSSLCertificateRequest::getCertName() const { + return certName_; +} + +void SetDcdnDomainSSLCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); +} + +std::string SetDcdnDomainSSLCertificateRequest::getDomainName() const { + return domainName_; +} + +void SetDcdnDomainSSLCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long SetDcdnDomainSSLCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void SetDcdnDomainSSLCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string SetDcdnDomainSSLCertificateRequest::getEnv() const { + return env_; +} + +void SetDcdnDomainSSLCertificateRequest::setEnv(const std::string &env) { + env_ = env; + setParameter(std::string("Env"), env); +} + +std::string SetDcdnDomainSSLCertificateRequest::getSSLPub() const { + return sSLPub_; +} + +void SetDcdnDomainSSLCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); +} + diff --git a/dcdn/src/model/SetDcdnDomainSSLCertificateResult.cc b/dcdn/src/model/SetDcdnDomainSSLCertificateResult.cc new file mode 100644 index 000000000..a4552a25f --- /dev/null +++ b/dcdn/src/model/SetDcdnDomainSSLCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +SetDcdnDomainSSLCertificateResult::SetDcdnDomainSSLCertificateResult() : + ServiceResult() +{} + +SetDcdnDomainSSLCertificateResult::SetDcdnDomainSSLCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDcdnDomainSSLCertificateResult::~SetDcdnDomainSSLCertificateResult() +{} + +void SetDcdnDomainSSLCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc b/dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc index 624adc097..00dc64a8e 100644 --- a/dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc +++ b/dcdn/src/model/SetDcdnDomainStagingConfigRequest.cc @@ -1,62 +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::Dcdn::Model::SetDcdnDomainStagingConfigRequest; - -SetDcdnDomainStagingConfigRequest::SetDcdnDomainStagingConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnDomainStagingConfigRequest::~SetDcdnDomainStagingConfigRequest() -{} - -std::string SetDcdnDomainStagingConfigRequest::getFunctions()const -{ - return functions_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnDomainStagingConfigRequest; + +SetDcdnDomainStagingConfigRequest::SetDcdnDomainStagingConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnDomainStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void SetDcdnDomainStagingConfigRequest::setFunctions(const std::string& functions) -{ - functions_ = functions; - setParameter("Functions", functions); +SetDcdnDomainStagingConfigRequest::~SetDcdnDomainStagingConfigRequest() {} + +std::string SetDcdnDomainStagingConfigRequest::getFunctions() const { + return functions_; } -std::string SetDcdnDomainStagingConfigRequest::getDomainName()const -{ - return domainName_; +void SetDcdnDomainStagingConfigRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); } -void SetDcdnDomainStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetDcdnDomainStagingConfigRequest::getDomainName() const { + return domainName_; } -long SetDcdnDomainStagingConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetDcdnDomainStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void SetDcdnDomainStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } diff --git a/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.cc b/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.cc index f2533d2cc..d0996589c 100644 --- a/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.cc +++ b/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.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::Dcdn::Model::SetDcdnFullDomainsBlockIPRequest; - -SetDcdnFullDomainsBlockIPRequest::SetDcdnFullDomainsBlockIPRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnFullDomainsBlockIP") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnFullDomainsBlockIPRequest::~SetDcdnFullDomainsBlockIPRequest() -{} - -std::string SetDcdnFullDomainsBlockIPRequest::getIPList()const -{ - return iPList_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnFullDomainsBlockIPRequest; + +SetDcdnFullDomainsBlockIPRequest::SetDcdnFullDomainsBlockIPRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnFullDomainsBlockIP") { + setMethod(HttpRequest::Method::Post); } -void SetDcdnFullDomainsBlockIPRequest::setIPList(const std::string& iPList) -{ - iPList_ = iPList; - setBodyParameter("IPList", iPList); +SetDcdnFullDomainsBlockIPRequest::~SetDcdnFullDomainsBlockIPRequest() {} + +int SetDcdnFullDomainsBlockIPRequest::getBlockInterval() const { + return blockInterval_; } -int SetDcdnFullDomainsBlockIPRequest::getBlockInterval()const -{ - return blockInterval_; +void SetDcdnFullDomainsBlockIPRequest::setBlockInterval(int blockInterval) { + blockInterval_ = blockInterval; + setBodyParameter(std::string("BlockInterval"), std::to_string(blockInterval)); } -void SetDcdnFullDomainsBlockIPRequest::setBlockInterval(int blockInterval) -{ - blockInterval_ = blockInterval; - setBodyParameter("BlockInterval", std::to_string(blockInterval)); +std::string SetDcdnFullDomainsBlockIPRequest::getUpdateType() const { + return updateType_; } -std::string SetDcdnFullDomainsBlockIPRequest::getOperationType()const -{ - return operationType_; +void SetDcdnFullDomainsBlockIPRequest::setUpdateType(const std::string &updateType) { + updateType_ = updateType; + setBodyParameter(std::string("UpdateType"), updateType); } -void SetDcdnFullDomainsBlockIPRequest::setOperationType(const std::string& operationType) -{ - operationType_ = operationType; - setBodyParameter("OperationType", operationType); +std::string SetDcdnFullDomainsBlockIPRequest::getOperationType() const { + return operationType_; } -long SetDcdnFullDomainsBlockIPRequest::getOwnerId()const -{ - return ownerId_; +void SetDcdnFullDomainsBlockIPRequest::setOperationType(const std::string &operationType) { + operationType_ = operationType; + setBodyParameter(std::string("OperationType"), operationType); } -void SetDcdnFullDomainsBlockIPRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string SetDcdnFullDomainsBlockIPRequest::getIPList() const { + return iPList_; +} + +void SetDcdnFullDomainsBlockIPRequest::setIPList(const std::string &iPList) { + iPList_ = iPList; + setBodyParameter(std::string("IPList"), iPList); } diff --git a/dcdn/src/model/SetDcdnUserConfigRequest.cc b/dcdn/src/model/SetDcdnUserConfigRequest.cc index 0546762c7..e31f7566a 100644 --- a/dcdn/src/model/SetDcdnUserConfigRequest.cc +++ b/dcdn/src/model/SetDcdnUserConfigRequest.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::Dcdn::Model::SetDcdnUserConfigRequest; - -SetDcdnUserConfigRequest::SetDcdnUserConfigRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnUserConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDcdnUserConfigRequest::~SetDcdnUserConfigRequest() -{} - -std::string SetDcdnUserConfigRequest::getConfigs()const -{ - return configs_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnUserConfigRequest; + +SetDcdnUserConfigRequest::SetDcdnUserConfigRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnUserConfig") { + setMethod(HttpRequest::Method::Post); } -void SetDcdnUserConfigRequest::setConfigs(const std::string& configs) -{ - configs_ = configs; - setParameter("Configs", configs); +SetDcdnUserConfigRequest::~SetDcdnUserConfigRequest() {} + +std::string SetDcdnUserConfigRequest::getConfigs() const { + return configs_; } -std::string SetDcdnUserConfigRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SetDcdnUserConfigRequest::setConfigs(const std::string &configs) { + configs_ = configs; + setParameter(std::string("Configs"), configs); } -void SetDcdnUserConfigRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SetDcdnUserConfigRequest::getSecurityToken() const { + return securityToken_; } -long SetDcdnUserConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetDcdnUserConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void SetDcdnUserConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string SetDcdnUserConfigRequest::getOwnerAccount() const { + return ownerAccount_; } -int SetDcdnUserConfigRequest::getFunctionId()const -{ - return functionId_; +void SetDcdnUserConfigRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SetDcdnUserConfigRequest::setFunctionId(int functionId) -{ - functionId_ = functionId; - setParameter("FunctionId", std::to_string(functionId)); +long SetDcdnUserConfigRequest::getOwnerId() const { + return ownerId_; } -std::string SetDcdnUserConfigRequest::getSecurityToken()const -{ - return securityToken_; +void SetDcdnUserConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetDcdnUserConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +int SetDcdnUserConfigRequest::getFunctionId() const { + return functionId_; +} + +void SetDcdnUserConfigRequest::setFunctionId(int functionId) { + functionId_ = functionId; + setParameter(std::string("FunctionId"), std::to_string(functionId)); } diff --git a/dcdn/src/model/SetRoutineSubdomainRequest.cc b/dcdn/src/model/SetRoutineSubdomainRequest.cc index b82660f78..f1a45713f 100644 --- a/dcdn/src/model/SetRoutineSubdomainRequest.cc +++ b/dcdn/src/model/SetRoutineSubdomainRequest.cc @@ -1,51 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::SetRoutineSubdomainRequest; - -SetRoutineSubdomainRequest::SetRoutineSubdomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "SetRoutineSubdomain") -{ - setMethod(HttpRequest::Method::Post); -} - -SetRoutineSubdomainRequest::~SetRoutineSubdomainRequest() -{} - -std::string SetRoutineSubdomainRequest::getSubdomains()const -{ - return subdomains_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetRoutineSubdomainRequest; + +SetRoutineSubdomainRequest::SetRoutineSubdomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "SetRoutineSubdomain") { + setMethod(HttpRequest::Method::Post); } -void SetRoutineSubdomainRequest::setSubdomains(const std::string& subdomains) -{ - subdomains_ = subdomains; - setBodyParameter("Subdomains", subdomains); +SetRoutineSubdomainRequest::~SetRoutineSubdomainRequest() {} + +std::string SetRoutineSubdomainRequest::getSubdomains() const { + return subdomains_; } -long SetRoutineSubdomainRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetRoutineSubdomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void SetRoutineSubdomainRequest::setSubdomains(const std::string &subdomains) { + subdomains_ = subdomains; + setBodyParameter(std::string("Subdomains"), subdomains); } diff --git a/dcdn/src/model/StartDcdnDomainRequest.cc b/dcdn/src/model/StartDcdnDomainRequest.cc index 3a1c95ab2..3e245615c 100644 --- a/dcdn/src/model/StartDcdnDomainRequest.cc +++ b/dcdn/src/model/StartDcdnDomainRequest.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::Dcdn::Model::StartDcdnDomainRequest; - -StartDcdnDomainRequest::StartDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "StartDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -StartDcdnDomainRequest::~StartDcdnDomainRequest() -{} - -std::string StartDcdnDomainRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::StartDcdnDomainRequest; + +StartDcdnDomainRequest::StartDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "StartDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void StartDcdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +StartDcdnDomainRequest::~StartDcdnDomainRequest() {} + +std::string StartDcdnDomainRequest::getDomainName() const { + return domainName_; } -long StartDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void StartDcdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void StartDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartDcdnDomainRequest::getOwnerId() const { + return ownerId_; } -std::string StartDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void StartDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void StartDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string StartDcdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void StartDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/StartDcdnIpaDomainRequest.cc b/dcdn/src/model/StartDcdnIpaDomainRequest.cc index 00528cbd4..9b5cb58a3 100644 --- a/dcdn/src/model/StartDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/StartDcdnIpaDomainRequest.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::Dcdn::Model::StartDcdnIpaDomainRequest; - -StartDcdnIpaDomainRequest::StartDcdnIpaDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "StartDcdnIpaDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -StartDcdnIpaDomainRequest::~StartDcdnIpaDomainRequest() -{} - -std::string StartDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::StartDcdnIpaDomainRequest; + +StartDcdnIpaDomainRequest::StartDcdnIpaDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "StartDcdnIpaDomain") { + setMethod(HttpRequest::Method::Post); } -void StartDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +StartDcdnIpaDomainRequest::~StartDcdnIpaDomainRequest() {} + +std::string StartDcdnIpaDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string StartDcdnIpaDomainRequest::getDomainName()const -{ - return domainName_; +void StartDcdnIpaDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void StartDcdnIpaDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string StartDcdnIpaDomainRequest::getDomainName() const { + return domainName_; } -long StartDcdnIpaDomainRequest::getOwnerId()const -{ - return ownerId_; +void StartDcdnIpaDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void StartDcdnIpaDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartDcdnIpaDomainRequest::getOwnerId() const { + return ownerId_; +} + +void StartDcdnIpaDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/StopDcdnDomainRequest.cc b/dcdn/src/model/StopDcdnDomainRequest.cc index d725e2316..968fb7a69 100644 --- a/dcdn/src/model/StopDcdnDomainRequest.cc +++ b/dcdn/src/model/StopDcdnDomainRequest.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::Dcdn::Model::StopDcdnDomainRequest; - -StopDcdnDomainRequest::StopDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "StopDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -StopDcdnDomainRequest::~StopDcdnDomainRequest() -{} - -std::string StopDcdnDomainRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::StopDcdnDomainRequest; + +StopDcdnDomainRequest::StopDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "StopDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void StopDcdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +StopDcdnDomainRequest::~StopDcdnDomainRequest() {} + +std::string StopDcdnDomainRequest::getDomainName() const { + return domainName_; } -long StopDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void StopDcdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void StopDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopDcdnDomainRequest::getOwnerId() const { + return ownerId_; } -std::string StopDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void StopDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void StopDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string StopDcdnDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void StopDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/dcdn/src/model/StopDcdnIpaDomainRequest.cc b/dcdn/src/model/StopDcdnIpaDomainRequest.cc index 103f710c5..c920f6e84 100644 --- a/dcdn/src/model/StopDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/StopDcdnIpaDomainRequest.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::Dcdn::Model::StopDcdnIpaDomainRequest; - -StopDcdnIpaDomainRequest::StopDcdnIpaDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "StopDcdnIpaDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -StopDcdnIpaDomainRequest::~StopDcdnIpaDomainRequest() -{} - -std::string StopDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::StopDcdnIpaDomainRequest; + +StopDcdnIpaDomainRequest::StopDcdnIpaDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "StopDcdnIpaDomain") { + setMethod(HttpRequest::Method::Post); } -void StopDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +StopDcdnIpaDomainRequest::~StopDcdnIpaDomainRequest() {} + +std::string StopDcdnIpaDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string StopDcdnIpaDomainRequest::getDomainName()const -{ - return domainName_; +void StopDcdnIpaDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void StopDcdnIpaDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string StopDcdnIpaDomainRequest::getDomainName() const { + return domainName_; } -long StopDcdnIpaDomainRequest::getOwnerId()const -{ - return ownerId_; +void StopDcdnIpaDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void StopDcdnIpaDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopDcdnIpaDomainRequest::getOwnerId() const { + return ownerId_; +} + +void StopDcdnIpaDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/TagDcdnResourcesRequest.cc b/dcdn/src/model/TagDcdnResourcesRequest.cc index 507158ca7..311618437 100644 --- a/dcdn/src/model/TagDcdnResourcesRequest.cc +++ b/dcdn/src/model/TagDcdnResourcesRequest.cc @@ -1,80 +1,58 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::TagDcdnResourcesRequest; - -TagDcdnResourcesRequest::TagDcdnResourcesRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "TagDcdnResources") -{ - setMethod(HttpRequest::Method::Post); -} - -TagDcdnResourcesRequest::~TagDcdnResourcesRequest() -{} - -std::vector TagDcdnResourcesRequest::getTag()const -{ - return tag_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::TagDcdnResourcesRequest; + +TagDcdnResourcesRequest::TagDcdnResourcesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "TagDcdnResources") { + setMethod(HttpRequest::Method::Post); } -void TagDcdnResourcesRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } +TagDcdnResourcesRequest::~TagDcdnResourcesRequest() {} + +std::vector TagDcdnResourcesRequest::getResourceId() const { + return resourceId_; } -std::vector TagDcdnResourcesRequest::getResourceId()const -{ - return resourceId_; +void TagDcdnResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; } -void TagDcdnResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } +std::vector TagDcdnResourcesRequest::getTag() const { + return tag_; } -long TagDcdnResourcesRequest::getOwnerId()const -{ - return ownerId_; +void TagDcdnResourcesRequest::setTag(const std::vector &tag) { + tag_ = tag; + for(int dep1 = 0; dep1 != tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } } -void TagDcdnResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string TagDcdnResourcesRequest::getResourceType() const { + return resourceType_; } -std::string TagDcdnResourcesRequest::getResourceType()const -{ - return resourceType_; -} - -void TagDcdnResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +void TagDcdnResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } diff --git a/dcdn/src/model/UntagDcdnResourcesRequest.cc b/dcdn/src/model/UntagDcdnResourcesRequest.cc index 0d8d0debb..4e071a1c8 100644 --- a/dcdn/src/model/UntagDcdnResourcesRequest.cc +++ b/dcdn/src/model/UntagDcdnResourcesRequest.cc @@ -1,88 +1,61 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::UntagDcdnResourcesRequest; - -UntagDcdnResourcesRequest::UntagDcdnResourcesRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UntagDcdnResources") -{ - setMethod(HttpRequest::Method::Post); -} - -UntagDcdnResourcesRequest::~UntagDcdnResourcesRequest() -{} - -bool UntagDcdnResourcesRequest::getAll()const -{ - return all_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UntagDcdnResourcesRequest; + +UntagDcdnResourcesRequest::UntagDcdnResourcesRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UntagDcdnResources") { + setMethod(HttpRequest::Method::Post); } -void UntagDcdnResourcesRequest::setAll(bool all) -{ - all_ = all; - setParameter("All", all ? "true" : "false"); +UntagDcdnResourcesRequest::~UntagDcdnResourcesRequest() {} + +bool UntagDcdnResourcesRequest::getAll() const { + return all_; } -std::vector UntagDcdnResourcesRequest::getResourceId()const -{ - return resourceId_; +void UntagDcdnResourcesRequest::setAll(bool all) { + all_ = all; + setParameter(std::string("All"), all ? "true" : "false"); } -void UntagDcdnResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } +std::vector UntagDcdnResourcesRequest::getResourceId() const { + return resourceId_; } -long UntagDcdnResourcesRequest::getOwnerId()const -{ - return ownerId_; +void UntagDcdnResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; } -void UntagDcdnResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::vector UntagDcdnResourcesRequest::getTagKey() const { + return tagKey_; } -std::string UntagDcdnResourcesRequest::getResourceType()const -{ - return resourceType_; +void UntagDcdnResourcesRequest::setTagKey(const std::vector &tagKey) { + tagKey_ = tagKey; } -void UntagDcdnResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string UntagDcdnResourcesRequest::getResourceType() const { + return resourceType_; } -std::vector UntagDcdnResourcesRequest::getTagKey()const -{ - return tagKey_; -} - -void UntagDcdnResourcesRequest::setTagKey(const std::vector& tagKey) -{ - tagKey_ = tagKey; - for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { - setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); - } +void UntagDcdnResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } diff --git a/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc b/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc index af79b5677..df51a5d39 100644 --- a/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc +++ b/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc @@ -1,106 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::UpdateDcdnDeliverTaskRequest; - -UpdateDcdnDeliverTaskRequest::UpdateDcdnDeliverTaskRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnDeliverTask") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDcdnDeliverTaskRequest::~UpdateDcdnDeliverTaskRequest() -{} - -std::string UpdateDcdnDeliverTaskRequest::getReports()const -{ - return reports_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UpdateDcdnDeliverTaskRequest; + +UpdateDcdnDeliverTaskRequest::UpdateDcdnDeliverTaskRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnDeliverTask") { + setMethod(HttpRequest::Method::Post); } -void UpdateDcdnDeliverTaskRequest::setReports(const std::string& reports) -{ - reports_ = reports; - setBodyParameter("Reports", reports); +UpdateDcdnDeliverTaskRequest::~UpdateDcdnDeliverTaskRequest() {} + +std::string UpdateDcdnDeliverTaskRequest::getReports() const { + return reports_; } -std::string UpdateDcdnDeliverTaskRequest::getDeliver()const -{ - return deliver_; +void UpdateDcdnDeliverTaskRequest::setReports(const std::string &reports) { + reports_ = reports; + setBodyParameter(std::string("Reports"), reports); } -void UpdateDcdnDeliverTaskRequest::setDeliver(const std::string& deliver) -{ - deliver_ = deliver; - setBodyParameter("Deliver", deliver); +std::string UpdateDcdnDeliverTaskRequest::getSchedule() const { + return schedule_; } -long UpdateDcdnDeliverTaskRequest::getDeliverId()const -{ - return deliverId_; +void UpdateDcdnDeliverTaskRequest::setSchedule(const std::string &schedule) { + schedule_ = schedule; + setBodyParameter(std::string("Schedule"), schedule); } -void UpdateDcdnDeliverTaskRequest::setDeliverId(long deliverId) -{ - deliverId_ = deliverId; - setBodyParameter("DeliverId", std::to_string(deliverId)); +std::string UpdateDcdnDeliverTaskRequest::getName() const { + return name_; } -std::string UpdateDcdnDeliverTaskRequest::getDomainName()const -{ - return domainName_; +void UpdateDcdnDeliverTaskRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void UpdateDcdnDeliverTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); +std::string UpdateDcdnDeliverTaskRequest::getDomainName() const { + return domainName_; } -long UpdateDcdnDeliverTaskRequest::getOwnerId()const -{ - return ownerId_; +void UpdateDcdnDeliverTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); } -void UpdateDcdnDeliverTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string UpdateDcdnDeliverTaskRequest::getDeliver() const { + return deliver_; } -std::string UpdateDcdnDeliverTaskRequest::getSchedule()const -{ - return schedule_; +void UpdateDcdnDeliverTaskRequest::setDeliver(const std::string &deliver) { + deliver_ = deliver; + setBodyParameter(std::string("Deliver"), deliver); } -void UpdateDcdnDeliverTaskRequest::setSchedule(const std::string& schedule) -{ - schedule_ = schedule; - setBodyParameter("Schedule", schedule); +long UpdateDcdnDeliverTaskRequest::getDeliverId() const { + return deliverId_; } -std::string UpdateDcdnDeliverTaskRequest::getName()const -{ - return name_; -} - -void UpdateDcdnDeliverTaskRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void UpdateDcdnDeliverTaskRequest::setDeliverId(long deliverId) { + deliverId_ = deliverId; + setBodyParameter(std::string("DeliverId"), std::to_string(deliverId)); } diff --git a/dcdn/src/model/UpdateDcdnDomainRequest.cc b/dcdn/src/model/UpdateDcdnDomainRequest.cc index 4323bf677..c32535bf5 100644 --- a/dcdn/src/model/UpdateDcdnDomainRequest.cc +++ b/dcdn/src/model/UpdateDcdnDomainRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::UpdateDcdnDomainRequest; - -UpdateDcdnDomainRequest::UpdateDcdnDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDcdnDomainRequest::~UpdateDcdnDomainRequest() -{} - -std::string UpdateDcdnDomainRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UpdateDcdnDomainRequest; + +UpdateDcdnDomainRequest::UpdateDcdnDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnDomain") { + setMethod(HttpRequest::Method::Post); } -void UpdateDcdnDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +UpdateDcdnDomainRequest::~UpdateDcdnDomainRequest() {} + +std::string UpdateDcdnDomainRequest::getSources() const { + return sources_; } -std::string UpdateDcdnDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void UpdateDcdnDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void UpdateDcdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string UpdateDcdnDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string UpdateDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateDcdnDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void UpdateDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string UpdateDcdnDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string UpdateDcdnDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void UpdateDcdnDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void UpdateDcdnDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string UpdateDcdnDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string UpdateDcdnDomainRequest::getDomainName()const -{ - return domainName_; +void UpdateDcdnDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void UpdateDcdnDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateDcdnDomainRequest::getDomainName() const { + return domainName_; } -long UpdateDcdnDomainRequest::getOwnerId()const -{ - return ownerId_; +void UpdateDcdnDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateDcdnDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateDcdnDomainRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateDcdnDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/UpdateDcdnIpaDomainRequest.cc b/dcdn/src/model/UpdateDcdnIpaDomainRequest.cc index 95b571ba7..e817611a0 100644 --- a/dcdn/src/model/UpdateDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/UpdateDcdnIpaDomainRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dcdn::Model::UpdateDcdnIpaDomainRequest; - -UpdateDcdnIpaDomainRequest::UpdateDcdnIpaDomainRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnIpaDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDcdnIpaDomainRequest::~UpdateDcdnIpaDomainRequest() -{} - -std::string UpdateDcdnIpaDomainRequest::getSources()const -{ - return sources_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UpdateDcdnIpaDomainRequest; + +UpdateDcdnIpaDomainRequest::UpdateDcdnIpaDomainRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnIpaDomain") { + setMethod(HttpRequest::Method::Post); } -void UpdateDcdnIpaDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +UpdateDcdnIpaDomainRequest::~UpdateDcdnIpaDomainRequest() {} + +std::string UpdateDcdnIpaDomainRequest::getSources() const { + return sources_; } -std::string UpdateDcdnIpaDomainRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void UpdateDcdnIpaDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void UpdateDcdnIpaDomainRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string UpdateDcdnIpaDomainRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string UpdateDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateDcdnIpaDomainRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void UpdateDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string UpdateDcdnIpaDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string UpdateDcdnIpaDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void UpdateDcdnIpaDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void UpdateDcdnIpaDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string UpdateDcdnIpaDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string UpdateDcdnIpaDomainRequest::getDomainName()const -{ - return domainName_; +void UpdateDcdnIpaDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void UpdateDcdnIpaDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateDcdnIpaDomainRequest::getDomainName() const { + return domainName_; } -long UpdateDcdnIpaDomainRequest::getOwnerId()const -{ - return ownerId_; +void UpdateDcdnIpaDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateDcdnIpaDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateDcdnIpaDomainRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateDcdnIpaDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc index 9c170fd6a..28e07f181 100644 --- a/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc +++ b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc @@ -1,117 +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::Dcdn::Model::UpdateDcdnSLSRealtimeLogDeliveryRequest; - -UpdateDcdnSLSRealtimeLogDeliveryRequest::UpdateDcdnSLSRealtimeLogDeliveryRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnSLSRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDcdnSLSRealtimeLogDeliveryRequest::~UpdateDcdnSLSRealtimeLogDeliveryRequest() -{} - -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSLogStore()const -{ - return sLSLogStore_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UpdateDcdnSLSRealtimeLogDeliveryRequest; + +UpdateDcdnSLSRealtimeLogDeliveryRequest::UpdateDcdnSLSRealtimeLogDeliveryRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnSLSRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Post); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSLogStore(const std::string& sLSLogStore) -{ - sLSLogStore_ = sLSLogStore; - setBodyParameter("SLSLogStore", sLSLogStore); +UpdateDcdnSLSRealtimeLogDeliveryRequest::~UpdateDcdnSLSRealtimeLogDeliveryRequest() {} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSLogStore() const { + return sLSLogStore_; } -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSProject()const -{ - return sLSProject_; +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSLogStore(const std::string &sLSLogStore) { + sLSLogStore_ = sLSLogStore; + setBodyParameter(std::string("SLSLogStore"), sLSLogStore); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSProject(const std::string& sLSProject) -{ - sLSProject_ = sLSProject; - setBodyParameter("SLSProject", sLSProject); +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getProjectName() const { + return projectName_; } -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSRegion()const -{ - return sLSRegion_; +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSRegion(const std::string& sLSRegion) -{ - sLSRegion_ = sLSRegion; - setBodyParameter("SLSRegion", sLSRegion); +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getProjectName()const -{ - return projectName_; +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSamplingRate() const { + return samplingRate_; } -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSamplingRate(const std::string &samplingRate) { + samplingRate_ = samplingRate; + setBodyParameter(std::string("SamplingRate"), samplingRate); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getDataCenter() const { + return dataCenter_; } -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSamplingRate()const -{ - return samplingRate_; +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setDataCenter(const std::string &dataCenter) { + dataCenter_ = dataCenter; + setBodyParameter(std::string("DataCenter"), dataCenter); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSamplingRate(const std::string& samplingRate) -{ - samplingRate_ = samplingRate; - setBodyParameter("SamplingRate", samplingRate); +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSProject() const { + return sLSProject_; } -std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getDataCenter()const -{ - return dataCenter_; +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSProject(const std::string &sLSProject) { + sLSProject_ = sLSProject; + setBodyParameter(std::string("SLSProject"), sLSProject); } -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setDataCenter(const std::string& dataCenter) -{ - dataCenter_ = dataCenter; - setBodyParameter("DataCenter", dataCenter); +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSRegion() const { + return sLSRegion_; } -long UpdateDcdnSLSRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; -} - -void UpdateDcdnSLSRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSRegion(const std::string &sLSRegion) { + sLSRegion_ = sLSRegion; + setBodyParameter(std::string("SLSRegion"), sLSRegion); } diff --git a/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc index 92e704167..183195ffe 100644 --- a/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc +++ b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc @@ -43,12 +43,12 @@ void UpdateDcdnSLSRealtimeLogDeliveryResult::parse(const std::string &payload) for (auto valueContentDomains : allContentNode) { Domains contentObject; + if(!valueContentDomains["Status"].isNull()) + contentObject.status = valueContentDomains["Status"].asString(); if(!valueContentDomains["DomainName"].isNull()) contentObject.domainName = valueContentDomains["DomainName"].asString(); if(!valueContentDomains["Region"].isNull()) contentObject.region = valueContentDomains["Region"].asString(); - if(!valueContentDomains["Status"].isNull()) - contentObject.status = valueContentDomains["Status"].asString(); if(!valueContentDomains["Desc"].isNull()) contentObject.desc = valueContentDomains["Desc"].asString(); content_.push_back(contentObject); diff --git a/dcdn/src/model/UpdateDcdnSubTaskRequest.cc b/dcdn/src/model/UpdateDcdnSubTaskRequest.cc index 8d1217199..b735ba75b 100644 --- a/dcdn/src/model/UpdateDcdnSubTaskRequest.cc +++ b/dcdn/src/model/UpdateDcdnSubTaskRequest.cc @@ -1,84 +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::Dcdn::Model::UpdateDcdnSubTaskRequest; - -UpdateDcdnSubTaskRequest::UpdateDcdnSubTaskRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnSubTask") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDcdnSubTaskRequest::~UpdateDcdnSubTaskRequest() -{} - -std::string UpdateDcdnSubTaskRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UpdateDcdnSubTaskRequest; + +UpdateDcdnSubTaskRequest::UpdateDcdnSubTaskRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnSubTask") { + setMethod(HttpRequest::Method::Post); } -void UpdateDcdnSubTaskRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setBodyParameter("StartTime", startTime); +UpdateDcdnSubTaskRequest::~UpdateDcdnSubTaskRequest() {} + +std::string UpdateDcdnSubTaskRequest::getReportIds() const { + return reportIds_; } -std::string UpdateDcdnSubTaskRequest::getDomainName()const -{ - return domainName_; +void UpdateDcdnSubTaskRequest::setReportIds(const std::string &reportIds) { + reportIds_ = reportIds; + setBodyParameter(std::string("ReportIds"), reportIds); } -void UpdateDcdnSubTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setBodyParameter("DomainName", domainName); +std::string UpdateDcdnSubTaskRequest::getDomainName() const { + return domainName_; } -std::string UpdateDcdnSubTaskRequest::getEndTime()const -{ - return endTime_; +void UpdateDcdnSubTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setBodyParameter(std::string("DomainName"), domainName); } -void UpdateDcdnSubTaskRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); +std::string UpdateDcdnSubTaskRequest::getEndTime() const { + return endTime_; } -long UpdateDcdnSubTaskRequest::getOwnerId()const -{ - return ownerId_; +void UpdateDcdnSubTaskRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), endTime); } -void UpdateDcdnSubTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string UpdateDcdnSubTaskRequest::getStartTime() const { + return startTime_; } -std::string UpdateDcdnSubTaskRequest::getReportIds()const -{ - return reportIds_; -} - -void UpdateDcdnSubTaskRequest::setReportIds(const std::string& reportIds) -{ - reportIds_ = reportIds; - setBodyParameter("ReportIds", reportIds); +void UpdateDcdnSubTaskRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), startTime); } diff --git a/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc b/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc index 6c9fafbd7..80bee1042 100644 --- a/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc +++ b/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc @@ -1,62 +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::Dcdn::Model::UpdateDcdnUserRealTimeDeliveryFieldRequest; - -UpdateDcdnUserRealTimeDeliveryFieldRequest::UpdateDcdnUserRealTimeDeliveryFieldRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnUserRealTimeDeliveryField") -{ - setMethod(HttpRequest::Method::Get); -} - -UpdateDcdnUserRealTimeDeliveryFieldRequest::~UpdateDcdnUserRealTimeDeliveryFieldRequest() -{} - -std::string UpdateDcdnUserRealTimeDeliveryFieldRequest::getBusinessType()const -{ - return businessType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UpdateDcdnUserRealTimeDeliveryFieldRequest; + +UpdateDcdnUserRealTimeDeliveryFieldRequest::UpdateDcdnUserRealTimeDeliveryFieldRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnUserRealTimeDeliveryField") { + setMethod(HttpRequest::Method::Post); } -void UpdateDcdnUserRealTimeDeliveryFieldRequest::setBusinessType(const std::string& businessType) -{ - businessType_ = businessType; - setParameter("BusinessType", businessType); +UpdateDcdnUserRealTimeDeliveryFieldRequest::~UpdateDcdnUserRealTimeDeliveryFieldRequest() {} + +std::string UpdateDcdnUserRealTimeDeliveryFieldRequest::getFields() const { + return fields_; } -long UpdateDcdnUserRealTimeDeliveryFieldRequest::getOwnerId()const -{ - return ownerId_; +void UpdateDcdnUserRealTimeDeliveryFieldRequest::setFields(const std::string &fields) { + fields_ = fields; + setParameter(std::string("Fields"), fields); } -void UpdateDcdnUserRealTimeDeliveryFieldRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string UpdateDcdnUserRealTimeDeliveryFieldRequest::getBusinessType() const { + return businessType_; } -std::string UpdateDcdnUserRealTimeDeliveryFieldRequest::getFields()const -{ - return fields_; -} - -void UpdateDcdnUserRealTimeDeliveryFieldRequest::setFields(const std::string& fields) -{ - fields_ = fields; - setParameter("Fields", fields); +void UpdateDcdnUserRealTimeDeliveryFieldRequest::setBusinessType(const std::string &businessType) { + businessType_ = businessType; + setParameter(std::string("BusinessType"), businessType); } diff --git a/dcdn/src/model/UploadRoutineCodeRequest.cc b/dcdn/src/model/UploadRoutineCodeRequest.cc index b3dae014f..b41471917 100644 --- a/dcdn/src/model/UploadRoutineCodeRequest.cc +++ b/dcdn/src/model/UploadRoutineCodeRequest.cc @@ -1,62 +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::Dcdn::Model::UploadRoutineCodeRequest; - -UploadRoutineCodeRequest::UploadRoutineCodeRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UploadRoutineCode") -{ - setMethod(HttpRequest::Method::Post); -} - -UploadRoutineCodeRequest::~UploadRoutineCodeRequest() -{} - -std::string UploadRoutineCodeRequest::getCodeDescription()const -{ - return codeDescription_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UploadRoutineCodeRequest; + +UploadRoutineCodeRequest::UploadRoutineCodeRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UploadRoutineCode") { + setMethod(HttpRequest::Method::Post); } -void UploadRoutineCodeRequest::setCodeDescription(const std::string& codeDescription) -{ - codeDescription_ = codeDescription; - setBodyParameter("CodeDescription", codeDescription); +UploadRoutineCodeRequest::~UploadRoutineCodeRequest() {} + +std::string UploadRoutineCodeRequest::getCodeDescription() const { + return codeDescription_; } -long UploadRoutineCodeRequest::getOwnerId()const -{ - return ownerId_; +void UploadRoutineCodeRequest::setCodeDescription(const std::string &codeDescription) { + codeDescription_ = codeDescription; + setBodyParameter(std::string("CodeDescription"), codeDescription); } -void UploadRoutineCodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string UploadRoutineCodeRequest::getName() const { + return name_; } -std::string UploadRoutineCodeRequest::getName()const -{ - return name_; -} - -void UploadRoutineCodeRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void UploadRoutineCodeRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } diff --git a/dcdn/src/model/UploadStagingRoutineCodeRequest.cc b/dcdn/src/model/UploadStagingRoutineCodeRequest.cc index e67f43753..ef4334f06 100644 --- a/dcdn/src/model/UploadStagingRoutineCodeRequest.cc +++ b/dcdn/src/model/UploadStagingRoutineCodeRequest.cc @@ -1,62 +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::Dcdn::Model::UploadStagingRoutineCodeRequest; - -UploadStagingRoutineCodeRequest::UploadStagingRoutineCodeRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "UploadStagingRoutineCode") -{ - setMethod(HttpRequest::Method::Post); -} - -UploadStagingRoutineCodeRequest::~UploadStagingRoutineCodeRequest() -{} - -std::string UploadStagingRoutineCodeRequest::getCodeDescription()const -{ - return codeDescription_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::UploadStagingRoutineCodeRequest; + +UploadStagingRoutineCodeRequest::UploadStagingRoutineCodeRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "UploadStagingRoutineCode") { + setMethod(HttpRequest::Method::Post); } -void UploadStagingRoutineCodeRequest::setCodeDescription(const std::string& codeDescription) -{ - codeDescription_ = codeDescription; - setBodyParameter("CodeDescription", codeDescription); +UploadStagingRoutineCodeRequest::~UploadStagingRoutineCodeRequest() {} + +std::string UploadStagingRoutineCodeRequest::getCodeDescription() const { + return codeDescription_; } -long UploadStagingRoutineCodeRequest::getOwnerId()const -{ - return ownerId_; +void UploadStagingRoutineCodeRequest::setCodeDescription(const std::string &codeDescription) { + codeDescription_ = codeDescription; + setBodyParameter(std::string("CodeDescription"), codeDescription); } -void UploadStagingRoutineCodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string UploadStagingRoutineCodeRequest::getName() const { + return name_; } -std::string UploadStagingRoutineCodeRequest::getName()const -{ - return name_; -} - -void UploadStagingRoutineCodeRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +void UploadStagingRoutineCodeRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } diff --git a/dcdn/src/model/VerifyDcdnDomainOwnerRequest.cc b/dcdn/src/model/VerifyDcdnDomainOwnerRequest.cc index 19abfd2a9..f1ac71d4e 100644 --- a/dcdn/src/model/VerifyDcdnDomainOwnerRequest.cc +++ b/dcdn/src/model/VerifyDcdnDomainOwnerRequest.cc @@ -1,62 +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::Dcdn::Model::VerifyDcdnDomainOwnerRequest; - -VerifyDcdnDomainOwnerRequest::VerifyDcdnDomainOwnerRequest() : - RpcServiceRequest("dcdn", "2018-01-15", "VerifyDcdnDomainOwner") -{ - setMethod(HttpRequest::Method::Post); -} - -VerifyDcdnDomainOwnerRequest::~VerifyDcdnDomainOwnerRequest() -{} - -std::string VerifyDcdnDomainOwnerRequest::getVerifyType()const -{ - return verifyType_; + */ + +#include + +using AlibabaCloud::Dcdn::Model::VerifyDcdnDomainOwnerRequest; + +VerifyDcdnDomainOwnerRequest::VerifyDcdnDomainOwnerRequest() + : RpcServiceRequest("dcdn", "2018-01-15", "VerifyDcdnDomainOwner") { + setMethod(HttpRequest::Method::Post); } -void VerifyDcdnDomainOwnerRequest::setVerifyType(const std::string& verifyType) -{ - verifyType_ = verifyType; - setParameter("VerifyType", verifyType); +VerifyDcdnDomainOwnerRequest::~VerifyDcdnDomainOwnerRequest() {} + +std::string VerifyDcdnDomainOwnerRequest::getDomainName() const { + return domainName_; } -std::string VerifyDcdnDomainOwnerRequest::getDomainName()const -{ - return domainName_; +void VerifyDcdnDomainOwnerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void VerifyDcdnDomainOwnerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string VerifyDcdnDomainOwnerRequest::getVerifyType() const { + return verifyType_; } -long VerifyDcdnDomainOwnerRequest::getOwnerId()const -{ - return ownerId_; -} - -void VerifyDcdnDomainOwnerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +void VerifyDcdnDomainOwnerRequest::setVerifyType(const std::string &verifyType) { + verifyType_ = verifyType; + setParameter(std::string("VerifyType"), verifyType); }