Add HSF apis.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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<Error, Model::DeleteHttpHeaderConfigResult> DeleteHttpHeaderConfigOutcome;
|
||||
typedef std::future<DeleteHttpHeaderConfigOutcome> DeleteHttpHeaderConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteHttpHeaderConfigRequest&, const DeleteHttpHeaderConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHttpHeaderConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveAppRecordConfigResult> DeleteLiveAppRecordConfigOutcome;
|
||||
typedef std::future<DeleteLiveAppRecordConfigOutcome> DeleteLiveAppRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveAppRecordConfigRequest&, const DeleteLiveAppRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAppRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveAppSnapshotConfigResult> DeleteLiveAppSnapshotConfigOutcome;
|
||||
typedef std::future<DeleteLiveAppSnapshotConfigOutcome> DeleteLiveAppSnapshotConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveAppSnapshotConfigRequest&, const DeleteLiveAppSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAppSnapshotConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveDomainMappingResult> DeleteLiveDomainMappingOutcome;
|
||||
typedef std::future<DeleteLiveDomainMappingOutcome> DeleteLiveDomainMappingOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveDomainMappingRequest&, const DeleteLiveDomainMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveDomainMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveStreamTranscodeResult> DeleteLiveStreamTranscodeOutcome;
|
||||
typedef std::future<DeleteLiveStreamTranscodeOutcome> DeleteLiveStreamTranscodeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveStreamTranscodeRequest&, const DeleteLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveStreamTranscodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRealtimeLogDeliveryResult> DeleteRealtimeLogDeliveryOutcome;
|
||||
typedef std::future<DeleteRealtimeLogDeliveryOutcome> DeleteRealtimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteRealtimeLogDeliveryRequest&, const DeleteRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRealtimeLogDeliveryAsyncHandler;
|
||||
@@ -517,6 +505,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteUserUsageDataExportTaskResult> DeleteUserUsageDataExportTaskOutcome;
|
||||
typedef std::future<DeleteUserUsageDataExportTaskOutcome> DeleteUserUsageDataExportTaskOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteUserUsageDataExportTaskRequest&, const DeleteUserUsageDataExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserUsageDataExportTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActiveVersionOfConfigGroupResult> DescribeActiveVersionOfConfigGroupOutcome;
|
||||
typedef std::future<DescribeActiveVersionOfConfigGroupOutcome> DescribeActiveVersionOfConfigGroupOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeActiveVersionOfConfigGroupRequest&, const DescribeActiveVersionOfConfigGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActiveVersionOfConfigGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnCertificateDetailResult> DescribeCdnCertificateDetailOutcome;
|
||||
typedef std::future<DescribeCdnCertificateDetailOutcome> DescribeCdnCertificateDetailOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnCertificateDetailRequest&, const DescribeCdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnCertificateDetailAsyncHandler;
|
||||
@@ -556,6 +547,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeCdnUserBillPredictionResult> DescribeCdnUserBillPredictionOutcome;
|
||||
typedef std::future<DescribeCdnUserBillPredictionOutcome> DescribeCdnUserBillPredictionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillPredictionRequest&, const DescribeCdnUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillPredictionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserBillTypeResult> DescribeCdnUserBillTypeOutcome;
|
||||
typedef std::future<DescribeCdnUserBillTypeOutcome> DescribeCdnUserBillTypeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillTypeRequest&, const DescribeCdnUserBillTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserConfigsResult> DescribeCdnUserConfigsOutcome;
|
||||
typedef std::future<DescribeCdnUserConfigsOutcome> DescribeCdnUserConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserConfigsRequest&, const DescribeCdnUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserQuotaResult> DescribeCdnUserQuotaOutcome;
|
||||
typedef std::future<DescribeCdnUserQuotaOutcome> DescribeCdnUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserQuotaRequest&, const DescribeCdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserQuotaAsyncHandler;
|
||||
@@ -595,6 +592,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainCustomLogConfigResult> DescribeDomainCustomLogConfigOutcome;
|
||||
typedef std::future<DescribeDomainCustomLogConfigOutcome> DescribeDomainCustomLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCustomLogConfigRequest&, const DescribeDomainCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCustomLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainDetailDataByLayerResult> DescribeDomainDetailDataByLayerOutcome;
|
||||
typedef std::future<DescribeDomainDetailDataByLayerOutcome> DescribeDomainDetailDataByLayerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainDetailDataByLayerRequest&, const DescribeDomainDetailDataByLayerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDetailDataByLayerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainFileSizeProportionDataResult> DescribeDomainFileSizeProportionDataOutcome;
|
||||
typedef std::future<DescribeDomainFileSizeProportionDataOutcome> DescribeDomainFileSizeProportionDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainFileSizeProportionDataRequest&, const DescribeDomainFileSizeProportionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainFileSizeProportionDataAsyncHandler;
|
||||
@@ -616,6 +616,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainMax95BpsDataResult> DescribeDomainMax95BpsDataOutcome;
|
||||
typedef std::future<DescribeDomainMax95BpsDataOutcome> DescribeDomainMax95BpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMax95BpsDataRequest&, const DescribeDomainMax95BpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMax95BpsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainNamesOfVersionResult> DescribeDomainNamesOfVersionOutcome;
|
||||
typedef std::future<DescribeDomainNamesOfVersionOutcome> DescribeDomainNamesOfVersionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainNamesOfVersionRequest&, const DescribeDomainNamesOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainNamesOfVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainPathDataResult> DescribeDomainPathDataOutcome;
|
||||
typedef std::future<DescribeDomainPathDataOutcome> DescribeDomainPathDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainPathDataRequest&, const DescribeDomainPathDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainPathDataAsyncHandler;
|
||||
@@ -781,6 +784,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRefreshQuotaResult> DescribeRefreshQuotaOutcome;
|
||||
typedef std::future<DescribeRefreshQuotaOutcome> DescribeRefreshQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshQuotaRequest&, const DescribeRefreshQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRefreshTaskByIdResult> DescribeRefreshTaskByIdOutcome;
|
||||
typedef std::future<DescribeRefreshTaskByIdOutcome> DescribeRefreshTaskByIdOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshTaskByIdRequest&, const DescribeRefreshTaskByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTaskByIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRefreshTasksResult> DescribeRefreshTasksOutcome;
|
||||
typedef std::future<DescribeRefreshTasksOutcome> DescribeRefreshTasksOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshTasksRequest&, const DescribeRefreshTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTasksAsyncHandler;
|
||||
@@ -985,15 +991,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartCdnDomainResult> StartCdnDomainOutcome;
|
||||
typedef std::future<StartCdnDomainOutcome> StartCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StartCdnDomainRequest&, const StartCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMixStreamsServiceResult> StartMixStreamsServiceOutcome;
|
||||
typedef std::future<StartMixStreamsServiceOutcome> StartMixStreamsServiceOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StartMixStreamsServiceRequest&, const StartMixStreamsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMixStreamsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopCdnDomainResult> StopCdnDomainOutcome;
|
||||
typedef std::future<StopCdnDomainOutcome> StopCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StopCdnDomainRequest&, const StopCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMixStreamsServiceResult> StopMixStreamsServiceOutcome;
|
||||
typedef std::future<StopMixStreamsServiceOutcome> StopMixStreamsServiceOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StopMixStreamsServiceRequest&, const StopMixStreamsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMixStreamsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
@@ -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_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
@@ -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_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_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 <string>
|
||||
#include <vector>
|
||||
@@ -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<BillTypeDataItem> getBillTypeData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<BillTypeDataItem> billTypeData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_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 <string>
|
||||
#include <vector>
|
||||
@@ -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_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_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 <string>
|
||||
#include <vector>
|
||||
@@ -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<MixStreamsInfo> getMixStreamsInfoList()const;
|
||||
DescribeCdnUserConfigsResult();
|
||||
explicit DescribeCdnUserConfigsResult(const std::string &payload);
|
||||
~DescribeCdnUserConfigsResult();
|
||||
std::vector<Config> getConfigs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixStreamsInfo> mixStreamsInfoList_;
|
||||
std::vector<Config> configs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
@@ -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<DataModule> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataModule> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
@@ -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<MixStreamsInfo> getMixStreamsInfoList()const;
|
||||
DescribeDomainNamesOfVersionResult();
|
||||
explicit DescribeDomainNamesOfVersionResult(const std::string &payload);
|
||||
~DescribeDomainNamesOfVersionResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<Content> getContents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixStreamsInfo> mixStreamsInfoList_;
|
||||
int totalCount_;
|
||||
std::vector<Content> contents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
@@ -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<CDNTask> getTasks()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::vector<CDNTask> tasks_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_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<Tag> getTag()const;
|
||||
@@ -55,7 +53,6 @@ namespace AlibabaCloud
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string scope_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setTag(const std::vector<Tag>& 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> tag_;
|
||||
std::string funcFilter_;
|
||||
std::string coverage_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string funcId_;
|
||||
|
||||
@@ -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<PageData::Source> sources;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
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_
|
||||
@@ -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<const AsyncCallerContext>& 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<std::packaged_task<DeleteLiveAppRecordConfigOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteLiveAppSnapshotConfigOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteLiveDomainMappingOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteLiveStreamTranscodeOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeActiveVersionOfConfigGroupOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeCdnUserBillTypeOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeCdnUserConfigsOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDomainDetailDataByLayerOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeDomainNamesOfVersionOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeRefreshTaskByIdOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<StartMixStreamsServiceOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<StopMixStreamsServiceOutcome()>>(
|
||||
[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();
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
62
cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc
Normal file
62
cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
107
cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc
Normal file
107
cdn/src/model/DescribeActiveVersionOfConfigGroupResult.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
62
cdn/src/model/DescribeCdnUserBillTypeRequest.cc
Normal file
62
cdn/src/model/DescribeCdnUserBillTypeRequest.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
67
cdn/src/model/DescribeCdnUserBillTypeResult.cc
Normal file
67
cdn/src/model/DescribeCdnUserBillTypeResult.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::BillTypeDataItem> DescribeCdnUserBillTypeResult::getBillTypeData()const
|
||||
{
|
||||
return billTypeData_;
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnUserConfigsRequest.cc
Normal file
51
cdn/src/model/DescribeCdnUserConfigsRequest.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
61
cdn/src/model/DescribeCdnUserConfigsResult.cc
Normal file
61
cdn/src/model/DescribeCdnUserConfigsResult.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::Config> DescribeCdnUserConfigsResult::getConfigs()const
|
||||
{
|
||||
return configs_;
|
||||
}
|
||||
|
||||
117
cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc
Normal file
117
cdn/src/model/DescribeDomainDetailDataByLayerRequest.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
77
cdn/src/model/DescribeDomainDetailDataByLayerResult.cc
Normal file
77
cdn/src/model/DescribeDomainDetailDataByLayerResult.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::DataModule> DescribeDomainDetailDataByLayerResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
73
cdn/src/model/DescribeDomainNamesOfVersionRequest.cc
Normal file
73
cdn/src/model/DescribeDomainNamesOfVersionRequest.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
66
cdn/src/model/DescribeDomainNamesOfVersionResult.cc
Normal file
66
cdn/src/model/DescribeDomainNamesOfVersionResult.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::Content> DescribeDomainNamesOfVersionResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
@@ -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())
|
||||
|
||||
73
cdn/src/model/DescribeRefreshTaskByIdRequest.cc
Normal file
73
cdn/src/model/DescribeRefreshTaskByIdRequest.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h>
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
90
cdn/src/model/DescribeRefreshTaskByIdResult.cc
Normal file
90
cdn/src/model/DescribeRefreshTaskByIdResult.cc
Normal file
@@ -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 <alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::CDNTask> DescribeRefreshTaskByIdResult::getTasks()const
|
||||
{
|
||||
return tasks_;
|
||||
}
|
||||
|
||||
long DescribeRefreshTaskByIdResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeRefreshTaskByIdResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/StartMixStreamsServiceRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/StartMixStreamsServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::MixStreamsInfo> StartMixStreamsServiceResult::getMixStreamsInfoList()const
|
||||
{
|
||||
return mixStreamsInfoList_;
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/StopMixStreamsServiceRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -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 <alibabacloud/cdn/model/StopMixStreamsServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::MixStreamsInfo> StopMixStreamsServiceResult::getMixStreamsInfoList()const
|
||||
{
|
||||
return mixStreamsInfoList_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user