From 2829dacfb21f9d9c5e463d6828b8e0ba1634f0d0 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 29 Nov 2021 06:47:05 +0000 Subject: [PATCH] Update SetDcdnDomainSMCertificate. --- CHANGELOG | 3 + VERSION | 2 +- dcdn/CMakeLists.txt | 44 ++ dcdn/include/alibabacloud/dcdn/DcdnClient.h | 88 ++++ .../model/BatchSetDcdnDomainConfigsRequest.h | 6 +- .../dcdn/model/CheckDcdnProjectExistRequest.h | 51 +++ .../dcdn/model/CheckDcdnProjectExistResult.h | 55 +++ .../CreateDcdnSLSRealTimeLogDeliveryRequest.h | 72 ++++ .../CreateDcdnSLSRealTimeLogDeliveryResult.h | 58 +++ .../model/CreateSlrAndSlsProjectRequest.h | 51 +++ .../dcdn/model/CreateSlrAndSlsProjectResult.h | 58 +++ .../dcdn/model/DeleteDcdnDomainRequest.h | 6 +- .../DeleteDcdnRealTimeLogProjectRequest.h | 54 +++ .../DeleteDcdnRealTimeLogProjectResult.h | 49 +++ ...ibeDcdnDomainWebsocketHttpCodeDataResult.h | 6 +- ...DescribeDcdnRealTimeDeliveryFieldRequest.h | 51 +++ .../DescribeDcdnRealTimeDeliveryFieldResult.h | 56 +++ ...escribeDcdnSLSRealtimeLogDeliveryRequest.h | 54 +++ ...DescribeDcdnSLSRealtimeLogDeliveryResult.h | 64 +++ .../DescribeDcdnSMCertificateDetailResult.h | 8 + ...ribeDcdnUserRealTimeDeliveryFieldRequest.h | 51 +++ ...cribeDcdnUserRealTimeDeliveryFieldResult.h | 57 +++ .../ListDcdnRealTimeDeliveryProjectRequest.h | 60 +++ .../ListDcdnRealTimeDeliveryProjectResult.h | 66 +++ .../model/SetDcdnDomainSMCertificateRequest.h | 3 + .../model/SetDcdnFullDomainsBlockIPRequest.h | 57 +++ .../model/SetDcdnFullDomainsBlockIPResult.h | 53 +++ .../dcdn/model/StartDcdnIpaDomainRequest.h | 6 +- .../dcdn/model/StopDcdnIpaDomainRequest.h | 6 +- .../UpdateDcdnSLSRealtimeLogDeliveryRequest.h | 69 +++ .../UpdateDcdnSLSRealtimeLogDeliveryResult.h | 58 +++ ...dateDcdnUserRealTimeDeliveryFieldRequest.h | 54 +++ ...pdateDcdnUserRealTimeDeliveryFieldResult.h | 49 +++ dcdn/src/DcdnClient.cc | 396 ++++++++++++++++++ .../model/BatchSetDcdnDomainConfigsRequest.cc | 22 +- .../src/model/CheckDcdnProjectExistRequest.cc | 51 +++ dcdn/src/model/CheckDcdnProjectExistResult.cc | 52 +++ ...CreateDcdnSLSRealTimeLogDeliveryRequest.cc | 128 ++++++ .../CreateDcdnSLSRealTimeLogDeliveryResult.cc | 63 +++ .../model/CreateSlrAndSlsProjectRequest.cc | 51 +++ .../src/model/CreateSlrAndSlsProjectResult.cc | 58 +++ dcdn/src/model/DeleteDcdnDomainRequest.cc | 22 +- .../DeleteDcdnRealTimeLogProjectRequest.cc | 62 +++ .../DeleteDcdnRealTimeLogProjectResult.cc | 44 ++ ...beDcdnDomainWebsocketHttpCodeDataResult.cc | 36 +- ...escribeDcdnRealTimeDeliveryFieldRequest.cc | 51 +++ ...DescribeDcdnRealTimeDeliveryFieldResult.cc | 59 +++ ...scribeDcdnSLSRealtimeLogDeliveryRequest.cc | 62 +++ ...escribeDcdnSLSRealtimeLogDeliveryResult.cc | 70 ++++ .../DescribeDcdnSMCertificateDetailResult.cc | 28 ++ ...ibeDcdnUserRealTimeDeliveryFieldRequest.cc | 51 +++ ...ribeDcdnUserRealTimeDeliveryFieldResult.cc | 61 +++ .../ListDcdnRealTimeDeliveryProjectRequest.cc | 84 ++++ .../ListDcdnRealTimeDeliveryProjectResult.cc | 82 ++++ .../SetDcdnDomainSMCertificateRequest.cc | 11 + .../model/SetDcdnFullDomainsBlockIPRequest.cc | 73 ++++ .../model/SetDcdnFullDomainsBlockIPResult.cc | 58 +++ dcdn/src/model/StartDcdnIpaDomainRequest.cc | 22 +- dcdn/src/model/StopDcdnIpaDomainRequest.cc | 22 +- ...UpdateDcdnSLSRealtimeLogDeliveryRequest.cc | 117 ++++++ .../UpdateDcdnSLSRealtimeLogDeliveryResult.cc | 63 +++ ...ateDcdnUserRealTimeDeliveryFieldRequest.cc | 62 +++ ...dateDcdnUserRealTimeDeliveryFieldResult.cc | 44 ++ 63 files changed, 3352 insertions(+), 78 deletions(-) create mode 100644 dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryResult.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h create mode 100644 dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldResult.h create mode 100644 dcdn/src/model/CheckDcdnProjectExistRequest.cc create mode 100644 dcdn/src/model/CheckDcdnProjectExistResult.cc create mode 100644 dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc create mode 100644 dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc create mode 100644 dcdn/src/model/CreateSlrAndSlsProjectRequest.cc create mode 100644 dcdn/src/model/CreateSlrAndSlsProjectResult.cc create mode 100644 dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc create mode 100644 dcdn/src/model/DeleteDcdnRealTimeLogProjectResult.cc create mode 100644 dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc create mode 100644 dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc create mode 100644 dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc create mode 100644 dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc create mode 100644 dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc create mode 100644 dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc create mode 100644 dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.cc create mode 100644 dcdn/src/model/SetDcdnFullDomainsBlockIPResult.cc create mode 100644 dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc create mode 100644 dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc create mode 100644 dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc create mode 100644 dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldResult.cc diff --git a/CHANGELOG b/CHANGELOG index 413fe2c8b..8ad6a1a51 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-11-29 Version: 1.36.954 +- Update SetDcdnDomainSMCertificate. + 2021-11-29 Version: 1.36.953 - Generated 2016-11-01 for `live`. diff --git a/VERSION b/VERSION index c082ec9fb..82756101d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.953 \ No newline at end of file +1.36.954 \ No newline at end of file diff --git a/dcdn/CMakeLists.txt b/dcdn/CMakeLists.txt index 581eb7f6d..ca2053950 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/CheckDcdnProjectExistRequest.h + include/alibabacloud/dcdn/model/CheckDcdnProjectExistResult.h include/alibabacloud/dcdn/model/CommitStagingRoutineCodeRequest.h include/alibabacloud/dcdn/model/CommitStagingRoutineCodeResult.h include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestRequest.h @@ -47,10 +49,14 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h + include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h + include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.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/CreateSlrAndSlsProjectRequest.h + include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectResult.h include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskRequest.h include/alibabacloud/dcdn/model/DeleteDcdnDeliverTaskResult.h include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h @@ -59,6 +65,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DeleteDcdnIpaDomainResult.h include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigRequest.h include/alibabacloud/dcdn/model/DeleteDcdnIpaSpecificConfigResult.h + include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h + include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectResult.h include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigRequest.h include/alibabacloud/dcdn/model/DeleteDcdnSpecificConfigResult.h include/alibabacloud/dcdn/model/DeleteDcdnSpecificStagingConfigRequest.h @@ -189,6 +197,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h + include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaResult.h include/alibabacloud/dcdn/model/DescribeDcdnRefreshTaskByIdRequest.h @@ -201,6 +211,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnReportResult.h include/alibabacloud/dcdn/model/DescribeDcdnReportListRequest.h include/alibabacloud/dcdn/model/DescribeDcdnReportListResult.h + include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailRequest.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateListRequest.h @@ -229,6 +241,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/DescribeDcdnUserDomainsByFuncResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserQuotaResult.h + include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h + include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageRequest.h include/alibabacloud/dcdn/model/DescribeDcdnUserResourcePackageResult.h include/alibabacloud/dcdn/model/DescribeDcdnUserSecDropRequest.h @@ -269,6 +283,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/EditRoutineConfResult.h include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h + include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h + include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyResult.h include/alibabacloud/dcdn/model/OpenDcdnServiceRequest.h @@ -293,6 +309,8 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateResult.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigRequest.h include/alibabacloud/dcdn/model/SetDcdnDomainStagingConfigResult.h + include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h + include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPResult.h include/alibabacloud/dcdn/model/SetDcdnUserConfigRequest.h include/alibabacloud/dcdn/model/SetDcdnUserConfigResult.h include/alibabacloud/dcdn/model/SetRoutineSubdomainRequest.h @@ -315,8 +333,12 @@ set(dcdn_public_header_model include/alibabacloud/dcdn/model/UpdateDcdnDomainResult.h include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainRequest.h include/alibabacloud/dcdn/model/UpdateDcdnIpaDomainResult.h + include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h + include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryResult.h include/alibabacloud/dcdn/model/UpdateDcdnSubTaskRequest.h include/alibabacloud/dcdn/model/UpdateDcdnSubTaskResult.h + include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h + include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldResult.h include/alibabacloud/dcdn/model/UploadRoutineCodeRequest.h include/alibabacloud/dcdn/model/UploadRoutineCodeResult.h include/alibabacloud/dcdn/model/UploadStagingRoutineCodeRequest.h @@ -344,6 +366,8 @@ set(dcdn_src src/model/BatchStartDcdnDomainResult.cc src/model/BatchStopDcdnDomainRequest.cc src/model/BatchStopDcdnDomainResult.cc + src/model/CheckDcdnProjectExistRequest.cc + src/model/CheckDcdnProjectExistResult.cc src/model/CommitStagingRoutineCodeRequest.cc src/model/CommitStagingRoutineCodeResult.cc src/model/CreateDcdnCertificateSigningRequestRequest.cc @@ -352,10 +376,14 @@ set(dcdn_src src/model/CreateDcdnDeliverTaskResult.cc src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc + src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc + src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc src/model/CreateDcdnSubTaskRequest.cc src/model/CreateDcdnSubTaskResult.cc src/model/CreateRoutineRequest.cc src/model/CreateRoutineResult.cc + src/model/CreateSlrAndSlsProjectRequest.cc + src/model/CreateSlrAndSlsProjectResult.cc src/model/DeleteDcdnDeliverTaskRequest.cc src/model/DeleteDcdnDeliverTaskResult.cc src/model/DeleteDcdnDomainRequest.cc @@ -364,6 +392,8 @@ set(dcdn_src src/model/DeleteDcdnIpaDomainResult.cc src/model/DeleteDcdnIpaSpecificConfigRequest.cc src/model/DeleteDcdnIpaSpecificConfigResult.cc + src/model/DeleteDcdnRealTimeLogProjectRequest.cc + src/model/DeleteDcdnRealTimeLogProjectResult.cc src/model/DeleteDcdnSpecificConfigRequest.cc src/model/DeleteDcdnSpecificConfigResult.cc src/model/DeleteDcdnSpecificStagingConfigRequest.cc @@ -494,6 +524,8 @@ set(dcdn_src src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc + src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc + src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc src/model/DescribeDcdnRefreshQuotaRequest.cc src/model/DescribeDcdnRefreshQuotaResult.cc src/model/DescribeDcdnRefreshTaskByIdRequest.cc @@ -506,6 +538,8 @@ set(dcdn_src src/model/DescribeDcdnReportResult.cc src/model/DescribeDcdnReportListRequest.cc src/model/DescribeDcdnReportListResult.cc + src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc + src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc src/model/DescribeDcdnSMCertificateDetailRequest.cc src/model/DescribeDcdnSMCertificateDetailResult.cc src/model/DescribeDcdnSMCertificateListRequest.cc @@ -534,6 +568,8 @@ set(dcdn_src src/model/DescribeDcdnUserDomainsByFuncResult.cc src/model/DescribeDcdnUserQuotaRequest.cc src/model/DescribeDcdnUserQuotaResult.cc + src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc + src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc src/model/DescribeDcdnUserResourcePackageRequest.cc src/model/DescribeDcdnUserResourcePackageResult.cc src/model/DescribeDcdnUserSecDropRequest.cc @@ -574,6 +610,8 @@ set(dcdn_src src/model/EditRoutineConfResult.cc src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc + src/model/ListDcdnRealTimeDeliveryProjectRequest.cc + src/model/ListDcdnRealTimeDeliveryProjectResult.cc src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc src/model/ModifyDCdnDomainSchdmByPropertyResult.cc src/model/OpenDcdnServiceRequest.cc @@ -598,6 +636,8 @@ set(dcdn_src src/model/SetDcdnDomainSMCertificateResult.cc src/model/SetDcdnDomainStagingConfigRequest.cc src/model/SetDcdnDomainStagingConfigResult.cc + src/model/SetDcdnFullDomainsBlockIPRequest.cc + src/model/SetDcdnFullDomainsBlockIPResult.cc src/model/SetDcdnUserConfigRequest.cc src/model/SetDcdnUserConfigResult.cc src/model/SetRoutineSubdomainRequest.cc @@ -620,8 +660,12 @@ set(dcdn_src src/model/UpdateDcdnDomainResult.cc src/model/UpdateDcdnIpaDomainRequest.cc src/model/UpdateDcdnIpaDomainResult.cc + src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc + src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc src/model/UpdateDcdnSubTaskRequest.cc src/model/UpdateDcdnSubTaskResult.cc + src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc + src/model/UpdateDcdnUserRealTimeDeliveryFieldResult.cc src/model/UploadRoutineCodeRequest.cc src/model/UploadRoutineCodeResult.cc src/model/UploadStagingRoutineCodeRequest.cc diff --git a/dcdn/include/alibabacloud/dcdn/DcdnClient.h b/dcdn/include/alibabacloud/dcdn/DcdnClient.h index a19ce11dd..53da1ba53 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/CheckDcdnProjectExistRequest.h" +#include "model/CheckDcdnProjectExistResult.h" #include "model/CommitStagingRoutineCodeRequest.h" #include "model/CommitStagingRoutineCodeResult.h" #include "model/CreateDcdnCertificateSigningRequestRequest.h" @@ -48,10 +50,14 @@ #include "model/CreateDcdnDeliverTaskResult.h" #include "model/CreateDcdnDomainOfflineLogDeliveryRequest.h" #include "model/CreateDcdnDomainOfflineLogDeliveryResult.h" +#include "model/CreateDcdnSLSRealTimeLogDeliveryRequest.h" +#include "model/CreateDcdnSLSRealTimeLogDeliveryResult.h" #include "model/CreateDcdnSubTaskRequest.h" #include "model/CreateDcdnSubTaskResult.h" #include "model/CreateRoutineRequest.h" #include "model/CreateRoutineResult.h" +#include "model/CreateSlrAndSlsProjectRequest.h" +#include "model/CreateSlrAndSlsProjectResult.h" #include "model/DeleteDcdnDeliverTaskRequest.h" #include "model/DeleteDcdnDeliverTaskResult.h" #include "model/DeleteDcdnDomainRequest.h" @@ -60,6 +66,8 @@ #include "model/DeleteDcdnIpaDomainResult.h" #include "model/DeleteDcdnIpaSpecificConfigRequest.h" #include "model/DeleteDcdnIpaSpecificConfigResult.h" +#include "model/DeleteDcdnRealTimeLogProjectRequest.h" +#include "model/DeleteDcdnRealTimeLogProjectResult.h" #include "model/DeleteDcdnSpecificConfigRequest.h" #include "model/DeleteDcdnSpecificConfigResult.h" #include "model/DeleteDcdnSpecificStagingConfigRequest.h" @@ -190,6 +198,8 @@ #include "model/DescribeDcdnOfflineLogDeliveryRegionsResult.h" #include "model/DescribeDcdnOfflineLogDeliveryStatusRequest.h" #include "model/DescribeDcdnOfflineLogDeliveryStatusResult.h" +#include "model/DescribeDcdnRealTimeDeliveryFieldRequest.h" +#include "model/DescribeDcdnRealTimeDeliveryFieldResult.h" #include "model/DescribeDcdnRefreshQuotaRequest.h" #include "model/DescribeDcdnRefreshQuotaResult.h" #include "model/DescribeDcdnRefreshTaskByIdRequest.h" @@ -202,6 +212,8 @@ #include "model/DescribeDcdnReportResult.h" #include "model/DescribeDcdnReportListRequest.h" #include "model/DescribeDcdnReportListResult.h" +#include "model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h" +#include "model/DescribeDcdnSLSRealtimeLogDeliveryResult.h" #include "model/DescribeDcdnSMCertificateDetailRequest.h" #include "model/DescribeDcdnSMCertificateDetailResult.h" #include "model/DescribeDcdnSMCertificateListRequest.h" @@ -230,6 +242,8 @@ #include "model/DescribeDcdnUserDomainsByFuncResult.h" #include "model/DescribeDcdnUserQuotaRequest.h" #include "model/DescribeDcdnUserQuotaResult.h" +#include "model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h" +#include "model/DescribeDcdnUserRealTimeDeliveryFieldResult.h" #include "model/DescribeDcdnUserResourcePackageRequest.h" #include "model/DescribeDcdnUserResourcePackageResult.h" #include "model/DescribeDcdnUserSecDropRequest.h" @@ -270,6 +284,8 @@ #include "model/EditRoutineConfResult.h" #include "model/EnableDcdnDomainOfflineLogDeliveryRequest.h" #include "model/EnableDcdnDomainOfflineLogDeliveryResult.h" +#include "model/ListDcdnRealTimeDeliveryProjectRequest.h" +#include "model/ListDcdnRealTimeDeliveryProjectResult.h" #include "model/ModifyDCdnDomainSchdmByPropertyRequest.h" #include "model/ModifyDCdnDomainSchdmByPropertyResult.h" #include "model/OpenDcdnServiceRequest.h" @@ -294,6 +310,8 @@ #include "model/SetDcdnDomainSMCertificateResult.h" #include "model/SetDcdnDomainStagingConfigRequest.h" #include "model/SetDcdnDomainStagingConfigResult.h" +#include "model/SetDcdnFullDomainsBlockIPRequest.h" +#include "model/SetDcdnFullDomainsBlockIPResult.h" #include "model/SetDcdnUserConfigRequest.h" #include "model/SetDcdnUserConfigResult.h" #include "model/SetRoutineSubdomainRequest.h" @@ -316,8 +334,12 @@ #include "model/UpdateDcdnDomainResult.h" #include "model/UpdateDcdnIpaDomainRequest.h" #include "model/UpdateDcdnIpaDomainResult.h" +#include "model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h" +#include "model/UpdateDcdnSLSRealtimeLogDeliveryResult.h" #include "model/UpdateDcdnSubTaskRequest.h" #include "model/UpdateDcdnSubTaskResult.h" +#include "model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h" +#include "model/UpdateDcdnUserRealTimeDeliveryFieldResult.h" #include "model/UploadRoutineCodeRequest.h" #include "model/UploadRoutineCodeResult.h" #include "model/UploadStagingRoutineCodeRequest.h" @@ -360,6 +382,9 @@ namespace AlibabaCloud typedef Outcome BatchStopDcdnDomainOutcome; typedef std::future BatchStopDcdnDomainOutcomeCallable; typedef std::function&)> BatchStopDcdnDomainAsyncHandler; + typedef Outcome CheckDcdnProjectExistOutcome; + typedef std::future CheckDcdnProjectExistOutcomeCallable; + typedef std::function&)> CheckDcdnProjectExistAsyncHandler; typedef Outcome CommitStagingRoutineCodeOutcome; typedef std::future CommitStagingRoutineCodeOutcomeCallable; typedef std::function&)> CommitStagingRoutineCodeAsyncHandler; @@ -372,12 +397,18 @@ namespace AlibabaCloud typedef Outcome CreateDcdnDomainOfflineLogDeliveryOutcome; typedef std::future CreateDcdnDomainOfflineLogDeliveryOutcomeCallable; typedef std::function&)> CreateDcdnDomainOfflineLogDeliveryAsyncHandler; + typedef Outcome CreateDcdnSLSRealTimeLogDeliveryOutcome; + typedef std::future CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable; + typedef std::function&)> CreateDcdnSLSRealTimeLogDeliveryAsyncHandler; typedef Outcome CreateDcdnSubTaskOutcome; typedef std::future CreateDcdnSubTaskOutcomeCallable; typedef std::function&)> CreateDcdnSubTaskAsyncHandler; typedef Outcome CreateRoutineOutcome; typedef std::future CreateRoutineOutcomeCallable; typedef std::function&)> CreateRoutineAsyncHandler; + typedef Outcome CreateSlrAndSlsProjectOutcome; + typedef std::future CreateSlrAndSlsProjectOutcomeCallable; + typedef std::function&)> CreateSlrAndSlsProjectAsyncHandler; typedef Outcome DeleteDcdnDeliverTaskOutcome; typedef std::future DeleteDcdnDeliverTaskOutcomeCallable; typedef std::function&)> DeleteDcdnDeliverTaskAsyncHandler; @@ -390,6 +421,9 @@ namespace AlibabaCloud typedef Outcome DeleteDcdnIpaSpecificConfigOutcome; typedef std::future DeleteDcdnIpaSpecificConfigOutcomeCallable; typedef std::function&)> DeleteDcdnIpaSpecificConfigAsyncHandler; + typedef Outcome DeleteDcdnRealTimeLogProjectOutcome; + typedef std::future DeleteDcdnRealTimeLogProjectOutcomeCallable; + typedef std::function&)> DeleteDcdnRealTimeLogProjectAsyncHandler; typedef Outcome DeleteDcdnSpecificConfigOutcome; typedef std::future DeleteDcdnSpecificConfigOutcomeCallable; typedef std::function&)> DeleteDcdnSpecificConfigAsyncHandler; @@ -585,6 +619,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnOfflineLogDeliveryStatusOutcome; typedef std::future DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable; typedef std::function&)> DescribeDcdnOfflineLogDeliveryStatusAsyncHandler; + typedef Outcome DescribeDcdnRealTimeDeliveryFieldOutcome; + typedef std::future DescribeDcdnRealTimeDeliveryFieldOutcomeCallable; + typedef std::function&)> DescribeDcdnRealTimeDeliveryFieldAsyncHandler; typedef Outcome DescribeDcdnRefreshQuotaOutcome; typedef std::future DescribeDcdnRefreshQuotaOutcomeCallable; typedef std::function&)> DescribeDcdnRefreshQuotaAsyncHandler; @@ -603,6 +640,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnReportListOutcome; typedef std::future DescribeDcdnReportListOutcomeCallable; typedef std::function&)> DescribeDcdnReportListAsyncHandler; + typedef Outcome DescribeDcdnSLSRealtimeLogDeliveryOutcome; + typedef std::future DescribeDcdnSLSRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> DescribeDcdnSLSRealtimeLogDeliveryAsyncHandler; typedef Outcome DescribeDcdnSMCertificateDetailOutcome; typedef std::future DescribeDcdnSMCertificateDetailOutcomeCallable; typedef std::function&)> DescribeDcdnSMCertificateDetailAsyncHandler; @@ -645,6 +685,9 @@ namespace AlibabaCloud typedef Outcome DescribeDcdnUserQuotaOutcome; typedef std::future DescribeDcdnUserQuotaOutcomeCallable; typedef std::function&)> DescribeDcdnUserQuotaAsyncHandler; + typedef Outcome DescribeDcdnUserRealTimeDeliveryFieldOutcome; + typedef std::future DescribeDcdnUserRealTimeDeliveryFieldOutcomeCallable; + typedef std::function&)> DescribeDcdnUserRealTimeDeliveryFieldAsyncHandler; typedef Outcome DescribeDcdnUserResourcePackageOutcome; typedef std::future DescribeDcdnUserResourcePackageOutcomeCallable; typedef std::function&)> DescribeDcdnUserResourcePackageAsyncHandler; @@ -705,6 +748,9 @@ namespace AlibabaCloud typedef Outcome EnableDcdnDomainOfflineLogDeliveryOutcome; typedef std::future EnableDcdnDomainOfflineLogDeliveryOutcomeCallable; typedef std::function&)> EnableDcdnDomainOfflineLogDeliveryAsyncHandler; + typedef Outcome ListDcdnRealTimeDeliveryProjectOutcome; + typedef std::future ListDcdnRealTimeDeliveryProjectOutcomeCallable; + typedef std::function&)> ListDcdnRealTimeDeliveryProjectAsyncHandler; typedef Outcome ModifyDCdnDomainSchdmByPropertyOutcome; typedef std::future ModifyDCdnDomainSchdmByPropertyOutcomeCallable; typedef std::function&)> ModifyDCdnDomainSchdmByPropertyAsyncHandler; @@ -741,6 +787,9 @@ namespace AlibabaCloud typedef Outcome SetDcdnDomainStagingConfigOutcome; typedef std::future SetDcdnDomainStagingConfigOutcomeCallable; typedef std::function&)> SetDcdnDomainStagingConfigAsyncHandler; + typedef Outcome SetDcdnFullDomainsBlockIPOutcome; + typedef std::future SetDcdnFullDomainsBlockIPOutcomeCallable; + typedef std::function&)> SetDcdnFullDomainsBlockIPAsyncHandler; typedef Outcome SetDcdnUserConfigOutcome; typedef std::future SetDcdnUserConfigOutcomeCallable; typedef std::function&)> SetDcdnUserConfigAsyncHandler; @@ -774,9 +823,15 @@ namespace AlibabaCloud typedef Outcome UpdateDcdnIpaDomainOutcome; typedef std::future UpdateDcdnIpaDomainOutcomeCallable; typedef std::function&)> UpdateDcdnIpaDomainAsyncHandler; + typedef Outcome UpdateDcdnSLSRealtimeLogDeliveryOutcome; + typedef std::future UpdateDcdnSLSRealtimeLogDeliveryOutcomeCallable; + typedef std::function&)> UpdateDcdnSLSRealtimeLogDeliveryAsyncHandler; typedef Outcome UpdateDcdnSubTaskOutcome; typedef std::future UpdateDcdnSubTaskOutcomeCallable; typedef std::function&)> UpdateDcdnSubTaskAsyncHandler; + typedef Outcome UpdateDcdnUserRealTimeDeliveryFieldOutcome; + typedef std::future UpdateDcdnUserRealTimeDeliveryFieldOutcomeCallable; + typedef std::function&)> UpdateDcdnUserRealTimeDeliveryFieldAsyncHandler; typedef Outcome UploadRoutineCodeOutcome; typedef std::future UploadRoutineCodeOutcomeCallable; typedef std::function&)> UploadRoutineCodeAsyncHandler; @@ -818,6 +873,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; + CheckDcdnProjectExistOutcome checkDcdnProjectExist(const Model::CheckDcdnProjectExistRequest &request)const; + void checkDcdnProjectExistAsync(const Model::CheckDcdnProjectExistRequest& request, const CheckDcdnProjectExistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckDcdnProjectExistOutcomeCallable checkDcdnProjectExistCallable(const Model::CheckDcdnProjectExistRequest& 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; @@ -830,12 +888,18 @@ namespace AlibabaCloud CreateDcdnDomainOfflineLogDeliveryOutcome createDcdnDomainOfflineLogDelivery(const Model::CreateDcdnDomainOfflineLogDeliveryRequest &request)const; void createDcdnDomainOfflineLogDeliveryAsync(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDcdnDomainOfflineLogDeliveryOutcomeCallable createDcdnDomainOfflineLogDeliveryCallable(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request) const; + CreateDcdnSLSRealTimeLogDeliveryOutcome createDcdnSLSRealTimeLogDelivery(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest &request)const; + void createDcdnSLSRealTimeLogDeliveryAsync(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest& request, const CreateDcdnSLSRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable createDcdnSLSRealTimeLogDeliveryCallable(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest& request) const; 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; + CreateSlrAndSlsProjectOutcome createSlrAndSlsProject(const Model::CreateSlrAndSlsProjectRequest &request)const; + void createSlrAndSlsProjectAsync(const Model::CreateSlrAndSlsProjectRequest& request, const CreateSlrAndSlsProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSlrAndSlsProjectOutcomeCallable createSlrAndSlsProjectCallable(const Model::CreateSlrAndSlsProjectRequest& request) const; 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; @@ -848,6 +912,9 @@ namespace AlibabaCloud DeleteDcdnIpaSpecificConfigOutcome deleteDcdnIpaSpecificConfig(const Model::DeleteDcdnIpaSpecificConfigRequest &request)const; void deleteDcdnIpaSpecificConfigAsync(const Model::DeleteDcdnIpaSpecificConfigRequest& request, const DeleteDcdnIpaSpecificConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnIpaSpecificConfigOutcomeCallable deleteDcdnIpaSpecificConfigCallable(const Model::DeleteDcdnIpaSpecificConfigRequest& request) const; + DeleteDcdnRealTimeLogProjectOutcome deleteDcdnRealTimeLogProject(const Model::DeleteDcdnRealTimeLogProjectRequest &request)const; + void deleteDcdnRealTimeLogProjectAsync(const Model::DeleteDcdnRealTimeLogProjectRequest& request, const DeleteDcdnRealTimeLogProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDcdnRealTimeLogProjectOutcomeCallable deleteDcdnRealTimeLogProjectCallable(const Model::DeleteDcdnRealTimeLogProjectRequest& request) const; DeleteDcdnSpecificConfigOutcome deleteDcdnSpecificConfig(const Model::DeleteDcdnSpecificConfigRequest &request)const; void deleteDcdnSpecificConfigAsync(const Model::DeleteDcdnSpecificConfigRequest& request, const DeleteDcdnSpecificConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDcdnSpecificConfigOutcomeCallable deleteDcdnSpecificConfigCallable(const Model::DeleteDcdnSpecificConfigRequest& request) const; @@ -1043,6 +1110,9 @@ namespace AlibabaCloud DescribeDcdnOfflineLogDeliveryStatusOutcome describeDcdnOfflineLogDeliveryStatus(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest &request)const; void describeDcdnOfflineLogDeliveryStatusAsync(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable describeDcdnOfflineLogDeliveryStatusCallable(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request) const; + DescribeDcdnRealTimeDeliveryFieldOutcome describeDcdnRealTimeDeliveryField(const Model::DescribeDcdnRealTimeDeliveryFieldRequest &request)const; + void describeDcdnRealTimeDeliveryFieldAsync(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request, const DescribeDcdnRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnRealTimeDeliveryFieldOutcomeCallable describeDcdnRealTimeDeliveryFieldCallable(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request) const; DescribeDcdnRefreshQuotaOutcome describeDcdnRefreshQuota(const Model::DescribeDcdnRefreshQuotaRequest &request)const; void describeDcdnRefreshQuotaAsync(const Model::DescribeDcdnRefreshQuotaRequest& request, const DescribeDcdnRefreshQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnRefreshQuotaOutcomeCallable describeDcdnRefreshQuotaCallable(const Model::DescribeDcdnRefreshQuotaRequest& request) const; @@ -1061,6 +1131,9 @@ namespace AlibabaCloud DescribeDcdnReportListOutcome describeDcdnReportList(const Model::DescribeDcdnReportListRequest &request)const; void describeDcdnReportListAsync(const Model::DescribeDcdnReportListRequest& request, const DescribeDcdnReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnReportListOutcomeCallable describeDcdnReportListCallable(const Model::DescribeDcdnReportListRequest& request) const; + DescribeDcdnSLSRealtimeLogDeliveryOutcome describeDcdnSLSRealtimeLogDelivery(const Model::DescribeDcdnSLSRealtimeLogDeliveryRequest &request)const; + void describeDcdnSLSRealtimeLogDeliveryAsync(const Model::DescribeDcdnSLSRealtimeLogDeliveryRequest& request, const DescribeDcdnSLSRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnSLSRealtimeLogDeliveryOutcomeCallable describeDcdnSLSRealtimeLogDeliveryCallable(const Model::DescribeDcdnSLSRealtimeLogDeliveryRequest& request) const; DescribeDcdnSMCertificateDetailOutcome describeDcdnSMCertificateDetail(const Model::DescribeDcdnSMCertificateDetailRequest &request)const; void describeDcdnSMCertificateDetailAsync(const Model::DescribeDcdnSMCertificateDetailRequest& request, const DescribeDcdnSMCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnSMCertificateDetailOutcomeCallable describeDcdnSMCertificateDetailCallable(const Model::DescribeDcdnSMCertificateDetailRequest& request) const; @@ -1103,6 +1176,9 @@ namespace AlibabaCloud DescribeDcdnUserQuotaOutcome describeDcdnUserQuota(const Model::DescribeDcdnUserQuotaRequest &request)const; void describeDcdnUserQuotaAsync(const Model::DescribeDcdnUserQuotaRequest& request, const DescribeDcdnUserQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserQuotaOutcomeCallable describeDcdnUserQuotaCallable(const Model::DescribeDcdnUserQuotaRequest& request) const; + DescribeDcdnUserRealTimeDeliveryFieldOutcome describeDcdnUserRealTimeDeliveryField(const Model::DescribeDcdnUserRealTimeDeliveryFieldRequest &request)const; + void describeDcdnUserRealTimeDeliveryFieldAsync(const Model::DescribeDcdnUserRealTimeDeliveryFieldRequest& request, const DescribeDcdnUserRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDcdnUserRealTimeDeliveryFieldOutcomeCallable describeDcdnUserRealTimeDeliveryFieldCallable(const Model::DescribeDcdnUserRealTimeDeliveryFieldRequest& request) const; DescribeDcdnUserResourcePackageOutcome describeDcdnUserResourcePackage(const Model::DescribeDcdnUserResourcePackageRequest &request)const; void describeDcdnUserResourcePackageAsync(const Model::DescribeDcdnUserResourcePackageRequest& request, const DescribeDcdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDcdnUserResourcePackageOutcomeCallable describeDcdnUserResourcePackageCallable(const Model::DescribeDcdnUserResourcePackageRequest& request) const; @@ -1163,6 +1239,9 @@ namespace AlibabaCloud 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; + ListDcdnRealTimeDeliveryProjectOutcome listDcdnRealTimeDeliveryProject(const Model::ListDcdnRealTimeDeliveryProjectRequest &request)const; + void listDcdnRealTimeDeliveryProjectAsync(const Model::ListDcdnRealTimeDeliveryProjectRequest& request, const ListDcdnRealTimeDeliveryProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDcdnRealTimeDeliveryProjectOutcomeCallable listDcdnRealTimeDeliveryProjectCallable(const Model::ListDcdnRealTimeDeliveryProjectRequest& request) const; ModifyDCdnDomainSchdmByPropertyOutcome modifyDCdnDomainSchdmByProperty(const Model::ModifyDCdnDomainSchdmByPropertyRequest &request)const; void modifyDCdnDomainSchdmByPropertyAsync(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request, const ModifyDCdnDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDCdnDomainSchdmByPropertyOutcomeCallable modifyDCdnDomainSchdmByPropertyCallable(const Model::ModifyDCdnDomainSchdmByPropertyRequest& request) const; @@ -1199,6 +1278,9 @@ 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; + SetDcdnFullDomainsBlockIPOutcome setDcdnFullDomainsBlockIP(const Model::SetDcdnFullDomainsBlockIPRequest &request)const; + void setDcdnFullDomainsBlockIPAsync(const Model::SetDcdnFullDomainsBlockIPRequest& request, const SetDcdnFullDomainsBlockIPAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetDcdnFullDomainsBlockIPOutcomeCallable setDcdnFullDomainsBlockIPCallable(const Model::SetDcdnFullDomainsBlockIPRequest& 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; @@ -1232,9 +1314,15 @@ namespace AlibabaCloud UpdateDcdnIpaDomainOutcome updateDcdnIpaDomain(const Model::UpdateDcdnIpaDomainRequest &request)const; void updateDcdnIpaDomainAsync(const Model::UpdateDcdnIpaDomainRequest& request, const UpdateDcdnIpaDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateDcdnIpaDomainOutcomeCallable updateDcdnIpaDomainCallable(const Model::UpdateDcdnIpaDomainRequest& request) const; + UpdateDcdnSLSRealtimeLogDeliveryOutcome updateDcdnSLSRealtimeLogDelivery(const Model::UpdateDcdnSLSRealtimeLogDeliveryRequest &request)const; + void updateDcdnSLSRealtimeLogDeliveryAsync(const Model::UpdateDcdnSLSRealtimeLogDeliveryRequest& request, const UpdateDcdnSLSRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDcdnSLSRealtimeLogDeliveryOutcomeCallable updateDcdnSLSRealtimeLogDeliveryCallable(const Model::UpdateDcdnSLSRealtimeLogDeliveryRequest& request) const; 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; + UpdateDcdnUserRealTimeDeliveryFieldOutcome updateDcdnUserRealTimeDeliveryField(const Model::UpdateDcdnUserRealTimeDeliveryFieldRequest &request)const; + void updateDcdnUserRealTimeDeliveryFieldAsync(const Model::UpdateDcdnUserRealTimeDeliveryFieldRequest& request, const UpdateDcdnUserRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDcdnUserRealTimeDeliveryFieldOutcomeCallable updateDcdnUserRealTimeDeliveryFieldCallable(const Model::UpdateDcdnUserRealTimeDeliveryFieldRequest& 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; diff --git a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h index e50703be7..fcedb038b 100644 --- a/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/BatchSetDcdnDomainConfigsRequest.h @@ -39,19 +39,19 @@ namespace AlibabaCloud void setFunctions(const std::string& functions); std::string getDomainNames()const; void setDomainNames(const std::string& domainNames); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); private: std::string functions_; std::string domainNames_; + std::string securityToken_; std::string ownerAccount_; long ownerId_; - std::string securityToken_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h b/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.h new file mode 100644 index 000000000..4bff031ef --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistRequest.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_CHECKDCDNPROJECTEXISTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CheckDcdnProjectExistRequest : public RpcServiceRequest + { + + public: + CheckDcdnProjectExistRequest(); + ~CheckDcdnProjectExistRequest(); + + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string projectName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistResult.h b/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistResult.h new file mode 100644 index 000000000..750aa5966 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CheckDcdnProjectExistResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CheckDcdnProjectExistResult : public ServiceResult + { + public: + struct Content + { + std::string exist; + }; + + + CheckDcdnProjectExistResult(); + explicit CheckDcdnProjectExistResult(const std::string &payload); + ~CheckDcdnProjectExistResult(); + Content getContent()const; + + protected: + void parse(const std::string &payload); + private: + Content content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CHECKDCDNPROJECTEXISTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h new file mode 100644 index 000000000..ee8ace69b --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.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_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateDcdnSLSRealTimeLogDeliveryRequest : public RpcServiceRequest + { + + public: + CreateDcdnSLSRealTimeLogDeliveryRequest(); + ~CreateDcdnSLSRealTimeLogDeliveryRequest(); + + std::string getSLSLogStore()const; + void setSLSLogStore(const std::string& sLSLogStore); + std::string getSLSProject()const; + void setSLSProject(const std::string& sLSProject); + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + std::string getSLSRegion()const; + void setSLSRegion(const std::string& sLSRegion); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getSamplingRate()const; + void setSamplingRate(const std::string& samplingRate); + std::string getDataCenter()const; + void setDataCenter(const std::string& dataCenter); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string sLSLogStore_; + std::string sLSProject_; + std::string businessType_; + std::string sLSRegion_; + std::string projectName_; + std::string domainName_; + std::string samplingRate_; + std::string dataCenter_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h new file mode 100644 index 000000000..6ba19dd06 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateDcdnSLSRealTimeLogDeliveryResult : public ServiceResult + { + public: + struct Domains + { + std::string status; + std::string desc; + std::string domainName; + std::string region; + }; + + + CreateDcdnSLSRealTimeLogDeliveryResult(); + explicit CreateDcdnSLSRealTimeLogDeliveryResult(const std::string &payload); + ~CreateDcdnSLSRealTimeLogDeliveryResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h b/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.h new file mode 100644 index 000000000..a93fe2be4 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectRequest.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_CREATESLRANDSLSPROJECTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateSlrAndSlsProjectRequest : public RpcServiceRequest + { + + public: + CreateSlrAndSlsProjectRequest(); + ~CreateSlrAndSlsProjectRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + long ownerId_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectResult.h b/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectResult.h new file mode 100644 index 000000000..b1e2f40bb --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/CreateSlrAndSlsProjectResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT CreateSlrAndSlsProjectResult : public ServiceResult + { + public: + struct SlsInfo + { + std::string project; + std::string logStore; + std::string region; + std::string endPoint; + }; + + + CreateSlrAndSlsProjectResult(); + explicit CreateSlrAndSlsProjectResult(const std::string &payload); + ~CreateSlrAndSlsProjectResult(); + SlsInfo getSlsInfo()const; + + protected: + void parse(const std::string &payload); + private: + SlsInfo slsInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_CREATESLRANDSLSPROJECTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h index 33db8050c..687c46b07 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnDomainRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud DeleteDcdnDomainRequest(); ~DeleteDcdnDomainRequest(); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); private: + std::string securityToken_; std::string ownerAccount_; std::string domainName_; long ownerId_; - std::string securityToken_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.h new file mode 100644 index 000000000..65a7636e7 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectRequest.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_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnRealTimeLogProjectRequest : public RpcServiceRequest + { + + public: + DeleteDcdnRealTimeLogProjectRequest(); + ~DeleteDcdnRealTimeLogProjectRequest(); + + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string businessType_; + std::string projectName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectResult.h b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectResult.h new file mode 100644 index 000000000..4af294cd1 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DeleteDcdnRealTimeLogProjectResult.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_DELETEDCDNREALTIMELOGPROJECTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DeleteDcdnRealTimeLogProjectResult : public ServiceResult + { + public: + + + DeleteDcdnRealTimeLogProjectResult(); + explicit DeleteDcdnRealTimeLogProjectResult(const std::string &payload); + ~DeleteDcdnRealTimeLogProjectResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DELETEDCDNREALTIMELOGPROJECTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h index 2c3bda915..602441293 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h @@ -40,7 +40,7 @@ namespace AlibabaCloud float count; int code; }; - std::vector websocketHttpCodeDataPerInterval; + std::vector websocketHttpCode; std::string timeStamp; }; @@ -52,7 +52,7 @@ namespace AlibabaCloud std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; - std::vector getDataPerInterval()const; + std::vector getHttpCodeDataPerInterval()const; protected: void parse(const std::string &payload); @@ -61,7 +61,7 @@ namespace AlibabaCloud std::string domainName_; std::string startTime_; std::string dataInterval_; - std::vector dataPerInterval_; + std::vector httpCodeDataPerInterval_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h new file mode 100644 index 000000000..260966696 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.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_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRealTimeDeliveryFieldRequest : public RpcServiceRequest + { + + public: + DescribeDcdnRealTimeDeliveryFieldRequest(); + ~DescribeDcdnRealTimeDeliveryFieldRequest(); + + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string businessType_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h new file mode 100644 index 000000000..a56b8a18a --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnRealTimeDeliveryFieldResult : public ServiceResult + { + public: + struct Fields + { + std::string description; + std::string fieldName; + }; + + + DescribeDcdnRealTimeDeliveryFieldResult(); + explicit DescribeDcdnRealTimeDeliveryFieldResult(const std::string &payload); + ~DescribeDcdnRealTimeDeliveryFieldResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNREALTIMEDELIVERYFIELDRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..639a8abfe --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.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_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSLSRealtimeLogDeliveryRequest : public RpcServiceRequest + { + + public: + DescribeDcdnSLSRealtimeLogDeliveryRequest(); + ~DescribeDcdnSLSRealtimeLogDeliveryRequest(); + + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string businessType_; + std::string projectName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..b1b86a8d6 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSLSRealtimeLogDeliveryResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnSLSRealtimeLogDeliveryResult : public ServiceResult + { + public: + struct Content + { + std::string type; + std::string dataCenter; + std::string sLSProject; + std::string projectName; + std::string domainName; + std::string sLSRegion; + std::string businessType; + std::string sLSLogStore; + std::string fieldName; + std::string samplingRate; + }; + + + DescribeDcdnSLSRealtimeLogDeliveryResult(); + explicit DescribeDcdnSLSRealtimeLogDeliveryResult(const std::string &payload); + ~DescribeDcdnSLSRealtimeLogDeliveryResult(); + Content getContent()const; + + protected: + void parse(const std::string &payload); + private: + Content content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h index 882d4f734..11525c252 100644 --- a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnSMCertificateDetailResult.h @@ -37,18 +37,26 @@ namespace AlibabaCloud DescribeDcdnSMCertificateDetailResult(); explicit DescribeDcdnSMCertificateDetailResult(const std::string &payload); ~DescribeDcdnSMCertificateDetailResult(); + std::string getSans()const; + std::string getCertOrg()const; std::string getCertIdentifier()const; std::string getSignCertificate()const; + std::string getCertExpireTime()const; std::string getCertName()const; std::string getEncryptCertificate()const; + std::string getCommonName()const; protected: void parse(const std::string &payload); private: + std::string sans_; + std::string certOrg_; std::string certIdentifier_; std::string signCertificate_; + std::string certExpireTime_; std::string certName_; std::string encryptCertificate_; + std::string commonName_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.h new file mode 100644 index 000000000..260799931 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.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_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserRealTimeDeliveryFieldRequest : public RpcServiceRequest + { + + public: + DescribeDcdnUserRealTimeDeliveryFieldRequest(); + ~DescribeDcdnUserRealTimeDeliveryFieldRequest(); + + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string businessType_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldResult.h b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldResult.h new file mode 100644 index 000000000..a50f8739d --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/DescribeDcdnUserRealTimeDeliveryFieldResult.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_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserRealTimeDeliveryFieldResult : public ServiceResult + { + public: + struct Fields + { + std::string description; + bool selected; + std::string fieldName; + }; + + + DescribeDcdnUserRealTimeDeliveryFieldResult(); + explicit DescribeDcdnUserRealTimeDeliveryFieldResult(const std::string &payload); + ~DescribeDcdnUserRealTimeDeliveryFieldResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNUSERREALTIMEDELIVERYFIELDRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h b/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h new file mode 100644 index 000000000..c658948bf --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.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_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ListDcdnRealTimeDeliveryProjectRequest : public RpcServiceRequest + { + + public: + ListDcdnRealTimeDeliveryProjectRequest(); + ~ListDcdnRealTimeDeliveryProjectRequest(); + + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + int pageNumber_; + std::string businessType_; + int pageSize_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h b/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h new file mode 100644 index 000000000..866b57d2c --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT ListDcdnRealTimeDeliveryProjectResult : public ServiceResult + { + public: + struct Projects + { + std::string type; + std::string dataCenter; + std::string sLSProject; + std::string projectName; + std::string domainName; + std::string sLSRegion; + std::string businessType; + std::string sLSLogStore; + std::string fieldName; + float samplingRate; + }; + + + ListDcdnRealTimeDeliveryProjectResult(); + explicit ListDcdnRealTimeDeliveryProjectResult(const std::string &payload); + ~ListDcdnRealTimeDeliveryProjectResult(); + int getTotalCount()const; + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_LISTDCDNREALTIMEDELIVERYPROJECTRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h index 1f3696b99..10672e425 100644 --- a/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnDomainSMCertificateRequest.h @@ -35,6 +35,8 @@ namespace AlibabaCloud SetDcdnDomainSMCertificateRequest(); ~SetDcdnDomainSMCertificateRequest(); + std::string getSSLProtocol()const; + void setSSLProtocol(const std::string& sSLProtocol); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; @@ -45,6 +47,7 @@ namespace AlibabaCloud void setCertIdentifier(const std::string& certIdentifier); private: + std::string sSLProtocol_; std::string domainName_; long ownerId_; std::string securityToken_; diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.h new file mode 100644 index 000000000..5963fbf10 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPRequest.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_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnFullDomainsBlockIPRequest : public RpcServiceRequest + { + + public: + SetDcdnFullDomainsBlockIPRequest(); + ~SetDcdnFullDomainsBlockIPRequest(); + + std::string getIPList()const; + void setIPList(const std::string& iPList); + int getBlockInterval()const; + void setBlockInterval(int blockInterval); + std::string getOperationType()const; + void setOperationType(const std::string& operationType); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string iPList_; + int blockInterval_; + std::string operationType_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPResult.h b/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPResult.h new file mode 100644 index 000000000..9d1811094 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/SetDcdnFullDomainsBlockIPResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT SetDcdnFullDomainsBlockIPResult : public ServiceResult + { + public: + + + SetDcdnFullDomainsBlockIPResult(); + explicit SetDcdnFullDomainsBlockIPResult(const std::string &payload); + ~SetDcdnFullDomainsBlockIPResult(); + std::string getMessage()const; + int getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_SETDCDNFULLDOMAINSBLOCKIPRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h index d97c19b74..e5af780c6 100644 --- a/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/StartDcdnIpaDomainRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud StartDcdnIpaDomainRequest(); ~StartDcdnIpaDomainRequest(); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); private: + std::string securityToken_; std::string domainName_; long ownerId_; - std::string securityToken_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h b/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h index 84966674c..1e10ae048 100644 --- a/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h +++ b/dcdn/include/alibabacloud/dcdn/model/StopDcdnIpaDomainRequest.h @@ -35,17 +35,17 @@ namespace AlibabaCloud StopDcdnIpaDomainRequest(); ~StopDcdnIpaDomainRequest(); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); private: + std::string securityToken_; std::string domainName_; long ownerId_; - std::string securityToken_; }; } diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.h new file mode 100644 index 000000000..bd6c69596 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.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_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnSLSRealtimeLogDeliveryRequest : public RpcServiceRequest + { + + public: + UpdateDcdnSLSRealtimeLogDeliveryRequest(); + ~UpdateDcdnSLSRealtimeLogDeliveryRequest(); + + std::string getSLSLogStore()const; + void setSLSLogStore(const std::string& sLSLogStore); + std::string getSLSProject()const; + void setSLSProject(const std::string& sLSProject); + std::string getSLSRegion()const; + void setSLSRegion(const std::string& sLSRegion); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getSamplingRate()const; + void setSamplingRate(const std::string& samplingRate); + std::string getDataCenter()const; + void setDataCenter(const std::string& dataCenter); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string sLSLogStore_; + std::string sLSProject_; + std::string sLSRegion_; + std::string projectName_; + std::string domainName_; + std::string samplingRate_; + std::string dataCenter_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryResult.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryResult.h new file mode 100644 index 000000000..a24c383e2 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnSLSRealtimeLogDeliveryResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnSLSRealtimeLogDeliveryResult : public ServiceResult + { + public: + struct Domains + { + std::string status; + std::string desc; + std::string domainName; + std::string region; + }; + + + UpdateDcdnSLSRealtimeLogDeliveryResult(); + explicit UpdateDcdnSLSRealtimeLogDeliveryResult(const std::string &payload); + ~UpdateDcdnSLSRealtimeLogDeliveryResult(); + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNSLSREALTIMELOGDELIVERYRESULT_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.h new file mode 100644 index 000000000..255bbedec --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.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_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnUserRealTimeDeliveryFieldRequest : public RpcServiceRequest + { + + public: + UpdateDcdnUserRealTimeDeliveryFieldRequest(); + ~UpdateDcdnUserRealTimeDeliveryFieldRequest(); + + std::string getBusinessType()const; + void setBusinessType(const std::string& businessType); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getFields()const; + void setFields(const std::string& fields); + + private: + std::string businessType_; + long ownerId_; + std::string fields_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDREQUEST_H_ \ No newline at end of file diff --git a/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldResult.h b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldResult.h new file mode 100644 index 000000000..2c8f513d5 --- /dev/null +++ b/dcdn/include/alibabacloud/dcdn/model/UpdateDcdnUserRealTimeDeliveryFieldResult.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_UPDATEDCDNUSERREALTIMEDELIVERYFIELDRESULT_H_ +#define ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dcdn + { + namespace Model + { + class ALIBABACLOUD_DCDN_EXPORT UpdateDcdnUserRealTimeDeliveryFieldResult : public ServiceResult + { + public: + + + UpdateDcdnUserRealTimeDeliveryFieldResult(); + explicit UpdateDcdnUserRealTimeDeliveryFieldResult(const std::string &payload); + ~UpdateDcdnUserRealTimeDeliveryFieldResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DCDN_MODEL_UPDATEDCDNUSERREALTIMEDELIVERYFIELDRESULT_H_ \ No newline at end of file diff --git a/dcdn/src/DcdnClient.cc b/dcdn/src/DcdnClient.cc index ef074c4cb..e3cff09ca 100644 --- a/dcdn/src/DcdnClient.cc +++ b/dcdn/src/DcdnClient.cc @@ -375,6 +375,42 @@ DcdnClient::BatchStopDcdnDomainOutcomeCallable DcdnClient::batchStopDcdnDomainCa return task->get_future(); } +DcdnClient::CheckDcdnProjectExistOutcome DcdnClient::checkDcdnProjectExist(const CheckDcdnProjectExistRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckDcdnProjectExistOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckDcdnProjectExistOutcome(CheckDcdnProjectExistResult(outcome.result())); + else + return CheckDcdnProjectExistOutcome(outcome.error()); +} + +void DcdnClient::checkDcdnProjectExistAsync(const CheckDcdnProjectExistRequest& request, const CheckDcdnProjectExistAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkDcdnProjectExist(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CheckDcdnProjectExistOutcomeCallable DcdnClient::checkDcdnProjectExistCallable(const CheckDcdnProjectExistRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkDcdnProjectExist(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::CommitStagingRoutineCodeOutcome DcdnClient::commitStagingRoutineCode(const CommitStagingRoutineCodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,6 +555,42 @@ DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::create return task->get_future(); } +DcdnClient::CreateDcdnSLSRealTimeLogDeliveryOutcome DcdnClient::createDcdnSLSRealTimeLogDelivery(const CreateDcdnSLSRealTimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDcdnSLSRealTimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDcdnSLSRealTimeLogDeliveryOutcome(CreateDcdnSLSRealTimeLogDeliveryResult(outcome.result())); + else + return CreateDcdnSLSRealTimeLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::createDcdnSLSRealTimeLogDeliveryAsync(const CreateDcdnSLSRealTimeLogDeliveryRequest& request, const CreateDcdnSLSRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDcdnSLSRealTimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable DcdnClient::createDcdnSLSRealTimeLogDeliveryCallable(const CreateDcdnSLSRealTimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDcdnSLSRealTimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::CreateDcdnSubTaskOutcome DcdnClient::createDcdnSubTask(const CreateDcdnSubTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -591,6 +663,42 @@ DcdnClient::CreateRoutineOutcomeCallable DcdnClient::createRoutineCallable(const return task->get_future(); } +DcdnClient::CreateSlrAndSlsProjectOutcome DcdnClient::createSlrAndSlsProject(const CreateSlrAndSlsProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSlrAndSlsProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSlrAndSlsProjectOutcome(CreateSlrAndSlsProjectResult(outcome.result())); + else + return CreateSlrAndSlsProjectOutcome(outcome.error()); +} + +void DcdnClient::createSlrAndSlsProjectAsync(const CreateSlrAndSlsProjectRequest& request, const CreateSlrAndSlsProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSlrAndSlsProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::CreateSlrAndSlsProjectOutcomeCallable DcdnClient::createSlrAndSlsProjectCallable(const CreateSlrAndSlsProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSlrAndSlsProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DeleteDcdnDeliverTaskOutcome DcdnClient::deleteDcdnDeliverTask(const DeleteDcdnDeliverTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +843,42 @@ DcdnClient::DeleteDcdnIpaSpecificConfigOutcomeCallable DcdnClient::deleteDcdnIpa return task->get_future(); } +DcdnClient::DeleteDcdnRealTimeLogProjectOutcome DcdnClient::deleteDcdnRealTimeLogProject(const DeleteDcdnRealTimeLogProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDcdnRealTimeLogProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDcdnRealTimeLogProjectOutcome(DeleteDcdnRealTimeLogProjectResult(outcome.result())); + else + return DeleteDcdnRealTimeLogProjectOutcome(outcome.error()); +} + +void DcdnClient::deleteDcdnRealTimeLogProjectAsync(const DeleteDcdnRealTimeLogProjectRequest& request, const DeleteDcdnRealTimeLogProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDcdnRealTimeLogProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DeleteDcdnRealTimeLogProjectOutcomeCallable DcdnClient::deleteDcdnRealTimeLogProjectCallable(const DeleteDcdnRealTimeLogProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDcdnRealTimeLogProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DeleteDcdnSpecificConfigOutcome DcdnClient::deleteDcdnSpecificConfig(const DeleteDcdnSpecificConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3075,6 +3219,42 @@ DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable DcdnClient::desc return task->get_future(); } +DcdnClient::DescribeDcdnRealTimeDeliveryFieldOutcome DcdnClient::describeDcdnRealTimeDeliveryField(const DescribeDcdnRealTimeDeliveryFieldRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnRealTimeDeliveryFieldOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnRealTimeDeliveryFieldOutcome(DescribeDcdnRealTimeDeliveryFieldResult(outcome.result())); + else + return DescribeDcdnRealTimeDeliveryFieldOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnRealTimeDeliveryFieldAsync(const DescribeDcdnRealTimeDeliveryFieldRequest& request, const DescribeDcdnRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnRealTimeDeliveryField(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnRealTimeDeliveryFieldOutcomeCallable DcdnClient::describeDcdnRealTimeDeliveryFieldCallable(const DescribeDcdnRealTimeDeliveryFieldRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnRealTimeDeliveryField(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnRefreshQuotaOutcome DcdnClient::describeDcdnRefreshQuota(const DescribeDcdnRefreshQuotaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3291,6 +3471,42 @@ DcdnClient::DescribeDcdnReportListOutcomeCallable DcdnClient::describeDcdnReport return task->get_future(); } +DcdnClient::DescribeDcdnSLSRealtimeLogDeliveryOutcome DcdnClient::describeDcdnSLSRealtimeLogDelivery(const DescribeDcdnSLSRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnSLSRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnSLSRealtimeLogDeliveryOutcome(DescribeDcdnSLSRealtimeLogDeliveryResult(outcome.result())); + else + return DescribeDcdnSLSRealtimeLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnSLSRealtimeLogDeliveryAsync(const DescribeDcdnSLSRealtimeLogDeliveryRequest& request, const DescribeDcdnSLSRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnSLSRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnSLSRealtimeLogDeliveryOutcomeCallable DcdnClient::describeDcdnSLSRealtimeLogDeliveryCallable(const DescribeDcdnSLSRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnSLSRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnSMCertificateDetailOutcome DcdnClient::describeDcdnSMCertificateDetail(const DescribeDcdnSMCertificateDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3795,6 +4011,42 @@ DcdnClient::DescribeDcdnUserQuotaOutcomeCallable DcdnClient::describeDcdnUserQuo return task->get_future(); } +DcdnClient::DescribeDcdnUserRealTimeDeliveryFieldOutcome DcdnClient::describeDcdnUserRealTimeDeliveryField(const DescribeDcdnUserRealTimeDeliveryFieldRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDcdnUserRealTimeDeliveryFieldOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDcdnUserRealTimeDeliveryFieldOutcome(DescribeDcdnUserRealTimeDeliveryFieldResult(outcome.result())); + else + return DescribeDcdnUserRealTimeDeliveryFieldOutcome(outcome.error()); +} + +void DcdnClient::describeDcdnUserRealTimeDeliveryFieldAsync(const DescribeDcdnUserRealTimeDeliveryFieldRequest& request, const DescribeDcdnUserRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDcdnUserRealTimeDeliveryField(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::DescribeDcdnUserRealTimeDeliveryFieldOutcomeCallable DcdnClient::describeDcdnUserRealTimeDeliveryFieldCallable(const DescribeDcdnUserRealTimeDeliveryFieldRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDcdnUserRealTimeDeliveryField(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::DescribeDcdnUserResourcePackageOutcome DcdnClient::describeDcdnUserResourcePackage(const DescribeDcdnUserResourcePackageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,6 +4767,42 @@ DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::enable return task->get_future(); } +DcdnClient::ListDcdnRealTimeDeliveryProjectOutcome DcdnClient::listDcdnRealTimeDeliveryProject(const ListDcdnRealTimeDeliveryProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDcdnRealTimeDeliveryProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDcdnRealTimeDeliveryProjectOutcome(ListDcdnRealTimeDeliveryProjectResult(outcome.result())); + else + return ListDcdnRealTimeDeliveryProjectOutcome(outcome.error()); +} + +void DcdnClient::listDcdnRealTimeDeliveryProjectAsync(const ListDcdnRealTimeDeliveryProjectRequest& request, const ListDcdnRealTimeDeliveryProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDcdnRealTimeDeliveryProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::ListDcdnRealTimeDeliveryProjectOutcomeCallable DcdnClient::listDcdnRealTimeDeliveryProjectCallable(const ListDcdnRealTimeDeliveryProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDcdnRealTimeDeliveryProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::ModifyDCdnDomainSchdmByPropertyOutcome DcdnClient::modifyDCdnDomainSchdmByProperty(const ModifyDCdnDomainSchdmByPropertyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4947,6 +5235,42 @@ DcdnClient::SetDcdnDomainStagingConfigOutcomeCallable DcdnClient::setDcdnDomainS return task->get_future(); } +DcdnClient::SetDcdnFullDomainsBlockIPOutcome DcdnClient::setDcdnFullDomainsBlockIP(const SetDcdnFullDomainsBlockIPRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetDcdnFullDomainsBlockIPOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetDcdnFullDomainsBlockIPOutcome(SetDcdnFullDomainsBlockIPResult(outcome.result())); + else + return SetDcdnFullDomainsBlockIPOutcome(outcome.error()); +} + +void DcdnClient::setDcdnFullDomainsBlockIPAsync(const SetDcdnFullDomainsBlockIPRequest& request, const SetDcdnFullDomainsBlockIPAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setDcdnFullDomainsBlockIP(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::SetDcdnFullDomainsBlockIPOutcomeCallable DcdnClient::setDcdnFullDomainsBlockIPCallable(const SetDcdnFullDomainsBlockIPRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setDcdnFullDomainsBlockIP(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::SetDcdnUserConfigOutcome DcdnClient::setDcdnUserConfig(const SetDcdnUserConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5343,6 +5667,42 @@ DcdnClient::UpdateDcdnIpaDomainOutcomeCallable DcdnClient::updateDcdnIpaDomainCa return task->get_future(); } +DcdnClient::UpdateDcdnSLSRealtimeLogDeliveryOutcome DcdnClient::updateDcdnSLSRealtimeLogDelivery(const UpdateDcdnSLSRealtimeLogDeliveryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDcdnSLSRealtimeLogDeliveryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDcdnSLSRealtimeLogDeliveryOutcome(UpdateDcdnSLSRealtimeLogDeliveryResult(outcome.result())); + else + return UpdateDcdnSLSRealtimeLogDeliveryOutcome(outcome.error()); +} + +void DcdnClient::updateDcdnSLSRealtimeLogDeliveryAsync(const UpdateDcdnSLSRealtimeLogDeliveryRequest& request, const UpdateDcdnSLSRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDcdnSLSRealtimeLogDelivery(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::UpdateDcdnSLSRealtimeLogDeliveryOutcomeCallable DcdnClient::updateDcdnSLSRealtimeLogDeliveryCallable(const UpdateDcdnSLSRealtimeLogDeliveryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDcdnSLSRealtimeLogDelivery(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::UpdateDcdnSubTaskOutcome DcdnClient::updateDcdnSubTask(const UpdateDcdnSubTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5379,6 +5739,42 @@ DcdnClient::UpdateDcdnSubTaskOutcomeCallable DcdnClient::updateDcdnSubTaskCallab return task->get_future(); } +DcdnClient::UpdateDcdnUserRealTimeDeliveryFieldOutcome DcdnClient::updateDcdnUserRealTimeDeliveryField(const UpdateDcdnUserRealTimeDeliveryFieldRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDcdnUserRealTimeDeliveryFieldOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDcdnUserRealTimeDeliveryFieldOutcome(UpdateDcdnUserRealTimeDeliveryFieldResult(outcome.result())); + else + return UpdateDcdnUserRealTimeDeliveryFieldOutcome(outcome.error()); +} + +void DcdnClient::updateDcdnUserRealTimeDeliveryFieldAsync(const UpdateDcdnUserRealTimeDeliveryFieldRequest& request, const UpdateDcdnUserRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDcdnUserRealTimeDeliveryField(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +DcdnClient::UpdateDcdnUserRealTimeDeliveryFieldOutcomeCallable DcdnClient::updateDcdnUserRealTimeDeliveryFieldCallable(const UpdateDcdnUserRealTimeDeliveryFieldRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDcdnUserRealTimeDeliveryField(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + DcdnClient::UploadRoutineCodeOutcome DcdnClient::uploadRoutineCode(const UploadRoutineCodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc b/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc index fba055206..341d00c39 100644 --- a/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc +++ b/dcdn/src/model/BatchSetDcdnDomainConfigsRequest.cc @@ -49,6 +49,17 @@ void BatchSetDcdnDomainConfigsRequest::setDomainNames(const std::string& domainN setParameter("DomainNames", domainNames); } +std::string BatchSetDcdnDomainConfigsRequest::getSecurityToken()const +{ + return securityToken_; +} + +void BatchSetDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + std::string BatchSetDcdnDomainConfigsRequest::getOwnerAccount()const { return ownerAccount_; @@ -71,14 +82,3 @@ void BatchSetDcdnDomainConfigsRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string BatchSetDcdnDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; -} - -void BatchSetDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/dcdn/src/model/CheckDcdnProjectExistRequest.cc b/dcdn/src/model/CheckDcdnProjectExistRequest.cc new file mode 100644 index 000000000..f260fc48c --- /dev/null +++ b/dcdn/src/model/CheckDcdnProjectExistRequest.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::CheckDcdnProjectExistRequest; + +CheckDcdnProjectExistRequest::CheckDcdnProjectExistRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "CheckDcdnProjectExist") +{ + setMethod(HttpRequest::Method::Get); +} + +CheckDcdnProjectExistRequest::~CheckDcdnProjectExistRequest() +{} + +std::string CheckDcdnProjectExistRequest::getProjectName()const +{ + return projectName_; +} + +void CheckDcdnProjectExistRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + +long CheckDcdnProjectExistRequest::getOwnerId()const +{ + return ownerId_; +} + +void CheckDcdnProjectExistRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/CheckDcdnProjectExistResult.cc b/dcdn/src/model/CheckDcdnProjectExistResult.cc new file mode 100644 index 000000000..e57bebca3 --- /dev/null +++ b/dcdn/src/model/CheckDcdnProjectExistResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +CheckDcdnProjectExistResult::CheckDcdnProjectExistResult() : + ServiceResult() +{} + +CheckDcdnProjectExistResult::CheckDcdnProjectExistResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckDcdnProjectExistResult::~CheckDcdnProjectExistResult() +{} + +void CheckDcdnProjectExistResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["Exist"].isNull()) + content_.exist = contentNode["Exist"].asString(); + +} + +CheckDcdnProjectExistResult::Content CheckDcdnProjectExistResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc new file mode 100644 index 000000000..fba0a1002 --- /dev/null +++ b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.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::CreateDcdnSLSRealTimeLogDeliveryRequest; + +CreateDcdnSLSRealTimeLogDeliveryRequest::CreateDcdnSLSRealTimeLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnSLSRealTimeLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDcdnSLSRealTimeLogDeliveryRequest::~CreateDcdnSLSRealTimeLogDeliveryRequest() +{} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSLogStore()const +{ + return sLSLogStore_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSLogStore(const std::string& sLSLogStore) +{ + sLSLogStore_ = sLSLogStore; + setBodyParameter("SLSLogStore", sLSLogStore); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSProject()const +{ + return sLSProject_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSProject(const std::string& sLSProject) +{ + sLSProject_ = sLSProject; + setBodyParameter("SLSProject", sLSProject); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getBusinessType()const +{ + return businessType_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setBodyParameter("BusinessType", businessType); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSLSRegion()const +{ + return sLSRegion_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSLSRegion(const std::string& sLSRegion) +{ + sLSRegion_ = sLSRegion; + setBodyParameter("SLSRegion", sLSRegion); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getProjectName()const +{ + return projectName_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setBodyParameter("ProjectName", projectName); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getDomainName()const +{ + return domainName_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getSamplingRate()const +{ + return samplingRate_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setSamplingRate(const std::string& samplingRate) +{ + samplingRate_ = samplingRate; + setBodyParameter("SamplingRate", samplingRate); +} + +std::string CreateDcdnSLSRealTimeLogDeliveryRequest::getDataCenter()const +{ + return dataCenter_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setDataCenter(const std::string& dataCenter) +{ + dataCenter_ = dataCenter; + setBodyParameter("DataCenter", dataCenter); +} + +long CreateDcdnSLSRealTimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDcdnSLSRealTimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc new file mode 100644 index 000000000..b9cfae649 --- /dev/null +++ b/dcdn/src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +CreateDcdnSLSRealTimeLogDeliveryResult::CreateDcdnSLSRealTimeLogDeliveryResult() : + ServiceResult() +{} + +CreateDcdnSLSRealTimeLogDeliveryResult::CreateDcdnSLSRealTimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDcdnSLSRealTimeLogDeliveryResult::~CreateDcdnSLSRealTimeLogDeliveryResult() +{} + +void CreateDcdnSLSRealTimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Domains"]; + for (auto valueContentDomains : allContentNode) + { + Domains contentObject; + if(!valueContentDomains["DomainName"].isNull()) + contentObject.domainName = valueContentDomains["DomainName"].asString(); + if(!valueContentDomains["Region"].isNull()) + contentObject.region = valueContentDomains["Region"].asString(); + if(!valueContentDomains["Status"].isNull()) + contentObject.status = valueContentDomains["Status"].asString(); + if(!valueContentDomains["Desc"].isNull()) + contentObject.desc = valueContentDomains["Desc"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector CreateDcdnSLSRealTimeLogDeliveryResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/CreateSlrAndSlsProjectRequest.cc b/dcdn/src/model/CreateSlrAndSlsProjectRequest.cc new file mode 100644 index 000000000..715f30c05 --- /dev/null +++ b/dcdn/src/model/CreateSlrAndSlsProjectRequest.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::CreateSlrAndSlsProjectRequest; + +CreateSlrAndSlsProjectRequest::CreateSlrAndSlsProjectRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "CreateSlrAndSlsProject") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSlrAndSlsProjectRequest::~CreateSlrAndSlsProjectRequest() +{} + +long CreateSlrAndSlsProjectRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateSlrAndSlsProjectRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateSlrAndSlsProjectRequest::getRegion()const +{ + return region_; +} + +void CreateSlrAndSlsProjectRequest::setRegion(const std::string& region) +{ + region_ = region; + setBodyParameter("Region", region); +} + diff --git a/dcdn/src/model/CreateSlrAndSlsProjectResult.cc b/dcdn/src/model/CreateSlrAndSlsProjectResult.cc new file mode 100644 index 000000000..983e38a3c --- /dev/null +++ b/dcdn/src/model/CreateSlrAndSlsProjectResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +CreateSlrAndSlsProjectResult::CreateSlrAndSlsProjectResult() : + ServiceResult() +{} + +CreateSlrAndSlsProjectResult::CreateSlrAndSlsProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSlrAndSlsProjectResult::~CreateSlrAndSlsProjectResult() +{} + +void CreateSlrAndSlsProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto slsInfoNode = value["SlsInfo"]; + if(!slsInfoNode["Project"].isNull()) + slsInfo_.project = slsInfoNode["Project"].asString(); + if(!slsInfoNode["LogStore"].isNull()) + slsInfo_.logStore = slsInfoNode["LogStore"].asString(); + if(!slsInfoNode["EndPoint"].isNull()) + slsInfo_.endPoint = slsInfoNode["EndPoint"].asString(); + if(!slsInfoNode["Region"].isNull()) + slsInfo_.region = slsInfoNode["Region"].asString(); + +} + +CreateSlrAndSlsProjectResult::SlsInfo CreateSlrAndSlsProjectResult::getSlsInfo()const +{ + return slsInfo_; +} + diff --git a/dcdn/src/model/DeleteDcdnDomainRequest.cc b/dcdn/src/model/DeleteDcdnDomainRequest.cc index 112098abd..223339ce4 100644 --- a/dcdn/src/model/DeleteDcdnDomainRequest.cc +++ b/dcdn/src/model/DeleteDcdnDomainRequest.cc @@ -27,6 +27,17 @@ DeleteDcdnDomainRequest::DeleteDcdnDomainRequest() : DeleteDcdnDomainRequest::~DeleteDcdnDomainRequest() {} +std::string DeleteDcdnDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteDcdnDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + std::string DeleteDcdnDomainRequest::getOwnerAccount()const { return ownerAccount_; @@ -60,14 +71,3 @@ void DeleteDcdnDomainRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string DeleteDcdnDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteDcdnDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc b/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.cc new file mode 100644 index 000000000..3ba0a0c37 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnRealTimeLogProjectRequest.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::DeleteDcdnRealTimeLogProjectRequest; + +DeleteDcdnRealTimeLogProjectRequest::DeleteDcdnRealTimeLogProjectRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DeleteDcdnRealTimeLogProject") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDcdnRealTimeLogProjectRequest::~DeleteDcdnRealTimeLogProjectRequest() +{} + +std::string DeleteDcdnRealTimeLogProjectRequest::getBusinessType()const +{ + return businessType_; +} + +void DeleteDcdnRealTimeLogProjectRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setParameter("BusinessType", businessType); +} + +std::string DeleteDcdnRealTimeLogProjectRequest::getProjectName()const +{ + return projectName_; +} + +void DeleteDcdnRealTimeLogProjectRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + +long DeleteDcdnRealTimeLogProjectRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteDcdnRealTimeLogProjectRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DeleteDcdnRealTimeLogProjectResult.cc b/dcdn/src/model/DeleteDcdnRealTimeLogProjectResult.cc new file mode 100644 index 000000000..3daf1b734 --- /dev/null +++ b/dcdn/src/model/DeleteDcdnRealTimeLogProjectResult.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; + +DeleteDcdnRealTimeLogProjectResult::DeleteDcdnRealTimeLogProjectResult() : + ServiceResult() +{} + +DeleteDcdnRealTimeLogProjectResult::DeleteDcdnRealTimeLogProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDcdnRealTimeLogProjectResult::~DeleteDcdnRealTimeLogProjectResult() +{} + +void DeleteDcdnRealTimeLogProjectResult::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/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc b/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc index c2d05ddfa..ec0231032 100644 --- a/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc +++ b/dcdn/src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc @@ -39,25 +39,25 @@ void DescribeDcdnDomainWebsocketHttpCodeDataResult::parse(const std::string &pay Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allDataPerIntervalNode = value["DataPerInterval"]["DataModule"]; - for (auto valueDataPerIntervalDataModule : allDataPerIntervalNode) + auto allHttpCodeDataPerIntervalNode = value["HttpCodeDataPerInterval"]["DataModule"]; + for (auto valueHttpCodeDataPerIntervalDataModule : allHttpCodeDataPerIntervalNode) { - DataModule dataPerIntervalObject; - if(!valueDataPerIntervalDataModule["TimeStamp"].isNull()) - dataPerIntervalObject.timeStamp = valueDataPerIntervalDataModule["TimeStamp"].asString(); - auto allWebsocketHttpCodeDataPerIntervalNode = valueDataPerIntervalDataModule["WebsocketHttpCodeDataPerInterval"]["HttpCodeDataModule"]; - for (auto valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule : allWebsocketHttpCodeDataPerIntervalNode) + DataModule httpCodeDataPerIntervalObject; + if(!valueHttpCodeDataPerIntervalDataModule["TimeStamp"].isNull()) + httpCodeDataPerIntervalObject.timeStamp = valueHttpCodeDataPerIntervalDataModule["TimeStamp"].asString(); + auto allWebsocketHttpCodeNode = valueHttpCodeDataPerIntervalDataModule["WebsocketHttpCode"]["HttpCodeDataModule"]; + for (auto valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule : allWebsocketHttpCodeNode) { - DataModule::HttpCodeDataModule websocketHttpCodeDataPerIntervalObject; - if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull()) - websocketHttpCodeDataPerIntervalObject.code = std::stoi(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString()); - if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull()) - websocketHttpCodeDataPerIntervalObject.proportion = std::stof(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString()); - if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull()) - websocketHttpCodeDataPerIntervalObject.count = std::stof(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString()); - dataPerIntervalObject.websocketHttpCodeDataPerInterval.push_back(websocketHttpCodeDataPerIntervalObject); + DataModule::HttpCodeDataModule websocketHttpCodeObject; + if(!valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule["Code"].isNull()) + websocketHttpCodeObject.code = std::stoi(valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule["Code"].asString()); + if(!valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule["Proportion"].isNull()) + websocketHttpCodeObject.proportion = std::stof(valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule["Proportion"].asString()); + if(!valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule["Count"].isNull()) + websocketHttpCodeObject.count = std::stof(valueHttpCodeDataPerIntervalDataModuleWebsocketHttpCodeHttpCodeDataModule["Count"].asString()); + httpCodeDataPerIntervalObject.websocketHttpCode.push_back(websocketHttpCodeObject); } - dataPerInterval_.push_back(dataPerIntervalObject); + httpCodeDataPerInterval_.push_back(httpCodeDataPerIntervalObject); } if(!value["DomainName"].isNull()) domainName_ = value["DomainName"].asString(); @@ -90,8 +90,8 @@ std::string DescribeDcdnDomainWebsocketHttpCodeDataResult::getDataInterval()cons return dataInterval_; } -std::vector DescribeDcdnDomainWebsocketHttpCodeDataResult::getDataPerInterval()const +std::vector DescribeDcdnDomainWebsocketHttpCodeDataResult::getHttpCodeDataPerInterval()const { - return dataPerInterval_; + return httpCodeDataPerInterval_; } diff --git a/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc new file mode 100644 index 000000000..88dbedb82 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldRequest.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::DescribeDcdnRealTimeDeliveryFieldRequest; + +DescribeDcdnRealTimeDeliveryFieldRequest::DescribeDcdnRealTimeDeliveryFieldRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnRealTimeDeliveryField") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnRealTimeDeliveryFieldRequest::~DescribeDcdnRealTimeDeliveryFieldRequest() +{} + +std::string DescribeDcdnRealTimeDeliveryFieldRequest::getBusinessType()const +{ + return businessType_; +} + +void DescribeDcdnRealTimeDeliveryFieldRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setParameter("BusinessType", businessType); +} + +long DescribeDcdnRealTimeDeliveryFieldRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnRealTimeDeliveryFieldRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc new file mode 100644 index 000000000..a958c4e31 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnRealTimeDeliveryFieldResult::DescribeDcdnRealTimeDeliveryFieldResult() : + ServiceResult() +{} + +DescribeDcdnRealTimeDeliveryFieldResult::DescribeDcdnRealTimeDeliveryFieldResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnRealTimeDeliveryFieldResult::~DescribeDcdnRealTimeDeliveryFieldResult() +{} + +void DescribeDcdnRealTimeDeliveryFieldResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Fields"]; + for (auto valueContentFields : allContentNode) + { + Fields contentObject; + if(!valueContentFields["FieldName"].isNull()) + contentObject.fieldName = valueContentFields["FieldName"].asString(); + if(!valueContentFields["Description"].isNull()) + contentObject.description = valueContentFields["Description"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnRealTimeDeliveryFieldResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..a9c37e1f7 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryRequest.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::DescribeDcdnSLSRealtimeLogDeliveryRequest; + +DescribeDcdnSLSRealtimeLogDeliveryRequest::DescribeDcdnSLSRealtimeLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnSLSRealtimeLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDcdnSLSRealtimeLogDeliveryRequest::~DescribeDcdnSLSRealtimeLogDeliveryRequest() +{} + +std::string DescribeDcdnSLSRealtimeLogDeliveryRequest::getBusinessType()const +{ + return businessType_; +} + +void DescribeDcdnSLSRealtimeLogDeliveryRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setParameter("BusinessType", businessType); +} + +std::string DescribeDcdnSLSRealtimeLogDeliveryRequest::getProjectName()const +{ + return projectName_; +} + +void DescribeDcdnSLSRealtimeLogDeliveryRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + +long DescribeDcdnSLSRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnSLSRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..cc0d991ba --- /dev/null +++ b/dcdn/src/model/DescribeDcdnSLSRealtimeLogDeliveryResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnSLSRealtimeLogDeliveryResult::DescribeDcdnSLSRealtimeLogDeliveryResult() : + ServiceResult() +{} + +DescribeDcdnSLSRealtimeLogDeliveryResult::DescribeDcdnSLSRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnSLSRealtimeLogDeliveryResult::~DescribeDcdnSLSRealtimeLogDeliveryResult() +{} + +void DescribeDcdnSLSRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto contentNode = value["Content"]; + if(!contentNode["ProjectName"].isNull()) + content_.projectName = contentNode["ProjectName"].asString(); + if(!contentNode["DomainName"].isNull()) + content_.domainName = contentNode["DomainName"].asString(); + if(!contentNode["FieldName"].isNull()) + content_.fieldName = contentNode["FieldName"].asString(); + if(!contentNode["SamplingRate"].isNull()) + content_.samplingRate = contentNode["SamplingRate"].asString(); + if(!contentNode["DataCenter"].isNull()) + content_.dataCenter = contentNode["DataCenter"].asString(); + if(!contentNode["SLSRegion"].isNull()) + content_.sLSRegion = contentNode["SLSRegion"].asString(); + if(!contentNode["SLSProject"].isNull()) + content_.sLSProject = contentNode["SLSProject"].asString(); + if(!contentNode["SLSLogStore"].isNull()) + content_.sLSLogStore = contentNode["SLSLogStore"].asString(); + if(!contentNode["BusinessType"].isNull()) + content_.businessType = contentNode["BusinessType"].asString(); + if(!contentNode["Type"].isNull()) + content_.type = contentNode["Type"].asString(); + +} + +DescribeDcdnSLSRealtimeLogDeliveryResult::Content DescribeDcdnSLSRealtimeLogDeliveryResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc b/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc index 63bbb5447..b146b512d 100644 --- a/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc +++ b/dcdn/src/model/DescribeDcdnSMCertificateDetailResult.cc @@ -47,9 +47,27 @@ void DescribeDcdnSMCertificateDetailResult::parse(const std::string &payload) certIdentifier_ = value["CertIdentifier"].asString(); if(!value["CertName"].isNull()) certName_ = value["CertName"].asString(); + if(!value["CommonName"].isNull()) + commonName_ = value["CommonName"].asString(); + if(!value["Sans"].isNull()) + sans_ = value["Sans"].asString(); + if(!value["CertOrg"].isNull()) + certOrg_ = value["CertOrg"].asString(); + if(!value["CertExpireTime"].isNull()) + certExpireTime_ = value["CertExpireTime"].asString(); } +std::string DescribeDcdnSMCertificateDetailResult::getSans()const +{ + return sans_; +} + +std::string DescribeDcdnSMCertificateDetailResult::getCertOrg()const +{ + return certOrg_; +} + std::string DescribeDcdnSMCertificateDetailResult::getCertIdentifier()const { return certIdentifier_; @@ -60,6 +78,11 @@ std::string DescribeDcdnSMCertificateDetailResult::getSignCertificate()const return signCertificate_; } +std::string DescribeDcdnSMCertificateDetailResult::getCertExpireTime()const +{ + return certExpireTime_; +} + std::string DescribeDcdnSMCertificateDetailResult::getCertName()const { return certName_; @@ -70,3 +93,8 @@ std::string DescribeDcdnSMCertificateDetailResult::getEncryptCertificate()const return encryptCertificate_; } +std::string DescribeDcdnSMCertificateDetailResult::getCommonName()const +{ + return commonName_; +} + diff --git a/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.cc new file mode 100644 index 000000000..4f1c98f6f --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldRequest.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::DescribeDcdnUserRealTimeDeliveryFieldRequest; + +DescribeDcdnUserRealTimeDeliveryFieldRequest::DescribeDcdnUserRealTimeDeliveryFieldRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnUserRealTimeDeliveryField") +{ + setMethod(HttpRequest::Method::Get); +} + +DescribeDcdnUserRealTimeDeliveryFieldRequest::~DescribeDcdnUserRealTimeDeliveryFieldRequest() +{} + +std::string DescribeDcdnUserRealTimeDeliveryFieldRequest::getBusinessType()const +{ + return businessType_; +} + +void DescribeDcdnUserRealTimeDeliveryFieldRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setParameter("BusinessType", businessType); +} + +long DescribeDcdnUserRealTimeDeliveryFieldRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDcdnUserRealTimeDeliveryFieldRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc new file mode 100644 index 000000000..e612f4982 --- /dev/null +++ b/dcdn/src/model/DescribeDcdnUserRealTimeDeliveryFieldResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +DescribeDcdnUserRealTimeDeliveryFieldResult::DescribeDcdnUserRealTimeDeliveryFieldResult() : + ServiceResult() +{} + +DescribeDcdnUserRealTimeDeliveryFieldResult::DescribeDcdnUserRealTimeDeliveryFieldResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDcdnUserRealTimeDeliveryFieldResult::~DescribeDcdnUserRealTimeDeliveryFieldResult() +{} + +void DescribeDcdnUserRealTimeDeliveryFieldResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Fields"]; + for (auto valueContentFields : allContentNode) + { + Fields contentObject; + if(!valueContentFields["FieldName"].isNull()) + contentObject.fieldName = valueContentFields["FieldName"].asString(); + if(!valueContentFields["Description"].isNull()) + contentObject.description = valueContentFields["Description"].asString(); + if(!valueContentFields["Selected"].isNull()) + contentObject.selected = valueContentFields["Selected"].asString() == "true"; + content_.push_back(contentObject); + } + +} + +std::vector DescribeDcdnUserRealTimeDeliveryFieldResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.cc new file mode 100644 index 000000000..b7a58221a --- /dev/null +++ b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectRequest.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::ListDcdnRealTimeDeliveryProjectRequest; + +ListDcdnRealTimeDeliveryProjectRequest::ListDcdnRealTimeDeliveryProjectRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "ListDcdnRealTimeDeliveryProject") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDcdnRealTimeDeliveryProjectRequest::~ListDcdnRealTimeDeliveryProjectRequest() +{} + +int ListDcdnRealTimeDeliveryProjectRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListDcdnRealTimeDeliveryProjectRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListDcdnRealTimeDeliveryProjectRequest::getBusinessType()const +{ + return businessType_; +} + +void ListDcdnRealTimeDeliveryProjectRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setParameter("BusinessType", businessType); +} + +int ListDcdnRealTimeDeliveryProjectRequest::getPageSize()const +{ + return pageSize_; +} + +void ListDcdnRealTimeDeliveryProjectRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListDcdnRealTimeDeliveryProjectRequest::getDomainName()const +{ + return domainName_; +} + +void ListDcdnRealTimeDeliveryProjectRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long ListDcdnRealTimeDeliveryProjectRequest::getOwnerId()const +{ + return ownerId_; +} + +void ListDcdnRealTimeDeliveryProjectRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc new file mode 100644 index 000000000..374dd47bb --- /dev/null +++ b/dcdn/src/model/ListDcdnRealTimeDeliveryProjectResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +ListDcdnRealTimeDeliveryProjectResult::ListDcdnRealTimeDeliveryProjectResult() : + ServiceResult() +{} + +ListDcdnRealTimeDeliveryProjectResult::ListDcdnRealTimeDeliveryProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDcdnRealTimeDeliveryProjectResult::~ListDcdnRealTimeDeliveryProjectResult() +{} + +void ListDcdnRealTimeDeliveryProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Projects"]; + for (auto valueContentProjects : allContentNode) + { + Projects contentObject; + if(!valueContentProjects["ProjectName"].isNull()) + contentObject.projectName = valueContentProjects["ProjectName"].asString(); + if(!valueContentProjects["Type"].isNull()) + contentObject.type = valueContentProjects["Type"].asString(); + if(!valueContentProjects["DomainName"].isNull()) + contentObject.domainName = valueContentProjects["DomainName"].asString(); + if(!valueContentProjects["FieldName"].isNull()) + contentObject.fieldName = valueContentProjects["FieldName"].asString(); + if(!valueContentProjects["SamplingRate"].isNull()) + contentObject.samplingRate = std::stof(valueContentProjects["SamplingRate"].asString()); + if(!valueContentProjects["DataCenter"].isNull()) + contentObject.dataCenter = valueContentProjects["DataCenter"].asString(); + if(!valueContentProjects["SLSRegion"].isNull()) + contentObject.sLSRegion = valueContentProjects["SLSRegion"].asString(); + if(!valueContentProjects["SLSProject"].isNull()) + contentObject.sLSProject = valueContentProjects["SLSProject"].asString(); + if(!valueContentProjects["SLSLogStore"].isNull()) + contentObject.sLSLogStore = valueContentProjects["SLSLogStore"].asString(); + if(!valueContentProjects["BusinessType"].isNull()) + contentObject.businessType = valueContentProjects["BusinessType"].asString(); + content_.push_back(contentObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListDcdnRealTimeDeliveryProjectResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListDcdnRealTimeDeliveryProjectResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc b/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc index e1e825635..03318d0cf 100644 --- a/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc +++ b/dcdn/src/model/SetDcdnDomainSMCertificateRequest.cc @@ -27,6 +27,17 @@ SetDcdnDomainSMCertificateRequest::SetDcdnDomainSMCertificateRequest() : SetDcdnDomainSMCertificateRequest::~SetDcdnDomainSMCertificateRequest() {} +std::string SetDcdnDomainSMCertificateRequest::getSSLProtocol()const +{ + return sSLProtocol_; +} + +void SetDcdnDomainSMCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) +{ + sSLProtocol_ = sSLProtocol; + setParameter("SSLProtocol", sSLProtocol); +} + std::string SetDcdnDomainSMCertificateRequest::getDomainName()const { return domainName_; diff --git a/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.cc b/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.cc new file mode 100644 index 000000000..f2533d2cc --- /dev/null +++ b/dcdn/src/model/SetDcdnFullDomainsBlockIPRequest.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::SetDcdnFullDomainsBlockIPRequest; + +SetDcdnFullDomainsBlockIPRequest::SetDcdnFullDomainsBlockIPRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "SetDcdnFullDomainsBlockIP") +{ + setMethod(HttpRequest::Method::Post); +} + +SetDcdnFullDomainsBlockIPRequest::~SetDcdnFullDomainsBlockIPRequest() +{} + +std::string SetDcdnFullDomainsBlockIPRequest::getIPList()const +{ + return iPList_; +} + +void SetDcdnFullDomainsBlockIPRequest::setIPList(const std::string& iPList) +{ + iPList_ = iPList; + setBodyParameter("IPList", iPList); +} + +int SetDcdnFullDomainsBlockIPRequest::getBlockInterval()const +{ + return blockInterval_; +} + +void SetDcdnFullDomainsBlockIPRequest::setBlockInterval(int blockInterval) +{ + blockInterval_ = blockInterval; + setBodyParameter("BlockInterval", std::to_string(blockInterval)); +} + +std::string SetDcdnFullDomainsBlockIPRequest::getOperationType()const +{ + return operationType_; +} + +void SetDcdnFullDomainsBlockIPRequest::setOperationType(const std::string& operationType) +{ + operationType_ = operationType; + setBodyParameter("OperationType", operationType); +} + +long SetDcdnFullDomainsBlockIPRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetDcdnFullDomainsBlockIPRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/SetDcdnFullDomainsBlockIPResult.cc b/dcdn/src/model/SetDcdnFullDomainsBlockIPResult.cc new file mode 100644 index 000000000..789560d6a --- /dev/null +++ b/dcdn/src/model/SetDcdnFullDomainsBlockIPResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +SetDcdnFullDomainsBlockIPResult::SetDcdnFullDomainsBlockIPResult() : + ServiceResult() +{} + +SetDcdnFullDomainsBlockIPResult::SetDcdnFullDomainsBlockIPResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetDcdnFullDomainsBlockIPResult::~SetDcdnFullDomainsBlockIPResult() +{} + +void SetDcdnFullDomainsBlockIPResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string SetDcdnFullDomainsBlockIPResult::getMessage()const +{ + return message_; +} + +int SetDcdnFullDomainsBlockIPResult::getCode()const +{ + return code_; +} + diff --git a/dcdn/src/model/StartDcdnIpaDomainRequest.cc b/dcdn/src/model/StartDcdnIpaDomainRequest.cc index 04999d3be..00528cbd4 100644 --- a/dcdn/src/model/StartDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/StartDcdnIpaDomainRequest.cc @@ -27,6 +27,17 @@ StartDcdnIpaDomainRequest::StartDcdnIpaDomainRequest() : StartDcdnIpaDomainRequest::~StartDcdnIpaDomainRequest() {} +std::string StartDcdnIpaDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StartDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + std::string StartDcdnIpaDomainRequest::getDomainName()const { return domainName_; @@ -49,14 +60,3 @@ void StartDcdnIpaDomainRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string StartDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void StartDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/dcdn/src/model/StopDcdnIpaDomainRequest.cc b/dcdn/src/model/StopDcdnIpaDomainRequest.cc index 1379a098f..103f710c5 100644 --- a/dcdn/src/model/StopDcdnIpaDomainRequest.cc +++ b/dcdn/src/model/StopDcdnIpaDomainRequest.cc @@ -27,6 +27,17 @@ StopDcdnIpaDomainRequest::StopDcdnIpaDomainRequest() : StopDcdnIpaDomainRequest::~StopDcdnIpaDomainRequest() {} +std::string StopDcdnIpaDomainRequest::getSecurityToken()const +{ + return securityToken_; +} + +void StopDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + std::string StopDcdnIpaDomainRequest::getDomainName()const { return domainName_; @@ -49,14 +60,3 @@ void StopDcdnIpaDomainRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string StopDcdnIpaDomainRequest::getSecurityToken()const -{ - return securityToken_; -} - -void StopDcdnIpaDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.cc new file mode 100644 index 000000000..9c170fd6a --- /dev/null +++ b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryRequest.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::UpdateDcdnSLSRealtimeLogDeliveryRequest; + +UpdateDcdnSLSRealtimeLogDeliveryRequest::UpdateDcdnSLSRealtimeLogDeliveryRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnSLSRealtimeLogDelivery") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDcdnSLSRealtimeLogDeliveryRequest::~UpdateDcdnSLSRealtimeLogDeliveryRequest() +{} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSLogStore()const +{ + return sLSLogStore_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSLogStore(const std::string& sLSLogStore) +{ + sLSLogStore_ = sLSLogStore; + setBodyParameter("SLSLogStore", sLSLogStore); +} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSProject()const +{ + return sLSProject_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSProject(const std::string& sLSProject) +{ + sLSProject_ = sLSProject; + setBodyParameter("SLSProject", sLSProject); +} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSLSRegion()const +{ + return sLSRegion_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSLSRegion(const std::string& sLSRegion) +{ + sLSRegion_ = sLSRegion; + setBodyParameter("SLSRegion", sLSRegion); +} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getProjectName()const +{ + return projectName_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setBodyParameter("ProjectName", projectName); +} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setBodyParameter("DomainName", domainName); +} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getSamplingRate()const +{ + return samplingRate_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setSamplingRate(const std::string& samplingRate) +{ + samplingRate_ = samplingRate; + setBodyParameter("SamplingRate", samplingRate); +} + +std::string UpdateDcdnSLSRealtimeLogDeliveryRequest::getDataCenter()const +{ + return dataCenter_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setDataCenter(const std::string& dataCenter) +{ + dataCenter_ = dataCenter; + setBodyParameter("DataCenter", dataCenter); +} + +long UpdateDcdnSLSRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateDcdnSLSRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc new file mode 100644 index 000000000..92e704167 --- /dev/null +++ b/dcdn/src/model/UpdateDcdnSLSRealtimeLogDeliveryResult.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dcdn; +using namespace AlibabaCloud::Dcdn::Model; + +UpdateDcdnSLSRealtimeLogDeliveryResult::UpdateDcdnSLSRealtimeLogDeliveryResult() : + ServiceResult() +{} + +UpdateDcdnSLSRealtimeLogDeliveryResult::UpdateDcdnSLSRealtimeLogDeliveryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDcdnSLSRealtimeLogDeliveryResult::~UpdateDcdnSLSRealtimeLogDeliveryResult() +{} + +void UpdateDcdnSLSRealtimeLogDeliveryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["Domains"]; + for (auto valueContentDomains : allContentNode) + { + Domains contentObject; + if(!valueContentDomains["DomainName"].isNull()) + contentObject.domainName = valueContentDomains["DomainName"].asString(); + if(!valueContentDomains["Region"].isNull()) + contentObject.region = valueContentDomains["Region"].asString(); + if(!valueContentDomains["Status"].isNull()) + contentObject.status = valueContentDomains["Status"].asString(); + if(!valueContentDomains["Desc"].isNull()) + contentObject.desc = valueContentDomains["Desc"].asString(); + content_.push_back(contentObject); + } + +} + +std::vector UpdateDcdnSLSRealtimeLogDeliveryResult::getContent()const +{ + return content_; +} + diff --git a/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc b/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.cc new file mode 100644 index 000000000..6c9fafbd7 --- /dev/null +++ b/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldRequest.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::UpdateDcdnUserRealTimeDeliveryFieldRequest; + +UpdateDcdnUserRealTimeDeliveryFieldRequest::UpdateDcdnUserRealTimeDeliveryFieldRequest() : + RpcServiceRequest("dcdn", "2018-01-15", "UpdateDcdnUserRealTimeDeliveryField") +{ + setMethod(HttpRequest::Method::Get); +} + +UpdateDcdnUserRealTimeDeliveryFieldRequest::~UpdateDcdnUserRealTimeDeliveryFieldRequest() +{} + +std::string UpdateDcdnUserRealTimeDeliveryFieldRequest::getBusinessType()const +{ + return businessType_; +} + +void UpdateDcdnUserRealTimeDeliveryFieldRequest::setBusinessType(const std::string& businessType) +{ + businessType_ = businessType; + setParameter("BusinessType", businessType); +} + +long UpdateDcdnUserRealTimeDeliveryFieldRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateDcdnUserRealTimeDeliveryFieldRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateDcdnUserRealTimeDeliveryFieldRequest::getFields()const +{ + return fields_; +} + +void UpdateDcdnUserRealTimeDeliveryFieldRequest::setFields(const std::string& fields) +{ + fields_ = fields; + setParameter("Fields", fields); +} + diff --git a/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldResult.cc b/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldResult.cc new file mode 100644 index 000000000..6d54d2ba3 --- /dev/null +++ b/dcdn/src/model/UpdateDcdnUserRealTimeDeliveryFieldResult.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; + +UpdateDcdnUserRealTimeDeliveryFieldResult::UpdateDcdnUserRealTimeDeliveryFieldResult() : + ServiceResult() +{} + +UpdateDcdnUserRealTimeDeliveryFieldResult::UpdateDcdnUserRealTimeDeliveryFieldResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDcdnUserRealTimeDeliveryFieldResult::~UpdateDcdnUserRealTimeDeliveryFieldResult() +{} + +void UpdateDcdnUserRealTimeDeliveryFieldResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +