diff --git a/CHANGELOG b/CHANGELOG index f6b2c643e..9223eb162 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-10-08 Version: 1.36.893 +- Fixed SDK update delay. + 2021-10-08 Version: 1.36.892 - Fixed SDK update delay. diff --git a/VERSION b/VERSION index e029bd310..88dcf1a00 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.892 \ No newline at end of file +1.36.893 \ No newline at end of file diff --git a/dcdn/CMakeLists.txt b/dcdn/CMakeLists.txt index b8e268b15..f03a6372b 100644 --- a/dcdn/CMakeLists.txt +++ b/dcdn/CMakeLists.txt @@ -39,6 +39,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/BatchStartDcdnDomainResult.h include/alibabacloud/dcdn/model/BatchStopDcdnDomainRequest.h include/alibabacloud/dcdn/model/BatchStopDcdnDomainResult.h + include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h + include/alibabacloud/dcdn/model/CommitStagingRoutineCodeResult.h include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h @@ -47,6 +49,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h include/alibabacloud/dcdn/model/CreateDcdnSubTaskResult.h + include/alibabacloud/dcdn/model/CreateRoutineRequest.h + include/alibabacloud/dcdn/model/CreateRoutineResult.h include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskResult.h include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h @@ -61,6 +65,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/DeleteRoutineRequest.h + include/alibabacloud/dcdn/model/DeleteRoutineResult.h + include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.h + include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionResult.h + include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h + include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsResult.h include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnBgpBpsDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnBgpTrafficDataRequest.h @@ -73,12 +83,16 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnCertificateListResult.h include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionRequest.h include/alibabacloud/dcdn/model/DescribeDcdnConfigOfVersionResult.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/DescribeDcdnDomainByCertificateRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainByCertificateResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainCertificateInfoResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainCnameRequest.h @@ -141,6 +155,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnDomainTopUrlVisitResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainTrafficDataResult.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainUvDataRequest.h include/alibabacloud/dcdn/model/DescribeDcdnDomainUvDataResult.h include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketBpsDataRequest.h @@ -215,6 +231,18 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentResult.h include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h include/alibabacloud/dcdn/model/DescribeDcdnWafDomainResult.h + include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.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/DescribeRoutineSpecRequest.h + include/alibabacloud/dcdn/model/DescribeRoutineSpecResult.h + include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h + include/alibabacloud/dcdn/model/DescribeRoutineUserInfoResult.h include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h @@ -227,6 +255,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h + include/alibabacloud/dcdn/model/EditRoutineConfRequest.h + include/alibabacloud/dcdn/model/EditRoutineConfResult.h include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h @@ -237,6 +267,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/PreloadDcdnObjectCachesResult.h include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionRequest.h include/alibabacloud/dcdn/model/PublishDcdnStagingConfigToProductionResult.h + include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h + include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionResult.h include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesRequest.h include/alibabacloud/dcdn/model/RefreshDcdnObjectCachesResult.h include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h @@ -249,6 +281,10 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/SetDcdnDomainCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h + include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h + include/alibabacloud/dcdn/model/SetDcdnUserConfigResult.h + include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h + include/alibabacloud/dcdn/model/SetRoutineSubdomainResult.h include/alibabacloud/dcdn/model/StartDcdnDomainRequest.h include/alibabacloud/dcdn/model/StartDcdnDomainResult.h include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h @@ -269,6 +305,10 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainResult.h include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h include/alibabacloud/dcdn/model/UpdateDcdnSubTaskResult.h + include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h + include/alibabacloud/dcdn/model/UploadRoutineCodeResult.h + include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h + include/alibabacloud/dcdn/model/UploadStagingRoutineCodeResult.h include/alibabacloud/dcdn/model/VerifyDcdnDomainOwnerRequest.h include/alibabacloud/dcdn/model/VerifyDcdnDomainOwnerResult.h ) @@ -292,6 +332,8 @@ set(dcdn_src src/model/BatchStartDcdnDomainResult.cc src/model/BatchStopDcdnDomainRequest.cc src/model/BatchStopDcdnDomainResult.cc + src/model/CommitStagingRoutineCodeRequest.cc + src/model/CommitStagingRoutineCodeResult.cc src/model/CreateDcdnCertificateSigningRequestRequest.cc src/model/CreateDcdnCertificateSigningRequestResult.cc src/model/CreateDcdnDeliverTaskRequest.cc @@ -300,6 +342,8 @@ set(dcdn_src src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc src/model/CreateDcdnSubTaskRequest.cc src/model/CreateDcdnSubTaskResult.cc + src/model/CreateRoutineRequest.cc + src/model/CreateRoutineResult.cc src/model/DeleteDcdnDeliverTaskRequest.cc src/model/DeleteDcdnDeliverTaskResult.cc src/model/DeleteDcdnDomainRequest.cc @@ -314,6 +358,12 @@ set(dcdn_src src/model/DeleteDcdnSpecificStagingConfigResult.cc src/model/DeleteDcdnSubTaskRequest.cc src/model/DeleteDcdnSubTaskResult.cc + src/model/DeleteRoutineRequest.cc + src/model/DeleteRoutineResult.cc + src/model/DeleteRoutineCodeRevisionRequest.cc + src/model/DeleteRoutineCodeRevisionResult.cc + src/model/DeleteRoutineConfEnvsRequest.cc + src/model/DeleteRoutineConfEnvsResult.cc src/model/DescribeDcdnBgpBpsDataRequest.cc src/model/DescribeDcdnBgpBpsDataResult.cc src/model/DescribeDcdnBgpTrafficDataRequest.cc @@ -326,12 +376,16 @@ set(dcdn_src src/model/DescribeDcdnCertificateListResult.cc src/model/DescribeDcdnConfigOfVersionRequest.cc src/model/DescribeDcdnConfigOfVersionResult.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/DescribeDcdnDomainByCertificateRequest.cc src/model/DescribeDcdnDomainByCertificateResult.cc + src/model/DescribeDcdnDomainCcActivityLogRequest.cc + src/model/DescribeDcdnDomainCcActivityLogResult.cc src/model/DescribeDcdnDomainCertificateInfoRequest.cc src/model/DescribeDcdnDomainCertificateInfoResult.cc src/model/DescribeDcdnDomainCnameRequest.cc @@ -394,6 +448,8 @@ set(dcdn_src src/model/DescribeDcdnDomainTopUrlVisitResult.cc src/model/DescribeDcdnDomainTrafficDataRequest.cc src/model/DescribeDcdnDomainTrafficDataResult.cc + src/model/DescribeDcdnDomainUsageDataRequest.cc + src/model/DescribeDcdnDomainUsageDataResult.cc src/model/DescribeDcdnDomainUvDataRequest.cc src/model/DescribeDcdnDomainUvDataResult.cc src/model/DescribeDcdnDomainWebsocketBpsDataRequest.cc @@ -468,6 +524,18 @@ set(dcdn_src src/model/DescribeDcdnVerifyContentResult.cc src/model/DescribeDcdnWafDomainRequest.cc src/model/DescribeDcdnWafDomainResult.cc + src/model/DescribeDcdnsecServiceRequest.cc + src/model/DescribeDcdnsecServiceResult.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/DescribeRoutineSpecRequest.cc + src/model/DescribeRoutineSpecResult.cc + src/model/DescribeRoutineUserInfoRequest.cc + src/model/DescribeRoutineUserInfoResult.cc src/model/DescribeUserDcdnIpaStatusRequest.cc src/model/DescribeUserDcdnIpaStatusResult.cc src/model/DescribeUserDcdnStatusRequest.cc @@ -480,6 +548,8 @@ set(dcdn_src src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc src/model/DisableDcdnOfflineLogDeliveryRequest.cc src/model/DisableDcdnOfflineLogDeliveryResult.cc + src/model/EditRoutineConfRequest.cc + src/model/EditRoutineConfResult.cc src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc @@ -490,6 +560,8 @@ set(dcdn_src src/model/PreloadDcdnObjectCachesResult.cc src/model/PublishDcdnStagingConfigToProductionRequest.cc src/model/PublishDcdnStagingConfigToProductionResult.cc + src/model/PublishRoutineCodeRevisionRequest.cc + src/model/PublishRoutineCodeRevisionResult.cc src/model/RefreshDcdnObjectCachesRequest.cc src/model/RefreshDcdnObjectCachesResult.cc src/model/RollbackDcdnStagingConfigRequest.cc @@ -502,6 +574,10 @@ set(dcdn_src src/model/SetDcdnDomainCertificateResult.cc src/model/SetDcdnDomainStagingConfigRequest.cc src/model/SetDcdnDomainStagingConfigResult.cc + src/model/SetDcdnUserConfigRequest.cc + src/model/SetDcdnUserConfigResult.cc + src/model/SetRoutineSubdomainRequest.cc + src/model/SetRoutineSubdomainResult.cc src/model/StartDcdnDomainRequest.cc src/model/StartDcdnDomainResult.cc src/model/StartDcdnIpaDomainRequest.cc @@ -522,6 +598,10 @@ set(dcdn_src src/model/UpdateDcdnIpaDomainResult.cc src/model/UpdateDcdnSubTaskRequest.cc src/model/UpdateDcdnSubTaskResult.cc + src/model/UploadRoutineCodeRequest.cc + src/model/UploadRoutineCodeResult.cc + src/model/UploadStagingRoutineCodeRequest.cc + src/model/UploadStagingRoutineCodeResult.cc src/model/VerifyDcdnDomainOwnerRequest.cc src/model/VerifyDcdnDomainOwnerResult.cc ) diff --git a/dcdn/include/alibabacloud/dcdn/DcdnClient.h b/dcdn/include/alibabacloud/dcdn/DcdnClient.h index 6df705950..8d805ebfb 100644 --- a/dcdn/include/alibabacloud/dcdn/DcdnClient.h +++ b/dcdn/include/alibabacloud/dcdn/DcdnClient.h @@ -40,6 +40,8 @@ #include "model/BatchStartDcdnDomainResult.h" #include "model/BatchStopDcdnDomainRequest.h" #include "model/BatchStopDcdnDomainResult.h" +#include "model/CommitStagingRoutineCodeRequest.h" +#include "model/CommitStagingRoutineCodeResult.h" #include "model/CreateDcdnCertificateSigningRequestRequest.h" #include "model/CreateDcdnCertificateSigningRequestResult.h" #include "model/CreateDcdnDeliverTaskRequest.h" @@ -48,6 +50,8 @@ #include "model/CreateDcdnDomainOfflineLogDeliveryResult.h" #include "model/CreateDcdnSubTaskRequest.h" #include "model/CreateDcdnSubTaskResult.h" +#include "model/CreateRoutineRequest.h" +#include "model/CreateRoutineResult.h" #include "model/DeleteDcdnDeliverTaskRequest.h" #include "model/DeleteDcdnDeliverTaskResult.h" #include "model/DeleteDcdnDomainRequest.h" @@ -62,6 +66,12 @@ #include "model/DeleteDcdnSpecificStagingConfigResult.h" #include "model/DeleteDcdnSubTaskRequest.h" #include "model/DeleteDcdnSubTaskResult.h" +#include "model/DeleteRoutineRequest.h" +#include "model/DeleteRoutineResult.h" +#include "model/DeleteRoutineCodeRevisionRequest.h" +#include "model/DeleteRoutineCodeRevisionResult.h" +#include "model/DeleteRoutineConfEnvsRequest.h" +#include "model/DeleteRoutineConfEnvsResult.h" #include "model/DescribeDcdnBgpBpsDataRequest.h" #include "model/DescribeDcdnBgpBpsDataResult.h" #include "model/DescribeDcdnBgpTrafficDataRequest.h" @@ -74,12 +84,16 @@ #include "model/DescribeDcdnCertificateListResult.h" #include "model/DescribeDcdnConfigOfVersionRequest.h" #include "model/DescribeDcdnConfigOfVersionResult.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/DescribeDcdnDomainByCertificateRequest.h" #include "model/DescribeDcdnDomainByCertificateResult.h" +#include "model/DescribeDcdnDomainCcActivityLogRequest.h" +#include "model/DescribeDcdnDomainCcActivityLogResult.h" #include "model/DescribeDcdnDomainCertificateInfoRequest.h" #include "model/DescribeDcdnDomainCertificateInfoResult.h" #include "model/DescribeDcdnDomainCnameRequest.h" @@ -142,6 +156,8 @@ #include "model/DescribeDcdnDomainTopUrlVisitResult.h" #include "model/DescribeDcdnDomainTrafficDataRequest.h" #include "model/DescribeDcdnDomainTrafficDataResult.h" +#include "model/DescribeDcdnDomainUsageDataRequest.h" +#include "model/DescribeDcdnDomainUsageDataResult.h" #include "model/DescribeDcdnDomainUvDataRequest.h" #include "model/DescribeDcdnDomainUvDataResult.h" #include "model/DescribeDcdnDomainWebsocketBpsDataRequest.h" @@ -216,6 +232,18 @@ #include "model/DescribeDcdnVerifyContentResult.h" #include "model/DescribeDcdnWafDomainRequest.h" #include "model/DescribeDcdnWafDomainResult.h" +#include "model/DescribeDcdnsecServiceRequest.h" +#include "model/DescribeDcdnsecServiceResult.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/DescribeRoutineSpecRequest.h" +#include "model/DescribeRoutineSpecResult.h" +#include "model/DescribeRoutineUserInfoRequest.h" +#include "model/DescribeRoutineUserInfoResult.h" #include "model/DescribeUserDcdnIpaStatusRequest.h" #include "model/DescribeUserDcdnIpaStatusResult.h" #include "model/DescribeUserDcdnStatusRequest.h" @@ -228,6 +256,8 @@ #include "model/DisableDcdnDomainOfflineLogDeliveryResult.h" #include "model/DisableDcdnOfflineLogDeliveryRequest.h" #include "model/DisableDcdnOfflineLogDeliveryResult.h" +#include "model/EditRoutineConfRequest.h" +#include "model/EditRoutineConfResult.h" #include "model/EnableDcdnDomainOfflineLogDeliveryRequest.h" #include "model/EnableDcdnDomainOfflineLogDeliveryResult.h" #include "model/ModifyDCdnDomainSchdmByPropertyRequest.h" @@ -238,6 +268,8 @@ #include "model/PreloadDcdnObjectCachesResult.h" #include "model/PublishDcdnStagingConfigToProductionRequest.h" #include "model/PublishDcdnStagingConfigToProductionResult.h" +#include "model/PublishRoutineCodeRevisionRequest.h" +#include "model/PublishRoutineCodeRevisionResult.h" #include "model/RefreshDcdnObjectCachesRequest.h" #include "model/RefreshDcdnObjectCachesResult.h" #include "model/RollbackDcdnStagingConfigRequest.h" @@ -250,6 +282,10 @@ #include "model/SetDcdnDomainCertificateResult.h" #include "model/SetDcdnDomainStagingConfigRequest.h" #include "model/SetDcdnDomainStagingConfigResult.h" +#include "model/SetDcdnUserConfigRequest.h" +#include "model/SetDcdnUserConfigResult.h" +#include "model/SetRoutineSubdomainRequest.h" +#include "model/SetRoutineSubdomainResult.h" #include "model/StartDcdnDomainRequest.h" #include "model/StartDcdnDomainResult.h" #include "model/StartDcdnIpaDomainRequest.h" @@ -270,6 +306,10 @@ #include "model/UpdateDcdnIpaDomainResult.h" #include "model/UpdateDcdnSubTaskRequest.h" #include "model/UpdateDcdnSubTaskResult.h" +#include "model/UploadRoutineCodeRequest.h" +#include "model/UploadRoutineCodeResult.h" +#include "model/UploadStagingRoutineCodeRequest.h" +#include "model/UploadStagingRoutineCodeResult.h" #include "model/VerifyDcdnDomainOwnerRequest.h" #include "model/VerifyDcdnDomainOwnerResult.h" @@ -308,6 +348,9 @@ namespace AlibabaCloud typedef Outcome BatchStopDcdnDomainOutcome; typedef std::future BatchStopDcdnDomainOutcomeCallable; typedef std::function&)> BatchStopDcdnDomainAsyncHandler; + typedef Outcome CommitStagingRoutineCodeOutcome; + typedef std::future CommitStagingRoutineCodeOutcomeCallable; + typedef std::function&)> CommitStagingRoutineCodeAsyncHandler; typedef Outcome CreateDcdnCertificateSigningRequestOutcome; typedef std::future CreateDcdnCertificateSigningRequestOutcomeCallable; typedef std::function&)> CreateDcdnCertificateSigningRequestAsyncHandler; @@ -320,6 +363,9 @@ namespace AlibabaCloud typedef Outcome CreateDcdnSubTaskOutcome; typedef std::future CreateDcdnSubTaskOutcomeCallable; typedef std::function&)> CreateDcdnSubTaskAsyncHandler; + typedef Outcome CreateRoutineOutcome; + typedef std::future CreateRoutineOutcomeCallable; + typedef std::function&)> CreateRoutineAsyncHandler; typedef Outcome DeleteDcdnDeliverTaskOutcome; typedef std::future DeleteDcdnDeliverTaskOutcomeCallable; typedef std::function&)> DeleteDcdnDeliverTaskAsyncHandler; @@ -341,6 +387,15 @@ namespace AlibabaCloud typedef Outcome DeleteDcdnSubTaskOutcome; typedef std::future DeleteDcdnSubTaskOutcomeCallable; typedef std::function&)> DeleteDcdnSubTaskAsyncHandler; + typedef Outcome DeleteRoutineOutcome; + typedef std::future DeleteRoutineOutcomeCallable; + typedef std::function&)> DeleteRoutineAsyncHandler; + typedef Outcome DeleteRoutineCodeRevisionOutcome; + typedef std::future DeleteRoutineCodeRevisionOutcomeCallable; + typedef std::function&)> DeleteRoutineCodeRevisionAsyncHandler; + typedef Outcome DeleteRoutineConfEnvsOutcome; + typedef std::future DeleteRoutineConfEnvsOutcomeCallable; + typedef std::function&)> DeleteRoutineConfEnvsAsyncHandler; typedef Outcome DescribeDcdnBgpBpsDataOutcome; typedef std::future DescribeDcdnBgpBpsDataOutcomeCallable; typedef std::function&)> DescribeDcdnBgpBpsDataAsyncHandler; @@ -359,6 +414,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnConfigOfVersionOutcome; typedef std::future DescribeDcdnConfigOfVersionOutcomeCallable; typedef std::function&)> DescribeDcdnConfigOfVersionAsyncHandler; + typedef Outcome DescribeDcdnDeletedDomainsOutcome; + typedef std::future DescribeDcdnDeletedDomainsOutcomeCallable; + typedef std::function&)> DescribeDcdnDeletedDomainsAsyncHandler; typedef Outcome DescribeDcdnDeliverListOutcome; typedef std::future DescribeDcdnDeliverListOutcomeCallable; typedef std::function&)> DescribeDcdnDeliverListAsyncHandler; @@ -368,6 +426,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainByCertificateOutcome; typedef std::future DescribeDcdnDomainByCertificateOutcomeCallable; typedef std::function&)> DescribeDcdnDomainByCertificateAsyncHandler; + typedef Outcome DescribeDcdnDomainCcActivityLogOutcome; + typedef std::future DescribeDcdnDomainCcActivityLogOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainCcActivityLogAsyncHandler; typedef Outcome DescribeDcdnDomainCertificateInfoOutcome; typedef std::future DescribeDcdnDomainCertificateInfoOutcomeCallable; typedef std::function&)> DescribeDcdnDomainCertificateInfoAsyncHandler; @@ -461,6 +522,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnDomainTrafficDataOutcome; typedef std::future DescribeDcdnDomainTrafficDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainTrafficDataAsyncHandler; + typedef Outcome DescribeDcdnDomainUsageDataOutcome; + typedef std::future DescribeDcdnDomainUsageDataOutcomeCallable; + typedef std::function&)> DescribeDcdnDomainUsageDataAsyncHandler; typedef Outcome DescribeDcdnDomainUvDataOutcome; typedef std::future DescribeDcdnDomainUvDataOutcomeCallable; typedef std::function&)> DescribeDcdnDomainUvDataAsyncHandler; @@ -572,6 +636,24 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnWafDomainOutcome; typedef std::future DescribeDcdnWafDomainOutcomeCallable; typedef std::function&)> DescribeDcdnWafDomainAsyncHandler; + typedef Outcome DescribeDcdnsecServiceOutcome; + typedef std::future DescribeDcdnsecServiceOutcomeCallable; + typedef std::function&)> DescribeDcdnsecServiceAsyncHandler; + typedef Outcome DescribeRoutineOutcome; + typedef std::future DescribeRoutineOutcomeCallable; + typedef std::function&)> DescribeRoutineAsyncHandler; + typedef Outcome DescribeRoutineCanaryEnvsOutcome; + typedef std::future DescribeRoutineCanaryEnvsOutcomeCallable; + typedef std::function&)> DescribeRoutineCanaryEnvsAsyncHandler; + typedef Outcome DescribeRoutineCodeRevisionOutcome; + typedef std::future DescribeRoutineCodeRevisionOutcomeCallable; + typedef std::function&)> DescribeRoutineCodeRevisionAsyncHandler; + typedef Outcome DescribeRoutineSpecOutcome; + typedef std::future DescribeRoutineSpecOutcomeCallable; + typedef std::function&)> DescribeRoutineSpecAsyncHandler; + typedef Outcome DescribeRoutineUserInfoOutcome; + typedef std::future DescribeRoutineUserInfoOutcomeCallable; + typedef std::function&)> DescribeRoutineUserInfoAsyncHandler; typedef Outcome DescribeUserDcdnIpaStatusOutcome; typedef std::future DescribeUserDcdnIpaStatusOutcomeCallable; typedef std::function&)> DescribeUserDcdnIpaStatusAsyncHandler; @@ -590,6 +672,9 @@ namespace AlibabaCloud typedef Outcome DisableDcdnOfflineLogDeliveryOutcome; typedef std::future DisableDcdnOfflineLogDeliveryOutcomeCallable; typedef std::function&)> DisableDcdnOfflineLogDeliveryAsyncHandler; + typedef Outcome EditRoutineConfOutcome; + typedef std::future EditRoutineConfOutcomeCallable; + typedef std::function&)> EditRoutineConfAsyncHandler; typedef Outcome EnableDcdnDomainOfflineLogDeliveryOutcome; typedef std::future EnableDcdnDomainOfflineLogDeliveryOutcomeCallable; typedef std::function&)> EnableDcdnDomainOfflineLogDeliveryAsyncHandler; @@ -605,6 +690,9 @@ namespace AlibabaCloud typedef Outcome PublishDcdnStagingConfigToProductionOutcome; typedef std::future PublishDcdnStagingConfigToProductionOutcomeCallable; typedef std::function&)> PublishDcdnStagingConfigToProductionAsyncHandler; + typedef Outcome PublishRoutineCodeRevisionOutcome; + typedef std::future PublishRoutineCodeRevisionOutcomeCallable; + typedef std::function&)> PublishRoutineCodeRevisionAsyncHandler; typedef Outcome RefreshDcdnObjectCachesOutcome; typedef std::future RefreshDcdnObjectCachesOutcomeCallable; typedef std::function&)> RefreshDcdnObjectCachesAsyncHandler; @@ -623,6 +711,12 @@ namespace AlibabaCloud typedef Outcome SetDcdnDomainStagingConfigOutcome; typedef std::future SetDcdnDomainStagingConfigOutcomeCallable; typedef std::function&)> SetDcdnDomainStagingConfigAsyncHandler; + typedef Outcome SetDcdnUserConfigOutcome; + typedef std::future SetDcdnUserConfigOutcomeCallable; + typedef std::function&)> SetDcdnUserConfigAsyncHandler; + typedef Outcome SetRoutineSubdomainOutcome; + typedef std::future SetRoutineSubdomainOutcomeCallable; + typedef std::function&)> SetRoutineSubdomainAsyncHandler; typedef Outcome StartDcdnDomainOutcome; typedef std::future StartDcdnDomainOutcomeCallable; typedef std::function&)> StartDcdnDomainAsyncHandler; @@ -653,6 +747,12 @@ namespace AlibabaCloud typedef Outcome UpdateDcdnSubTaskOutcome; typedef std::future UpdateDcdnSubTaskOutcomeCallable; typedef std::function&)> UpdateDcdnSubTaskAsyncHandler; + typedef Outcome UploadRoutineCodeOutcome; + typedef std::future UploadRoutineCodeOutcomeCallable; + typedef std::function&)> UploadRoutineCodeAsyncHandler; + typedef Outcome UploadStagingRoutineCodeOutcome; + typedef std::future UploadStagingRoutineCodeOutcomeCallable; + typedef std::function&)> UploadStagingRoutineCodeAsyncHandler; typedef Outcome VerifyDcdnDomainOwnerOutcome; typedef std::future VerifyDcdnDomainOwnerOutcomeCallable; typedef std::function&)> VerifyDcdnDomainOwnerAsyncHandler; @@ -688,6 +788,9 @@ namespace AlibabaCloud BatchStopDcdnDomainOutcome batchStopDcdnDomain(const Model::BatchStopDcdnDomainRequest &request)const; void batchStopDcdnDomainAsync(const Model::BatchStopDcdnDomainRequest& request, const BatchStopDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchStopDcdnDomainOutcomeCallable batchStopDcdnDomainCallable(const Model::BatchStopDcdnDomainRequest& request) const; + CommitStagingRoutineCodeOutcome commitStagingRoutineCode(const Model::CommitStagingRoutineCodeRequest &request)const; + void commitStagingRoutineCodeAsync(const Model::CommitStagingRoutineCodeRequest& request, const CommitStagingRoutineCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CommitStagingRoutineCodeOutcomeCallable commitStagingRoutineCodeCallable(const Model::CommitStagingRoutineCodeRequest& request) const; CreateDcdnCertificateSigningRequestOutcome createDcdnCertificateSigningRequest(const Model::CreateDcdnCertificateSigningRequestRequest &request)const; void createDcdnCertificateSigningRequestAsync(const Model::CreateDcdnCertificateSigningRequestRequest& request, const CreateDcdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDcdnCertificateSigningRequestOutcomeCallable createDcdnCertificateSigningRequestCallable(const Model::CreateDcdnCertificateSigningRequestRequest& request) const; @@ -700,6 +803,9 @@ 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; + 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; 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; @@ -721,6 +827,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; + 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; + DeleteRoutineCodeRevisionOutcome deleteRoutineCodeRevision(const Model::DeleteRoutineCodeRevisionRequest &request)const; + void deleteRoutineCodeRevisionAsync(const Model::DeleteRoutineCodeRevisionRequest& request, const DeleteRoutineCodeRevisionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRoutineCodeRevisionOutcomeCallable deleteRoutineCodeRevisionCallable(const Model::DeleteRoutineCodeRevisionRequest& request) const; + DeleteRoutineConfEnvsOutcome deleteRoutineConfEnvs(const Model::DeleteRoutineConfEnvsRequest &request)const; + void deleteRoutineConfEnvsAsync(const Model::DeleteRoutineConfEnvsRequest& request, const DeleteRoutineConfEnvsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteRoutineConfEnvsOutcomeCallable deleteRoutineConfEnvsCallable(const Model::DeleteRoutineConfEnvsRequest& request) const; DescribeDcdnBgpBpsDataOutcome describeDcdnBgpBpsData(const Model::DescribeDcdnBgpBpsDataRequest &request)const; void describeDcdnBgpBpsDataAsync(const Model::DescribeDcdnBgpBpsDataRequest& request, const DescribeDcdnBgpBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnBgpBpsDataOutcomeCallable describeDcdnBgpBpsDataCallable(const Model::DescribeDcdnBgpBpsDataRequest& request) const; @@ -739,6 +854,9 @@ namespace AlibabaCloud 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; + 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; DescribeDcdnDeliverListOutcome describeDcdnDeliverList(const Model::DescribeDcdnDeliverListRequest &request)const; void describeDcdnDeliverListAsync(const Model::DescribeDcdnDeliverListRequest& request, const DescribeDcdnDeliverListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDeliverListOutcomeCallable describeDcdnDeliverListCallable(const Model::DescribeDcdnDeliverListRequest& request) const; @@ -748,6 +866,9 @@ namespace AlibabaCloud 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; + DescribeDcdnDomainCcActivityLogOutcome describeDcdnDomainCcActivityLog(const Model::DescribeDcdnDomainCcActivityLogRequest &request)const; + void describeDcdnDomainCcActivityLogAsync(const Model::DescribeDcdnDomainCcActivityLogRequest& request, const DescribeDcdnDomainCcActivityLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainCcActivityLogOutcomeCallable describeDcdnDomainCcActivityLogCallable(const Model::DescribeDcdnDomainCcActivityLogRequest& request) const; DescribeDcdnDomainCertificateInfoOutcome describeDcdnDomainCertificateInfo(const Model::DescribeDcdnDomainCertificateInfoRequest &request)const; void describeDcdnDomainCertificateInfoAsync(const Model::DescribeDcdnDomainCertificateInfoRequest& request, const DescribeDcdnDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainCertificateInfoOutcomeCallable describeDcdnDomainCertificateInfoCallable(const Model::DescribeDcdnDomainCertificateInfoRequest& request) const; @@ -841,6 +962,9 @@ namespace AlibabaCloud DescribeDcdnDomainTrafficDataOutcome describeDcdnDomainTrafficData(const Model::DescribeDcdnDomainTrafficDataRequest &request)const; void describeDcdnDomainTrafficDataAsync(const Model::DescribeDcdnDomainTrafficDataRequest& request, const DescribeDcdnDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainTrafficDataOutcomeCallable describeDcdnDomainTrafficDataCallable(const Model::DescribeDcdnDomainTrafficDataRequest& request) const; + DescribeDcdnDomainUsageDataOutcome describeDcdnDomainUsageData(const Model::DescribeDcdnDomainUsageDataRequest &request)const; + void describeDcdnDomainUsageDataAsync(const Model::DescribeDcdnDomainUsageDataRequest& request, const DescribeDcdnDomainUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnDomainUsageDataOutcomeCallable describeDcdnDomainUsageDataCallable(const Model::DescribeDcdnDomainUsageDataRequest& request) const; DescribeDcdnDomainUvDataOutcome describeDcdnDomainUvData(const Model::DescribeDcdnDomainUvDataRequest &request)const; void describeDcdnDomainUvDataAsync(const Model::DescribeDcdnDomainUvDataRequest& request, const DescribeDcdnDomainUvDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnDomainUvDataOutcomeCallable describeDcdnDomainUvDataCallable(const Model::DescribeDcdnDomainUvDataRequest& request) const; @@ -952,6 +1076,24 @@ namespace AlibabaCloud 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; + 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; + 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; + DescribeRoutineCanaryEnvsOutcome describeRoutineCanaryEnvs(const Model::DescribeRoutineCanaryEnvsRequest &request)const; + void describeRoutineCanaryEnvsAsync(const Model::DescribeRoutineCanaryEnvsRequest& request, const DescribeRoutineCanaryEnvsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRoutineCanaryEnvsOutcomeCallable describeRoutineCanaryEnvsCallable(const Model::DescribeRoutineCanaryEnvsRequest& request) const; + 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; + 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; + DescribeRoutineUserInfoOutcome describeRoutineUserInfo(const Model::DescribeRoutineUserInfoRequest &request)const; + void describeRoutineUserInfoAsync(const Model::DescribeRoutineUserInfoRequest& request, const DescribeRoutineUserInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRoutineUserInfoOutcomeCallable describeRoutineUserInfoCallable(const Model::DescribeRoutineUserInfoRequest& request) const; DescribeUserDcdnIpaStatusOutcome describeUserDcdnIpaStatus(const Model::DescribeUserDcdnIpaStatusRequest &request)const; void describeUserDcdnIpaStatusAsync(const Model::DescribeUserDcdnIpaStatusRequest& request, const DescribeUserDcdnIpaStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUserDcdnIpaStatusOutcomeCallable describeUserDcdnIpaStatusCallable(const Model::DescribeUserDcdnIpaStatusRequest& request) const; @@ -970,6 +1112,9 @@ namespace AlibabaCloud DisableDcdnOfflineLogDeliveryOutcome disableDcdnOfflineLogDelivery(const Model::DisableDcdnOfflineLogDeliveryRequest &request)const; void disableDcdnOfflineLogDeliveryAsync(const Model::DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DisableDcdnOfflineLogDeliveryOutcomeCallable disableDcdnOfflineLogDeliveryCallable(const Model::DisableDcdnOfflineLogDeliveryRequest& request) const; + 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; EnableDcdnDomainOfflineLogDeliveryOutcome enableDcdnDomainOfflineLogDelivery(const Model::EnableDcdnDomainOfflineLogDeliveryRequest &request)const; void enableDcdnDomainOfflineLogDeliveryAsync(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableDcdnDomainOfflineLogDeliveryOutcomeCallable enableDcdnDomainOfflineLogDeliveryCallable(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request) const; @@ -985,6 +1130,9 @@ namespace AlibabaCloud PublishDcdnStagingConfigToProductionOutcome publishDcdnStagingConfigToProduction(const Model::PublishDcdnStagingConfigToProductionRequest &request)const; void publishDcdnStagingConfigToProductionAsync(const Model::PublishDcdnStagingConfigToProductionRequest& request, const PublishDcdnStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PublishDcdnStagingConfigToProductionOutcomeCallable publishDcdnStagingConfigToProductionCallable(const Model::PublishDcdnStagingConfigToProductionRequest& request) const; + 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; 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; @@ -1003,6 +1151,12 @@ namespace AlibabaCloud 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; + SetDcdnUserConfigOutcome setDcdnUserConfig(const Model::SetDcdnUserConfigRequest &request)const; + void setDcdnUserConfigAsync(const Model::SetDcdnUserConfigRequest& request, const SetDcdnUserConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDcdnUserConfigOutcomeCallable setDcdnUserConfigCallable(const Model::SetDcdnUserConfigRequest& request) const; + SetRoutineSubdomainOutcome setRoutineSubdomain(const Model::SetRoutineSubdomainRequest &request)const; + void setRoutineSubdomainAsync(const Model::SetRoutineSubdomainRequest& request, const SetRoutineSubdomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetRoutineSubdomainOutcomeCallable setRoutineSubdomainCallable(const Model::SetRoutineSubdomainRequest& request) const; StartDcdnDomainOutcome startDcdnDomain(const Model::StartDcdnDomainRequest &request)const; void startDcdnDomainAsync(const Model::StartDcdnDomainRequest& request, const StartDcdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartDcdnDomainOutcomeCallable startDcdnDomainCallable(const Model::StartDcdnDomainRequest& request) const; @@ -1033,6 +1187,12 @@ namespace AlibabaCloud UpdateDcdnSubTaskOutcome updateDcdnSubTask(const Model::UpdateDcdnSubTaskRequest &request)const; void updateDcdnSubTaskAsync(const Model::UpdateDcdnSubTaskRequest& request, const UpdateDcdnSubTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateDcdnSubTaskOutcomeCallable updateDcdnSubTaskCallable(const Model::UpdateDcdnSubTaskRequest& request) const; + UploadRoutineCodeOutcome uploadRoutineCode(const Model::UploadRoutineCodeRequest &request)const; + void uploadRoutineCodeAsync(const Model::UploadRoutineCodeRequest& request, const UploadRoutineCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadRoutineCodeOutcomeCallable uploadRoutineCodeCallable(const Model::UploadRoutineCodeRequest& request) const; + UploadStagingRoutineCodeOutcome uploadStagingRoutineCode(const Model::UploadStagingRoutineCodeRequest &request)const; + void uploadStagingRoutineCodeAsync(const Model::UploadStagingRoutineCodeRequest& request, const UploadStagingRoutineCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UploadStagingRoutineCodeOutcomeCallable uploadStagingRoutineCodeCallable(const Model::UploadStagingRoutineCodeRequest& request) const; VerifyDcdnDomainOwnerOutcome verifyDcdnDomainOwner(const Model::VerifyDcdnDomainOwnerRequest &request)const; void verifyDcdnDomainOwnerAsync(const Model::VerifyDcdnDomainOwnerRequest& request, const VerifyDcdnDomainOwnerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; VerifyDcdnDomainOwnerOutcomeCallable verifyDcdnDomainOwnerCallable(const Model::VerifyDcdnDomainOwnerRequest& request) const; diff --git a/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h b/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h new file mode 100644 index 000000000..e90f44217 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeResult.h b/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeResult.h new file mode 100644 index 000000000..f0000ddc3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CommitStagingRoutineCodeResult.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_COMMITSTAGINGROUTINECODERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CommitStagingRoutineCodeResult : public ServiceResult + { + public: + + + CommitStagingRoutineCodeResult(); + explicit CommitStagingRoutineCodeResult(const std::string &payload); + ~CommitStagingRoutineCodeResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_COMMITSTAGINGROUTINECODERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h index 70270e988..0c44ac8ff 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h @@ -47,8 +47,6 @@ namespace AlibabaCloud void setSchedule(const std::string& schedule); std::string getName()const; void setName(const std::string& name); - std::string getStatus()const; - void setStatus(const std::string& status); private: std::string reports_; @@ -57,7 +55,6 @@ namespace AlibabaCloud long ownerId_; std::string schedule_; std::string name_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h index b945c14e1..60b8bfc7a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h @@ -35,26 +35,17 @@ namespace AlibabaCloud CreateDcdnSubTaskRequest(); ~CreateDcdnSubTaskRequest(); - 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); - std::string getStatus()const; - void setStatus(const std::string& status); private: - std::string startTime_; std::string domainName_; - std::string endTime_; long ownerId_; std::string reportIds_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.h new file mode 100644 index 000000000..40892dac1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateRoutineRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateRoutineResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateRoutineResult.h new file mode 100644 index 000000000..cb8197908 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateRoutineResult.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_CREATEROUTINERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEROUTINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateRoutineResult : public ServiceResult + { + public: + + + CreateRoutineResult(); + explicit CreateRoutineResult(const std::string &payload); + ~CreateRoutineResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEROUTINERESULT_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 new file mode 100644 index 000000000..52fc5d4e4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionResult.h new file mode 100644 index 000000000..877c36008 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineCodeRevisionResult.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_DELETEROUTINECODEREVISIONRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineCodeRevisionResult : public ServiceResult + { + public: + + + DeleteRoutineCodeRevisionResult(); + explicit DeleteRoutineCodeRevisionResult(const std::string &payload); + ~DeleteRoutineCodeRevisionResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECODEREVISIONRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.h new file mode 100644 index 000000000..5913e0ca4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsResult.h new file mode 100644 index 000000000..79cf27291 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineConfEnvsResult.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_DELETEROUTINECONFENVSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineConfEnvsResult : public ServiceResult + { + public: + + + DeleteRoutineConfEnvsResult(); + explicit DeleteRoutineConfEnvsResult(const std::string &payload); + ~DeleteRoutineConfEnvsResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINECONFENVSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.h new file mode 100644 index 000000000..13b1566ae --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineResult.h new file mode 100644 index 000000000..b109f0380 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteRoutineResult.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_DELETEROUTINERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEROUTINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteRoutineResult : public ServiceResult + { + public: + + + DeleteRoutineResult(); + explicit DeleteRoutineResult(const std::string &payload); + ~DeleteRoutineResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEROUTINERESULT_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 new file mode 100644 index 000000000..ad473cbe7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsResult.h new file mode 100644 index 000000000..1e4c60d91 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeletedDomainsResult.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_DESCRIBEDCDNDELETEDDOMAINSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDELETEDDOMAINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDeletedDomainsResult : public ServiceResult + { + public: + struct PageData + { + std::string domainName; + std::string gmtModified; + }; + + + DescribeDcdnDeletedDomainsResult(); + explicit DescribeDcdnDeletedDomainsResult(const std::string &payload); + ~DescribeDcdnDeletedDomainsResult(); + 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_DESCRIBEDCDNDELETEDDOMAINSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h index 9a5e37a12..6a0608358 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDeliverListRequest.h @@ -39,13 +39,10 @@ namespace AlibabaCloud void setDeliverId(long deliverId); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getStatus()const; - void setStatus(const std::string& status); private: long deliverId_; long ownerId_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.h new file mode 100644 index 000000000..525025adb --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogResult.h new file mode 100644 index 000000000..34906d5ab --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainCcActivityLogResult.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_DESCRIBEDCDNDOMAINCCACTIVITYLOGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainCcActivityLogResult : public ServiceResult + { + public: + struct LogInfo + { + std::string action; + std::string domainName; + std::string value; + std::string triggerObject; + long ttl; + std::string timeStamp; + std::string ruleName; + }; + + + DescribeDcdnDomainCcActivityLogResult(); + explicit DescribeDcdnDomainCcActivityLogResult(const std::string &payload); + ~DescribeDcdnDomainCcActivityLogResult(); + long getPageSize()const; + long getTotal()const; + std::vector getActivityLog()const; + long getPageIndex()const; + + protected: + void parse(const std::string &payload); + private: + long pageSize_; + long total_; + std::vector activityLog_; + long pageIndex_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINCCACTIVITYLOGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h index c7833137f..f5336bb47 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainConfigsRequest.h @@ -43,12 +43,15 @@ namespace AlibabaCloud 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_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.h new file mode 100644 index 000000000..0a7004eb3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataResult.h new file mode 100644 index 000000000..3dbde4380 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainUsageDataResult.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_DESCRIBEDCDNDOMAINUSAGEDATARESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnDomainUsageDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string value; + std::string peakTime; + std::string specialValue; + std::string timeStamp; + }; + + + DescribeDcdnDomainUsageDataResult(); + explicit DescribeDcdnDomainUsageDataResult(const std::string &payload); + ~DescribeDcdnDomainUsageDataResult(); + std::vector getUsageDataPerInterval()const; + std::string getType()const; + std::string getArea()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector usageDataPerInterval_; + std::string type_; + std::string area_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNDOMAINUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h index 21ca998e7..1021ced1d 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h @@ -30,6 +30,12 @@ namespace AlibabaCloud { class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnIpaUserDomainsRequest : public RpcServiceRequest { + public: + struct Tag + { + std::string value; + std::string key; + }; public: DescribeDcdnIpaUserDomainsRequest(); @@ -45,6 +51,8 @@ namespace AlibabaCloud 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; @@ -64,6 +72,7 @@ namespace AlibabaCloud std::string resourceGroupId_; std::string securityToken_; int pageSize_; + std::vector tag_; std::string funcFilter_; std::string domainName_; long ownerId_; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h index 49b62512c..3af1c38a4 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h @@ -37,18 +37,12 @@ namespace AlibabaCloud long getReportId()const; void setReportId(long reportId); - std::string getPermission()const; - void setPermission(const std::string& permission); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getStatus()const; - void setStatus(const std::string& status); private: long reportId_; - std::string permission_; long ownerId_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h index f5e5a68d2..ebe171c2a 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSubListRequest.h @@ -37,12 +37,9 @@ namespace AlibabaCloud long getOwnerId()const; void setOwnerId(long ownerId); - std::string getStatus()const; - void setStatus(const std::string& status); private: long ownerId_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h index ccbf4e5fd..d730206c0 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncRequest.h @@ -41,6 +41,10 @@ namespace AlibabaCloud 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; @@ -50,6 +54,8 @@ namespace AlibabaCloud int pageNumber_; std::string resourceGroupId_; int pageSize_; + std::string funcFilter_; + std::string domainName_; long ownerId_; int funcId_; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h index 3700238d9..4f336a1b3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h @@ -47,7 +47,6 @@ namespace AlibabaCloud std::string resourceGroupId; std::string domainName; std::string gmtModified; - std::string cdnType; std::string gmtCreated; std::vector sources; std::string cname; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h index 2a4372423..bd339c733 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsRequest.h @@ -57,6 +57,8 @@ namespace AlibabaCloud 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; @@ -79,6 +81,7 @@ namespace AlibabaCloud int pageSize_; std::vector tag_; std::string funcFilter_; + std::string coverage_; std::string domainName_; long ownerId_; std::string funcId_; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h index f509850fd..db70b24ce 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud 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; @@ -43,6 +45,7 @@ namespace AlibabaCloud void setOwnerId(long ownerId); private: + std::string resourceGroupId_; std::string regionId_; std::string domainName_; long ownerId_; diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.h new file mode 100644 index 000000000..a753598fd --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h new file mode 100644 index 000000000..d6533c80d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnsecServiceResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnsecServiceResult : public ServiceResult + { + public: + struct LockReason + { + std::string lockReason; + }; + + + DescribeDcdnsecServiceResult(); + explicit DescribeDcdnsecServiceResult(const std::string &payload); + ~DescribeDcdnsecServiceResult(); + std::string getChangingChargeType()const; + std::string getEndTime()const; + std::string getInstanceId()const; + std::string getVersion()const; + std::string getStartTime()const; + std::string getFlowType()const; + std::string getDomainNum()const; + std::vector getOperationLocks()const; + std::string getChangingAffectTime()const; + std::string getInternetChargeType()const; + std::string getRequestType()const; + + protected: + void parse(const std::string &payload); + private: + std::string changingChargeType_; + std::string endTime_; + std::string instanceId_; + std::string version_; + std::string startTime_; + std::string flowType_; + std::string domainNum_; + std::vector operationLocks_; + std::string changingAffectTime_; + std::string internetChargeType_; + std::string requestType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSECSERVICERESULT_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 new file mode 100644 index 000000000..fefdd2b51 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsResult.h new file mode 100644 index 000000000..9e71528bb --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCanaryEnvsResult.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_DESCRIBEROUTINECANARYENVSRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineCanaryEnvsResult : public ServiceResult + { + public: + + + DescribeRoutineCanaryEnvsResult(); + explicit DescribeRoutineCanaryEnvsResult(const std::string &payload); + ~DescribeRoutineCanaryEnvsResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECANARYENVSRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.h new file mode 100644 index 000000000..b470f1036 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionResult.h new file mode 100644 index 000000000..6cbeaffc1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineCodeRevisionResult.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_DESCRIBEROUTINECODEREVISIONRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineCodeRevisionResult : public ServiceResult + { + public: + + + DescribeRoutineCodeRevisionResult(); + explicit DescribeRoutineCodeRevisionResult(const std::string &payload); + ~DescribeRoutineCodeRevisionResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINECODEREVISIONRESULT_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 new file mode 100644 index 000000000..f88c48989 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineResult.h new file mode 100644 index 000000000..4ef3280c3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineResult.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_DESCRIBEROUTINERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineResult : public ServiceResult + { + public: + + + DescribeRoutineResult(); + explicit DescribeRoutineResult(const std::string &payload); + ~DescribeRoutineResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.h new file mode 100644 index 000000000..9b24ed5e0 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecResult.h new file mode 100644 index 000000000..5ee3686fe --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineSpecResult.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_DESCRIBEROUTINESPECRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineSpecResult : public ServiceResult + { + public: + + + DescribeRoutineSpecResult(); + explicit DescribeRoutineSpecResult(const std::string &payload); + ~DescribeRoutineSpecResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINESPECRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.h new file mode 100644 index 000000000..27937d781 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoResult.h new file mode 100644 index 000000000..16e23ff05 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeRoutineUserInfoResult.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_DESCRIBEROUTINEUSERINFORESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeRoutineUserInfoResult : public ServiceResult + { + public: + + + DescribeRoutineUserInfoResult(); + explicit DescribeRoutineUserInfoResult(const std::string &payload); + ~DescribeRoutineUserInfoResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEROUTINEUSERINFORESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.h b/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.h new file mode 100644 index 000000000..5504d7bb2 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfResult.h b/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfResult.h new file mode 100644 index 000000000..015cc69f0 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/EditRoutineConfResult.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_EDITROUTINECONFRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT EditRoutineConfResult : public ServiceResult + { + public: + + + EditRoutineConfResult(); + explicit EditRoutineConfResult(const std::string &payload); + ~EditRoutineConfResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_EDITROUTINECONFRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h b/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.h new file mode 100644 index 000000000..b4d59ba72 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionResult.h b/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionResult.h new file mode 100644 index 000000000..17449ffd3 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/PublishRoutineCodeRevisionResult.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_PUBLISHROUTINECODEREVISIONRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT PublishRoutineCodeRevisionResult : public ServiceResult + { + public: + + + PublishRoutineCodeRevisionResult(); + explicit PublishRoutineCodeRevisionResult(const std::string &payload); + ~PublishRoutineCodeRevisionResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_PUBLISHROUTINECODEREVISIONRESULT_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 102da050b..a767b2799 100644 --- a/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/RollbackDcdnStagingConfigRequest.h @@ -35,15 +35,12 @@ namespace AlibabaCloud RollbackDcdnStagingConfigRequest(); ~RollbackDcdnStagingConfigRequest(); - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); private: - std::string functionName_; std::string domainName_; long ownerId_; diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h new file mode 100644 index 000000000..1941a3b61 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigResult.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigResult.h new file mode 100644 index 000000000..26ea47876 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnUserConfigResult.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_SETDCDNUSERCONFIGRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnUserConfigResult : public ServiceResult + { + public: + + + SetDcdnUserConfigResult(); + explicit SetDcdnUserConfigResult(const std::string &payload); + ~SetDcdnUserConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNUSERCONFIGRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h new file mode 100644 index 000000000..d91576bac --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainResult.h b/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainResult.h new file mode 100644 index 000000000..e2763942f --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetRoutineSubdomainResult.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_SETROUTINESUBDOMAINRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetRoutineSubdomainResult : public ServiceResult + { + public: + + + SetRoutineSubdomainResult(); + explicit SetRoutineSubdomainResult(const std::string &payload); + ~SetRoutineSubdomainResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETROUTINESUBDOMAINRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h index 394222039..97241ef96 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnDeliverTaskRequest.h @@ -49,8 +49,6 @@ namespace AlibabaCloud void setSchedule(const std::string& schedule); std::string getName()const; void setName(const std::string& name); - std::string getStatus()const; - void setStatus(const std::string& status); private: std::string reports_; @@ -60,7 +58,6 @@ namespace AlibabaCloud long ownerId_; std::string schedule_; std::string name_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h index ea288b992..8a47b19a3 100644 --- a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h @@ -45,8 +45,6 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getReportIds()const; void setReportIds(const std::string& reportIds); - std::string getStatus()const; - void setStatus(const std::string& status); private: std::string startTime_; @@ -54,7 +52,6 @@ namespace AlibabaCloud std::string endTime_; long ownerId_; std::string reportIds_; - std::string status_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h b/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h new file mode 100644 index 000000000..0b9892eda --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeResult.h b/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeResult.h new file mode 100644 index 000000000..0501411ee --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UploadRoutineCodeResult.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_UPLOADROUTINECODERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UploadRoutineCodeResult : public ServiceResult + { + public: + + + UploadRoutineCodeResult(); + explicit UploadRoutineCodeResult(const std::string &payload); + ~UploadRoutineCodeResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UPLOADROUTINECODERESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h b/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h new file mode 100644 index 000000000..f21844da9 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.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_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 diff --git a/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeResult.h b/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeResult.h new file mode 100644 index 000000000..f59e9354b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UploadStagingRoutineCodeResult.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_UPLOADSTAGINGROUTINECODERESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UploadStagingRoutineCodeResult : public ServiceResult + { + public: + + + UploadStagingRoutineCodeResult(); + explicit UploadStagingRoutineCodeResult(const std::string &payload); + ~UploadStagingRoutineCodeResult(); + std::string getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UPLOADSTAGINGROUTINECODERESULT_H_ \ No newline at end of file diff --git a/dcdn/src/DcdnClient.cc b/dcdn/src/DcdnClient.cc index b978273c3..a63cd1d38 100644 --- a/dcdn/src/DcdnClient.cc +++ b/dcdn/src/DcdnClient.cc @@ -375,6 +375,42 @@ DcdnClient::BatchStopDcdnDomainOutcomeCallable DcdnClient::batchStopDcdnDomainCa return task->get_future(); } +DcdnClient::CommitStagingRoutineCodeOutcome DcdnClient::commitStagingRoutineCode(const CommitStagingRoutineCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CommitStagingRoutineCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CommitStagingRoutineCodeOutcome(CommitStagingRoutineCodeResult(outcome.result())); + else + return CommitStagingRoutineCodeOutcome(outcome.error()); +} + +void DcdnClient::commitStagingRoutineCodeAsync(const CommitStagingRoutineCodeRequest& request, const CommitStagingRoutineCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, commitStagingRoutineCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CommitStagingRoutineCodeOutcomeCallable DcdnClient::commitStagingRoutineCodeCallable(const CommitStagingRoutineCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->commitStagingRoutineCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::CreateDcdnCertificateSigningRequestOutcome DcdnClient::createDcdnCertificateSigningRequest(const CreateDcdnCertificateSigningRequestRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,6 +555,42 @@ DcdnClient::CreateDcdnSubTaskOutcomeCallable DcdnClient::createDcdnSubTaskCallab return task->get_future(); } +DcdnClient::CreateRoutineOutcome DcdnClient::createRoutine(const CreateRoutineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateRoutineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateRoutineOutcome(CreateRoutineResult(outcome.result())); + else + return CreateRoutineOutcome(outcome.error()); +} + +void DcdnClient::createRoutineAsync(const CreateRoutineRequest& request, const CreateRoutineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createRoutine(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CreateRoutineOutcomeCallable DcdnClient::createRoutineCallable(const CreateRoutineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createRoutine(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DeleteDcdnDeliverTaskOutcome DcdnClient::deleteDcdnDeliverTask(const DeleteDcdnDeliverTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +843,114 @@ DcdnClient::DeleteDcdnSubTaskOutcomeCallable DcdnClient::deleteDcdnSubTaskCallab return task->get_future(); } +DcdnClient::DeleteRoutineOutcome DcdnClient::deleteRoutine(const DeleteRoutineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRoutineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRoutineOutcome(DeleteRoutineResult(outcome.result())); + else + return DeleteRoutineOutcome(outcome.error()); +} + +void DcdnClient::deleteRoutineAsync(const DeleteRoutineRequest& request, const DeleteRoutineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRoutine(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteRoutineOutcomeCallable DcdnClient::deleteRoutineCallable(const DeleteRoutineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRoutine(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DeleteRoutineCodeRevisionOutcome DcdnClient::deleteRoutineCodeRevision(const DeleteRoutineCodeRevisionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRoutineCodeRevisionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRoutineCodeRevisionOutcome(DeleteRoutineCodeRevisionResult(outcome.result())); + else + return DeleteRoutineCodeRevisionOutcome(outcome.error()); +} + +void DcdnClient::deleteRoutineCodeRevisionAsync(const DeleteRoutineCodeRevisionRequest& request, const DeleteRoutineCodeRevisionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRoutineCodeRevision(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteRoutineCodeRevisionOutcomeCallable DcdnClient::deleteRoutineCodeRevisionCallable(const DeleteRoutineCodeRevisionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRoutineCodeRevision(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DeleteRoutineConfEnvsOutcome DcdnClient::deleteRoutineConfEnvs(const DeleteRoutineConfEnvsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteRoutineConfEnvsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteRoutineConfEnvsOutcome(DeleteRoutineConfEnvsResult(outcome.result())); + else + return DeleteRoutineConfEnvsOutcome(outcome.error()); +} + +void DcdnClient::deleteRoutineConfEnvsAsync(const DeleteRoutineConfEnvsRequest& request, const DeleteRoutineConfEnvsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteRoutineConfEnvs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteRoutineConfEnvsOutcomeCallable DcdnClient::deleteRoutineConfEnvsCallable(const DeleteRoutineConfEnvsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteRoutineConfEnvs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnBgpBpsDataOutcome DcdnClient::describeDcdnBgpBpsData(const DescribeDcdnBgpBpsDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -987,6 +1167,42 @@ DcdnClient::DescribeDcdnConfigOfVersionOutcomeCallable DcdnClient::describeDcdnC return task->get_future(); } +DcdnClient::DescribeDcdnDeletedDomainsOutcome DcdnClient::describeDcdnDeletedDomains(const DescribeDcdnDeletedDomainsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDeletedDomainsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDeletedDomainsOutcome(DescribeDcdnDeletedDomainsResult(outcome.result())); + else + return DescribeDcdnDeletedDomainsOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDeletedDomainsAsync(const DescribeDcdnDeletedDomainsRequest& request, const DescribeDcdnDeletedDomainsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDeletedDomains(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDeletedDomainsOutcomeCallable DcdnClient::describeDcdnDeletedDomainsCallable(const DescribeDcdnDeletedDomainsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDeletedDomains(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDeliverListOutcome DcdnClient::describeDcdnDeliverList(const DescribeDcdnDeliverListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1095,6 +1311,42 @@ DcdnClient::DescribeDcdnDomainByCertificateOutcomeCallable DcdnClient::describeD return task->get_future(); } +DcdnClient::DescribeDcdnDomainCcActivityLogOutcome DcdnClient::describeDcdnDomainCcActivityLog(const DescribeDcdnDomainCcActivityLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainCcActivityLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainCcActivityLogOutcome(DescribeDcdnDomainCcActivityLogResult(outcome.result())); + else + return DescribeDcdnDomainCcActivityLogOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainCcActivityLogAsync(const DescribeDcdnDomainCcActivityLogRequest& request, const DescribeDcdnDomainCcActivityLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainCcActivityLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainCcActivityLogOutcomeCallable DcdnClient::describeDcdnDomainCcActivityLogCallable(const DescribeDcdnDomainCcActivityLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainCcActivityLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainCertificateInfoOutcome DcdnClient::describeDcdnDomainCertificateInfo(const DescribeDcdnDomainCertificateInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2211,6 +2463,42 @@ DcdnClient::DescribeDcdnDomainTrafficDataOutcomeCallable DcdnClient::describeDcd return task->get_future(); } +DcdnClient::DescribeDcdnDomainUsageDataOutcome DcdnClient::describeDcdnDomainUsageData(const DescribeDcdnDomainUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnDomainUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnDomainUsageDataOutcome(DescribeDcdnDomainUsageDataResult(outcome.result())); + else + return DescribeDcdnDomainUsageDataOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnDomainUsageDataAsync(const DescribeDcdnDomainUsageDataRequest& request, const DescribeDcdnDomainUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnDomainUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnDomainUsageDataOutcomeCallable DcdnClient::describeDcdnDomainUsageDataCallable(const DescribeDcdnDomainUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnDomainUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnDomainUvDataOutcome DcdnClient::describeDcdnDomainUvData(const DescribeDcdnDomainUvDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3543,6 +3831,222 @@ DcdnClient::DescribeDcdnWafDomainOutcomeCallable DcdnClient::describeDcdnWafDoma return task->get_future(); } +DcdnClient::DescribeDcdnsecServiceOutcome DcdnClient::describeDcdnsecService(const DescribeDcdnsecServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnsecServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnsecServiceOutcome(DescribeDcdnsecServiceResult(outcome.result())); + else + return DescribeDcdnsecServiceOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnsecServiceAsync(const DescribeDcdnsecServiceRequest& request, const DescribeDcdnsecServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnsecService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnsecServiceOutcomeCallable DcdnClient::describeDcdnsecServiceCallable(const DescribeDcdnsecServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnsecService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRoutineOutcome DcdnClient::describeRoutine(const DescribeRoutineRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoutineOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoutineOutcome(DescribeRoutineResult(outcome.result())); + else + return DescribeRoutineOutcome(outcome.error()); +} + +void DcdnClient::describeRoutineAsync(const DescribeRoutineRequest& request, const DescribeRoutineAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoutine(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRoutineOutcomeCallable DcdnClient::describeRoutineCallable(const DescribeRoutineRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoutine(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRoutineCanaryEnvsOutcome DcdnClient::describeRoutineCanaryEnvs(const DescribeRoutineCanaryEnvsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoutineCanaryEnvsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoutineCanaryEnvsOutcome(DescribeRoutineCanaryEnvsResult(outcome.result())); + else + return DescribeRoutineCanaryEnvsOutcome(outcome.error()); +} + +void DcdnClient::describeRoutineCanaryEnvsAsync(const DescribeRoutineCanaryEnvsRequest& request, const DescribeRoutineCanaryEnvsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoutineCanaryEnvs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRoutineCanaryEnvsOutcomeCallable DcdnClient::describeRoutineCanaryEnvsCallable(const DescribeRoutineCanaryEnvsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoutineCanaryEnvs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRoutineCodeRevisionOutcome DcdnClient::describeRoutineCodeRevision(const DescribeRoutineCodeRevisionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoutineCodeRevisionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoutineCodeRevisionOutcome(DescribeRoutineCodeRevisionResult(outcome.result())); + else + return DescribeRoutineCodeRevisionOutcome(outcome.error()); +} + +void DcdnClient::describeRoutineCodeRevisionAsync(const DescribeRoutineCodeRevisionRequest& request, const DescribeRoutineCodeRevisionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoutineCodeRevision(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRoutineCodeRevisionOutcomeCallable DcdnClient::describeRoutineCodeRevisionCallable(const DescribeRoutineCodeRevisionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoutineCodeRevision(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRoutineSpecOutcome DcdnClient::describeRoutineSpec(const DescribeRoutineSpecRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoutineSpecOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoutineSpecOutcome(DescribeRoutineSpecResult(outcome.result())); + else + return DescribeRoutineSpecOutcome(outcome.error()); +} + +void DcdnClient::describeRoutineSpecAsync(const DescribeRoutineSpecRequest& request, const DescribeRoutineSpecAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoutineSpec(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRoutineSpecOutcomeCallable DcdnClient::describeRoutineSpecCallable(const DescribeRoutineSpecRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoutineSpec(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::DescribeRoutineUserInfoOutcome DcdnClient::describeRoutineUserInfo(const DescribeRoutineUserInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRoutineUserInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRoutineUserInfoOutcome(DescribeRoutineUserInfoResult(outcome.result())); + else + return DescribeRoutineUserInfoOutcome(outcome.error()); +} + +void DcdnClient::describeRoutineUserInfoAsync(const DescribeRoutineUserInfoRequest& request, const DescribeRoutineUserInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRoutineUserInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeRoutineUserInfoOutcomeCallable DcdnClient::describeRoutineUserInfoCallable(const DescribeRoutineUserInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRoutineUserInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeUserDcdnIpaStatusOutcome DcdnClient::describeUserDcdnIpaStatus(const DescribeUserDcdnIpaStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3759,6 +4263,42 @@ DcdnClient::DisableDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdn return task->get_future(); } +DcdnClient::EditRoutineConfOutcome DcdnClient::editRoutineConf(const EditRoutineConfRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EditRoutineConfOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EditRoutineConfOutcome(EditRoutineConfResult(outcome.result())); + else + return EditRoutineConfOutcome(outcome.error()); +} + +void DcdnClient::editRoutineConfAsync(const EditRoutineConfRequest& request, const EditRoutineConfAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, editRoutineConf(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::EditRoutineConfOutcomeCallable DcdnClient::editRoutineConfCallable(const EditRoutineConfRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->editRoutineConf(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::enableDcdnDomainOfflineLogDelivery(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3939,6 +4479,42 @@ DcdnClient::PublishDcdnStagingConfigToProductionOutcomeCallable DcdnClient::publ return task->get_future(); } +DcdnClient::PublishRoutineCodeRevisionOutcome DcdnClient::publishRoutineCodeRevision(const PublishRoutineCodeRevisionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PublishRoutineCodeRevisionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PublishRoutineCodeRevisionOutcome(PublishRoutineCodeRevisionResult(outcome.result())); + else + return PublishRoutineCodeRevisionOutcome(outcome.error()); +} + +void DcdnClient::publishRoutineCodeRevisionAsync(const PublishRoutineCodeRevisionRequest& request, const PublishRoutineCodeRevisionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, publishRoutineCodeRevision(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::PublishRoutineCodeRevisionOutcomeCallable DcdnClient::publishRoutineCodeRevisionCallable(const PublishRoutineCodeRevisionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->publishRoutineCodeRevision(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::RefreshDcdnObjectCachesOutcome DcdnClient::refreshDcdnObjectCaches(const RefreshDcdnObjectCachesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,6 +4731,78 @@ DcdnClient::SetDcdnDomainStagingConfigOutcomeCallable DcdnClient::setDcdnDomainS return task->get_future(); } +DcdnClient::SetDcdnUserConfigOutcome DcdnClient::setDcdnUserConfig(const SetDcdnUserConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDcdnUserConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDcdnUserConfigOutcome(SetDcdnUserConfigResult(outcome.result())); + else + return SetDcdnUserConfigOutcome(outcome.error()); +} + +void DcdnClient::setDcdnUserConfigAsync(const SetDcdnUserConfigRequest& request, const SetDcdnUserConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDcdnUserConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetDcdnUserConfigOutcomeCallable DcdnClient::setDcdnUserConfigCallable(const SetDcdnUserConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDcdnUserConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::SetRoutineSubdomainOutcome DcdnClient::setRoutineSubdomain(const SetRoutineSubdomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetRoutineSubdomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetRoutineSubdomainOutcome(SetRoutineSubdomainResult(outcome.result())); + else + return SetRoutineSubdomainOutcome(outcome.error()); +} + +void DcdnClient::setRoutineSubdomainAsync(const SetRoutineSubdomainRequest& request, const SetRoutineSubdomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setRoutineSubdomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetRoutineSubdomainOutcomeCallable DcdnClient::setRoutineSubdomainCallable(const SetRoutineSubdomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setRoutineSubdomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::StartDcdnDomainOutcome DcdnClient::startDcdnDomain(const StartDcdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,6 +5163,78 @@ DcdnClient::UpdateDcdnSubTaskOutcomeCallable DcdnClient::updateDcdnSubTaskCallab return task->get_future(); } +DcdnClient::UploadRoutineCodeOutcome DcdnClient::uploadRoutineCode(const UploadRoutineCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadRoutineCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadRoutineCodeOutcome(UploadRoutineCodeResult(outcome.result())); + else + return UploadRoutineCodeOutcome(outcome.error()); +} + +void DcdnClient::uploadRoutineCodeAsync(const UploadRoutineCodeRequest& request, const UploadRoutineCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadRoutineCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::UploadRoutineCodeOutcomeCallable DcdnClient::uploadRoutineCodeCallable(const UploadRoutineCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadRoutineCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +DcdnClient::UploadStagingRoutineCodeOutcome DcdnClient::uploadStagingRoutineCode(const UploadStagingRoutineCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UploadStagingRoutineCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UploadStagingRoutineCodeOutcome(UploadStagingRoutineCodeResult(outcome.result())); + else + return UploadStagingRoutineCodeOutcome(outcome.error()); +} + +void DcdnClient::uploadStagingRoutineCodeAsync(const UploadStagingRoutineCodeRequest& request, const UploadStagingRoutineCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, uploadStagingRoutineCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::UploadStagingRoutineCodeOutcomeCallable DcdnClient::uploadStagingRoutineCodeCallable(const UploadStagingRoutineCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->uploadStagingRoutineCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::VerifyDcdnDomainOwnerOutcome DcdnClient::verifyDcdnDomainOwner(const VerifyDcdnDomainOwnerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dcdn/src/model/CommitStagingRoutineCodeRequest.cc b/dcdn/src/model/CommitStagingRoutineCodeRequest.cc new file mode 100644 index 000000000..692849a98 --- /dev/null +++ b/dcdn/src/model/CommitStagingRoutineCodeRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::CommitStagingRoutineCodeRequest; + +CommitStagingRoutineCodeRequest::CommitStagingRoutineCodeRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "CommitStagingRoutineCode") +{ + setMethod(HttpRequest::Method::Post); +} + +CommitStagingRoutineCodeRequest::~CommitStagingRoutineCodeRequest() +{} + +std::string CommitStagingRoutineCodeRequest::getCodeDescription()const +{ + return codeDescription_; +} + +void CommitStagingRoutineCodeRequest::setCodeDescription(const std::string& codeDescription) +{ + codeDescription_ = codeDescription; + setBodyParameter("CodeDescription", codeDescription); +} + +long CommitStagingRoutineCodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void CommitStagingRoutineCodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CommitStagingRoutineCodeRequest::getName()const +{ + return name_; +} + +void CommitStagingRoutineCodeRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/CommitStagingRoutineCodeResult.cc b/dcdn/src/model/CommitStagingRoutineCodeResult.cc new file mode 100644 index 000000000..df9bd1289 --- /dev/null +++ b/dcdn/src/model/CommitStagingRoutineCodeResult.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; + +CommitStagingRoutineCodeResult::CommitStagingRoutineCodeResult() : + ServiceResult() +{} + +CommitStagingRoutineCodeResult::CommitStagingRoutineCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CommitStagingRoutineCodeResult::~CommitStagingRoutineCodeResult() +{} + +void CommitStagingRoutineCodeResult::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 CommitStagingRoutineCodeResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc b/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc index 2b6e5f85f..d74d9cc16 100644 --- a/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc +++ b/dcdn/src/model/CreateDcdnDeliverTaskRequest.cc @@ -93,14 +93,3 @@ void CreateDcdnDeliverTaskRequest::setName(const std::string& name) setBodyParameter("Name", name); } -std::string CreateDcdnDeliverTaskRequest::getStatus()const -{ - return status_; -} - -void CreateDcdnDeliverTaskRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); -} - diff --git a/dcdn/src/model/CreateDcdnSubTaskRequest.cc b/dcdn/src/model/CreateDcdnSubTaskRequest.cc index 48a66ee98..b4291ddbb 100644 --- a/dcdn/src/model/CreateDcdnSubTaskRequest.cc +++ b/dcdn/src/model/CreateDcdnSubTaskRequest.cc @@ -27,17 +27,6 @@ CreateDcdnSubTaskRequest::CreateDcdnSubTaskRequest() : CreateDcdnSubTaskRequest::~CreateDcdnSubTaskRequest() {} -std::string CreateDcdnSubTaskRequest::getStartTime()const -{ - return startTime_; -} - -void CreateDcdnSubTaskRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setBodyParameter("StartTime", startTime); -} - std::string CreateDcdnSubTaskRequest::getDomainName()const { return domainName_; @@ -49,17 +38,6 @@ void CreateDcdnSubTaskRequest::setDomainName(const std::string& domainName) setBodyParameter("DomainName", domainName); } -std::string CreateDcdnSubTaskRequest::getEndTime()const -{ - return endTime_; -} - -void CreateDcdnSubTaskRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); -} - long CreateDcdnSubTaskRequest::getOwnerId()const { return ownerId_; @@ -82,14 +60,3 @@ void CreateDcdnSubTaskRequest::setReportIds(const std::string& reportIds) setBodyParameter("ReportIds", reportIds); } -std::string CreateDcdnSubTaskRequest::getStatus()const -{ - return status_; -} - -void CreateDcdnSubTaskRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); -} - diff --git a/dcdn/src/model/CreateRoutineRequest.cc b/dcdn/src/model/CreateRoutineRequest.cc new file mode 100644 index 000000000..2735074dd --- /dev/null +++ b/dcdn/src/model/CreateRoutineRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::CreateRoutineRequest; + +CreateRoutineRequest::CreateRoutineRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "CreateRoutine") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateRoutineRequest::~CreateRoutineRequest() +{} + +std::string CreateRoutineRequest::getDescription()const +{ + return description_; +} + +void CreateRoutineRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string CreateRoutineRequest::getEnvConf()const +{ + return envConf_; +} + +void CreateRoutineRequest::setEnvConf(const std::string& envConf) +{ + envConf_ = envConf; + setBodyParameter("EnvConf", envConf); +} + +long CreateRoutineRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateRoutineRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateRoutineRequest::getName()const +{ + return name_; +} + +void CreateRoutineRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/CreateRoutineResult.cc b/dcdn/src/model/CreateRoutineResult.cc new file mode 100644 index 000000000..20ce3680a --- /dev/null +++ b/dcdn/src/model/CreateRoutineResult.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; + +CreateRoutineResult::CreateRoutineResult() : + ServiceResult() +{} + +CreateRoutineResult::CreateRoutineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateRoutineResult::~CreateRoutineResult() +{} + +void CreateRoutineResult::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 CreateRoutineResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc b/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc new file mode 100644 index 000000000..0f26a5f4b --- /dev/null +++ b/dcdn/src/model/DeleteRoutineCodeRevisionRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteRoutineCodeRevisionRequest; + +DeleteRoutineCodeRevisionRequest::DeleteRoutineCodeRevisionRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutineCodeRevision") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteRoutineCodeRevisionRequest::~DeleteRoutineCodeRevisionRequest() +{} + +std::string DeleteRoutineCodeRevisionRequest::getSelectCodeRevision()const +{ + return selectCodeRevision_; +} + +void DeleteRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string& selectCodeRevision) +{ + selectCodeRevision_ = selectCodeRevision; + setBodyParameter("SelectCodeRevision", selectCodeRevision); +} + +long DeleteRoutineCodeRevisionRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteRoutineCodeRevisionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteRoutineCodeRevisionRequest::getName()const +{ + return name_; +} + +void DeleteRoutineCodeRevisionRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/DeleteRoutineCodeRevisionResult.cc b/dcdn/src/model/DeleteRoutineCodeRevisionResult.cc new file mode 100644 index 000000000..1260dad32 --- /dev/null +++ b/dcdn/src/model/DeleteRoutineCodeRevisionResult.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; + +DeleteRoutineCodeRevisionResult::DeleteRoutineCodeRevisionResult() : + ServiceResult() +{} + +DeleteRoutineCodeRevisionResult::DeleteRoutineCodeRevisionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRoutineCodeRevisionResult::~DeleteRoutineCodeRevisionResult() +{} + +void DeleteRoutineCodeRevisionResult::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 DeleteRoutineCodeRevisionResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc b/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc new file mode 100644 index 000000000..eaf4f21a3 --- /dev/null +++ b/dcdn/src/model/DeleteRoutineConfEnvsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DeleteRoutineConfEnvsRequest; + +DeleteRoutineConfEnvsRequest::DeleteRoutineConfEnvsRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DeleteRoutineConfEnvs") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteRoutineConfEnvsRequest::~DeleteRoutineConfEnvsRequest() +{} + +std::string DeleteRoutineConfEnvsRequest::getEnvs()const +{ + return envs_; +} + +void DeleteRoutineConfEnvsRequest::setEnvs(const std::string& envs) +{ + envs_ = envs; + setBodyParameter("Envs", envs); +} + +long DeleteRoutineConfEnvsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteRoutineConfEnvsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteRoutineConfEnvsRequest::getName()const +{ + return name_; +} + +void DeleteRoutineConfEnvsRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/DeleteRoutineConfEnvsResult.cc b/dcdn/src/model/DeleteRoutineConfEnvsResult.cc new file mode 100644 index 000000000..92ed5a526 --- /dev/null +++ b/dcdn/src/model/DeleteRoutineConfEnvsResult.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; + +DeleteRoutineConfEnvsResult::DeleteRoutineConfEnvsResult() : + ServiceResult() +{} + +DeleteRoutineConfEnvsResult::DeleteRoutineConfEnvsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRoutineConfEnvsResult::~DeleteRoutineConfEnvsResult() +{} + +void DeleteRoutineConfEnvsResult::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 DeleteRoutineConfEnvsResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DeleteRoutineRequest.cc b/dcdn/src/model/DeleteRoutineRequest.cc new file mode 100644 index 000000000..8c23b91a6 --- /dev/null +++ b/dcdn/src/model/DeleteRoutineRequest.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 + +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_; +} + +void DeleteRoutineRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteRoutineRequest::getName()const +{ + return name_; +} + +void DeleteRoutineRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/DeleteRoutineResult.cc b/dcdn/src/model/DeleteRoutineResult.cc new file mode 100644 index 000000000..a97b71017 --- /dev/null +++ b/dcdn/src/model/DeleteRoutineResult.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; + +DeleteRoutineResult::DeleteRoutineResult() : + ServiceResult() +{} + +DeleteRoutineResult::DeleteRoutineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteRoutineResult::~DeleteRoutineResult() +{} + +void DeleteRoutineResult::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 DeleteRoutineResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc b/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc new file mode 100644 index 000000000..45569847c --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDeletedDomainsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDeletedDomainsRequest; + +DescribeDcdnDeletedDomainsRequest::DescribeDcdnDeletedDomainsRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDeletedDomains") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDeletedDomainsRequest::~DescribeDcdnDeletedDomainsRequest() +{} + +int DescribeDcdnDeletedDomainsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDcdnDeletedDomainsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int DescribeDcdnDeletedDomainsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDcdnDeletedDomainsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +long DescribeDcdnDeletedDomainsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnDeletedDomainsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnDeletedDomainsResult.cc b/dcdn/src/model/DescribeDcdnDeletedDomainsResult.cc new file mode 100644 index 000000000..3c1cae0ff --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDeletedDomainsResult.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; + +DescribeDcdnDeletedDomainsResult::DescribeDcdnDeletedDomainsResult() : + ServiceResult() +{} + +DescribeDcdnDeletedDomainsResult::DescribeDcdnDeletedDomainsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDeletedDomainsResult::~DescribeDcdnDeletedDomainsResult() +{} + +void DescribeDcdnDeletedDomainsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainsNode = value["Domains"]["PageData"]; + for (auto valueDomainsPageData : allDomainsNode) + { + PageData domainsObject; + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + domains_.push_back(domainsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeDcdnDeletedDomainsResult::getDomains()const +{ + return domains_; +} + +long DescribeDcdnDeletedDomainsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDcdnDeletedDomainsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDcdnDeletedDomainsResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/dcdn/src/model/DescribeDcdnDeliverListRequest.cc b/dcdn/src/model/DescribeDcdnDeliverListRequest.cc index 2704cc6d0..e421d4f69 100644 --- a/dcdn/src/model/DescribeDcdnDeliverListRequest.cc +++ b/dcdn/src/model/DescribeDcdnDeliverListRequest.cc @@ -49,14 +49,3 @@ void DescribeDcdnDeliverListRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DescribeDcdnDeliverListRequest::getStatus()const -{ - return status_; -} - -void DescribeDcdnDeliverListRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc b/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc new file mode 100644 index 000000000..324816f05 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainCcActivityLogRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS 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_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setRuleName(const std::string& ruleName) +{ + ruleName_ = ruleName; + setParameter("RuleName", ruleName); +} + +std::string DescribeDcdnDomainCcActivityLogRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnDomainCcActivityLogRequest::getTriggerObject()const +{ + return triggerObject_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setTriggerObject(const std::string& triggerObject) +{ + triggerObject_ = triggerObject; + setParameter("TriggerObject", triggerObject); +} + +long DescribeDcdnDomainCcActivityLogRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +long DescribeDcdnDomainCcActivityLogRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDcdnDomainCcActivityLogRequest::getValue()const +{ + return value_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setValue(const std::string& value) +{ + value_ = value; + setParameter("Value", value); +} + +std::string DescribeDcdnDomainCcActivityLogRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDcdnDomainCcActivityLogRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnDomainCcActivityLogRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnDomainCcActivityLogRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.cc b/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.cc new file mode 100644 index 000000000..3e72eb99f --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainCcActivityLogResult.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; + +DescribeDcdnDomainCcActivityLogResult::DescribeDcdnDomainCcActivityLogResult() : + ServiceResult() +{} + +DescribeDcdnDomainCcActivityLogResult::DescribeDcdnDomainCcActivityLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainCcActivityLogResult::~DescribeDcdnDomainCcActivityLogResult() +{} + +void DescribeDcdnDomainCcActivityLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allActivityLogNode = value["ActivityLog"]["LogInfo"]; + for (auto valueActivityLogLogInfo : allActivityLogNode) + { + LogInfo activityLogObject; + if(!valueActivityLogLogInfo["TimeStamp"].isNull()) + activityLogObject.timeStamp = valueActivityLogLogInfo["TimeStamp"].asString(); + if(!valueActivityLogLogInfo["Value"].isNull()) + activityLogObject.value = valueActivityLogLogInfo["Value"].asString(); + if(!valueActivityLogLogInfo["TriggerObject"].isNull()) + activityLogObject.triggerObject = valueActivityLogLogInfo["TriggerObject"].asString(); + if(!valueActivityLogLogInfo["DomainName"].isNull()) + activityLogObject.domainName = valueActivityLogLogInfo["DomainName"].asString(); + if(!valueActivityLogLogInfo["Ttl"].isNull()) + activityLogObject.ttl = std::stol(valueActivityLogLogInfo["Ttl"].asString()); + if(!valueActivityLogLogInfo["Action"].isNull()) + activityLogObject.action = valueActivityLogLogInfo["Action"].asString(); + if(!valueActivityLogLogInfo["RuleName"].isNull()) + activityLogObject.ruleName = valueActivityLogLogInfo["RuleName"].asString(); + activityLog_.push_back(activityLogObject); + } + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stol(value["PageIndex"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); + +} + +long DescribeDcdnDomainCcActivityLogResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDcdnDomainCcActivityLogResult::getTotal()const +{ + return total_; +} + +std::vector DescribeDcdnDomainCcActivityLogResult::getActivityLog()const +{ + return activityLog_; +} + +long DescribeDcdnDomainCcActivityLogResult::getPageIndex()const +{ + return pageIndex_; +} + diff --git a/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc b/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc index 8aa9b21b1..d8183b4b4 100644 --- a/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc +++ b/dcdn/src/model/DescribeDcdnDomainConfigsRequest.cc @@ -71,3 +71,14 @@ void DescribeDcdnDomainConfigsRequest::setSecurityToken(const std::string& secur setParameter("SecurityToken", securityToken); } +std::string DescribeDcdnDomainConfigsRequest::getConfigId()const +{ + return configId_; +} + +void DescribeDcdnDomainConfigsRequest::setConfigId(const std::string& configId) +{ + configId_ = configId; + setParameter("ConfigId", configId); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc b/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc new file mode 100644 index 000000000..3069d0e22 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainUsageDataRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeDcdnDomainUsageDataRequest; + +DescribeDcdnDomainUsageDataRequest::DescribeDcdnDomainUsageDataRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnDomainUsageData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnDomainUsageDataRequest::~DescribeDcdnDomainUsageDataRequest() +{} + +std::string DescribeDcdnDomainUsageDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDcdnDomainUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDcdnDomainUsageDataRequest::getDataProtocol()const +{ + return dataProtocol_; +} + +void DescribeDcdnDomainUsageDataRequest::setDataProtocol(const std::string& dataProtocol) +{ + dataProtocol_ = dataProtocol; + setParameter("DataProtocol", dataProtocol); +} + +std::string DescribeDcdnDomainUsageDataRequest::getArea()const +{ + return area_; +} + +void DescribeDcdnDomainUsageDataRequest::setArea(const std::string& area) +{ + area_ = area; + setParameter("Area", area); +} + +std::string DescribeDcdnDomainUsageDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnDomainUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDcdnDomainUsageDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDcdnDomainUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDcdnDomainUsageDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnDomainUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnDomainUsageDataRequest::getField()const +{ + return field_; +} + +void DescribeDcdnDomainUsageDataRequest::setField(const std::string& field) +{ + field_ = field; + setParameter("Field", field); +} + +std::string DescribeDcdnDomainUsageDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeDcdnDomainUsageDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc b/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc new file mode 100644 index 000000000..6c7bfb6c2 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnDomainUsageDataResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnDomainUsageDataResult::DescribeDcdnDomainUsageDataResult() : + ServiceResult() +{} + +DescribeDcdnDomainUsageDataResult::DescribeDcdnDomainUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnDomainUsageDataResult::~DescribeDcdnDomainUsageDataResult() +{} + +void DescribeDcdnDomainUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allUsageDataPerIntervalNode = value["UsageDataPerInterval"]["DataModule"]; + for (auto valueUsageDataPerIntervalDataModule : allUsageDataPerIntervalNode) + { + DataModule usageDataPerIntervalObject; + if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull()) + usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueUsageDataPerIntervalDataModule["PeakTime"].isNull()) + usageDataPerIntervalObject.peakTime = valueUsageDataPerIntervalDataModule["PeakTime"].asString(); + if(!valueUsageDataPerIntervalDataModule["Value"].isNull()) + usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString(); + if(!valueUsageDataPerIntervalDataModule["SpecialValue"].isNull()) + usageDataPerIntervalObject.specialValue = valueUsageDataPerIntervalDataModule["SpecialValue"].asString(); + usageDataPerInterval_.push_back(usageDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Area"].isNull()) + area_ = value["Area"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeDcdnDomainUsageDataResult::getUsageDataPerInterval()const +{ + return usageDataPerInterval_; +} + +std::string DescribeDcdnDomainUsageDataResult::getType()const +{ + return type_; +} + +std::string DescribeDcdnDomainUsageDataResult::getArea()const +{ + return area_; +} + +std::string DescribeDcdnDomainUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnDomainUsageDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeDcdnDomainUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDcdnDomainUsageDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc b/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc index 69e224fad..a26fe1c27 100644 --- a/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc +++ b/dcdn/src/model/DescribeDcdnIpaUserDomainsRequest.cc @@ -82,6 +82,22 @@ void DescribeDcdnIpaUserDomainsRequest::setPageSize(int pageSize) setParameter("PageSize", std::to_string(pageSize)); } +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 = "Tag." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + std::string DescribeDcdnIpaUserDomainsRequest::getFuncFilter()const { return funcFilter_; diff --git a/dcdn/src/model/DescribeDcdnReportListRequest.cc b/dcdn/src/model/DescribeDcdnReportListRequest.cc index b02dbcb8f..d83472346 100644 --- a/dcdn/src/model/DescribeDcdnReportListRequest.cc +++ b/dcdn/src/model/DescribeDcdnReportListRequest.cc @@ -38,17 +38,6 @@ void DescribeDcdnReportListRequest::setReportId(long reportId) setParameter("ReportId", std::to_string(reportId)); } -std::string DescribeDcdnReportListRequest::getPermission()const -{ - return permission_; -} - -void DescribeDcdnReportListRequest::setPermission(const std::string& permission) -{ - permission_ = permission; - setParameter("Permission", permission); -} - long DescribeDcdnReportListRequest::getOwnerId()const { return ownerId_; @@ -60,14 +49,3 @@ void DescribeDcdnReportListRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DescribeDcdnReportListRequest::getStatus()const -{ - return status_; -} - -void DescribeDcdnReportListRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dcdn/src/model/DescribeDcdnSubListRequest.cc b/dcdn/src/model/DescribeDcdnSubListRequest.cc index bc5d39273..541b9e047 100644 --- a/dcdn/src/model/DescribeDcdnSubListRequest.cc +++ b/dcdn/src/model/DescribeDcdnSubListRequest.cc @@ -38,14 +38,3 @@ void DescribeDcdnSubListRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DescribeDcdnSubListRequest::getStatus()const -{ - return status_; -} - -void DescribeDcdnSubListRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc b/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc index 00dd017e2..2263fabbd 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsByFuncRequest.cc @@ -60,6 +60,28 @@ void DescribeDcdnUserDomainsByFuncRequest::setPageSize(int pageSize) setParameter("PageSize", std::to_string(pageSize)); } +std::string DescribeDcdnUserDomainsByFuncRequest::getFuncFilter()const +{ + return funcFilter_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setFuncFilter(const std::string& funcFilter) +{ + funcFilter_ = funcFilter; + setParameter("FuncFilter", funcFilter); +} + +std::string DescribeDcdnUserDomainsByFuncRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDcdnUserDomainsByFuncRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + long DescribeDcdnUserDomainsByFuncRequest::getOwnerId()const { return ownerId_; diff --git a/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc b/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc index 3257de889..2043cd7ac 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsByFuncResult.cc @@ -47,8 +47,6 @@ void DescribeDcdnUserDomainsByFuncResult::parse(const std::string &payload) domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); if(!valueDomainsPageData["Cname"].isNull()) domainsObject.cname = valueDomainsPageData["Cname"].asString(); - if(!valueDomainsPageData["CdnType"].isNull()) - domainsObject.cdnType = valueDomainsPageData["CdnType"].asString(); if(!valueDomainsPageData["DomainStatus"].isNull()) domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString(); if(!valueDomainsPageData["GmtCreated"].isNull()) diff --git a/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc b/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc index 326fccd32..816ecefc7 100644 --- a/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc +++ b/dcdn/src/model/DescribeDcdnUserDomainsRequest.cc @@ -120,6 +120,17 @@ void DescribeDcdnUserDomainsRequest::setFuncFilter(const std::string& funcFilter setParameter("FuncFilter", funcFilter); } +std::string DescribeDcdnUserDomainsRequest::getCoverage()const +{ + return coverage_; +} + +void DescribeDcdnUserDomainsRequest::setCoverage(const std::string& coverage) +{ + coverage_ = coverage; + setParameter("Coverage", coverage); +} + std::string DescribeDcdnUserDomainsRequest::getDomainName()const { return domainName_; diff --git a/dcdn/src/model/DescribeDcdnWafDomainRequest.cc b/dcdn/src/model/DescribeDcdnWafDomainRequest.cc index 4cc3c6be9..c51e2241b 100644 --- a/dcdn/src/model/DescribeDcdnWafDomainRequest.cc +++ b/dcdn/src/model/DescribeDcdnWafDomainRequest.cc @@ -27,6 +27,17 @@ DescribeDcdnWafDomainRequest::DescribeDcdnWafDomainRequest() : DescribeDcdnWafDomainRequest::~DescribeDcdnWafDomainRequest() {} +std::string DescribeDcdnWafDomainRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeDcdnWafDomainRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeDcdnWafDomainRequest::getRegionId()const { return regionId_; diff --git a/dcdn/src/model/DescribeDcdnsecServiceRequest.cc b/dcdn/src/model/DescribeDcdnsecServiceRequest.cc new file mode 100644 index 000000000..374f3837e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnsecServiceRequest.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 + +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_; +} + +void DescribeDcdnsecServiceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDcdnsecServiceRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeDcdnsecServiceRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + diff --git a/dcdn/src/model/DescribeDcdnsecServiceResult.cc b/dcdn/src/model/DescribeDcdnsecServiceResult.cc new file mode 100644 index 000000000..97c64309e --- /dev/null +++ b/dcdn/src/model/DescribeDcdnsecServiceResult.cc @@ -0,0 +1,127 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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; + +DescribeDcdnsecServiceResult::DescribeDcdnsecServiceResult() : + ServiceResult() +{} + +DescribeDcdnsecServiceResult::DescribeDcdnsecServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnsecServiceResult::~DescribeDcdnsecServiceResult() +{} + +void DescribeDcdnsecServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOperationLocksNode = value["OperationLocks"]["LockReason"]; + for (auto valueOperationLocksLockReason : allOperationLocksNode) + { + LockReason operationLocksObject; + if(!valueOperationLocksLockReason["LockReason"].isNull()) + 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["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(); + +} + +std::string DescribeDcdnsecServiceResult::getChangingChargeType()const +{ + return changingChargeType_; +} + +std::string DescribeDcdnsecServiceResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDcdnsecServiceResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeDcdnsecServiceResult::getVersion()const +{ + return version_; +} + +std::string DescribeDcdnsecServiceResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeDcdnsecServiceResult::getFlowType()const +{ + return flowType_; +} + +std::string DescribeDcdnsecServiceResult::getDomainNum()const +{ + return domainNum_; +} + +std::vector DescribeDcdnsecServiceResult::getOperationLocks()const +{ + return operationLocks_; +} + +std::string DescribeDcdnsecServiceResult::getChangingAffectTime()const +{ + return changingAffectTime_; +} + +std::string DescribeDcdnsecServiceResult::getInternetChargeType()const +{ + return internetChargeType_; +} + +std::string DescribeDcdnsecServiceResult::getRequestType()const +{ + return requestType_; +} + diff --git a/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc b/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc new file mode 100644 index 000000000..012fe8a96 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineCanaryEnvsRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineCanaryEnvsRequest; + +DescribeRoutineCanaryEnvsRequest::DescribeRoutineCanaryEnvsRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineCanaryEnvs") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRoutineCanaryEnvsRequest::~DescribeRoutineCanaryEnvsRequest() +{} + +long DescribeRoutineCanaryEnvsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoutineCanaryEnvsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeRoutineCanaryEnvsResult.cc b/dcdn/src/model/DescribeRoutineCanaryEnvsResult.cc new file mode 100644 index 000000000..203026157 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineCanaryEnvsResult.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; + +DescribeRoutineCanaryEnvsResult::DescribeRoutineCanaryEnvsResult() : + ServiceResult() +{} + +DescribeRoutineCanaryEnvsResult::DescribeRoutineCanaryEnvsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoutineCanaryEnvsResult::~DescribeRoutineCanaryEnvsResult() +{} + +void DescribeRoutineCanaryEnvsResult::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 DescribeRoutineCanaryEnvsResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc b/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc new file mode 100644 index 000000000..762831b63 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineCodeRevisionRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineCodeRevisionRequest; + +DescribeRoutineCodeRevisionRequest::DescribeRoutineCodeRevisionRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineCodeRevision") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRoutineCodeRevisionRequest::~DescribeRoutineCodeRevisionRequest() +{} + +std::string DescribeRoutineCodeRevisionRequest::getSelectCodeRevision()const +{ + return selectCodeRevision_; +} + +void DescribeRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string& selectCodeRevision) +{ + selectCodeRevision_ = selectCodeRevision; + setBodyParameter("SelectCodeRevision", selectCodeRevision); +} + +long DescribeRoutineCodeRevisionRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoutineCodeRevisionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRoutineCodeRevisionRequest::getName()const +{ + return name_; +} + +void DescribeRoutineCodeRevisionRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/DescribeRoutineCodeRevisionResult.cc b/dcdn/src/model/DescribeRoutineCodeRevisionResult.cc new file mode 100644 index 000000000..253168c9a --- /dev/null +++ b/dcdn/src/model/DescribeRoutineCodeRevisionResult.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; + +DescribeRoutineCodeRevisionResult::DescribeRoutineCodeRevisionResult() : + ServiceResult() +{} + +DescribeRoutineCodeRevisionResult::DescribeRoutineCodeRevisionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoutineCodeRevisionResult::~DescribeRoutineCodeRevisionResult() +{} + +void DescribeRoutineCodeRevisionResult::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 DescribeRoutineCodeRevisionResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeRoutineRequest.cc b/dcdn/src/model/DescribeRoutineRequest.cc new file mode 100644 index 000000000..91cf87182 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineRequest.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 + +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_; +} + +void DescribeRoutineRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRoutineRequest::getName()const +{ + return name_; +} + +void DescribeRoutineRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/DescribeRoutineResult.cc b/dcdn/src/model/DescribeRoutineResult.cc new file mode 100644 index 000000000..2b75b5c24 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineResult.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; + +DescribeRoutineResult::DescribeRoutineResult() : + ServiceResult() +{} + +DescribeRoutineResult::DescribeRoutineResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoutineResult::~DescribeRoutineResult() +{} + +void DescribeRoutineResult::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 DescribeRoutineResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeRoutineSpecRequest.cc b/dcdn/src/model/DescribeRoutineSpecRequest.cc new file mode 100644 index 000000000..409164575 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineSpecRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineSpecRequest; + +DescribeRoutineSpecRequest::DescribeRoutineSpecRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineSpec") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRoutineSpecRequest::~DescribeRoutineSpecRequest() +{} + +long DescribeRoutineSpecRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoutineSpecRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeRoutineSpecResult.cc b/dcdn/src/model/DescribeRoutineSpecResult.cc new file mode 100644 index 000000000..9e45bd928 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineSpecResult.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; + +DescribeRoutineSpecResult::DescribeRoutineSpecResult() : + ServiceResult() +{} + +DescribeRoutineSpecResult::DescribeRoutineSpecResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoutineSpecResult::~DescribeRoutineSpecResult() +{} + +void DescribeRoutineSpecResult::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 DescribeRoutineSpecResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeRoutineUserInfoRequest.cc b/dcdn/src/model/DescribeRoutineUserInfoRequest.cc new file mode 100644 index 000000000..9e5ad3a29 --- /dev/null +++ b/dcdn/src/model/DescribeRoutineUserInfoRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::DescribeRoutineUserInfoRequest; + +DescribeRoutineUserInfoRequest::DescribeRoutineUserInfoRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeRoutineUserInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRoutineUserInfoRequest::~DescribeRoutineUserInfoRequest() +{} + +long DescribeRoutineUserInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRoutineUserInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeRoutineUserInfoResult.cc b/dcdn/src/model/DescribeRoutineUserInfoResult.cc new file mode 100644 index 000000000..6b4ca2e1f --- /dev/null +++ b/dcdn/src/model/DescribeRoutineUserInfoResult.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; + +DescribeRoutineUserInfoResult::DescribeRoutineUserInfoResult() : + ServiceResult() +{} + +DescribeRoutineUserInfoResult::DescribeRoutineUserInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRoutineUserInfoResult::~DescribeRoutineUserInfoResult() +{} + +void DescribeRoutineUserInfoResult::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 DescribeRoutineUserInfoResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/EditRoutineConfRequest.cc b/dcdn/src/model/EditRoutineConfRequest.cc new file mode 100644 index 000000000..b7062db32 --- /dev/null +++ b/dcdn/src/model/EditRoutineConfRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::EditRoutineConfRequest; + +EditRoutineConfRequest::EditRoutineConfRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "EditRoutineConf") +{ + setMethod(HttpRequest::Method::Post); +} + +EditRoutineConfRequest::~EditRoutineConfRequest() +{} + +std::string EditRoutineConfRequest::getDescription()const +{ + return description_; +} + +void EditRoutineConfRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string EditRoutineConfRequest::getEnvConf()const +{ + return envConf_; +} + +void EditRoutineConfRequest::setEnvConf(const std::string& envConf) +{ + envConf_ = envConf; + setBodyParameter("EnvConf", envConf); +} + +long EditRoutineConfRequest::getOwnerId()const +{ + return ownerId_; +} + +void EditRoutineConfRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string EditRoutineConfRequest::getName()const +{ + return name_; +} + +void EditRoutineConfRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/EditRoutineConfResult.cc b/dcdn/src/model/EditRoutineConfResult.cc new file mode 100644 index 000000000..d11c927af --- /dev/null +++ b/dcdn/src/model/EditRoutineConfResult.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; + +EditRoutineConfResult::EditRoutineConfResult() : + ServiceResult() +{} + +EditRoutineConfResult::EditRoutineConfResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EditRoutineConfResult::~EditRoutineConfResult() +{} + +void EditRoutineConfResult::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 EditRoutineConfResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc b/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc new file mode 100644 index 000000000..2b9feaba1 --- /dev/null +++ b/dcdn/src/model/PublishRoutineCodeRevisionRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::PublishRoutineCodeRevisionRequest; + +PublishRoutineCodeRevisionRequest::PublishRoutineCodeRevisionRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "PublishRoutineCodeRevision") +{ + setMethod(HttpRequest::Method::Post); +} + +PublishRoutineCodeRevisionRequest::~PublishRoutineCodeRevisionRequest() +{} + +std::string PublishRoutineCodeRevisionRequest::getSelectCodeRevision()const +{ + return selectCodeRevision_; +} + +void PublishRoutineCodeRevisionRequest::setSelectCodeRevision(const std::string& selectCodeRevision) +{ + selectCodeRevision_ = selectCodeRevision; + setBodyParameter("SelectCodeRevision", selectCodeRevision); +} + +std::string PublishRoutineCodeRevisionRequest::getEnvs()const +{ + return envs_; +} + +void PublishRoutineCodeRevisionRequest::setEnvs(const std::string& envs) +{ + envs_ = envs; + setBodyParameter("Envs", envs); +} + +long PublishRoutineCodeRevisionRequest::getOwnerId()const +{ + return ownerId_; +} + +void PublishRoutineCodeRevisionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string PublishRoutineCodeRevisionRequest::getName()const +{ + return name_; +} + +void PublishRoutineCodeRevisionRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/PublishRoutineCodeRevisionResult.cc b/dcdn/src/model/PublishRoutineCodeRevisionResult.cc new file mode 100644 index 000000000..91d4480ab --- /dev/null +++ b/dcdn/src/model/PublishRoutineCodeRevisionResult.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; + +PublishRoutineCodeRevisionResult::PublishRoutineCodeRevisionResult() : + ServiceResult() +{} + +PublishRoutineCodeRevisionResult::PublishRoutineCodeRevisionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PublishRoutineCodeRevisionResult::~PublishRoutineCodeRevisionResult() +{} + +void PublishRoutineCodeRevisionResult::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 PublishRoutineCodeRevisionResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc b/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc index 196e7fd26..31bb006df 100644 --- a/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc +++ b/dcdn/src/model/RollbackDcdnStagingConfigRequest.cc @@ -27,17 +27,6 @@ RollbackDcdnStagingConfigRequest::RollbackDcdnStagingConfigRequest() : RollbackDcdnStagingConfigRequest::~RollbackDcdnStagingConfigRequest() {} -std::string RollbackDcdnStagingConfigRequest::getFunctionName()const -{ - return functionName_; -} - -void RollbackDcdnStagingConfigRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); -} - std::string RollbackDcdnStagingConfigRequest::getDomainName()const { return domainName_; diff --git a/dcdn/src/model/SetDcdnUserConfigRequest.cc b/dcdn/src/model/SetDcdnUserConfigRequest.cc new file mode 100644 index 000000000..0546762c7 --- /dev/null +++ b/dcdn/src/model/SetDcdnUserConfigRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::SetDcdnUserConfigRequest; + +SetDcdnUserConfigRequest::SetDcdnUserConfigRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnUserConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDcdnUserConfigRequest::~SetDcdnUserConfigRequest() +{} + +std::string SetDcdnUserConfigRequest::getConfigs()const +{ + return configs_; +} + +void SetDcdnUserConfigRequest::setConfigs(const std::string& configs) +{ + configs_ = configs; + setParameter("Configs", configs); +} + +std::string SetDcdnUserConfigRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void SetDcdnUserConfigRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long SetDcdnUserConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetDcdnUserConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int SetDcdnUserConfigRequest::getFunctionId()const +{ + return functionId_; +} + +void SetDcdnUserConfigRequest::setFunctionId(int functionId) +{ + functionId_ = functionId; + setParameter("FunctionId", std::to_string(functionId)); +} + +std::string SetDcdnUserConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void SetDcdnUserConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + diff --git a/dcdn/src/model/SetDcdnUserConfigResult.cc b/dcdn/src/model/SetDcdnUserConfigResult.cc new file mode 100644 index 000000000..6dfcbabd2 --- /dev/null +++ b/dcdn/src/model/SetDcdnUserConfigResult.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; + +SetDcdnUserConfigResult::SetDcdnUserConfigResult() : + ServiceResult() +{} + +SetDcdnUserConfigResult::SetDcdnUserConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDcdnUserConfigResult::~SetDcdnUserConfigResult() +{} + +void SetDcdnUserConfigResult::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/SetRoutineSubdomainRequest.cc b/dcdn/src/model/SetRoutineSubdomainRequest.cc new file mode 100644 index 000000000..b82660f78 --- /dev/null +++ b/dcdn/src/model/SetRoutineSubdomainRequest.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 + +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_; +} + +void SetRoutineSubdomainRequest::setSubdomains(const std::string& subdomains) +{ + subdomains_ = subdomains; + setBodyParameter("Subdomains", subdomains); +} + +long SetRoutineSubdomainRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetRoutineSubdomainRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/SetRoutineSubdomainResult.cc b/dcdn/src/model/SetRoutineSubdomainResult.cc new file mode 100644 index 000000000..e0f47133b --- /dev/null +++ b/dcdn/src/model/SetRoutineSubdomainResult.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; + +SetRoutineSubdomainResult::SetRoutineSubdomainResult() : + ServiceResult() +{} + +SetRoutineSubdomainResult::SetRoutineSubdomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetRoutineSubdomainResult::~SetRoutineSubdomainResult() +{} + +void SetRoutineSubdomainResult::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 SetRoutineSubdomainResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc b/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc index de6d74057..af79b5677 100644 --- a/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc +++ b/dcdn/src/model/UpdateDcdnDeliverTaskRequest.cc @@ -104,14 +104,3 @@ void UpdateDcdnDeliverTaskRequest::setName(const std::string& name) setBodyParameter("Name", name); } -std::string UpdateDcdnDeliverTaskRequest::getStatus()const -{ - return status_; -} - -void UpdateDcdnDeliverTaskRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); -} - diff --git a/dcdn/src/model/UpdateDcdnSubTaskRequest.cc b/dcdn/src/model/UpdateDcdnSubTaskRequest.cc index 359775c25..8d1217199 100644 --- a/dcdn/src/model/UpdateDcdnSubTaskRequest.cc +++ b/dcdn/src/model/UpdateDcdnSubTaskRequest.cc @@ -82,14 +82,3 @@ void UpdateDcdnSubTaskRequest::setReportIds(const std::string& reportIds) setBodyParameter("ReportIds", reportIds); } -std::string UpdateDcdnSubTaskRequest::getStatus()const -{ - return status_; -} - -void UpdateDcdnSubTaskRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); -} - diff --git a/dcdn/src/model/UploadRoutineCodeRequest.cc b/dcdn/src/model/UploadRoutineCodeRequest.cc new file mode 100644 index 000000000..b3dae014f --- /dev/null +++ b/dcdn/src/model/UploadRoutineCodeRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::UploadRoutineCodeRequest; + +UploadRoutineCodeRequest::UploadRoutineCodeRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "UploadRoutineCode") +{ + setMethod(HttpRequest::Method::Post); +} + +UploadRoutineCodeRequest::~UploadRoutineCodeRequest() +{} + +std::string UploadRoutineCodeRequest::getCodeDescription()const +{ + return codeDescription_; +} + +void UploadRoutineCodeRequest::setCodeDescription(const std::string& codeDescription) +{ + codeDescription_ = codeDescription; + setBodyParameter("CodeDescription", codeDescription); +} + +long UploadRoutineCodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void UploadRoutineCodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UploadRoutineCodeRequest::getName()const +{ + return name_; +} + +void UploadRoutineCodeRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/UploadRoutineCodeResult.cc b/dcdn/src/model/UploadRoutineCodeResult.cc new file mode 100644 index 000000000..28a01f05e --- /dev/null +++ b/dcdn/src/model/UploadRoutineCodeResult.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; + +UploadRoutineCodeResult::UploadRoutineCodeResult() : + ServiceResult() +{} + +UploadRoutineCodeResult::UploadRoutineCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadRoutineCodeResult::~UploadRoutineCodeResult() +{} + +void UploadRoutineCodeResult::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 UploadRoutineCodeResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/UploadStagingRoutineCodeRequest.cc b/dcdn/src/model/UploadStagingRoutineCodeRequest.cc new file mode 100644 index 000000000..e67f43753 --- /dev/null +++ b/dcdn/src/model/UploadStagingRoutineCodeRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dcdn::Model::UploadStagingRoutineCodeRequest; + +UploadStagingRoutineCodeRequest::UploadStagingRoutineCodeRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "UploadStagingRoutineCode") +{ + setMethod(HttpRequest::Method::Post); +} + +UploadStagingRoutineCodeRequest::~UploadStagingRoutineCodeRequest() +{} + +std::string UploadStagingRoutineCodeRequest::getCodeDescription()const +{ + return codeDescription_; +} + +void UploadStagingRoutineCodeRequest::setCodeDescription(const std::string& codeDescription) +{ + codeDescription_ = codeDescription; + setBodyParameter("CodeDescription", codeDescription); +} + +long UploadStagingRoutineCodeRequest::getOwnerId()const +{ + return ownerId_; +} + +void UploadStagingRoutineCodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UploadStagingRoutineCodeRequest::getName()const +{ + return name_; +} + +void UploadStagingRoutineCodeRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + diff --git a/dcdn/src/model/UploadStagingRoutineCodeResult.cc b/dcdn/src/model/UploadStagingRoutineCodeResult.cc new file mode 100644 index 000000000..75f8aa47a --- /dev/null +++ b/dcdn/src/model/UploadStagingRoutineCodeResult.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; + +UploadStagingRoutineCodeResult::UploadStagingRoutineCodeResult() : + ServiceResult() +{} + +UploadStagingRoutineCodeResult::UploadStagingRoutineCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UploadStagingRoutineCodeResult::~UploadStagingRoutineCodeResult() +{} + +void UploadStagingRoutineCodeResult::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 UploadStagingRoutineCodeResult::getContent()const +{ + return content_; +} +