diff --git a/CHANGELOG b/CHANGELOG index ee5abc002..c16224ff7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-07-27 Version: 1.36.539 +- Add HSF apis. + 2020-07-24 Version: 1.36.538 - Edit ListTraceApp api with add tags. - Edit SearchTraceAppByName api with add tags. diff --git a/VERSION b/VERSION index 81849f7c4..5cf7ec954 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.538 \ No newline at end of file +1.36.539 \ No newline at end of file diff --git a/cdn/CMakeLists.txt b/cdn/CMakeLists.txt index bb5b04764..6fda852be 100644 --- a/cdn/CMakeLists.txt +++ b/cdn/CMakeLists.txt @@ -67,14 +67,6 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DeleteFCTriggerResult.h include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h - include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h - include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h - include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h - include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h - include/alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h - include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h - include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h - include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h @@ -85,6 +77,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h + include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h + include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h @@ -111,6 +105,10 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeCdnTypesResult.h include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h + include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h + include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h + include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h @@ -137,6 +135,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h + include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h + include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h @@ -151,6 +151,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h + include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h + include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h @@ -261,6 +263,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h + include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h + include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h include/alibabacloud/cdn/model/DescribeStagingIpRequest.h @@ -397,12 +401,8 @@ set(cdn_public_header_model include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h include/alibabacloud/cdn/model/StartCdnDomainRequest.h include/alibabacloud/cdn/model/StartCdnDomainResult.h - include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h - include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h include/alibabacloud/cdn/model/StopCdnDomainRequest.h include/alibabacloud/cdn/model/StopCdnDomainResult.h - include/alibabacloud/cdn/model/StopMixStreamsServiceRequest.h - include/alibabacloud/cdn/model/StopMixStreamsServiceResult.h include/alibabacloud/cdn/model/TagResourcesRequest.h include/alibabacloud/cdn/model/TagResourcesResult.h include/alibabacloud/cdn/model/UntagResourcesRequest.h @@ -460,14 +460,6 @@ set(cdn_src src/model/DeleteFCTriggerResult.cc src/model/DeleteHttpHeaderConfigRequest.cc src/model/DeleteHttpHeaderConfigResult.cc - src/model/DeleteLiveAppRecordConfigRequest.cc - src/model/DeleteLiveAppRecordConfigResult.cc - src/model/DeleteLiveAppSnapshotConfigRequest.cc - src/model/DeleteLiveAppSnapshotConfigResult.cc - src/model/DeleteLiveDomainMappingRequest.cc - src/model/DeleteLiveDomainMappingResult.cc - src/model/DeleteLiveStreamTranscodeRequest.cc - src/model/DeleteLiveStreamTranscodeResult.cc src/model/DeleteRealtimeLogDeliveryRequest.cc src/model/DeleteRealtimeLogDeliveryResult.cc src/model/DeleteSpecificConfigRequest.cc @@ -478,6 +470,8 @@ set(cdn_src src/model/DeleteUsageDetailDataExportTaskResult.cc src/model/DeleteUserUsageDataExportTaskRequest.cc src/model/DeleteUserUsageDataExportTaskResult.cc + src/model/DescribeActiveVersionOfConfigGroupRequest.cc + src/model/DescribeActiveVersionOfConfigGroupResult.cc src/model/DescribeCdnCertificateDetailRequest.cc src/model/DescribeCdnCertificateDetailResult.cc src/model/DescribeCdnCertificateListRequest.cc @@ -504,6 +498,10 @@ set(cdn_src src/model/DescribeCdnTypesResult.cc src/model/DescribeCdnUserBillPredictionRequest.cc src/model/DescribeCdnUserBillPredictionResult.cc + src/model/DescribeCdnUserBillTypeRequest.cc + src/model/DescribeCdnUserBillTypeResult.cc + src/model/DescribeCdnUserConfigsRequest.cc + src/model/DescribeCdnUserConfigsResult.cc src/model/DescribeCdnUserQuotaRequest.cc src/model/DescribeCdnUserQuotaResult.cc src/model/DescribeCdnUserResourcePackageRequest.cc @@ -530,6 +528,8 @@ set(cdn_src src/model/DescribeDomainConfigsResult.cc src/model/DescribeDomainCustomLogConfigRequest.cc src/model/DescribeDomainCustomLogConfigResult.cc + src/model/DescribeDomainDetailDataByLayerRequest.cc + src/model/DescribeDomainDetailDataByLayerResult.cc src/model/DescribeDomainFileSizeProportionDataRequest.cc src/model/DescribeDomainFileSizeProportionDataResult.cc src/model/DescribeDomainFlowDataRequest.cc @@ -544,6 +544,8 @@ set(cdn_src src/model/DescribeDomainISPDataResult.cc src/model/DescribeDomainMax95BpsDataRequest.cc src/model/DescribeDomainMax95BpsDataResult.cc + src/model/DescribeDomainNamesOfVersionRequest.cc + src/model/DescribeDomainNamesOfVersionResult.cc src/model/DescribeDomainPathDataRequest.cc src/model/DescribeDomainPathDataResult.cc src/model/DescribeDomainPvDataRequest.cc @@ -654,6 +656,8 @@ set(cdn_src src/model/DescribeRealtimeDeliveryAccResult.cc src/model/DescribeRefreshQuotaRequest.cc src/model/DescribeRefreshQuotaResult.cc + src/model/DescribeRefreshTaskByIdRequest.cc + src/model/DescribeRefreshTaskByIdResult.cc src/model/DescribeRefreshTasksRequest.cc src/model/DescribeRefreshTasksResult.cc src/model/DescribeStagingIpRequest.cc @@ -790,12 +794,8 @@ set(cdn_src src/model/SetWaitingRoomConfigResult.cc src/model/StartCdnDomainRequest.cc src/model/StartCdnDomainResult.cc - src/model/StartMixStreamsServiceRequest.cc - src/model/StartMixStreamsServiceResult.cc src/model/StopCdnDomainRequest.cc src/model/StopCdnDomainResult.cc - src/model/StopMixStreamsServiceRequest.cc - src/model/StopMixStreamsServiceResult.cc src/model/TagResourcesRequest.cc src/model/TagResourcesResult.cc src/model/UntagResourcesRequest.cc diff --git a/cdn/include/alibabacloud/cdn/CdnClient.h b/cdn/include/alibabacloud/cdn/CdnClient.h index 0c1e1118d..ca653a2f0 100644 --- a/cdn/include/alibabacloud/cdn/CdnClient.h +++ b/cdn/include/alibabacloud/cdn/CdnClient.h @@ -68,14 +68,6 @@ #include "model/DeleteFCTriggerResult.h" #include "model/DeleteHttpHeaderConfigRequest.h" #include "model/DeleteHttpHeaderConfigResult.h" -#include "model/DeleteLiveAppRecordConfigRequest.h" -#include "model/DeleteLiveAppRecordConfigResult.h" -#include "model/DeleteLiveAppSnapshotConfigRequest.h" -#include "model/DeleteLiveAppSnapshotConfigResult.h" -#include "model/DeleteLiveDomainMappingRequest.h" -#include "model/DeleteLiveDomainMappingResult.h" -#include "model/DeleteLiveStreamTranscodeRequest.h" -#include "model/DeleteLiveStreamTranscodeResult.h" #include "model/DeleteRealtimeLogDeliveryRequest.h" #include "model/DeleteRealtimeLogDeliveryResult.h" #include "model/DeleteSpecificConfigRequest.h" @@ -86,6 +78,8 @@ #include "model/DeleteUsageDetailDataExportTaskResult.h" #include "model/DeleteUserUsageDataExportTaskRequest.h" #include "model/DeleteUserUsageDataExportTaskResult.h" +#include "model/DescribeActiveVersionOfConfigGroupRequest.h" +#include "model/DescribeActiveVersionOfConfigGroupResult.h" #include "model/DescribeCdnCertificateDetailRequest.h" #include "model/DescribeCdnCertificateDetailResult.h" #include "model/DescribeCdnCertificateListRequest.h" @@ -112,6 +106,10 @@ #include "model/DescribeCdnTypesResult.h" #include "model/DescribeCdnUserBillPredictionRequest.h" #include "model/DescribeCdnUserBillPredictionResult.h" +#include "model/DescribeCdnUserBillTypeRequest.h" +#include "model/DescribeCdnUserBillTypeResult.h" +#include "model/DescribeCdnUserConfigsRequest.h" +#include "model/DescribeCdnUserConfigsResult.h" #include "model/DescribeCdnUserQuotaRequest.h" #include "model/DescribeCdnUserQuotaResult.h" #include "model/DescribeCdnUserResourcePackageRequest.h" @@ -138,6 +136,8 @@ #include "model/DescribeDomainConfigsResult.h" #include "model/DescribeDomainCustomLogConfigRequest.h" #include "model/DescribeDomainCustomLogConfigResult.h" +#include "model/DescribeDomainDetailDataByLayerRequest.h" +#include "model/DescribeDomainDetailDataByLayerResult.h" #include "model/DescribeDomainFileSizeProportionDataRequest.h" #include "model/DescribeDomainFileSizeProportionDataResult.h" #include "model/DescribeDomainFlowDataRequest.h" @@ -152,6 +152,8 @@ #include "model/DescribeDomainISPDataResult.h" #include "model/DescribeDomainMax95BpsDataRequest.h" #include "model/DescribeDomainMax95BpsDataResult.h" +#include "model/DescribeDomainNamesOfVersionRequest.h" +#include "model/DescribeDomainNamesOfVersionResult.h" #include "model/DescribeDomainPathDataRequest.h" #include "model/DescribeDomainPathDataResult.h" #include "model/DescribeDomainPvDataRequest.h" @@ -262,6 +264,8 @@ #include "model/DescribeRealtimeDeliveryAccResult.h" #include "model/DescribeRefreshQuotaRequest.h" #include "model/DescribeRefreshQuotaResult.h" +#include "model/DescribeRefreshTaskByIdRequest.h" +#include "model/DescribeRefreshTaskByIdResult.h" #include "model/DescribeRefreshTasksRequest.h" #include "model/DescribeRefreshTasksResult.h" #include "model/DescribeStagingIpRequest.h" @@ -398,12 +402,8 @@ #include "model/SetWaitingRoomConfigResult.h" #include "model/StartCdnDomainRequest.h" #include "model/StartCdnDomainResult.h" -#include "model/StartMixStreamsServiceRequest.h" -#include "model/StartMixStreamsServiceResult.h" #include "model/StopCdnDomainRequest.h" #include "model/StopCdnDomainResult.h" -#include "model/StopMixStreamsServiceRequest.h" -#include "model/StopMixStreamsServiceResult.h" #include "model/TagResourcesRequest.h" #include "model/TagResourcesResult.h" #include "model/UntagResourcesRequest.h" @@ -490,18 +490,6 @@ namespace AlibabaCloud typedef Outcome DeleteHttpHeaderConfigOutcome; typedef std::future DeleteHttpHeaderConfigOutcomeCallable; typedef std::function&)> DeleteHttpHeaderConfigAsyncHandler; - typedef Outcome DeleteLiveAppRecordConfigOutcome; - typedef std::future DeleteLiveAppRecordConfigOutcomeCallable; - typedef std::function&)> DeleteLiveAppRecordConfigAsyncHandler; - typedef Outcome DeleteLiveAppSnapshotConfigOutcome; - typedef std::future DeleteLiveAppSnapshotConfigOutcomeCallable; - typedef std::function&)> DeleteLiveAppSnapshotConfigAsyncHandler; - typedef Outcome DeleteLiveDomainMappingOutcome; - typedef std::future DeleteLiveDomainMappingOutcomeCallable; - typedef std::function&)> DeleteLiveDomainMappingAsyncHandler; - typedef Outcome DeleteLiveStreamTranscodeOutcome; - typedef std::future DeleteLiveStreamTranscodeOutcomeCallable; - typedef std::function&)> DeleteLiveStreamTranscodeAsyncHandler; typedef Outcome DeleteRealtimeLogDeliveryOutcome; typedef std::future DeleteRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> DeleteRealtimeLogDeliveryAsyncHandler; @@ -517,6 +505,9 @@ namespace AlibabaCloud typedef Outcome DeleteUserUsageDataExportTaskOutcome; typedef std::future DeleteUserUsageDataExportTaskOutcomeCallable; typedef std::function&)> DeleteUserUsageDataExportTaskAsyncHandler; + typedef Outcome DescribeActiveVersionOfConfigGroupOutcome; + typedef std::future DescribeActiveVersionOfConfigGroupOutcomeCallable; + typedef std::function&)> DescribeActiveVersionOfConfigGroupAsyncHandler; typedef Outcome DescribeCdnCertificateDetailOutcome; typedef std::future DescribeCdnCertificateDetailOutcomeCallable; typedef std::function&)> DescribeCdnCertificateDetailAsyncHandler; @@ -556,6 +547,12 @@ namespace AlibabaCloud typedef Outcome DescribeCdnUserBillPredictionOutcome; typedef std::future DescribeCdnUserBillPredictionOutcomeCallable; typedef std::function&)> DescribeCdnUserBillPredictionAsyncHandler; + typedef Outcome DescribeCdnUserBillTypeOutcome; + typedef std::future DescribeCdnUserBillTypeOutcomeCallable; + typedef std::function&)> DescribeCdnUserBillTypeAsyncHandler; + typedef Outcome DescribeCdnUserConfigsOutcome; + typedef std::future DescribeCdnUserConfigsOutcomeCallable; + typedef std::function&)> DescribeCdnUserConfigsAsyncHandler; typedef Outcome DescribeCdnUserQuotaOutcome; typedef std::future DescribeCdnUserQuotaOutcomeCallable; typedef std::function&)> DescribeCdnUserQuotaAsyncHandler; @@ -595,6 +592,9 @@ namespace AlibabaCloud typedef Outcome DescribeDomainCustomLogConfigOutcome; typedef std::future DescribeDomainCustomLogConfigOutcomeCallable; typedef std::function&)> DescribeDomainCustomLogConfigAsyncHandler; + typedef Outcome DescribeDomainDetailDataByLayerOutcome; + typedef std::future DescribeDomainDetailDataByLayerOutcomeCallable; + typedef std::function&)> DescribeDomainDetailDataByLayerAsyncHandler; typedef Outcome DescribeDomainFileSizeProportionDataOutcome; typedef std::future DescribeDomainFileSizeProportionDataOutcomeCallable; typedef std::function&)> DescribeDomainFileSizeProportionDataAsyncHandler; @@ -616,6 +616,9 @@ namespace AlibabaCloud typedef Outcome DescribeDomainMax95BpsDataOutcome; typedef std::future DescribeDomainMax95BpsDataOutcomeCallable; typedef std::function&)> DescribeDomainMax95BpsDataAsyncHandler; + typedef Outcome DescribeDomainNamesOfVersionOutcome; + typedef std::future DescribeDomainNamesOfVersionOutcomeCallable; + typedef std::function&)> DescribeDomainNamesOfVersionAsyncHandler; typedef Outcome DescribeDomainPathDataOutcome; typedef std::future DescribeDomainPathDataOutcomeCallable; typedef std::function&)> DescribeDomainPathDataAsyncHandler; @@ -781,6 +784,9 @@ namespace AlibabaCloud typedef Outcome DescribeRefreshQuotaOutcome; typedef std::future DescribeRefreshQuotaOutcomeCallable; typedef std::function&)> DescribeRefreshQuotaAsyncHandler; + typedef Outcome DescribeRefreshTaskByIdOutcome; + typedef std::future DescribeRefreshTaskByIdOutcomeCallable; + typedef std::function&)> DescribeRefreshTaskByIdAsyncHandler; typedef Outcome DescribeRefreshTasksOutcome; typedef std::future DescribeRefreshTasksOutcomeCallable; typedef std::function&)> DescribeRefreshTasksAsyncHandler; @@ -985,15 +991,9 @@ namespace AlibabaCloud typedef Outcome StartCdnDomainOutcome; typedef std::future StartCdnDomainOutcomeCallable; typedef std::function&)> StartCdnDomainAsyncHandler; - typedef Outcome StartMixStreamsServiceOutcome; - typedef std::future StartMixStreamsServiceOutcomeCallable; - typedef std::function&)> StartMixStreamsServiceAsyncHandler; typedef Outcome StopCdnDomainOutcome; typedef std::future StopCdnDomainOutcomeCallable; typedef std::function&)> StopCdnDomainAsyncHandler; - typedef Outcome StopMixStreamsServiceOutcome; - typedef std::future StopMixStreamsServiceOutcomeCallable; - typedef std::function&)> StopMixStreamsServiceAsyncHandler; typedef Outcome TagResourcesOutcome; typedef std::future TagResourcesOutcomeCallable; typedef std::function&)> TagResourcesAsyncHandler; @@ -1080,18 +1080,6 @@ namespace AlibabaCloud DeleteHttpHeaderConfigOutcome deleteHttpHeaderConfig(const Model::DeleteHttpHeaderConfigRequest &request)const; void deleteHttpHeaderConfigAsync(const Model::DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteHttpHeaderConfigOutcomeCallable deleteHttpHeaderConfigCallable(const Model::DeleteHttpHeaderConfigRequest& request) const; - DeleteLiveAppRecordConfigOutcome deleteLiveAppRecordConfig(const Model::DeleteLiveAppRecordConfigRequest &request)const; - void deleteLiveAppRecordConfigAsync(const Model::DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLiveAppRecordConfigOutcomeCallable deleteLiveAppRecordConfigCallable(const Model::DeleteLiveAppRecordConfigRequest& request) const; - DeleteLiveAppSnapshotConfigOutcome deleteLiveAppSnapshotConfig(const Model::DeleteLiveAppSnapshotConfigRequest &request)const; - void deleteLiveAppSnapshotConfigAsync(const Model::DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLiveAppSnapshotConfigOutcomeCallable deleteLiveAppSnapshotConfigCallable(const Model::DeleteLiveAppSnapshotConfigRequest& request) const; - DeleteLiveDomainMappingOutcome deleteLiveDomainMapping(const Model::DeleteLiveDomainMappingRequest &request)const; - void deleteLiveDomainMappingAsync(const Model::DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLiveDomainMappingOutcomeCallable deleteLiveDomainMappingCallable(const Model::DeleteLiveDomainMappingRequest& request) const; - DeleteLiveStreamTranscodeOutcome deleteLiveStreamTranscode(const Model::DeleteLiveStreamTranscodeRequest &request)const; - void deleteLiveStreamTranscodeAsync(const Model::DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLiveStreamTranscodeOutcomeCallable deleteLiveStreamTranscodeCallable(const Model::DeleteLiveStreamTranscodeRequest& request) const; DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const; void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const; @@ -1107,6 +1095,9 @@ namespace AlibabaCloud DeleteUserUsageDataExportTaskOutcome deleteUserUsageDataExportTask(const Model::DeleteUserUsageDataExportTaskRequest &request)const; void deleteUserUsageDataExportTaskAsync(const Model::DeleteUserUsageDataExportTaskRequest& request, const DeleteUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteUserUsageDataExportTaskOutcomeCallable deleteUserUsageDataExportTaskCallable(const Model::DeleteUserUsageDataExportTaskRequest& request) const; + DescribeActiveVersionOfConfigGroupOutcome describeActiveVersionOfConfigGroup(const Model::DescribeActiveVersionOfConfigGroupRequest &request)const; + void describeActiveVersionOfConfigGroupAsync(const Model::DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeActiveVersionOfConfigGroupOutcomeCallable describeActiveVersionOfConfigGroupCallable(const Model::DescribeActiveVersionOfConfigGroupRequest& request) const; DescribeCdnCertificateDetailOutcome describeCdnCertificateDetail(const Model::DescribeCdnCertificateDetailRequest &request)const; void describeCdnCertificateDetailAsync(const Model::DescribeCdnCertificateDetailRequest& request, const DescribeCdnCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnCertificateDetailOutcomeCallable describeCdnCertificateDetailCallable(const Model::DescribeCdnCertificateDetailRequest& request) const; @@ -1146,6 +1137,12 @@ namespace AlibabaCloud DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const; void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const; + DescribeCdnUserBillTypeOutcome describeCdnUserBillType(const Model::DescribeCdnUserBillTypeRequest &request)const; + void describeCdnUserBillTypeAsync(const Model::DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserBillTypeOutcomeCallable describeCdnUserBillTypeCallable(const Model::DescribeCdnUserBillTypeRequest& request) const; + DescribeCdnUserConfigsOutcome describeCdnUserConfigs(const Model::DescribeCdnUserConfigsRequest &request)const; + void describeCdnUserConfigsAsync(const Model::DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCdnUserConfigsOutcomeCallable describeCdnUserConfigsCallable(const Model::DescribeCdnUserConfigsRequest& request) const; DescribeCdnUserQuotaOutcome describeCdnUserQuota(const Model::DescribeCdnUserQuotaRequest &request)const; void describeCdnUserQuotaAsync(const Model::DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCdnUserQuotaOutcomeCallable describeCdnUserQuotaCallable(const Model::DescribeCdnUserQuotaRequest& request) const; @@ -1185,6 +1182,9 @@ namespace AlibabaCloud DescribeDomainCustomLogConfigOutcome describeDomainCustomLogConfig(const Model::DescribeDomainCustomLogConfigRequest &request)const; void describeDomainCustomLogConfigAsync(const Model::DescribeDomainCustomLogConfigRequest& request, const DescribeDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainCustomLogConfigOutcomeCallable describeDomainCustomLogConfigCallable(const Model::DescribeDomainCustomLogConfigRequest& request) const; + DescribeDomainDetailDataByLayerOutcome describeDomainDetailDataByLayer(const Model::DescribeDomainDetailDataByLayerRequest &request)const; + void describeDomainDetailDataByLayerAsync(const Model::DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainDetailDataByLayerOutcomeCallable describeDomainDetailDataByLayerCallable(const Model::DescribeDomainDetailDataByLayerRequest& request) const; DescribeDomainFileSizeProportionDataOutcome describeDomainFileSizeProportionData(const Model::DescribeDomainFileSizeProportionDataRequest &request)const; void describeDomainFileSizeProportionDataAsync(const Model::DescribeDomainFileSizeProportionDataRequest& request, const DescribeDomainFileSizeProportionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainFileSizeProportionDataOutcomeCallable describeDomainFileSizeProportionDataCallable(const Model::DescribeDomainFileSizeProportionDataRequest& request) const; @@ -1206,6 +1206,9 @@ namespace AlibabaCloud DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const; void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const; + DescribeDomainNamesOfVersionOutcome describeDomainNamesOfVersion(const Model::DescribeDomainNamesOfVersionRequest &request)const; + void describeDomainNamesOfVersionAsync(const Model::DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDomainNamesOfVersionOutcomeCallable describeDomainNamesOfVersionCallable(const Model::DescribeDomainNamesOfVersionRequest& request) const; DescribeDomainPathDataOutcome describeDomainPathData(const Model::DescribeDomainPathDataRequest &request)const; void describeDomainPathDataAsync(const Model::DescribeDomainPathDataRequest& request, const DescribeDomainPathDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDomainPathDataOutcomeCallable describeDomainPathDataCallable(const Model::DescribeDomainPathDataRequest& request) const; @@ -1371,6 +1374,9 @@ namespace AlibabaCloud DescribeRefreshQuotaOutcome describeRefreshQuota(const Model::DescribeRefreshQuotaRequest &request)const; void describeRefreshQuotaAsync(const Model::DescribeRefreshQuotaRequest& request, const DescribeRefreshQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRefreshQuotaOutcomeCallable describeRefreshQuotaCallable(const Model::DescribeRefreshQuotaRequest& request) const; + DescribeRefreshTaskByIdOutcome describeRefreshTaskById(const Model::DescribeRefreshTaskByIdRequest &request)const; + void describeRefreshTaskByIdAsync(const Model::DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRefreshTaskByIdOutcomeCallable describeRefreshTaskByIdCallable(const Model::DescribeRefreshTaskByIdRequest& request) const; DescribeRefreshTasksOutcome describeRefreshTasks(const Model::DescribeRefreshTasksRequest &request)const; void describeRefreshTasksAsync(const Model::DescribeRefreshTasksRequest& request, const DescribeRefreshTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRefreshTasksOutcomeCallable describeRefreshTasksCallable(const Model::DescribeRefreshTasksRequest& request) const; @@ -1575,15 +1581,9 @@ namespace AlibabaCloud StartCdnDomainOutcome startCdnDomain(const Model::StartCdnDomainRequest &request)const; void startCdnDomainAsync(const Model::StartCdnDomainRequest& request, const StartCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartCdnDomainOutcomeCallable startCdnDomainCallable(const Model::StartCdnDomainRequest& request) const; - StartMixStreamsServiceOutcome startMixStreamsService(const Model::StartMixStreamsServiceRequest &request)const; - void startMixStreamsServiceAsync(const Model::StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StartMixStreamsServiceOutcomeCallable startMixStreamsServiceCallable(const Model::StartMixStreamsServiceRequest& request) const; StopCdnDomainOutcome stopCdnDomain(const Model::StopCdnDomainRequest &request)const; void stopCdnDomainAsync(const Model::StopCdnDomainRequest& request, const StopCdnDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopCdnDomainOutcomeCallable stopCdnDomainCallable(const Model::StopCdnDomainRequest& request) const; - StopMixStreamsServiceOutcome stopMixStreamsService(const Model::StopMixStreamsServiceRequest &request)const; - void stopMixStreamsServiceAsync(const Model::StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StopMixStreamsServiceOutcomeCallable stopMixStreamsServiceCallable(const Model::StopMixStreamsServiceRequest& request) const; TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h b/cdn/include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h deleted file mode 100644 index 3fe77b09f..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppRecordConfigResult : public ServiceResult - { - public: - - - DeleteLiveAppRecordConfigResult(); - explicit DeleteLiveAppRecordConfigResult(const std::string &payload); - ~DeleteLiveAppRecordConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h b/cdn/include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h deleted file mode 100644 index aceea042e..000000000 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveStreamTranscodeRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamTranscodeRequest(); - ~DeleteLiveStreamTranscodeRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getApp()const; - void setApp(const std::string& app); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string _template_; - std::string securityToken_; - std::string app_; - std::string ownerAccount_; - long ownerId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h similarity index 55% rename from cdn/include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h index b4a0cacc0..ff3d235ad 100644 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ #include #include @@ -28,30 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppRecordConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupRequest : public RpcServiceRequest { public: - DeleteLiveAppRecordConfigRequest(); - ~DeleteLiveAppRecordConfigRequest(); + DescribeActiveVersionOfConfigGroupRequest(); + ~DescribeActiveVersionOfConfigGroupRequest(); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); + std::string getEnv()const; + void setEnv(const std::string& env); + std::string getConfigGroupId()const; + void setConfigGroupId(const std::string& configGroupId); private: - std::string domainName_; long ownerId_; - std::string appName_; - std::string securityToken_; + std::string env_; + std::string configGroupId_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h new file mode 100644 index 000000000..98a709179 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupResult : public ServiceResult + { + public: + + + DescribeActiveVersionOfConfigGroupResult(); + explicit DescribeActiveVersionOfConfigGroupResult(const std::string &payload); + ~DescribeActiveVersionOfConfigGroupResult(); + std::string getVersionId()const; + std::string getStatus()const; + std::string getConfigGroupId()const; + std::string getBaseVersionId()const; + std::string getDescription()const; + std::string getCreateTime()const; + std::string getUpdateTime()const; + std::string get_Operator()const; + long getSeqId()const; + + protected: + void parse(const std::string &payload); + private: + std::string versionId_; + std::string status_; + std::string configGroupId_; + std::string baseVersionId_; + std::string description_; + std::string createTime_; + std::string updateTime_; + std::string _operator_; + long seqId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h similarity index 57% rename from cdn/include/alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h index f2f718261..041192e87 100644 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ #include #include @@ -28,30 +28,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeRequest : public RpcServiceRequest { public: - DeleteLiveDomainMappingRequest(); - ~DeleteLiveDomainMappingRequest(); + DescribeCdnUserBillTypeRequest(); + ~DescribeCdnUserBillTypeRequest(); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getPullDomain()const; - void setPullDomain(const std::string& pullDomain); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getPushDomain()const; - void setPushDomain(const std::string& pushDomain); private: + std::string startTime_; + std::string endTime_; long ownerId_; - std::string pullDomain_; - std::string securityToken_; - std::string pushDomain_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h similarity index 57% rename from cdn/include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h index 0631a67fe..070294424 100644 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_ #include #include @@ -29,21 +29,32 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveDomainMappingResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeResult : public ServiceResult { public: + struct BillTypeDataItem + { + std::string billType; + std::string billingCycle; + std::string endTime; + std::string startTime; + std::string product; + std::string dimension; + }; - DeleteLiveDomainMappingResult(); - explicit DeleteLiveDomainMappingResult(const std::string &payload); - ~DeleteLiveDomainMappingResult(); + DescribeCdnUserBillTypeResult(); + explicit DescribeCdnUserBillTypeResult(const std::string &payload); + ~DescribeCdnUserBillTypeResult(); + std::vector getBillTypeData()const; protected: void parse(const std::string &payload); private: + std::vector billTypeData_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h similarity index 55% rename from cdn/include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h index 936a8e9be..4f12e7c59 100644 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ #include #include @@ -28,30 +28,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppSnapshotConfigRequest : public RpcServiceRequest + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsRequest : public RpcServiceRequest { public: - DeleteLiveAppSnapshotConfigRequest(); - ~DeleteLiveAppSnapshotConfigRequest(); + DescribeCdnUserConfigsRequest(); + ~DescribeCdnUserConfigsRequest(); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); + std::string getFunctionName()const; + void setFunctionName(const std::string& functionName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); private: - std::string domainName_; + std::string functionName_; long ownerId_; - std::string appName_; - std::string securityToken_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h similarity index 61% rename from cdn/include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h index 4881b0074..1a37fbf26 100644 --- a/cdn/include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_ #include #include @@ -29,29 +29,29 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT StartMixStreamsServiceResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsResult : public ServiceResult { public: - struct MixStreamsInfo + struct Config { - std::string streamName; - std::string domainName; - std::string appName; + std::string functionName; + std::string argValue; + std::string argName; }; - StartMixStreamsServiceResult(); - explicit StartMixStreamsServiceResult(const std::string &payload); - ~StartMixStreamsServiceResult(); - std::vector getMixStreamsInfoList()const; + DescribeCdnUserConfigsResult(); + explicit DescribeCdnUserConfigsResult(const std::string &payload); + ~DescribeCdnUserConfigsResult(); + std::vector getConfigs()const; protected: void parse(const std::string &payload); private: - std::vector mixStreamsInfoList_; + std::vector configs_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h new file mode 100644 index 000000000..474d888a4 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerRequest : public RpcServiceRequest + { + + public: + DescribeDomainDetailDataByLayerRequest(); + ~DescribeDomainDetailDataByLayerRequest(); + + std::string getLocationNameEn()const; + void setLocationNameEn(const std::string& locationNameEn); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIspNameEn()const; + void setIspNameEn(const std::string& ispNameEn); + std::string getLayer()const; + void setLayer(const std::string& layer); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getField()const; + void setField(const std::string& field); + + private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string field_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h similarity index 53% rename from cdn/include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h index bc3553354..0d22fc4ea 100644 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_ #include #include @@ -29,21 +29,37 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveStreamTranscodeResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerResult : public ServiceResult { public: + struct DataModule + { + long acc; + float ipv6Bps; + std::string httpCode; + float ipv6Qps; + float bps; + long traf; + long ipv6Acc; + std::string domainName; + float qps; + long ipv6Traf; + std::string timeStamp; + }; - DeleteLiveStreamTranscodeResult(); - explicit DeleteLiveStreamTranscodeResult(const std::string &payload); - ~DeleteLiveStreamTranscodeResult(); + DescribeDomainDetailDataByLayerResult(); + explicit DescribeDomainDetailDataByLayerResult(const std::string &payload); + ~DescribeDomainDetailDataByLayerResult(); + std::vector getData()const; protected: void parse(const std::string &payload); private: + std::vector data_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h new file mode 100644 index 000000000..0849e5fac --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionRequest : public RpcServiceRequest + { + + public: + DescribeDomainNamesOfVersionRequest(); + ~DescribeDomainNamesOfVersionRequest(); + + std::string getVersionId()const; + void setVersionId(const std::string& versionId); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + int getPageIndex()const; + void setPageIndex(int pageIndex); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string versionId_; + std::string pageSize_; + int pageIndex_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StopMixStreamsServiceResult.h b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h similarity index 60% rename from cdn/include/alibabacloud/cdn/model/StopMixStreamsServiceResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h index a3105028c..e7206a031 100644 --- a/cdn/include/alibabacloud/cdn/model/StopMixStreamsServiceResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_ #include #include @@ -29,29 +29,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT StopMixStreamsServiceResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionResult : public ServiceResult { public: - struct MixStreamsInfo + struct Content { - std::string streamName; + std::string domainId; std::string domainName; - std::string appName; }; - StopMixStreamsServiceResult(); - explicit StopMixStreamsServiceResult(const std::string &payload); - ~StopMixStreamsServiceResult(); - std::vector getMixStreamsInfoList()const; + DescribeDomainNamesOfVersionResult(); + explicit DescribeDomainNamesOfVersionResult(const std::string &payload); + ~DescribeDomainNamesOfVersionResult(); + int getTotalCount()const; + std::vector getContents()const; protected: void parse(const std::string &payload); private: - std::vector mixStreamsInfoList_; + int totalCount_; + std::vector contents_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h new file mode 100644 index 000000000..96666f786 --- /dev/null +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Cdn + { + namespace Model + { + class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdRequest : public RpcServiceRequest + { + + public: + DescribeRefreshTaskByIdRequest(); + ~DescribeRefreshTaskByIdRequest(); + + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + int pageNumber_; + int pageSize_; + std::string taskId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h similarity index 51% rename from cdn/include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h rename to cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h index f6e4bc4ae..812ea185a 100644 --- a/cdn/include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_ -#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_ +#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_ +#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_ #include #include @@ -29,21 +29,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppSnapshotConfigResult : public ServiceResult + class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdResult : public ServiceResult { public: + struct CDNTask + { + std::string status; + std::string objectType; + std::string objectPath; + std::string taskId; + std::string description; + std::string creationTime; + std::string process; + }; - DeleteLiveAppSnapshotConfigResult(); - explicit DeleteLiveAppSnapshotConfigResult(const std::string &payload); - ~DeleteLiveAppSnapshotConfigResult(); + DescribeRefreshTaskByIdResult(); + explicit DescribeRefreshTaskByIdResult(const std::string &payload); + ~DescribeRefreshTaskByIdResult(); + long getTotalCount()const; + std::vector getTasks()const; + long getPageSize()const; + long getPageNumber()const; protected: void parse(const std::string &payload); private: + long totalCount_; + std::vector tasks_; + long pageSize_; + long pageNumber_; }; } } } -#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h index 2f8c75299..48890d0c3 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeTagResourcesRequest.h @@ -41,8 +41,6 @@ namespace AlibabaCloud DescribeTagResourcesRequest(); ~DescribeTagResourcesRequest(); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); std::string getScope()const; void setScope(const std::string& scope); std::vector getTag()const; @@ -55,7 +53,6 @@ namespace AlibabaCloud void setResourceType(const std::string& resourceType); private: - std::string regionId_; std::string scope_; std::vector tag_; std::vector resourceId_; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h index 9cf453821..eba25debc 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h @@ -59,6 +59,8 @@ namespace AlibabaCloud void setTag(const std::vector& tag); std::string getFuncFilter()const; void setFuncFilter(const std::string& funcFilter); + std::string getCoverage()const; + void setCoverage(const std::string& coverage); std::string getDomainName()const; void setDomainName(const std::string& domainName); long getOwnerId()const; @@ -82,6 +84,7 @@ namespace AlibabaCloud int pageSize_; std::vector tag_; std::string funcFilter_; + std::string coverage_; std::string domainName_; long ownerId_; std::string funcId_; diff --git a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h index d306eb127..65ff4445f 100644 --- a/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h +++ b/cdn/include/alibabacloud/cdn/model/DescribeUserDomainsResult.h @@ -47,6 +47,7 @@ namespace AlibabaCloud std::string resourceGroupId; std::string domainName; std::string gmtModified; + std::string coverage; std::string cdnType; std::string gmtCreated; std::vector sources; diff --git a/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h b/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h index eac242a0e..8a5d6bbe8 100644 --- a/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h +++ b/cdn/include/alibabacloud/cdn/model/PushObjectCacheRequest.h @@ -35,20 +35,20 @@ namespace AlibabaCloud PushObjectCacheRequest(); ~PushObjectCacheRequest(); - std::string getArea()const; - void setArea(const std::string& area); std::string getObjectPath()const; void setObjectPath(const std::string& objectPath); - long getOwnerId()const; - void setOwnerId(long ownerId); std::string getSecurityToken()const; void setSecurityToken(const std::string& securityToken); + std::string getArea()const; + void setArea(const std::string& area); + long getOwnerId()const; + void setOwnerId(long ownerId); private: - std::string area_; std::string objectPath_; - long ownerId_; std::string securityToken_; + std::string area_; + long ownerId_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h index 44b3a9ff4..f4390ac07 100644 --- a/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h +++ b/cdn/include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h @@ -53,8 +53,6 @@ namespace AlibabaCloud void setDomainName(const std::string& domainName); long getOwnerId()const; void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); private: std::string serverCertificate_; @@ -66,7 +64,6 @@ namespace AlibabaCloud std::string certName_; std::string domainName_; long ownerId_; - std::string region_; }; } diff --git a/cdn/include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h b/cdn/include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h deleted file mode 100644 index c9e66b084..000000000 --- a/cdn/include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT StartMixStreamsServiceRequest : public RpcServiceRequest - { - - public: - StartMixStreamsServiceRequest(); - ~StartMixStreamsServiceRequest(); - - std::string getMixStreamName()const; - void setMixStreamName(const std::string& mixStreamName); - std::string getMixAppName()const; - void setMixAppName(const std::string& mixAppName); - std::string getMainStreamName()const; - void setMainStreamName(const std::string& mainStreamName); - std::string getMixType()const; - void setMixType(const std::string& mixType); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getMainDomainName()const; - void setMainDomainName(const std::string& mainDomainName); - std::string getMixTemplate()const; - void setMixTemplate(const std::string& mixTemplate); - std::string getMixDomainName()const; - void setMixDomainName(const std::string& mixDomainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getMainAppName()const; - void setMainAppName(const std::string& mainAppName); - - private: - std::string mixStreamName_; - std::string mixAppName_; - std::string mainStreamName_; - std::string mixType_; - std::string securityToken_; - std::string mainDomainName_; - std::string mixTemplate_; - std::string mixDomainName_; - long ownerId_; - std::string mainAppName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_ \ No newline at end of file diff --git a/cdn/include/alibabacloud/cdn/model/StopMixStreamsServiceRequest.h b/cdn/include/alibabacloud/cdn/model/StopMixStreamsServiceRequest.h deleted file mode 100644 index d88bb0b33..000000000 --- a/cdn/include/alibabacloud/cdn/model/StopMixStreamsServiceRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_ -#define ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Cdn - { - namespace Model - { - class ALIBABACLOUD_CDN_EXPORT StopMixStreamsServiceRequest : public RpcServiceRequest - { - - public: - StopMixStreamsServiceRequest(); - ~StopMixStreamsServiceRequest(); - - std::string getMixStreamName()const; - void setMixStreamName(const std::string& mixStreamName); - std::string getMixAppName()const; - void setMixAppName(const std::string& mixAppName); - std::string getMainStreamName()const; - void setMainStreamName(const std::string& mainStreamName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getMainDomainName()const; - void setMainDomainName(const std::string& mainDomainName); - std::string getMixDomainName()const; - void setMixDomainName(const std::string& mixDomainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getMainAppName()const; - void setMainAppName(const std::string& mainAppName); - - private: - std::string mixStreamName_; - std::string mixAppName_; - std::string mainStreamName_; - std::string securityToken_; - std::string mainDomainName_; - std::string mixDomainName_; - long ownerId_; - std::string mainAppName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_ \ No newline at end of file diff --git a/cdn/src/CdnClient.cc b/cdn/src/CdnClient.cc index 95bba43e4..dee03a814 100644 --- a/cdn/src/CdnClient.cc +++ b/cdn/src/CdnClient.cc @@ -879,150 +879,6 @@ CdnClient::DeleteHttpHeaderConfigOutcomeCallable CdnClient::deleteHttpHeaderConf return task->get_future(); } -CdnClient::DeleteLiveAppRecordConfigOutcome CdnClient::deleteLiveAppRecordConfig(const DeleteLiveAppRecordConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveAppRecordConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveAppRecordConfigOutcome(DeleteLiveAppRecordConfigResult(outcome.result())); - else - return DeleteLiveAppRecordConfigOutcome(outcome.error()); -} - -void CdnClient::deleteLiveAppRecordConfigAsync(const DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveAppRecordConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DeleteLiveAppRecordConfigOutcomeCallable CdnClient::deleteLiveAppRecordConfigCallable(const DeleteLiveAppRecordConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveAppRecordConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DeleteLiveAppSnapshotConfigOutcome CdnClient::deleteLiveAppSnapshotConfig(const DeleteLiveAppSnapshotConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveAppSnapshotConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveAppSnapshotConfigOutcome(DeleteLiveAppSnapshotConfigResult(outcome.result())); - else - return DeleteLiveAppSnapshotConfigOutcome(outcome.error()); -} - -void CdnClient::deleteLiveAppSnapshotConfigAsync(const DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveAppSnapshotConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DeleteLiveAppSnapshotConfigOutcomeCallable CdnClient::deleteLiveAppSnapshotConfigCallable(const DeleteLiveAppSnapshotConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveAppSnapshotConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DeleteLiveDomainMappingOutcome CdnClient::deleteLiveDomainMapping(const DeleteLiveDomainMappingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveDomainMappingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveDomainMappingOutcome(DeleteLiveDomainMappingResult(outcome.result())); - else - return DeleteLiveDomainMappingOutcome(outcome.error()); -} - -void CdnClient::deleteLiveDomainMappingAsync(const DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveDomainMapping(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DeleteLiveDomainMappingOutcomeCallable CdnClient::deleteLiveDomainMappingCallable(const DeleteLiveDomainMappingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveDomainMapping(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -CdnClient::DeleteLiveStreamTranscodeOutcome CdnClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLiveStreamTranscodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLiveStreamTranscodeOutcome(DeleteLiveStreamTranscodeResult(outcome.result())); - else - return DeleteLiveStreamTranscodeOutcome(outcome.error()); -} - -void CdnClient::deleteLiveStreamTranscodeAsync(const DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLiveStreamTranscode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::DeleteLiveStreamTranscodeOutcomeCallable CdnClient::deleteLiveStreamTranscodeCallable(const DeleteLiveStreamTranscodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLiveStreamTranscode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1203,6 +1059,42 @@ CdnClient::DeleteUserUsageDataExportTaskOutcomeCallable CdnClient::deleteUserUsa return task->get_future(); } +CdnClient::DescribeActiveVersionOfConfigGroupOutcome CdnClient::describeActiveVersionOfConfigGroup(const DescribeActiveVersionOfConfigGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeActiveVersionOfConfigGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeActiveVersionOfConfigGroupOutcome(DescribeActiveVersionOfConfigGroupResult(outcome.result())); + else + return DescribeActiveVersionOfConfigGroupOutcome(outcome.error()); +} + +void CdnClient::describeActiveVersionOfConfigGroupAsync(const DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeActiveVersionOfConfigGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeActiveVersionOfConfigGroupOutcomeCallable CdnClient::describeActiveVersionOfConfigGroupCallable(const DescribeActiveVersionOfConfigGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeActiveVersionOfConfigGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnCertificateDetailOutcome CdnClient::describeCdnCertificateDetail(const DescribeCdnCertificateDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +1563,78 @@ CdnClient::DescribeCdnUserBillPredictionOutcomeCallable CdnClient::describeCdnUs return task->get_future(); } +CdnClient::DescribeCdnUserBillTypeOutcome CdnClient::describeCdnUserBillType(const DescribeCdnUserBillTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserBillTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserBillTypeOutcome(DescribeCdnUserBillTypeResult(outcome.result())); + else + return DescribeCdnUserBillTypeOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserBillTypeAsync(const DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserBillType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserBillTypeOutcomeCallable CdnClient::describeCdnUserBillTypeCallable(const DescribeCdnUserBillTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserBillType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CdnClient::DescribeCdnUserConfigsOutcome CdnClient::describeCdnUserConfigs(const DescribeCdnUserConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCdnUserConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCdnUserConfigsOutcome(DescribeCdnUserConfigsResult(outcome.result())); + else + return DescribeCdnUserConfigsOutcome(outcome.error()); +} + +void CdnClient::describeCdnUserConfigsAsync(const DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCdnUserConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeCdnUserConfigsOutcomeCallable CdnClient::describeCdnUserConfigsCallable(const DescribeCdnUserConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCdnUserConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeCdnUserQuotaOutcome CdnClient::describeCdnUserQuota(const DescribeCdnUserQuotaRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2139,6 +2103,42 @@ CdnClient::DescribeDomainCustomLogConfigOutcomeCallable CdnClient::describeDomai return task->get_future(); } +CdnClient::DescribeDomainDetailDataByLayerOutcome CdnClient::describeDomainDetailDataByLayer(const DescribeDomainDetailDataByLayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainDetailDataByLayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainDetailDataByLayerOutcome(DescribeDomainDetailDataByLayerResult(outcome.result())); + else + return DescribeDomainDetailDataByLayerOutcome(outcome.error()); +} + +void CdnClient::describeDomainDetailDataByLayerAsync(const DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainDetailDataByLayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainDetailDataByLayerOutcomeCallable CdnClient::describeDomainDetailDataByLayerCallable(const DescribeDomainDetailDataByLayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainDetailDataByLayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainFileSizeProportionDataOutcome CdnClient::describeDomainFileSizeProportionData(const DescribeDomainFileSizeProportionDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2391,6 +2391,42 @@ CdnClient::DescribeDomainMax95BpsDataOutcomeCallable CdnClient::describeDomainMa return task->get_future(); } +CdnClient::DescribeDomainNamesOfVersionOutcome CdnClient::describeDomainNamesOfVersion(const DescribeDomainNamesOfVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDomainNamesOfVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDomainNamesOfVersionOutcome(DescribeDomainNamesOfVersionResult(outcome.result())); + else + return DescribeDomainNamesOfVersionOutcome(outcome.error()); +} + +void CdnClient::describeDomainNamesOfVersionAsync(const DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDomainNamesOfVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeDomainNamesOfVersionOutcomeCallable CdnClient::describeDomainNamesOfVersionCallable(const DescribeDomainNamesOfVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDomainNamesOfVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeDomainPathDataOutcome CdnClient::describeDomainPathData(const DescribeDomainPathDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4371,6 +4407,42 @@ CdnClient::DescribeRefreshQuotaOutcomeCallable CdnClient::describeRefreshQuotaCa return task->get_future(); } +CdnClient::DescribeRefreshTaskByIdOutcome CdnClient::describeRefreshTaskById(const DescribeRefreshTaskByIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRefreshTaskByIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRefreshTaskByIdOutcome(DescribeRefreshTaskByIdResult(outcome.result())); + else + return DescribeRefreshTaskByIdOutcome(outcome.error()); +} + +void CdnClient::describeRefreshTaskByIdAsync(const DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRefreshTaskById(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CdnClient::DescribeRefreshTaskByIdOutcomeCallable CdnClient::describeRefreshTaskByIdCallable(const DescribeRefreshTaskByIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRefreshTaskById(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CdnClient::DescribeRefreshTasksOutcome CdnClient::describeRefreshTasks(const DescribeRefreshTasksRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6819,42 +6891,6 @@ CdnClient::StartCdnDomainOutcomeCallable CdnClient::startCdnDomainCallable(const return task->get_future(); } -CdnClient::StartMixStreamsServiceOutcome CdnClient::startMixStreamsService(const StartMixStreamsServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StartMixStreamsServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StartMixStreamsServiceOutcome(StartMixStreamsServiceResult(outcome.result())); - else - return StartMixStreamsServiceOutcome(outcome.error()); -} - -void CdnClient::startMixStreamsServiceAsync(const StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, startMixStreamsService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::StartMixStreamsServiceOutcomeCallable CdnClient::startMixStreamsServiceCallable(const StartMixStreamsServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->startMixStreamsService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::StopCdnDomainOutcome CdnClient::stopCdnDomain(const StopCdnDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6891,42 +6927,6 @@ CdnClient::StopCdnDomainOutcomeCallable CdnClient::stopCdnDomainCallable(const S return task->get_future(); } -CdnClient::StopMixStreamsServiceOutcome CdnClient::stopMixStreamsService(const StopMixStreamsServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StopMixStreamsServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StopMixStreamsServiceOutcome(StopMixStreamsServiceResult(outcome.result())); - else - return StopMixStreamsServiceOutcome(outcome.error()); -} - -void CdnClient::stopMixStreamsServiceAsync(const StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, stopMixStreamsService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -CdnClient::StopMixStreamsServiceOutcomeCallable CdnClient::stopMixStreamsServiceCallable(const StopMixStreamsServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->stopMixStreamsService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - CdnClient::TagResourcesOutcome CdnClient::tagResources(const TagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/cdn/src/model/DeleteLiveAppRecordConfigRequest.cc b/cdn/src/model/DeleteLiveAppRecordConfigRequest.cc deleted file mode 100644 index 081b21993..000000000 --- a/cdn/src/model/DeleteLiveAppRecordConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteLiveAppRecordConfigRequest; - -DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveAppRecordConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() -{} - -std::string DeleteLiveAppRecordConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteLiveAppRecordConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveAppRecordConfigRequest::getAppName()const -{ - return appName_; -} - -void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DeleteLiveAppRecordConfigResult.cc b/cdn/src/model/DeleteLiveAppRecordConfigResult.cc deleted file mode 100644 index 5e9a09e88..000000000 --- a/cdn/src/model/DeleteLiveAppRecordConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult() : - ServiceResult() -{} - -DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveAppRecordConfigResult::~DeleteLiveAppRecordConfigResult() -{} - -void DeleteLiveAppRecordConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/DeleteLiveAppSnapshotConfigRequest.cc b/cdn/src/model/DeleteLiveAppSnapshotConfigRequest.cc deleted file mode 100644 index b411fd431..000000000 --- a/cdn/src/model/DeleteLiveAppSnapshotConfigRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteLiveAppSnapshotConfigRequest; - -DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveAppSnapshotConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest() -{} - -std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const -{ - return appName_; -} - -void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); -} - -std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/cdn/src/model/DeleteLiveAppSnapshotConfigResult.cc b/cdn/src/model/DeleteLiveAppSnapshotConfigResult.cc deleted file mode 100644 index cfcc62d06..000000000 --- a/cdn/src/model/DeleteLiveAppSnapshotConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DeleteLiveAppSnapshotConfigResult::DeleteLiveAppSnapshotConfigResult() : - ServiceResult() -{} - -DeleteLiveAppSnapshotConfigResult::DeleteLiveAppSnapshotConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveAppSnapshotConfigResult::~DeleteLiveAppSnapshotConfigResult() -{} - -void DeleteLiveAppSnapshotConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/DeleteLiveDomainMappingRequest.cc b/cdn/src/model/DeleteLiveDomainMappingRequest.cc deleted file mode 100644 index b00992196..000000000 --- a/cdn/src/model/DeleteLiveDomainMappingRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteLiveDomainMappingRequest; - -DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveDomainMapping") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() -{} - -long DeleteLiveDomainMappingRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveDomainMappingRequest::getPullDomain()const -{ - return pullDomain_; -} - -void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) -{ - pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); -} - -std::string DeleteLiveDomainMappingRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteLiveDomainMappingRequest::getPushDomain()const -{ - return pushDomain_; -} - -void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) -{ - pushDomain_ = pushDomain; - setParameter("PushDomain", pushDomain); -} - diff --git a/cdn/src/model/DeleteLiveDomainMappingResult.cc b/cdn/src/model/DeleteLiveDomainMappingResult.cc deleted file mode 100644 index f3b67b433..000000000 --- a/cdn/src/model/DeleteLiveDomainMappingResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult() : - ServiceResult() -{} - -DeleteLiveDomainMappingResult::DeleteLiveDomainMappingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveDomainMappingResult::~DeleteLiveDomainMappingResult() -{} - -void DeleteLiveDomainMappingResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/DeleteLiveStreamTranscodeRequest.cc b/cdn/src/model/DeleteLiveStreamTranscodeRequest.cc deleted file mode 100644 index 647699f5e..000000000 --- a/cdn/src/model/DeleteLiveStreamTranscodeRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::DeleteLiveStreamTranscodeRequest; - -DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() : - RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveStreamTranscode") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() -{} - -std::string DeleteLiveStreamTranscodeRequest::get_Template()const -{ - return _template_; -} - -void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); -} - -std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string DeleteLiveStreamTranscodeRequest::getApp()const -{ - return app_; -} - -void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); -} - -std::string DeleteLiveStreamTranscodeRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DeleteLiveStreamTranscodeRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); -} - -long DeleteLiveStreamTranscodeRequest::getOwnerId()const -{ - return ownerId_; -} - -void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DeleteLiveStreamTranscodeRequest::getDomain()const -{ - return domain_; -} - -void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); -} - diff --git a/cdn/src/model/DeleteLiveStreamTranscodeResult.cc b/cdn/src/model/DeleteLiveStreamTranscodeResult.cc deleted file mode 100644 index 764384dc9..000000000 --- a/cdn/src/model/DeleteLiveStreamTranscodeResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -DeleteLiveStreamTranscodeResult::DeleteLiveStreamTranscodeResult() : - ServiceResult() -{} - -DeleteLiveStreamTranscodeResult::DeleteLiveStreamTranscodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLiveStreamTranscodeResult::~DeleteLiveStreamTranscodeResult() -{} - -void DeleteLiveStreamTranscodeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc b/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc new file mode 100644 index 000000000..a289455a1 --- /dev/null +++ b/cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.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::Cdn::Model::DescribeActiveVersionOfConfigGroupRequest; + +DescribeActiveVersionOfConfigGroupRequest::DescribeActiveVersionOfConfigGroupRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeActiveVersionOfConfigGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeActiveVersionOfConfigGroupRequest::~DescribeActiveVersionOfConfigGroupRequest() +{} + +long DescribeActiveVersionOfConfigGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeActiveVersionOfConfigGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeActiveVersionOfConfigGroupRequest::getEnv()const +{ + return env_; +} + +void DescribeActiveVersionOfConfigGroupRequest::setEnv(const std::string& env) +{ + env_ = env; + setParameter("Env", env); +} + +std::string DescribeActiveVersionOfConfigGroupRequest::getConfigGroupId()const +{ + return configGroupId_; +} + +void DescribeActiveVersionOfConfigGroupRequest::setConfigGroupId(const std::string& configGroupId) +{ + configGroupId_ = configGroupId; + setParameter("ConfigGroupId", configGroupId); +} + diff --git a/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc b/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc new file mode 100644 index 000000000..bdbdebb81 --- /dev/null +++ b/cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeActiveVersionOfConfigGroupResult::DescribeActiveVersionOfConfigGroupResult() : + ServiceResult() +{} + +DescribeActiveVersionOfConfigGroupResult::DescribeActiveVersionOfConfigGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeActiveVersionOfConfigGroupResult::~DescribeActiveVersionOfConfigGroupResult() +{} + +void DescribeActiveVersionOfConfigGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["VersionId"].isNull()) + versionId_ = value["VersionId"].asString(); + if(!value["ConfigGroupId"].isNull()) + configGroupId_ = value["ConfigGroupId"].asString(); + if(!value["BaseVersionId"].isNull()) + baseVersionId_ = value["BaseVersionId"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["SeqId"].isNull()) + seqId_ = std::stol(value["SeqId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Operator"].isNull()) + _operator_ = value["Operator"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = value["CreateTime"].asString(); + if(!value["UpdateTime"].isNull()) + updateTime_ = value["UpdateTime"].asString(); + +} + +std::string DescribeActiveVersionOfConfigGroupResult::getVersionId()const +{ + return versionId_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getStatus()const +{ + return status_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getConfigGroupId()const +{ + return configGroupId_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getBaseVersionId()const +{ + return baseVersionId_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getDescription()const +{ + return description_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::getUpdateTime()const +{ + return updateTime_; +} + +std::string DescribeActiveVersionOfConfigGroupResult::get_Operator()const +{ + return _operator_; +} + +long DescribeActiveVersionOfConfigGroupResult::getSeqId()const +{ + return seqId_; +} + diff --git a/cdn/src/model/DescribeCdnUserBillTypeRequest.cc b/cdn/src/model/DescribeCdnUserBillTypeRequest.cc new file mode 100644 index 000000000..c277ec214 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillTypeRequest.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::Cdn::Model::DescribeCdnUserBillTypeRequest; + +DescribeCdnUserBillTypeRequest::DescribeCdnUserBillTypeRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillType") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserBillTypeRequest::~DescribeCdnUserBillTypeRequest() +{} + +std::string DescribeCdnUserBillTypeRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeCdnUserBillTypeRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeCdnUserBillTypeRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeCdnUserBillTypeRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeCdnUserBillTypeRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCdnUserBillTypeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnUserBillTypeResult.cc b/cdn/src/model/DescribeCdnUserBillTypeResult.cc new file mode 100644 index 000000000..4a1f4aef8 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserBillTypeResult.cc @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserBillTypeResult::DescribeCdnUserBillTypeResult() : + ServiceResult() +{} + +DescribeCdnUserBillTypeResult::DescribeCdnUserBillTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserBillTypeResult::~DescribeCdnUserBillTypeResult() +{} + +void DescribeCdnUserBillTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBillTypeDataNode = value["BillTypeData"]["BillTypeDataItem"]; + for (auto valueBillTypeDataBillTypeDataItem : allBillTypeDataNode) + { + BillTypeDataItem billTypeDataObject; + if(!valueBillTypeDataBillTypeDataItem["StartTime"].isNull()) + billTypeDataObject.startTime = valueBillTypeDataBillTypeDataItem["StartTime"].asString(); + if(!valueBillTypeDataBillTypeDataItem["EndTime"].isNull()) + billTypeDataObject.endTime = valueBillTypeDataBillTypeDataItem["EndTime"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Product"].isNull()) + billTypeDataObject.product = valueBillTypeDataBillTypeDataItem["Product"].asString(); + if(!valueBillTypeDataBillTypeDataItem["Dimension"].isNull()) + billTypeDataObject.dimension = valueBillTypeDataBillTypeDataItem["Dimension"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillType"].isNull()) + billTypeDataObject.billType = valueBillTypeDataBillTypeDataItem["BillType"].asString(); + if(!valueBillTypeDataBillTypeDataItem["BillingCycle"].isNull()) + billTypeDataObject.billingCycle = valueBillTypeDataBillTypeDataItem["BillingCycle"].asString(); + billTypeData_.push_back(billTypeDataObject); + } + +} + +std::vector DescribeCdnUserBillTypeResult::getBillTypeData()const +{ + return billTypeData_; +} + diff --git a/cdn/src/model/DescribeCdnUserConfigsRequest.cc b/cdn/src/model/DescribeCdnUserConfigsRequest.cc new file mode 100644 index 000000000..b63fa5234 --- /dev/null +++ b/cdn/src/model/DescribeCdnUserConfigsRequest.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::Cdn::Model::DescribeCdnUserConfigsRequest; + +DescribeCdnUserConfigsRequest::DescribeCdnUserConfigsRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserConfigs") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeCdnUserConfigsRequest::~DescribeCdnUserConfigsRequest() +{} + +std::string DescribeCdnUserConfigsRequest::getFunctionName()const +{ + return functionName_; +} + +void DescribeCdnUserConfigsRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +long DescribeCdnUserConfigsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeCdnUserConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeCdnUserConfigsResult.cc b/cdn/src/model/DescribeCdnUserConfigsResult.cc new file mode 100644 index 000000000..1e0365baf --- /dev/null +++ b/cdn/src/model/DescribeCdnUserConfigsResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeCdnUserConfigsResult::DescribeCdnUserConfigsResult() : + ServiceResult() +{} + +DescribeCdnUserConfigsResult::DescribeCdnUserConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCdnUserConfigsResult::~DescribeCdnUserConfigsResult() +{} + +void DescribeCdnUserConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConfigsNode = value["Configs"]["Config"]; + for (auto valueConfigsConfig : allConfigsNode) + { + Config configsObject; + if(!valueConfigsConfig["ArgValue"].isNull()) + configsObject.argValue = valueConfigsConfig["ArgValue"].asString(); + if(!valueConfigsConfig["ArgName"].isNull()) + configsObject.argName = valueConfigsConfig["ArgName"].asString(); + if(!valueConfigsConfig["FunctionName"].isNull()) + configsObject.functionName = valueConfigsConfig["FunctionName"].asString(); + configs_.push_back(configsObject); + } + +} + +std::vector DescribeCdnUserConfigsResult::getConfigs()const +{ + return configs_; +} + diff --git a/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc b/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc new file mode 100644 index 000000000..e01397ca4 --- /dev/null +++ b/cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Cdn::Model::DescribeDomainDetailDataByLayerRequest; + +DescribeDomainDetailDataByLayerRequest::DescribeDomainDetailDataByLayerRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainDetailDataByLayer") +{ + setMethod(HttpRequest::Method::Get); +} + +DescribeDomainDetailDataByLayerRequest::~DescribeDomainDetailDataByLayerRequest() +{} + +std::string DescribeDomainDetailDataByLayerRequest::getLocationNameEn()const +{ + return locationNameEn_; +} + +void DescribeDomainDetailDataByLayerRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); +} + +std::string DescribeDomainDetailDataByLayerRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDomainDetailDataByLayerRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDomainDetailDataByLayerRequest::getIspNameEn()const +{ + return ispNameEn_; +} + +void DescribeDomainDetailDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); +} + +std::string DescribeDomainDetailDataByLayerRequest::getLayer()const +{ + return layer_; +} + +void DescribeDomainDetailDataByLayerRequest::setLayer(const std::string& layer) +{ + layer_ = layer; + setParameter("Layer", layer); +} + +std::string DescribeDomainDetailDataByLayerRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeDomainDetailDataByLayerRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeDomainDetailDataByLayerRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDomainDetailDataByLayerRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDomainDetailDataByLayerRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDomainDetailDataByLayerRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDomainDetailDataByLayerRequest::getField()const +{ + return field_; +} + +void DescribeDomainDetailDataByLayerRequest::setField(const std::string& field) +{ + field_ = field; + setParameter("Field", field); +} + diff --git a/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc b/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc new file mode 100644 index 000000000..9814b9e3d --- /dev/null +++ b/cdn/src/model/DescribeDomainDetailDataByLayerResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainDetailDataByLayerResult::DescribeDomainDetailDataByLayerResult() : + ServiceResult() +{} + +DescribeDomainDetailDataByLayerResult::DescribeDomainDetailDataByLayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainDetailDataByLayerResult::~DescribeDomainDetailDataByLayerResult() +{} + +void DescribeDomainDetailDataByLayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataModule"]; + for (auto valueDataDataModule : allDataNode) + { + DataModule dataObject; + if(!valueDataDataModule["TimeStamp"].isNull()) + dataObject.timeStamp = valueDataDataModule["TimeStamp"].asString(); + if(!valueDataDataModule["DomainName"].isNull()) + dataObject.domainName = valueDataDataModule["DomainName"].asString(); + if(!valueDataDataModule["Bps"].isNull()) + dataObject.bps = std::stof(valueDataDataModule["Bps"].asString()); + if(!valueDataDataModule["Qps"].isNull()) + dataObject.qps = std::stof(valueDataDataModule["Qps"].asString()); + if(!valueDataDataModule["Traf"].isNull()) + dataObject.traf = std::stol(valueDataDataModule["Traf"].asString()); + if(!valueDataDataModule["Acc"].isNull()) + dataObject.acc = std::stol(valueDataDataModule["Acc"].asString()); + if(!valueDataDataModule["Ipv6Traf"].isNull()) + dataObject.ipv6Traf = std::stol(valueDataDataModule["Ipv6Traf"].asString()); + if(!valueDataDataModule["Ipv6Bps"].isNull()) + dataObject.ipv6Bps = std::stof(valueDataDataModule["Ipv6Bps"].asString()); + if(!valueDataDataModule["Ipv6Acc"].isNull()) + dataObject.ipv6Acc = std::stol(valueDataDataModule["Ipv6Acc"].asString()); + if(!valueDataDataModule["Ipv6Qps"].isNull()) + dataObject.ipv6Qps = std::stof(valueDataDataModule["Ipv6Qps"].asString()); + if(!valueDataDataModule["HttpCode"].isNull()) + dataObject.httpCode = valueDataDataModule["HttpCode"].asString(); + data_.push_back(dataObject); + } + +} + +std::vector DescribeDomainDetailDataByLayerResult::getData()const +{ + return data_; +} + diff --git a/cdn/src/model/DescribeDomainNamesOfVersionRequest.cc b/cdn/src/model/DescribeDomainNamesOfVersionRequest.cc new file mode 100644 index 000000000..e28b9c57d --- /dev/null +++ b/cdn/src/model/DescribeDomainNamesOfVersionRequest.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::Cdn::Model::DescribeDomainNamesOfVersionRequest; + +DescribeDomainNamesOfVersionRequest::DescribeDomainNamesOfVersionRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainNamesOfVersion") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDomainNamesOfVersionRequest::~DescribeDomainNamesOfVersionRequest() +{} + +std::string DescribeDomainNamesOfVersionRequest::getVersionId()const +{ + return versionId_; +} + +void DescribeDomainNamesOfVersionRequest::setVersionId(const std::string& versionId) +{ + versionId_ = versionId; + setParameter("VersionId", versionId); +} + +std::string DescribeDomainNamesOfVersionRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDomainNamesOfVersionRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +int DescribeDomainNamesOfVersionRequest::getPageIndex()const +{ + return pageIndex_; +} + +void DescribeDomainNamesOfVersionRequest::setPageIndex(int pageIndex) +{ + pageIndex_ = pageIndex; + setParameter("PageIndex", std::to_string(pageIndex)); +} + +long DescribeDomainNamesOfVersionRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDomainNamesOfVersionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeDomainNamesOfVersionResult.cc b/cdn/src/model/DescribeDomainNamesOfVersionResult.cc new file mode 100644 index 000000000..6f27443bb --- /dev/null +++ b/cdn/src/model/DescribeDomainNamesOfVersionResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeDomainNamesOfVersionResult::DescribeDomainNamesOfVersionResult() : + ServiceResult() +{} + +DescribeDomainNamesOfVersionResult::DescribeDomainNamesOfVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDomainNamesOfVersionResult::~DescribeDomainNamesOfVersionResult() +{} + +void DescribeDomainNamesOfVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentsNode = value["Contents"]["content"]; + for (auto valueContentscontent : allContentsNode) + { + Content contentsObject; + if(!valueContentscontent["DomainId"].isNull()) + contentsObject.domainId = valueContentscontent["DomainId"].asString(); + if(!valueContentscontent["DomainName"].isNull()) + contentsObject.domainName = valueContentscontent["DomainName"].asString(); + contents_.push_back(contentsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeDomainNamesOfVersionResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeDomainNamesOfVersionResult::getContents()const +{ + return contents_; +} + diff --git a/cdn/src/model/DescribeRefreshQuotaResult.cc b/cdn/src/model/DescribeRefreshQuotaResult.cc index 1e9685d58..9b150306c 100644 --- a/cdn/src/model/DescribeRefreshQuotaResult.cc +++ b/cdn/src/model/DescribeRefreshQuotaResult.cc @@ -53,8 +53,8 @@ void DescribeRefreshQuotaResult::parse(const std::string &payload) blockQuota_ = value["BlockQuota"].asString(); if(!value["PreloadRemain"].isNull()) preloadRemain_ = value["PreloadRemain"].asString(); - if(!value["blockRemain"].isNull()) - blockRemain_ = value["blockRemain"].asString(); + if(!value["BlockRemain"].isNull()) + blockRemain_ = value["BlockRemain"].asString(); if(!value["RegexQuota"].isNull()) regexQuota_ = value["RegexQuota"].asString(); if(!value["RegexRemain"].isNull()) diff --git a/cdn/src/model/DescribeRefreshTaskByIdRequest.cc b/cdn/src/model/DescribeRefreshTaskByIdRequest.cc new file mode 100644 index 000000000..c931fff15 --- /dev/null +++ b/cdn/src/model/DescribeRefreshTaskByIdRequest.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::Cdn::Model::DescribeRefreshTaskByIdRequest; + +DescribeRefreshTaskByIdRequest::DescribeRefreshTaskByIdRequest() : + RpcServiceRequest("cdn", "2018-05-10", "DescribeRefreshTaskById") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRefreshTaskByIdRequest::~DescribeRefreshTaskByIdRequest() +{} + +int DescribeRefreshTaskByIdRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeRefreshTaskByIdRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int DescribeRefreshTaskByIdRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRefreshTaskByIdRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRefreshTaskByIdRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeRefreshTaskByIdRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setParameter("TaskId", taskId); +} + +long DescribeRefreshTaskByIdRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRefreshTaskByIdRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/DescribeRefreshTaskByIdResult.cc b/cdn/src/model/DescribeRefreshTaskByIdResult.cc new file mode 100644 index 000000000..b7c5ebb30 --- /dev/null +++ b/cdn/src/model/DescribeRefreshTaskByIdResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Cdn; +using namespace AlibabaCloud::Cdn::Model; + +DescribeRefreshTaskByIdResult::DescribeRefreshTaskByIdResult() : + ServiceResult() +{} + +DescribeRefreshTaskByIdResult::DescribeRefreshTaskByIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRefreshTaskByIdResult::~DescribeRefreshTaskByIdResult() +{} + +void DescribeRefreshTaskByIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTasksNode = value["Tasks"]["CDNTask"]; + for (auto valueTasksCDNTask : allTasksNode) + { + CDNTask tasksObject; + if(!valueTasksCDNTask["TaskId"].isNull()) + tasksObject.taskId = valueTasksCDNTask["TaskId"].asString(); + if(!valueTasksCDNTask["ObjectPath"].isNull()) + tasksObject.objectPath = valueTasksCDNTask["ObjectPath"].asString(); + if(!valueTasksCDNTask["Process"].isNull()) + tasksObject.process = valueTasksCDNTask["Process"].asString(); + if(!valueTasksCDNTask["Status"].isNull()) + tasksObject.status = valueTasksCDNTask["Status"].asString(); + if(!valueTasksCDNTask["CreationTime"].isNull()) + tasksObject.creationTime = valueTasksCDNTask["CreationTime"].asString(); + if(!valueTasksCDNTask["Description"].isNull()) + tasksObject.description = valueTasksCDNTask["Description"].asString(); + if(!valueTasksCDNTask["ObjectType"].isNull()) + tasksObject.objectType = valueTasksCDNTask["ObjectType"].asString(); + tasks_.push_back(tasksObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stol(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeRefreshTaskByIdResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeRefreshTaskByIdResult::getTasks()const +{ + return tasks_; +} + +long DescribeRefreshTaskByIdResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeRefreshTaskByIdResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/cdn/src/model/DescribeTagResourcesRequest.cc b/cdn/src/model/DescribeTagResourcesRequest.cc index 33e71a48f..5298bc56a 100644 --- a/cdn/src/model/DescribeTagResourcesRequest.cc +++ b/cdn/src/model/DescribeTagResourcesRequest.cc @@ -27,17 +27,6 @@ DescribeTagResourcesRequest::DescribeTagResourcesRequest() : DescribeTagResourcesRequest::~DescribeTagResourcesRequest() {} -std::string DescribeTagResourcesRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeTagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - std::string DescribeTagResourcesRequest::getScope()const { return scope_; diff --git a/cdn/src/model/DescribeUserDomainsRequest.cc b/cdn/src/model/DescribeUserDomainsRequest.cc index 46141a1cb..a38b03916 100644 --- a/cdn/src/model/DescribeUserDomainsRequest.cc +++ b/cdn/src/model/DescribeUserDomainsRequest.cc @@ -131,6 +131,17 @@ void DescribeUserDomainsRequest::setFuncFilter(const std::string& funcFilter) setParameter("FuncFilter", funcFilter); } +std::string DescribeUserDomainsRequest::getCoverage()const +{ + return coverage_; +} + +void DescribeUserDomainsRequest::setCoverage(const std::string& coverage) +{ + coverage_ = coverage; + setParameter("Coverage", coverage); +} + std::string DescribeUserDomainsRequest::getDomainName()const { return domainName_; diff --git a/cdn/src/model/DescribeUserDomainsResult.cc b/cdn/src/model/DescribeUserDomainsResult.cc index 62a01031f..1dd015621 100644 --- a/cdn/src/model/DescribeUserDomainsResult.cc +++ b/cdn/src/model/DescribeUserDomainsResult.cc @@ -63,6 +63,8 @@ void DescribeUserDomainsResult::parse(const std::string &payload) domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString(); if(!valueDomainsPageData["Sandbox"].isNull()) domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString(); + if(!valueDomainsPageData["Coverage"].isNull()) + domainsObject.coverage = valueDomainsPageData["Coverage"].asString(); auto allSourcesNode = allDomainsNode["Sources"]["Source"]; for (auto allDomainsNodeSourcesSource : allSourcesNode) { diff --git a/cdn/src/model/ModifyFileCacheExpiredConfigRequest.cc b/cdn/src/model/ModifyFileCacheExpiredConfigRequest.cc index a48f0e5f2..7a72cb3cf 100644 --- a/cdn/src/model/ModifyFileCacheExpiredConfigRequest.cc +++ b/cdn/src/model/ModifyFileCacheExpiredConfigRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cdn::Model::ModifyFileCacheExpiredConfigRequest; ModifyFileCacheExpiredConfigRequest::ModifyFileCacheExpiredConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "ModifyFileCacheExpiredConfig") + RpcServiceRequest("cdn", "2014-11-11", "ModifyFileCacheExpiredConfig") { setMethod(HttpRequest::Method::Post); } diff --git a/cdn/src/model/ModifyHttpHeaderConfigRequest.cc b/cdn/src/model/ModifyHttpHeaderConfigRequest.cc index 6d61d7871..4eb27b6ec 100644 --- a/cdn/src/model/ModifyHttpHeaderConfigRequest.cc +++ b/cdn/src/model/ModifyHttpHeaderConfigRequest.cc @@ -19,7 +19,7 @@ using AlibabaCloud::Cdn::Model::ModifyHttpHeaderConfigRequest; ModifyHttpHeaderConfigRequest::ModifyHttpHeaderConfigRequest() : - RpcServiceRequest("cdn", "2018-05-10", "ModifyHttpHeaderConfig") + RpcServiceRequest("cdn", "2014-11-11", "ModifyHttpHeaderConfig") { setMethod(HttpRequest::Method::Post); } diff --git a/cdn/src/model/PushObjectCacheRequest.cc b/cdn/src/model/PushObjectCacheRequest.cc index 1a489214b..74a48446a 100644 --- a/cdn/src/model/PushObjectCacheRequest.cc +++ b/cdn/src/model/PushObjectCacheRequest.cc @@ -27,17 +27,6 @@ PushObjectCacheRequest::PushObjectCacheRequest() : PushObjectCacheRequest::~PushObjectCacheRequest() {} -std::string PushObjectCacheRequest::getArea()const -{ - return area_; -} - -void PushObjectCacheRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); -} - std::string PushObjectCacheRequest::getObjectPath()const { return objectPath_; @@ -49,17 +38,6 @@ void PushObjectCacheRequest::setObjectPath(const std::string& objectPath) setParameter("ObjectPath", objectPath); } -long PushObjectCacheRequest::getOwnerId()const -{ - return ownerId_; -} - -void PushObjectCacheRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - std::string PushObjectCacheRequest::getSecurityToken()const { return securityToken_; @@ -71,3 +49,25 @@ void PushObjectCacheRequest::setSecurityToken(const std::string& securityToken) setParameter("SecurityToken", securityToken); } +std::string PushObjectCacheRequest::getArea()const +{ + return area_; +} + +void PushObjectCacheRequest::setArea(const std::string& area) +{ + area_ = area; + setParameter("Area", area); +} + +long PushObjectCacheRequest::getOwnerId()const +{ + return ownerId_; +} + +void PushObjectCacheRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/cdn/src/model/SetDomainServerCertificateRequest.cc b/cdn/src/model/SetDomainServerCertificateRequest.cc index f551ccd8c..ced1d3279 100644 --- a/cdn/src/model/SetDomainServerCertificateRequest.cc +++ b/cdn/src/model/SetDomainServerCertificateRequest.cc @@ -126,14 +126,3 @@ void SetDomainServerCertificateRequest::setOwnerId(long ownerId) setParameter("OwnerId", std::to_string(ownerId)); } -std::string SetDomainServerCertificateRequest::getRegion()const -{ - return region_; -} - -void SetDomainServerCertificateRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); -} - diff --git a/cdn/src/model/StartMixStreamsServiceRequest.cc b/cdn/src/model/StartMixStreamsServiceRequest.cc deleted file mode 100644 index b4b38b782..000000000 --- a/cdn/src/model/StartMixStreamsServiceRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::StartMixStreamsServiceRequest; - -StartMixStreamsServiceRequest::StartMixStreamsServiceRequest() : - RpcServiceRequest("cdn", "2014-11-11", "StartMixStreamsService") -{ - setMethod(HttpRequest::Method::Post); -} - -StartMixStreamsServiceRequest::~StartMixStreamsServiceRequest() -{} - -std::string StartMixStreamsServiceRequest::getMixStreamName()const -{ - return mixStreamName_; -} - -void StartMixStreamsServiceRequest::setMixStreamName(const std::string& mixStreamName) -{ - mixStreamName_ = mixStreamName; - setParameter("MixStreamName", mixStreamName); -} - -std::string StartMixStreamsServiceRequest::getMixAppName()const -{ - return mixAppName_; -} - -void StartMixStreamsServiceRequest::setMixAppName(const std::string& mixAppName) -{ - mixAppName_ = mixAppName; - setParameter("MixAppName", mixAppName); -} - -std::string StartMixStreamsServiceRequest::getMainStreamName()const -{ - return mainStreamName_; -} - -void StartMixStreamsServiceRequest::setMainStreamName(const std::string& mainStreamName) -{ - mainStreamName_ = mainStreamName; - setParameter("MainStreamName", mainStreamName); -} - -std::string StartMixStreamsServiceRequest::getMixType()const -{ - return mixType_; -} - -void StartMixStreamsServiceRequest::setMixType(const std::string& mixType) -{ - mixType_ = mixType; - setParameter("MixType", mixType); -} - -std::string StartMixStreamsServiceRequest::getSecurityToken()const -{ - return securityToken_; -} - -void StartMixStreamsServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string StartMixStreamsServiceRequest::getMainDomainName()const -{ - return mainDomainName_; -} - -void StartMixStreamsServiceRequest::setMainDomainName(const std::string& mainDomainName) -{ - mainDomainName_ = mainDomainName; - setParameter("MainDomainName", mainDomainName); -} - -std::string StartMixStreamsServiceRequest::getMixTemplate()const -{ - return mixTemplate_; -} - -void StartMixStreamsServiceRequest::setMixTemplate(const std::string& mixTemplate) -{ - mixTemplate_ = mixTemplate; - setParameter("MixTemplate", mixTemplate); -} - -std::string StartMixStreamsServiceRequest::getMixDomainName()const -{ - return mixDomainName_; -} - -void StartMixStreamsServiceRequest::setMixDomainName(const std::string& mixDomainName) -{ - mixDomainName_ = mixDomainName; - setParameter("MixDomainName", mixDomainName); -} - -long StartMixStreamsServiceRequest::getOwnerId()const -{ - return ownerId_; -} - -void StartMixStreamsServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string StartMixStreamsServiceRequest::getMainAppName()const -{ - return mainAppName_; -} - -void StartMixStreamsServiceRequest::setMainAppName(const std::string& mainAppName) -{ - mainAppName_ = mainAppName; - setParameter("MainAppName", mainAppName); -} - diff --git a/cdn/src/model/StartMixStreamsServiceResult.cc b/cdn/src/model/StartMixStreamsServiceResult.cc deleted file mode 100644 index bde306a2d..000000000 --- a/cdn/src/model/StartMixStreamsServiceResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -StartMixStreamsServiceResult::StartMixStreamsServiceResult() : - ServiceResult() -{} - -StartMixStreamsServiceResult::StartMixStreamsServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StartMixStreamsServiceResult::~StartMixStreamsServiceResult() -{} - -void StartMixStreamsServiceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allMixStreamsInfoListNode = value["MixStreamsInfoList"]["MixStreamsInfo"]; - for (auto valueMixStreamsInfoListMixStreamsInfo : allMixStreamsInfoListNode) - { - MixStreamsInfo mixStreamsInfoListObject; - if(!valueMixStreamsInfoListMixStreamsInfo["DomainName"].isNull()) - mixStreamsInfoListObject.domainName = valueMixStreamsInfoListMixStreamsInfo["DomainName"].asString(); - if(!valueMixStreamsInfoListMixStreamsInfo["AppName"].isNull()) - mixStreamsInfoListObject.appName = valueMixStreamsInfoListMixStreamsInfo["AppName"].asString(); - if(!valueMixStreamsInfoListMixStreamsInfo["StreamName"].isNull()) - mixStreamsInfoListObject.streamName = valueMixStreamsInfoListMixStreamsInfo["StreamName"].asString(); - mixStreamsInfoList_.push_back(mixStreamsInfoListObject); - } - -} - -std::vector StartMixStreamsServiceResult::getMixStreamsInfoList()const -{ - return mixStreamsInfoList_; -} - diff --git a/cdn/src/model/StopMixStreamsServiceRequest.cc b/cdn/src/model/StopMixStreamsServiceRequest.cc deleted file mode 100644 index cb971aaab..000000000 --- a/cdn/src/model/StopMixStreamsServiceRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Cdn::Model::StopMixStreamsServiceRequest; - -StopMixStreamsServiceRequest::StopMixStreamsServiceRequest() : - RpcServiceRequest("cdn", "2014-11-11", "StopMixStreamsService") -{ - setMethod(HttpRequest::Method::Post); -} - -StopMixStreamsServiceRequest::~StopMixStreamsServiceRequest() -{} - -std::string StopMixStreamsServiceRequest::getMixStreamName()const -{ - return mixStreamName_; -} - -void StopMixStreamsServiceRequest::setMixStreamName(const std::string& mixStreamName) -{ - mixStreamName_ = mixStreamName; - setParameter("MixStreamName", mixStreamName); -} - -std::string StopMixStreamsServiceRequest::getMixAppName()const -{ - return mixAppName_; -} - -void StopMixStreamsServiceRequest::setMixAppName(const std::string& mixAppName) -{ - mixAppName_ = mixAppName; - setParameter("MixAppName", mixAppName); -} - -std::string StopMixStreamsServiceRequest::getMainStreamName()const -{ - return mainStreamName_; -} - -void StopMixStreamsServiceRequest::setMainStreamName(const std::string& mainStreamName) -{ - mainStreamName_ = mainStreamName; - setParameter("MainStreamName", mainStreamName); -} - -std::string StopMixStreamsServiceRequest::getSecurityToken()const -{ - return securityToken_; -} - -void StopMixStreamsServiceRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - -std::string StopMixStreamsServiceRequest::getMainDomainName()const -{ - return mainDomainName_; -} - -void StopMixStreamsServiceRequest::setMainDomainName(const std::string& mainDomainName) -{ - mainDomainName_ = mainDomainName; - setParameter("MainDomainName", mainDomainName); -} - -std::string StopMixStreamsServiceRequest::getMixDomainName()const -{ - return mixDomainName_; -} - -void StopMixStreamsServiceRequest::setMixDomainName(const std::string& mixDomainName) -{ - mixDomainName_ = mixDomainName; - setParameter("MixDomainName", mixDomainName); -} - -long StopMixStreamsServiceRequest::getOwnerId()const -{ - return ownerId_; -} - -void StopMixStreamsServiceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string StopMixStreamsServiceRequest::getMainAppName()const -{ - return mainAppName_; -} - -void StopMixStreamsServiceRequest::setMainAppName(const std::string& mainAppName) -{ - mainAppName_ = mainAppName; - setParameter("MainAppName", mainAppName); -} - diff --git a/cdn/src/model/StopMixStreamsServiceResult.cc b/cdn/src/model/StopMixStreamsServiceResult.cc deleted file mode 100644 index 6222dbd10..000000000 --- a/cdn/src/model/StopMixStreamsServiceResult.cc +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Cdn; -using namespace AlibabaCloud::Cdn::Model; - -StopMixStreamsServiceResult::StopMixStreamsServiceResult() : - ServiceResult() -{} - -StopMixStreamsServiceResult::StopMixStreamsServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopMixStreamsServiceResult::~StopMixStreamsServiceResult() -{} - -void StopMixStreamsServiceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allMixStreamsInfoListNode = value["MixStreamsInfoList"]["MixStreamsInfo"]; - for (auto valueMixStreamsInfoListMixStreamsInfo : allMixStreamsInfoListNode) - { - MixStreamsInfo mixStreamsInfoListObject; - if(!valueMixStreamsInfoListMixStreamsInfo["DomainName"].isNull()) - mixStreamsInfoListObject.domainName = valueMixStreamsInfoListMixStreamsInfo["DomainName"].asString(); - if(!valueMixStreamsInfoListMixStreamsInfo["AppName"].isNull()) - mixStreamsInfoListObject.appName = valueMixStreamsInfoListMixStreamsInfo["AppName"].asString(); - if(!valueMixStreamsInfoListMixStreamsInfo["StreamName"].isNull()) - mixStreamsInfoListObject.streamName = valueMixStreamsInfoListMixStreamsInfo["StreamName"].asString(); - mixStreamsInfoList_.push_back(mixStreamsInfoListObject); - } - -} - -std::vector StopMixStreamsServiceResult::getMixStreamsInfoList()const -{ - return mixStreamsInfoList_; -} -