Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9daef8bca3 | ||
|
|
9e1db6ede8 | ||
|
|
79b5e173b0 | ||
|
|
3a2b4a3b0a | ||
|
|
216a31ec31 |
15
CHANGELOG
15
CHANGELOG
@@ -1,3 +1,18 @@
|
||||
2021-06-04 Version: 1.36.765
|
||||
- Delete live API.
|
||||
|
||||
2021-06-03 Version: 1.36.764
|
||||
- Add name.
|
||||
|
||||
2021-06-03 Version: 1.36.763
|
||||
- Support name.
|
||||
|
||||
2021-06-02 Version: 1.36.762
|
||||
- Support key deletion protection.
|
||||
|
||||
2021-05-31 Version: 1.36.761
|
||||
- Support upgrade.
|
||||
|
||||
2021-05-28 Version: 1.36.760
|
||||
- Add TriggerRemoteSync api.
|
||||
|
||||
|
||||
@@ -25,12 +25,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/AddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/AddFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/AddFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h
|
||||
@@ -67,8 +63,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteCdnSubTaskResult.h
|
||||
include/alibabacloud/cdn/model/DeleteFCTriggerRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h
|
||||
include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h
|
||||
@@ -203,8 +197,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainRegionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainReqHitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSlowRatioRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSlowRatioResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcBpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainSrcFlowDataRequest.h
|
||||
@@ -245,14 +237,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeIpInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeL2VipsByDynamicDomainResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLivePullStreamConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamOnlineUserNumRequest.h
|
||||
@@ -265,12 +251,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamRecordIndexFilesResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamSnapshotInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsBlockListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeLiveStreamsOnlineListRequest.h
|
||||
@@ -297,8 +279,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h
|
||||
@@ -420,12 +400,8 @@ set(cdn_src
|
||||
src/model/AddCdnDomainResult.cc
|
||||
src/model/AddFCTriggerRequest.cc
|
||||
src/model/AddFCTriggerResult.cc
|
||||
src/model/AddLiveAppRecordConfigRequest.cc
|
||||
src/model/AddLiveAppRecordConfigResult.cc
|
||||
src/model/BatchAddCdnDomainRequest.cc
|
||||
src/model/BatchAddCdnDomainResult.cc
|
||||
src/model/BatchDeleteCdnDomainConfigRequest.cc
|
||||
src/model/BatchDeleteCdnDomainConfigResult.cc
|
||||
src/model/BatchSetCdnDomainConfigRequest.cc
|
||||
src/model/BatchSetCdnDomainConfigResult.cc
|
||||
src/model/BatchSetCdnDomainServerCertificateRequest.cc
|
||||
@@ -462,8 +438,6 @@ set(cdn_src
|
||||
src/model/DeleteCdnSubTaskResult.cc
|
||||
src/model/DeleteFCTriggerRequest.cc
|
||||
src/model/DeleteFCTriggerResult.cc
|
||||
src/model/DeleteHttpHeaderConfigRequest.cc
|
||||
src/model/DeleteHttpHeaderConfigResult.cc
|
||||
src/model/DeleteRealtimeLogDeliveryRequest.cc
|
||||
src/model/DeleteRealtimeLogDeliveryResult.cc
|
||||
src/model/DeleteSpecificConfigRequest.cc
|
||||
@@ -598,8 +572,6 @@ set(cdn_src
|
||||
src/model/DescribeDomainRegionDataResult.cc
|
||||
src/model/DescribeDomainReqHitRateDataRequest.cc
|
||||
src/model/DescribeDomainReqHitRateDataResult.cc
|
||||
src/model/DescribeDomainSlowRatioRequest.cc
|
||||
src/model/DescribeDomainSlowRatioResult.cc
|
||||
src/model/DescribeDomainSrcBpsDataRequest.cc
|
||||
src/model/DescribeDomainSrcBpsDataResult.cc
|
||||
src/model/DescribeDomainSrcFlowDataRequest.cc
|
||||
@@ -640,14 +612,8 @@ set(cdn_src
|
||||
src/model/DescribeIpInfoResult.cc
|
||||
src/model/DescribeL2VipsByDomainRequest.cc
|
||||
src/model/DescribeL2VipsByDomainResult.cc
|
||||
src/model/DescribeL2VipsByDynamicDomainRequest.cc
|
||||
src/model/DescribeL2VipsByDynamicDomainResult.cc
|
||||
src/model/DescribeLivePullStreamConfigRequest.cc
|
||||
src/model/DescribeLivePullStreamConfigResult.cc
|
||||
src/model/DescribeLiveRecordConfigRequest.cc
|
||||
src/model/DescribeLiveRecordConfigResult.cc
|
||||
src/model/DescribeLiveSnapshotConfigRequest.cc
|
||||
src/model/DescribeLiveSnapshotConfigResult.cc
|
||||
src/model/DescribeLiveStreamBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamBitRateDataResult.cc
|
||||
src/model/DescribeLiveStreamOnlineUserNumRequest.cc
|
||||
@@ -660,12 +626,8 @@ set(cdn_src
|
||||
src/model/DescribeLiveStreamRecordIndexFilesResult.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoRequest.cc
|
||||
src/model/DescribeLiveStreamSnapshotInfoResult.cc
|
||||
src/model/DescribeLiveStreamTranscodeInfoRequest.cc
|
||||
src/model/DescribeLiveStreamTranscodeInfoResult.cc
|
||||
src/model/DescribeLiveStreamsBlockListRequest.cc
|
||||
src/model/DescribeLiveStreamsBlockListResult.cc
|
||||
src/model/DescribeLiveStreamsControlHistoryRequest.cc
|
||||
src/model/DescribeLiveStreamsControlHistoryResult.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc
|
||||
src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc
|
||||
src/model/DescribeLiveStreamsOnlineListRequest.cc
|
||||
@@ -692,8 +654,6 @@ set(cdn_src
|
||||
src/model/DescribeUserCertificateExpireCountResult.cc
|
||||
src/model/DescribeUserConfigsRequest.cc
|
||||
src/model/DescribeUserConfigsResult.cc
|
||||
src/model/DescribeUserCustomLogConfigRequest.cc
|
||||
src/model/DescribeUserCustomLogConfigResult.cc
|
||||
src/model/DescribeUserCustomerLabelsRequest.cc
|
||||
src/model/DescribeUserCustomerLabelsResult.cc
|
||||
src/model/DescribeUserDomainsRequest.cc
|
||||
|
||||
@@ -26,12 +26,8 @@
|
||||
#include "model/AddCdnDomainResult.h"
|
||||
#include "model/AddFCTriggerRequest.h"
|
||||
#include "model/AddFCTriggerResult.h"
|
||||
#include "model/AddLiveAppRecordConfigRequest.h"
|
||||
#include "model/AddLiveAppRecordConfigResult.h"
|
||||
#include "model/BatchAddCdnDomainRequest.h"
|
||||
#include "model/BatchAddCdnDomainResult.h"
|
||||
#include "model/BatchDeleteCdnDomainConfigRequest.h"
|
||||
#include "model/BatchDeleteCdnDomainConfigResult.h"
|
||||
#include "model/BatchSetCdnDomainConfigRequest.h"
|
||||
#include "model/BatchSetCdnDomainConfigResult.h"
|
||||
#include "model/BatchSetCdnDomainServerCertificateRequest.h"
|
||||
@@ -68,8 +64,6 @@
|
||||
#include "model/DeleteCdnSubTaskResult.h"
|
||||
#include "model/DeleteFCTriggerRequest.h"
|
||||
#include "model/DeleteFCTriggerResult.h"
|
||||
#include "model/DeleteHttpHeaderConfigRequest.h"
|
||||
#include "model/DeleteHttpHeaderConfigResult.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryRequest.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryResult.h"
|
||||
#include "model/DeleteSpecificConfigRequest.h"
|
||||
@@ -204,8 +198,6 @@
|
||||
#include "model/DescribeDomainRegionDataResult.h"
|
||||
#include "model/DescribeDomainReqHitRateDataRequest.h"
|
||||
#include "model/DescribeDomainReqHitRateDataResult.h"
|
||||
#include "model/DescribeDomainSlowRatioRequest.h"
|
||||
#include "model/DescribeDomainSlowRatioResult.h"
|
||||
#include "model/DescribeDomainSrcBpsDataRequest.h"
|
||||
#include "model/DescribeDomainSrcBpsDataResult.h"
|
||||
#include "model/DescribeDomainSrcFlowDataRequest.h"
|
||||
@@ -246,14 +238,8 @@
|
||||
#include "model/DescribeIpInfoResult.h"
|
||||
#include "model/DescribeL2VipsByDomainRequest.h"
|
||||
#include "model/DescribeL2VipsByDomainResult.h"
|
||||
#include "model/DescribeL2VipsByDynamicDomainRequest.h"
|
||||
#include "model/DescribeL2VipsByDynamicDomainResult.h"
|
||||
#include "model/DescribeLivePullStreamConfigRequest.h"
|
||||
#include "model/DescribeLivePullStreamConfigResult.h"
|
||||
#include "model/DescribeLiveRecordConfigRequest.h"
|
||||
#include "model/DescribeLiveRecordConfigResult.h"
|
||||
#include "model/DescribeLiveSnapshotConfigRequest.h"
|
||||
#include "model/DescribeLiveSnapshotConfigResult.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamOnlineUserNumRequest.h"
|
||||
@@ -266,12 +252,8 @@
|
||||
#include "model/DescribeLiveStreamRecordIndexFilesResult.h"
|
||||
#include "model/DescribeLiveStreamSnapshotInfoRequest.h"
|
||||
#include "model/DescribeLiveStreamSnapshotInfoResult.h"
|
||||
#include "model/DescribeLiveStreamTranscodeInfoRequest.h"
|
||||
#include "model/DescribeLiveStreamTranscodeInfoResult.h"
|
||||
#include "model/DescribeLiveStreamsBlockListRequest.h"
|
||||
#include "model/DescribeLiveStreamsBlockListResult.h"
|
||||
#include "model/DescribeLiveStreamsControlHistoryRequest.h"
|
||||
#include "model/DescribeLiveStreamsControlHistoryResult.h"
|
||||
#include "model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h"
|
||||
#include "model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h"
|
||||
#include "model/DescribeLiveStreamsOnlineListRequest.h"
|
||||
@@ -298,8 +280,6 @@
|
||||
#include "model/DescribeUserCertificateExpireCountResult.h"
|
||||
#include "model/DescribeUserConfigsRequest.h"
|
||||
#include "model/DescribeUserConfigsResult.h"
|
||||
#include "model/DescribeUserCustomLogConfigRequest.h"
|
||||
#include "model/DescribeUserCustomLogConfigResult.h"
|
||||
#include "model/DescribeUserCustomerLabelsRequest.h"
|
||||
#include "model/DescribeUserCustomerLabelsResult.h"
|
||||
#include "model/DescribeUserDomainsRequest.h"
|
||||
@@ -429,15 +409,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddFCTriggerResult> AddFCTriggerOutcome;
|
||||
typedef std::future<AddFCTriggerOutcome> AddFCTriggerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::AddFCTriggerRequest&, const AddFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddFCTriggerAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddLiveAppRecordConfigResult> AddLiveAppRecordConfigOutcome;
|
||||
typedef std::future<AddLiveAppRecordConfigOutcome> AddLiveAppRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::AddLiveAppRecordConfigRequest&, const AddLiveAppRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLiveAppRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchAddCdnDomainResult> BatchAddCdnDomainOutcome;
|
||||
typedef std::future<BatchAddCdnDomainOutcome> BatchAddCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchAddCdnDomainRequest&, const BatchAddCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAddCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchDeleteCdnDomainConfigResult> BatchDeleteCdnDomainConfigOutcome;
|
||||
typedef std::future<BatchDeleteCdnDomainConfigOutcome> BatchDeleteCdnDomainConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchDeleteCdnDomainConfigRequest&, const BatchDeleteCdnDomainConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteCdnDomainConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchSetCdnDomainConfigResult> BatchSetCdnDomainConfigOutcome;
|
||||
typedef std::future<BatchSetCdnDomainConfigOutcome> BatchSetCdnDomainConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchSetCdnDomainConfigRequest&, const BatchSetCdnDomainConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetCdnDomainConfigAsyncHandler;
|
||||
@@ -492,9 +466,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteFCTriggerResult> DeleteFCTriggerOutcome;
|
||||
typedef std::future<DeleteFCTriggerOutcome> DeleteFCTriggerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteFCTriggerRequest&, const DeleteFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFCTriggerAsyncHandler;
|
||||
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::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;
|
||||
@@ -696,9 +667,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainReqHitRateDataResult> DescribeDomainReqHitRateDataOutcome;
|
||||
typedef std::future<DescribeDomainReqHitRateDataOutcome> DescribeDomainReqHitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainReqHitRateDataRequest&, const DescribeDomainReqHitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainReqHitRateDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainSlowRatioResult> DescribeDomainSlowRatioOutcome;
|
||||
typedef std::future<DescribeDomainSlowRatioOutcome> DescribeDomainSlowRatioOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSlowRatioRequest&, const DescribeDomainSlowRatioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSlowRatioAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainSrcBpsDataResult> DescribeDomainSrcBpsDataOutcome;
|
||||
typedef std::future<DescribeDomainSrcBpsDataOutcome> DescribeDomainSrcBpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainSrcBpsDataRequest&, const DescribeDomainSrcBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainSrcBpsDataAsyncHandler;
|
||||
@@ -759,18 +727,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeL2VipsByDomainResult> DescribeL2VipsByDomainOutcome;
|
||||
typedef std::future<DescribeL2VipsByDomainOutcome> DescribeL2VipsByDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeL2VipsByDomainRequest&, const DescribeL2VipsByDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeL2VipsByDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeL2VipsByDynamicDomainResult> DescribeL2VipsByDynamicDomainOutcome;
|
||||
typedef std::future<DescribeL2VipsByDynamicDomainOutcome> DescribeL2VipsByDynamicDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeL2VipsByDynamicDomainRequest&, const DescribeL2VipsByDynamicDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeL2VipsByDynamicDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLivePullStreamConfigResult> DescribeLivePullStreamConfigOutcome;
|
||||
typedef std::future<DescribeLivePullStreamConfigOutcome> DescribeLivePullStreamConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLivePullStreamConfigRequest&, const DescribeLivePullStreamConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLivePullStreamConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveRecordConfigResult> DescribeLiveRecordConfigOutcome;
|
||||
typedef std::future<DescribeLiveRecordConfigOutcome> DescribeLiveRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveRecordConfigRequest&, const DescribeLiveRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveSnapshotConfigResult> DescribeLiveSnapshotConfigOutcome;
|
||||
typedef std::future<DescribeLiveSnapshotConfigOutcome> DescribeLiveSnapshotConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveSnapshotConfigRequest&, const DescribeLiveSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveSnapshotConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamBitRateDataResult> DescribeLiveStreamBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamBitRateDataOutcome> DescribeLiveStreamBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamBitRateDataRequest&, const DescribeLiveStreamBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamBitRateDataAsyncHandler;
|
||||
@@ -789,15 +748,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamSnapshotInfoResult> DescribeLiveStreamSnapshotInfoOutcome;
|
||||
typedef std::future<DescribeLiveStreamSnapshotInfoOutcome> DescribeLiveStreamSnapshotInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamSnapshotInfoRequest&, const DescribeLiveStreamSnapshotInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamSnapshotInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamTranscodeInfoResult> DescribeLiveStreamTranscodeInfoOutcome;
|
||||
typedef std::future<DescribeLiveStreamTranscodeInfoOutcome> DescribeLiveStreamTranscodeInfoOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamTranscodeInfoRequest&, const DescribeLiveStreamTranscodeInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamTranscodeInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsBlockListResult> DescribeLiveStreamsBlockListOutcome;
|
||||
typedef std::future<DescribeLiveStreamsBlockListOutcome> DescribeLiveStreamsBlockListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsBlockListRequest&, const DescribeLiveStreamsBlockListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsBlockListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsControlHistoryResult> DescribeLiveStreamsControlHistoryOutcome;
|
||||
typedef std::future<DescribeLiveStreamsControlHistoryOutcome> DescribeLiveStreamsControlHistoryOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsControlHistoryRequest&, const DescribeLiveStreamsControlHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsControlHistoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamsFrameRateAndBitRateDataResult> DescribeLiveStreamsFrameRateAndBitRateDataOutcome;
|
||||
typedef std::future<DescribeLiveStreamsFrameRateAndBitRateDataOutcome> DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest&, const DescribeLiveStreamsFrameRateAndBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler;
|
||||
@@ -837,9 +790,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeUserConfigsResult> DescribeUserConfigsOutcome;
|
||||
typedef std::future<DescribeUserConfigsOutcome> DescribeUserConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserConfigsRequest&, const DescribeUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserCustomLogConfigResult> DescribeUserCustomLogConfigOutcome;
|
||||
typedef std::future<DescribeUserCustomLogConfigOutcome> DescribeUserCustomLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserCustomLogConfigRequest&, const DescribeUserCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCustomLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserCustomerLabelsResult> DescribeUserCustomerLabelsOutcome;
|
||||
typedef std::future<DescribeUserCustomerLabelsOutcome> DescribeUserCustomerLabelsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserCustomerLabelsRequest&, const DescribeUserCustomerLabelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCustomerLabelsAsyncHandler;
|
||||
@@ -1022,15 +972,9 @@ namespace AlibabaCloud
|
||||
AddFCTriggerOutcome addFCTrigger(const Model::AddFCTriggerRequest &request)const;
|
||||
void addFCTriggerAsync(const Model::AddFCTriggerRequest& request, const AddFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddFCTriggerOutcomeCallable addFCTriggerCallable(const Model::AddFCTriggerRequest& request) const;
|
||||
AddLiveAppRecordConfigOutcome addLiveAppRecordConfig(const Model::AddLiveAppRecordConfigRequest &request)const;
|
||||
void addLiveAppRecordConfigAsync(const Model::AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddLiveAppRecordConfigOutcomeCallable addLiveAppRecordConfigCallable(const Model::AddLiveAppRecordConfigRequest& request) const;
|
||||
BatchAddCdnDomainOutcome batchAddCdnDomain(const Model::BatchAddCdnDomainRequest &request)const;
|
||||
void batchAddCdnDomainAsync(const Model::BatchAddCdnDomainRequest& request, const BatchAddCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchAddCdnDomainOutcomeCallable batchAddCdnDomainCallable(const Model::BatchAddCdnDomainRequest& request) const;
|
||||
BatchDeleteCdnDomainConfigOutcome batchDeleteCdnDomainConfig(const Model::BatchDeleteCdnDomainConfigRequest &request)const;
|
||||
void batchDeleteCdnDomainConfigAsync(const Model::BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchDeleteCdnDomainConfigOutcomeCallable batchDeleteCdnDomainConfigCallable(const Model::BatchDeleteCdnDomainConfigRequest& request) const;
|
||||
BatchSetCdnDomainConfigOutcome batchSetCdnDomainConfig(const Model::BatchSetCdnDomainConfigRequest &request)const;
|
||||
void batchSetCdnDomainConfigAsync(const Model::BatchSetCdnDomainConfigRequest& request, const BatchSetCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchSetCdnDomainConfigOutcomeCallable batchSetCdnDomainConfigCallable(const Model::BatchSetCdnDomainConfigRequest& request) const;
|
||||
@@ -1085,9 +1029,6 @@ namespace AlibabaCloud
|
||||
DeleteFCTriggerOutcome deleteFCTrigger(const Model::DeleteFCTriggerRequest &request)const;
|
||||
void deleteFCTriggerAsync(const Model::DeleteFCTriggerRequest& request, const DeleteFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFCTriggerOutcomeCallable deleteFCTriggerCallable(const Model::DeleteFCTriggerRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
@@ -1289,9 +1230,6 @@ namespace AlibabaCloud
|
||||
DescribeDomainReqHitRateDataOutcome describeDomainReqHitRateData(const Model::DescribeDomainReqHitRateDataRequest &request)const;
|
||||
void describeDomainReqHitRateDataAsync(const Model::DescribeDomainReqHitRateDataRequest& request, const DescribeDomainReqHitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainReqHitRateDataOutcomeCallable describeDomainReqHitRateDataCallable(const Model::DescribeDomainReqHitRateDataRequest& request) const;
|
||||
DescribeDomainSlowRatioOutcome describeDomainSlowRatio(const Model::DescribeDomainSlowRatioRequest &request)const;
|
||||
void describeDomainSlowRatioAsync(const Model::DescribeDomainSlowRatioRequest& request, const DescribeDomainSlowRatioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainSlowRatioOutcomeCallable describeDomainSlowRatioCallable(const Model::DescribeDomainSlowRatioRequest& request) const;
|
||||
DescribeDomainSrcBpsDataOutcome describeDomainSrcBpsData(const Model::DescribeDomainSrcBpsDataRequest &request)const;
|
||||
void describeDomainSrcBpsDataAsync(const Model::DescribeDomainSrcBpsDataRequest& request, const DescribeDomainSrcBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainSrcBpsDataOutcomeCallable describeDomainSrcBpsDataCallable(const Model::DescribeDomainSrcBpsDataRequest& request) const;
|
||||
@@ -1352,18 +1290,9 @@ namespace AlibabaCloud
|
||||
DescribeL2VipsByDomainOutcome describeL2VipsByDomain(const Model::DescribeL2VipsByDomainRequest &request)const;
|
||||
void describeL2VipsByDomainAsync(const Model::DescribeL2VipsByDomainRequest& request, const DescribeL2VipsByDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeL2VipsByDomainOutcomeCallable describeL2VipsByDomainCallable(const Model::DescribeL2VipsByDomainRequest& request) const;
|
||||
DescribeL2VipsByDynamicDomainOutcome describeL2VipsByDynamicDomain(const Model::DescribeL2VipsByDynamicDomainRequest &request)const;
|
||||
void describeL2VipsByDynamicDomainAsync(const Model::DescribeL2VipsByDynamicDomainRequest& request, const DescribeL2VipsByDynamicDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeL2VipsByDynamicDomainOutcomeCallable describeL2VipsByDynamicDomainCallable(const Model::DescribeL2VipsByDynamicDomainRequest& request) const;
|
||||
DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const;
|
||||
void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const;
|
||||
DescribeLiveRecordConfigOutcome describeLiveRecordConfig(const Model::DescribeLiveRecordConfigRequest &request)const;
|
||||
void describeLiveRecordConfigAsync(const Model::DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveRecordConfigOutcomeCallable describeLiveRecordConfigCallable(const Model::DescribeLiveRecordConfigRequest& request) const;
|
||||
DescribeLiveSnapshotConfigOutcome describeLiveSnapshotConfig(const Model::DescribeLiveSnapshotConfigRequest &request)const;
|
||||
void describeLiveSnapshotConfigAsync(const Model::DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveSnapshotConfigOutcomeCallable describeLiveSnapshotConfigCallable(const Model::DescribeLiveSnapshotConfigRequest& request) const;
|
||||
DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const;
|
||||
void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const;
|
||||
@@ -1382,15 +1311,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveStreamSnapshotInfoOutcome describeLiveStreamSnapshotInfo(const Model::DescribeLiveStreamSnapshotInfoRequest &request)const;
|
||||
void describeLiveStreamSnapshotInfoAsync(const Model::DescribeLiveStreamSnapshotInfoRequest& request, const DescribeLiveStreamSnapshotInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamSnapshotInfoOutcomeCallable describeLiveStreamSnapshotInfoCallable(const Model::DescribeLiveStreamSnapshotInfoRequest& request) const;
|
||||
DescribeLiveStreamTranscodeInfoOutcome describeLiveStreamTranscodeInfo(const Model::DescribeLiveStreamTranscodeInfoRequest &request)const;
|
||||
void describeLiveStreamTranscodeInfoAsync(const Model::DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamTranscodeInfoOutcomeCallable describeLiveStreamTranscodeInfoCallable(const Model::DescribeLiveStreamTranscodeInfoRequest& request) const;
|
||||
DescribeLiveStreamsBlockListOutcome describeLiveStreamsBlockList(const Model::DescribeLiveStreamsBlockListRequest &request)const;
|
||||
void describeLiveStreamsBlockListAsync(const Model::DescribeLiveStreamsBlockListRequest& request, const DescribeLiveStreamsBlockListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsBlockListOutcomeCallable describeLiveStreamsBlockListCallable(const Model::DescribeLiveStreamsBlockListRequest& request) const;
|
||||
DescribeLiveStreamsControlHistoryOutcome describeLiveStreamsControlHistory(const Model::DescribeLiveStreamsControlHistoryRequest &request)const;
|
||||
void describeLiveStreamsControlHistoryAsync(const Model::DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsControlHistoryOutcomeCallable describeLiveStreamsControlHistoryCallable(const Model::DescribeLiveStreamsControlHistoryRequest& request) const;
|
||||
DescribeLiveStreamsFrameRateAndBitRateDataOutcome describeLiveStreamsFrameRateAndBitRateData(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest &request)const;
|
||||
void describeLiveStreamsFrameRateAndBitRateDataAsync(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request, const DescribeLiveStreamsFrameRateAndBitRateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamsFrameRateAndBitRateDataOutcomeCallable describeLiveStreamsFrameRateAndBitRateDataCallable(const Model::DescribeLiveStreamsFrameRateAndBitRateDataRequest& request) const;
|
||||
@@ -1430,9 +1353,6 @@ namespace AlibabaCloud
|
||||
DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const;
|
||||
void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const;
|
||||
DescribeUserCustomLogConfigOutcome describeUserCustomLogConfig(const Model::DescribeUserCustomLogConfigRequest &request)const;
|
||||
void describeUserCustomLogConfigAsync(const Model::DescribeUserCustomLogConfigRequest& request, const DescribeUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserCustomLogConfigOutcomeCallable describeUserCustomLogConfigCallable(const Model::DescribeUserCustomLogConfigRequest& request) const;
|
||||
DescribeUserCustomerLabelsOutcome describeUserCustomerLabels(const Model::DescribeUserCustomerLabelsRequest &request)const;
|
||||
void describeUserCustomerLabelsAsync(const Model::DescribeUserCustomerLabelsRequest& request, const DescribeUserCustomerLabelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserCustomerLabelsOutcomeCallable describeUserCustomerLabelsCallable(const Model::DescribeUserCustomerLabelsRequest& request) const;
|
||||
|
||||
@@ -1,66 +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_ADDLIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_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 AddLiveAppRecordConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddLiveAppRecordConfigRequest();
|
||||
~AddLiveAppRecordConfigRequest();
|
||||
|
||||
std::string getOssEndpoint()const;
|
||||
void setOssEndpoint(const std::string& ossEndpoint);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getOssBucket()const;
|
||||
void setOssBucket(const std::string& ossBucket);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getOssObjectPrefix()const;
|
||||
void setOssObjectPrefix(const std::string& ossObjectPrefix);
|
||||
|
||||
private:
|
||||
std::string ossEndpoint_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string ossBucket_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string ossObjectPrefix_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_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 BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchDeleteCdnDomainConfigRequest();
|
||||
~BatchDeleteCdnDomainConfigRequest();
|
||||
|
||||
std::string getFunctionNames()const;
|
||||
void setFunctionNames(const std::string& functionNames);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string functionNames_;
|
||||
std::string domainNames_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_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 DeleteHttpHeaderConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteHttpHeaderConfigRequest();
|
||||
~DeleteHttpHeaderConfigRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getConfigID()const;
|
||||
void setConfigID(const std::string& configID);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string configID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_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 DescribeLiveRecordConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveAppRecord
|
||||
{
|
||||
std::string ossEndpoint;
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
std::string ossBucket;
|
||||
std::string ossObjectPrefix;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveRecordConfigResult();
|
||||
explicit DescribeLiveRecordConfigResult(const std::string &payload);
|
||||
~DescribeLiveRecordConfigResult();
|
||||
std::vector<LiveAppRecord> getLiveAppRecordList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LiveAppRecord> liveAppRecordList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGRESULT_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_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_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 DescribeLiveSnapshotConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveSnapshotConfigRequest();
|
||||
~DescribeLiveSnapshotConfigRequest();
|
||||
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getStreamName()const;
|
||||
void setStreamName(const std::string& streamName);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
int pageNum_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
int pageSize_;
|
||||
std::string streamName_;
|
||||
std::string order_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_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 DescribeLiveSnapshotConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveStreamSnapshotConfig
|
||||
{
|
||||
std::string overwriteOssObject;
|
||||
std::string sequenceOssObject;
|
||||
int timeInterval;
|
||||
std::string ossEndpoint;
|
||||
std::string domainName;
|
||||
std::string createTime;
|
||||
std::string ossBucket;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveSnapshotConfigResult();
|
||||
explicit DescribeLiveSnapshotConfigResult(const std::string &payload);
|
||||
~DescribeLiveSnapshotConfigResult();
|
||||
std::string getOrder()const;
|
||||
int getTotalNum()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<LiveStreamSnapshotConfig> getLiveStreamSnapshotConfigList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string order_;
|
||||
int totalNum_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
std::vector<LiveStreamSnapshotConfig> liveStreamSnapshotConfigList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESNAPSHOTCONFIGRESULT_H_
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_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 DescribeLiveStreamTranscodeInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamTranscodeInfoRequest();
|
||||
~DescribeLiveStreamTranscodeInfoRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDomainTranscodeName()const;
|
||||
void setDomainTranscodeName(const std::string& domainTranscodeName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string domainTranscodeName_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_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 DescribeLiveStreamTranscodeInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainTranscodeInfo
|
||||
{
|
||||
std::string transcodeTemplate;
|
||||
std::string transcodeRecord;
|
||||
std::string transcodeId;
|
||||
std::string transcodeSnapshot;
|
||||
std::string transcodeApp;
|
||||
std::string transcodeName;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult();
|
||||
explicit DescribeLiveStreamTranscodeInfoResult(const std::string &payload);
|
||||
~DescribeLiveStreamTranscodeInfoResult();
|
||||
std::vector<DomainTranscodeInfo> getDomainTranscodeList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DomainTranscodeInfo> domainTranscodeList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMTRANSCODEINFORESULT_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_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_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 DescribeLiveStreamsControlHistoryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveStreamsControlHistoryRequest();
|
||||
~DescribeLiveStreamsControlHistoryRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_
|
||||
@@ -1,58 +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_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_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 DescribeLiveStreamsControlHistoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveStreamControlInfo
|
||||
{
|
||||
std::string action;
|
||||
std::string streamName;
|
||||
std::string clientIP;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult();
|
||||
explicit DescribeLiveStreamsControlHistoryResult(const std::string &payload);
|
||||
~DescribeLiveStreamsControlHistoryResult();
|
||||
std::vector<LiveStreamControlInfo> getControlInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LiveStreamControlInfo> controlInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYRESULT_H_
|
||||
@@ -123,42 +123,6 @@ CdnClient::AddFCTriggerOutcomeCallable CdnClient::addFCTriggerCallable(const Add
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::AddLiveAppRecordConfigOutcome CdnClient::addLiveAppRecordConfig(const AddLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddLiveAppRecordConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddLiveAppRecordConfigOutcome(AddLiveAppRecordConfigResult(outcome.result()));
|
||||
else
|
||||
return AddLiveAppRecordConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::addLiveAppRecordConfigAsync(const AddLiveAppRecordConfigRequest& request, const AddLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addLiveAppRecordConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::AddLiveAppRecordConfigOutcomeCallable CdnClient::addLiveAppRecordConfigCallable(const AddLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddLiveAppRecordConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addLiveAppRecordConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchAddCdnDomainOutcome CdnClient::batchAddCdnDomain(const BatchAddCdnDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,42 +159,6 @@ CdnClient::BatchAddCdnDomainOutcomeCallable CdnClient::batchAddCdnDomainCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchDeleteCdnDomainConfigOutcome CdnClient::batchDeleteCdnDomainConfig(const BatchDeleteCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchDeleteCdnDomainConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchDeleteCdnDomainConfigOutcome(BatchDeleteCdnDomainConfigResult(outcome.result()));
|
||||
else
|
||||
return BatchDeleteCdnDomainConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::batchDeleteCdnDomainConfigAsync(const BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchDeleteCdnDomainConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::BatchDeleteCdnDomainConfigOutcomeCallable CdnClient::batchDeleteCdnDomainConfigCallable(const BatchDeleteCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchDeleteCdnDomainConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchDeleteCdnDomainConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchSetCdnDomainConfigOutcome CdnClient::batchSetCdnDomainConfig(const BatchSetCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,42 +807,6 @@ CdnClient::DeleteFCTriggerOutcomeCallable CdnClient::deleteFCTriggerCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteHttpHeaderConfigOutcome CdnClient::deleteHttpHeaderConfig(const DeleteHttpHeaderConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteHttpHeaderConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteHttpHeaderConfigOutcome(DeleteHttpHeaderConfigResult(outcome.result()));
|
||||
else
|
||||
return DeleteHttpHeaderConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteHttpHeaderConfigAsync(const DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteHttpHeaderConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteHttpHeaderConfigOutcomeCallable CdnClient::deleteHttpHeaderConfigCallable(const DeleteHttpHeaderConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteHttpHeaderConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteHttpHeaderConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3327,42 +3219,6 @@ CdnClient::DescribeDomainReqHitRateDataOutcomeCallable CdnClient::describeDomain
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainSlowRatioOutcome CdnClient::describeDomainSlowRatio(const DescribeDomainSlowRatioRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainSlowRatioOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainSlowRatioOutcome(DescribeDomainSlowRatioResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainSlowRatioOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainSlowRatioAsync(const DescribeDomainSlowRatioRequest& request, const DescribeDomainSlowRatioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainSlowRatio(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainSlowRatioOutcomeCallable CdnClient::describeDomainSlowRatioCallable(const DescribeDomainSlowRatioRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainSlowRatioOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainSlowRatio(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainSrcBpsDataOutcome CdnClient::describeDomainSrcBpsData(const DescribeDomainSrcBpsDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4083,42 +3939,6 @@ CdnClient::DescribeL2VipsByDomainOutcomeCallable CdnClient::describeL2VipsByDoma
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeL2VipsByDynamicDomainOutcome CdnClient::describeL2VipsByDynamicDomain(const DescribeL2VipsByDynamicDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeL2VipsByDynamicDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeL2VipsByDynamicDomainOutcome(DescribeL2VipsByDynamicDomainResult(outcome.result()));
|
||||
else
|
||||
return DescribeL2VipsByDynamicDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeL2VipsByDynamicDomainAsync(const DescribeL2VipsByDynamicDomainRequest& request, const DescribeL2VipsByDynamicDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeL2VipsByDynamicDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeL2VipsByDynamicDomainOutcomeCallable CdnClient::describeL2VipsByDynamicDomainCallable(const DescribeL2VipsByDynamicDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeL2VipsByDynamicDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeL2VipsByDynamicDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLivePullStreamConfigOutcome CdnClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4155,78 +3975,6 @@ CdnClient::DescribeLivePullStreamConfigOutcomeCallable CdnClient::describeLivePu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveRecordConfigOutcome CdnClient::describeLiveRecordConfig(const DescribeLiveRecordConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveRecordConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveRecordConfigOutcome(DescribeLiveRecordConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveRecordConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveRecordConfigAsync(const DescribeLiveRecordConfigRequest& request, const DescribeLiveRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveRecordConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveRecordConfigOutcomeCallable CdnClient::describeLiveRecordConfigCallable(const DescribeLiveRecordConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveRecordConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveRecordConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveSnapshotConfigOutcome CdnClient::describeLiveSnapshotConfig(const DescribeLiveSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveSnapshotConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveSnapshotConfigOutcome(DescribeLiveSnapshotConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveSnapshotConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveSnapshotConfigAsync(const DescribeLiveSnapshotConfigRequest& request, const DescribeLiveSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveSnapshotConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveSnapshotConfigOutcomeCallable CdnClient::describeLiveSnapshotConfigCallable(const DescribeLiveSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveSnapshotConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveSnapshotConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamBitRateDataOutcome CdnClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4443,42 +4191,6 @@ CdnClient::DescribeLiveStreamSnapshotInfoOutcomeCallable CdnClient::describeLive
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamTranscodeInfoOutcome CdnClient::describeLiveStreamTranscodeInfo(const DescribeLiveStreamTranscodeInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamTranscodeInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamTranscodeInfoOutcome(DescribeLiveStreamTranscodeInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamTranscodeInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveStreamTranscodeInfoAsync(const DescribeLiveStreamTranscodeInfoRequest& request, const DescribeLiveStreamTranscodeInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamTranscodeInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamTranscodeInfoOutcomeCallable CdnClient::describeLiveStreamTranscodeInfoCallable(const DescribeLiveStreamTranscodeInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamTranscodeInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamTranscodeInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsBlockListOutcome CdnClient::describeLiveStreamsBlockList(const DescribeLiveStreamsBlockListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4515,42 +4227,6 @@ CdnClient::DescribeLiveStreamsBlockListOutcomeCallable CdnClient::describeLiveSt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsControlHistoryOutcome CdnClient::describeLiveStreamsControlHistory(const DescribeLiveStreamsControlHistoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamsControlHistoryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamsControlHistoryOutcome(DescribeLiveStreamsControlHistoryResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamsControlHistoryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeLiveStreamsControlHistoryAsync(const DescribeLiveStreamsControlHistoryRequest& request, const DescribeLiveStreamsControlHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamsControlHistory(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsControlHistoryOutcomeCallable CdnClient::describeLiveStreamsControlHistoryCallable(const DescribeLiveStreamsControlHistoryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamsControlHistoryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamsControlHistory(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeLiveStreamsFrameRateAndBitRateDataOutcome CdnClient::describeLiveStreamsFrameRateAndBitRateData(const DescribeLiveStreamsFrameRateAndBitRateDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5019,42 +4695,6 @@ CdnClient::DescribeUserConfigsOutcomeCallable CdnClient::describeUserConfigsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomLogConfigOutcome CdnClient::describeUserCustomLogConfig(const DescribeUserCustomLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeUserCustomLogConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeUserCustomLogConfigOutcome(DescribeUserCustomLogConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeUserCustomLogConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeUserCustomLogConfigAsync(const DescribeUserCustomLogConfigRequest& request, const DescribeUserCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeUserCustomLogConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomLogConfigOutcomeCallable CdnClient::describeUserCustomLogConfigCallable(const DescribeUserCustomLogConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeUserCustomLogConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeUserCustomLogConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomerLabelsOutcome CdnClient::describeUserCustomerLabels(const DescribeUserCustomerLabelsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,106 +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/AddLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::AddLiveAppRecordConfigRequest;
|
||||
|
||||
AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "AddLiveAppRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long AddLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssObjectPrefix()const
|
||||
{
|
||||
return ossObjectPrefix_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssObjectPrefix(const std::string& ossObjectPrefix)
|
||||
{
|
||||
ossObjectPrefix_ = ossObjectPrefix;
|
||||
setParameter("OssObjectPrefix", ossObjectPrefix);
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest;
|
||||
|
||||
BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "BatchDeleteCdnDomainConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchDeleteCdnDomainConfigRequest::~BatchDeleteCdnDomainConfigRequest()
|
||||
{}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getFunctionNames()const
|
||||
{
|
||||
return functionNames_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setFunctionNames(const std::string& functionNames)
|
||||
{
|
||||
functionNames_ = functionNames;
|
||||
setParameter("FunctionNames", functionNames);
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long BatchDeleteCdnDomainConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -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/DeleteHttpHeaderConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteHttpHeaderConfigRequest;
|
||||
|
||||
DeleteHttpHeaderConfigRequest::DeleteHttpHeaderConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteHttpHeaderConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteHttpHeaderConfigRequest::~DeleteHttpHeaderConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteHttpHeaderConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteHttpHeaderConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteHttpHeaderConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteHttpHeaderConfigRequest::getConfigID()const
|
||||
{
|
||||
return configID_;
|
||||
}
|
||||
|
||||
void DeleteHttpHeaderConfigRequest::setConfigID(const std::string& configID)
|
||||
{
|
||||
configID_ = configID;
|
||||
setParameter("ConfigID", configID);
|
||||
}
|
||||
|
||||
@@ -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/DescribeDomainSlowRatioRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeDomainSlowRatioRequest;
|
||||
|
||||
DescribeDomainSlowRatioRequest::DescribeDomainSlowRatioRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeDomainSlowRatio")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeDomainSlowRatioRequest::~DescribeDomainSlowRatioRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainSlowRatioRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDomainSlowRatioRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDomainSlowRatioRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,113 +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/DescribeDomainSlowRatioResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeDomainSlowRatioResult::DescribeDomainSlowRatioResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainSlowRatioResult::DescribeDomainSlowRatioResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainSlowRatioResult::~DescribeDomainSlowRatioResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainSlowRatioResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSlowRatioDataPerIntervalNode = value["SlowRatioDataPerInterval"]["SlowRatioData"];
|
||||
for (auto valueSlowRatioDataPerIntervalSlowRatioData : allSlowRatioDataPerIntervalNode)
|
||||
{
|
||||
SlowRatioData slowRatioDataPerIntervalObject;
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["TotalUsers"].isNull())
|
||||
slowRatioDataPerIntervalObject.totalUsers = std::stoi(valueSlowRatioDataPerIntervalSlowRatioData["TotalUsers"].asString());
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["SlowUsers"].isNull())
|
||||
slowRatioDataPerIntervalObject.slowUsers = std::stoi(valueSlowRatioDataPerIntervalSlowRatioData["SlowUsers"].asString());
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["SlowRatio"].isNull())
|
||||
slowRatioDataPerIntervalObject.slowRatio = std::stof(valueSlowRatioDataPerIntervalSlowRatioData["SlowRatio"].asString());
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["RegionNameZh"].isNull())
|
||||
slowRatioDataPerIntervalObject.regionNameZh = valueSlowRatioDataPerIntervalSlowRatioData["RegionNameZh"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["RegionNameEn"].isNull())
|
||||
slowRatioDataPerIntervalObject.regionNameEn = valueSlowRatioDataPerIntervalSlowRatioData["RegionNameEn"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["IspNameZh"].isNull())
|
||||
slowRatioDataPerIntervalObject.ispNameZh = valueSlowRatioDataPerIntervalSlowRatioData["IspNameZh"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["IspNameEn"].isNull())
|
||||
slowRatioDataPerIntervalObject.ispNameEn = valueSlowRatioDataPerIntervalSlowRatioData["IspNameEn"].asString();
|
||||
if(!valueSlowRatioDataPerIntervalSlowRatioData["Time"].isNull())
|
||||
slowRatioDataPerIntervalObject.time = valueSlowRatioDataPerIntervalSlowRatioData["Time"].asString();
|
||||
slowRatioDataPerInterval_.push_back(slowRatioDataPerIntervalObject);
|
||||
}
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = std::stoi(value["DataInterval"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeDomainSlowRatioResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainSlowRatioResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainSlowRatioResult::SlowRatioData> DescribeDomainSlowRatioResult::getSlowRatioDataPerInterval()const
|
||||
{
|
||||
return slowRatioDataPerInterval_;
|
||||
}
|
||||
|
||||
@@ -1,51 +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/DescribeL2VipsByDynamicDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeL2VipsByDynamicDomainRequest;
|
||||
|
||||
DescribeL2VipsByDynamicDomainRequest::DescribeL2VipsByDynamicDomainRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeL2VipsByDynamicDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeL2VipsByDynamicDomainRequest::~DescribeL2VipsByDynamicDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeL2VipsByDynamicDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeL2VipsByDynamicDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeL2VipsByDynamicDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeL2VipsByDynamicDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,59 +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/DescribeL2VipsByDynamicDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult::DescribeL2VipsByDynamicDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult::DescribeL2VipsByDynamicDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult::~DescribeL2VipsByDynamicDomainResult()
|
||||
{}
|
||||
|
||||
void DescribeL2VipsByDynamicDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allVips = value["Vips"]["Vip"];
|
||||
for (const auto &item : allVips)
|
||||
vips_.push_back(item.asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeL2VipsByDynamicDomainResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeL2VipsByDynamicDomainResult::getVips()const
|
||||
{
|
||||
return vips_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveRecordConfigRequest;
|
||||
|
||||
DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,67 +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/DescribeLiveRecordConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveRecordConfigResult::DescribeLiveRecordConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveRecordConfigResult::~DescribeLiveRecordConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveAppRecordListNode = value["LiveAppRecordList"]["LiveAppRecord"];
|
||||
for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode)
|
||||
{
|
||||
LiveAppRecord liveAppRecordListObject;
|
||||
if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull())
|
||||
liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull())
|
||||
liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["OssEndpoint"].isNull())
|
||||
liveAppRecordListObject.ossEndpoint = valueLiveAppRecordListLiveAppRecord["OssEndpoint"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["OssBucket"].isNull())
|
||||
liveAppRecordListObject.ossBucket = valueLiveAppRecordListLiveAppRecord["OssBucket"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["OssObjectPrefix"].isNull())
|
||||
liveAppRecordListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecord["OssObjectPrefix"].asString();
|
||||
if(!valueLiveAppRecordListLiveAppRecord["CreateTime"].isNull())
|
||||
liveAppRecordListObject.createTime = valueLiveAppRecordListLiveAppRecord["CreateTime"].asString();
|
||||
liveAppRecordList_.push_back(liveAppRecordListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveRecordConfigResult::LiveAppRecord> DescribeLiveRecordConfigResult::getLiveAppRecordList()const
|
||||
{
|
||||
return liveAppRecordList_;
|
||||
}
|
||||
|
||||
@@ -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/DescribeLiveSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveSnapshotConfigRequest;
|
||||
|
||||
DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveSnapshotConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
int DescribeLiveSnapshotConfigRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,106 +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/DescribeLiveSnapshotConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveSnapshotConfigResult::DescribeLiveSnapshotConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveSnapshotConfigResult::~DescribeLiveSnapshotConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveStreamSnapshotConfigListNode = value["LiveStreamSnapshotConfigList"]["LiveStreamSnapshotConfig"];
|
||||
for (auto valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig : allLiveStreamSnapshotConfigListNode)
|
||||
{
|
||||
LiveStreamSnapshotConfig liveStreamSnapshotConfigListObject;
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].isNull())
|
||||
liveStreamSnapshotConfigListObject.domainName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].isNull())
|
||||
liveStreamSnapshotConfigListObject.appName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].isNull())
|
||||
liveStreamSnapshotConfigListObject.timeInterval = std::stoi(valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].asString());
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].isNull())
|
||||
liveStreamSnapshotConfigListObject.ossEndpoint = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].isNull())
|
||||
liveStreamSnapshotConfigListObject.ossBucket = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].isNull())
|
||||
liveStreamSnapshotConfigListObject.overwriteOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].isNull())
|
||||
liveStreamSnapshotConfigListObject.sequenceOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].asString();
|
||||
if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].isNull())
|
||||
liveStreamSnapshotConfigListObject.createTime = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].asString();
|
||||
liveStreamSnapshotConfigList_.push_back(liveStreamSnapshotConfigListObject);
|
||||
}
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Order"].isNull())
|
||||
order_ = value["Order"].asString();
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stoi(value["TotalNum"].asString());
|
||||
if(!value["TotalPage"].isNull())
|
||||
totalPage_ = std::stoi(value["TotalPage"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeLiveSnapshotConfigResult::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeLiveSnapshotConfigResult::getTotalPage()const
|
||||
{
|
||||
return totalPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveSnapshotConfigResult::LiveStreamSnapshotConfig> DescribeLiveSnapshotConfigResult::getLiveStreamSnapshotConfigList()const
|
||||
{
|
||||
return liveStreamSnapshotConfigList_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveStreamTranscodeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveStreamTranscodeInfoRequest;
|
||||
|
||||
DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamTranscodeInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const
|
||||
{
|
||||
return domainTranscodeName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string& domainTranscodeName)
|
||||
{
|
||||
domainTranscodeName_ = domainTranscodeName;
|
||||
setParameter("DomainTranscodeName", domainTranscodeName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamTranscodeInfoRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,67 +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/DescribeLiveStreamTranscodeInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult::DescribeLiveStreamTranscodeInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamTranscodeInfoResult::~DescribeLiveStreamTranscodeInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainTranscodeListNode = value["DomainTranscodeList"]["DomainTranscodeInfo"];
|
||||
for (auto valueDomainTranscodeListDomainTranscodeInfo : allDomainTranscodeListNode)
|
||||
{
|
||||
DomainTranscodeInfo domainTranscodeListObject;
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].isNull())
|
||||
domainTranscodeListObject.transcodeApp = valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeId"].isNull())
|
||||
domainTranscodeListObject.transcodeId = valueDomainTranscodeListDomainTranscodeInfo["TranscodeId"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].isNull())
|
||||
domainTranscodeListObject.transcodeName = valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeRecord"].isNull())
|
||||
domainTranscodeListObject.transcodeRecord = valueDomainTranscodeListDomainTranscodeInfo["TranscodeRecord"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeSnapshot"].isNull())
|
||||
domainTranscodeListObject.transcodeSnapshot = valueDomainTranscodeListDomainTranscodeInfo["TranscodeSnapshot"].asString();
|
||||
if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].isNull())
|
||||
domainTranscodeListObject.transcodeTemplate = valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].asString();
|
||||
domainTranscodeList_.push_back(domainTranscodeListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveStreamTranscodeInfoResult::DomainTranscodeInfo> DescribeLiveStreamTranscodeInfoResult::getDomainTranscodeList()const
|
||||
{
|
||||
return domainTranscodeList_;
|
||||
}
|
||||
|
||||
@@ -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/DescribeLiveStreamsControlHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeLiveStreamsControlHistoryRequest;
|
||||
|
||||
DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeLiveStreamsControlHistory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeLiveStreamsControlHistoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult::DescribeLiveStreamsControlHistoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamsControlHistoryResult::~DescribeLiveStreamsControlHistoryResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamsControlHistoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allControlInfoNode = value["ControlInfo"]["LiveStreamControlInfo"];
|
||||
for (auto valueControlInfoLiveStreamControlInfo : allControlInfoNode)
|
||||
{
|
||||
LiveStreamControlInfo controlInfoObject;
|
||||
if(!valueControlInfoLiveStreamControlInfo["StreamName"].isNull())
|
||||
controlInfoObject.streamName = valueControlInfoLiveStreamControlInfo["StreamName"].asString();
|
||||
if(!valueControlInfoLiveStreamControlInfo["ClientIP"].isNull())
|
||||
controlInfoObject.clientIP = valueControlInfoLiveStreamControlInfo["ClientIP"].asString();
|
||||
if(!valueControlInfoLiveStreamControlInfo["Action"].isNull())
|
||||
controlInfoObject.action = valueControlInfoLiveStreamControlInfo["Action"].asString();
|
||||
if(!valueControlInfoLiveStreamControlInfo["TimeStamp"].isNull())
|
||||
controlInfoObject.timeStamp = valueControlInfoLiveStreamControlInfo["TimeStamp"].asString();
|
||||
controlInfo_.push_back(controlInfoObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveStreamsControlHistoryResult::LiveStreamControlInfo> DescribeLiveStreamsControlHistoryResult::getControlInfo()const
|
||||
{
|
||||
return controlInfo_;
|
||||
}
|
||||
|
||||
@@ -21,37 +21,137 @@ set(dbfs_public_header
|
||||
include/alibabacloud/dbfs/DBFSExport.h )
|
||||
|
||||
set(dbfs_public_header_model
|
||||
include/alibabacloud/dbfs/model/AddTagsBatchRequest.h
|
||||
include/alibabacloud/dbfs/model/AddTagsBatchResult.h
|
||||
include/alibabacloud/dbfs/model/AttachDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/AttachDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/CreateConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/CreateConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/CreateDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/CreateDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/CreateServiceLinkedRoleRequest.h
|
||||
include/alibabacloud/dbfs/model/CreateServiceLinkedRoleResult.h
|
||||
include/alibabacloud/dbfs/model/CreateSnapshotRequest.h
|
||||
include/alibabacloud/dbfs/model/CreateSnapshotResult.h
|
||||
include/alibabacloud/dbfs/model/DbfsRecordRequest.h
|
||||
include/alibabacloud/dbfs/model/DbfsRecordResult.h
|
||||
include/alibabacloud/dbfs/model/DeleteConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/DeleteConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/DeleteDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/DeleteDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/DeleteSnapshotRequest.h
|
||||
include/alibabacloud/dbfs/model/DeleteSnapshotResult.h
|
||||
include/alibabacloud/dbfs/model/DeleteTagsBatchRequest.h
|
||||
include/alibabacloud/dbfs/model/DeleteTagsBatchResult.h
|
||||
include/alibabacloud/dbfs/model/DetachDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/DetachDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/GenerateUpgradeRecordRequest.h
|
||||
include/alibabacloud/dbfs/model/GenerateUpgradeRecordResult.h
|
||||
include/alibabacloud/dbfs/model/GetDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/GetDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/GetServiceLinkedRoleRequest.h
|
||||
include/alibabacloud/dbfs/model/GetServiceLinkedRoleResult.h
|
||||
include/alibabacloud/dbfs/model/GetSynchronizConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/GetSynchronizConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/InsertSynchronizConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/InsertSynchronizConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/ListConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/ListConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/ListDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/ListDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/ListSnapshotRequest.h
|
||||
include/alibabacloud/dbfs/model/ListSnapshotResult.h
|
||||
include/alibabacloud/dbfs/model/ListTagKeysRequest.h
|
||||
include/alibabacloud/dbfs/model/ListTagKeysResult.h
|
||||
include/alibabacloud/dbfs/model/ListTagValuesRequest.h
|
||||
include/alibabacloud/dbfs/model/ListTagValuesResult.h
|
||||
include/alibabacloud/dbfs/model/ListTaskRequest.h
|
||||
include/alibabacloud/dbfs/model/ListTaskResult.h
|
||||
include/alibabacloud/dbfs/model/OpreateConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/OpreateConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/PublishUpgradeTaskRequest.h
|
||||
include/alibabacloud/dbfs/model/PublishUpgradeTaskResult.h
|
||||
include/alibabacloud/dbfs/model/RenameDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/RenameDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/ResetDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/ResetDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/ResizeDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/ResizeDbfsResult.h )
|
||||
include/alibabacloud/dbfs/model/ResizeDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/StopUpgradeTaskRequest.h
|
||||
include/alibabacloud/dbfs/model/StopUpgradeTaskResult.h
|
||||
include/alibabacloud/dbfs/model/TagDbfsRequest.h
|
||||
include/alibabacloud/dbfs/model/TagDbfsResult.h
|
||||
include/alibabacloud/dbfs/model/UpdateConstantsRequest.h
|
||||
include/alibabacloud/dbfs/model/UpdateConstantsResult.h
|
||||
include/alibabacloud/dbfs/model/UpdateTaskRequest.h
|
||||
include/alibabacloud/dbfs/model/UpdateTaskResult.h )
|
||||
|
||||
set(dbfs_src
|
||||
src/DBFSClient.cc
|
||||
src/model/AddTagsBatchRequest.cc
|
||||
src/model/AddTagsBatchResult.cc
|
||||
src/model/AttachDbfsRequest.cc
|
||||
src/model/AttachDbfsResult.cc
|
||||
src/model/CreateConstantsRequest.cc
|
||||
src/model/CreateConstantsResult.cc
|
||||
src/model/CreateDbfsRequest.cc
|
||||
src/model/CreateDbfsResult.cc
|
||||
src/model/CreateServiceLinkedRoleRequest.cc
|
||||
src/model/CreateServiceLinkedRoleResult.cc
|
||||
src/model/CreateSnapshotRequest.cc
|
||||
src/model/CreateSnapshotResult.cc
|
||||
src/model/DbfsRecordRequest.cc
|
||||
src/model/DbfsRecordResult.cc
|
||||
src/model/DeleteConstantsRequest.cc
|
||||
src/model/DeleteConstantsResult.cc
|
||||
src/model/DeleteDbfsRequest.cc
|
||||
src/model/DeleteDbfsResult.cc
|
||||
src/model/DeleteSnapshotRequest.cc
|
||||
src/model/DeleteSnapshotResult.cc
|
||||
src/model/DeleteTagsBatchRequest.cc
|
||||
src/model/DeleteTagsBatchResult.cc
|
||||
src/model/DetachDbfsRequest.cc
|
||||
src/model/DetachDbfsResult.cc
|
||||
src/model/GenerateUpgradeRecordRequest.cc
|
||||
src/model/GenerateUpgradeRecordResult.cc
|
||||
src/model/GetDbfsRequest.cc
|
||||
src/model/GetDbfsResult.cc
|
||||
src/model/GetServiceLinkedRoleRequest.cc
|
||||
src/model/GetServiceLinkedRoleResult.cc
|
||||
src/model/GetSynchronizConstantsRequest.cc
|
||||
src/model/GetSynchronizConstantsResult.cc
|
||||
src/model/InsertSynchronizConstantsRequest.cc
|
||||
src/model/InsertSynchronizConstantsResult.cc
|
||||
src/model/ListConstantsRequest.cc
|
||||
src/model/ListConstantsResult.cc
|
||||
src/model/ListDbfsRequest.cc
|
||||
src/model/ListDbfsResult.cc
|
||||
src/model/ListSnapshotRequest.cc
|
||||
src/model/ListSnapshotResult.cc
|
||||
src/model/ListTagKeysRequest.cc
|
||||
src/model/ListTagKeysResult.cc
|
||||
src/model/ListTagValuesRequest.cc
|
||||
src/model/ListTagValuesResult.cc
|
||||
src/model/ListTaskRequest.cc
|
||||
src/model/ListTaskResult.cc
|
||||
src/model/OpreateConstantsRequest.cc
|
||||
src/model/OpreateConstantsResult.cc
|
||||
src/model/PublishUpgradeTaskRequest.cc
|
||||
src/model/PublishUpgradeTaskResult.cc
|
||||
src/model/RenameDbfsRequest.cc
|
||||
src/model/RenameDbfsResult.cc
|
||||
src/model/ResetDbfsRequest.cc
|
||||
src/model/ResetDbfsResult.cc
|
||||
src/model/ResizeDbfsRequest.cc
|
||||
src/model/ResizeDbfsResult.cc )
|
||||
src/model/ResizeDbfsResult.cc
|
||||
src/model/StopUpgradeTaskRequest.cc
|
||||
src/model/StopUpgradeTaskResult.cc
|
||||
src/model/TagDbfsRequest.cc
|
||||
src/model/TagDbfsResult.cc
|
||||
src/model/UpdateConstantsRequest.cc
|
||||
src/model/UpdateConstantsResult.cc
|
||||
src/model/UpdateTaskRequest.cc
|
||||
src/model/UpdateTaskResult.cc )
|
||||
|
||||
add_library(dbfs ${LIB_TYPE}
|
||||
${dbfs_public_header}
|
||||
|
||||
@@ -22,20 +22,70 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DBFSExport.h"
|
||||
#include "model/AddTagsBatchRequest.h"
|
||||
#include "model/AddTagsBatchResult.h"
|
||||
#include "model/AttachDbfsRequest.h"
|
||||
#include "model/AttachDbfsResult.h"
|
||||
#include "model/CreateConstantsRequest.h"
|
||||
#include "model/CreateConstantsResult.h"
|
||||
#include "model/CreateDbfsRequest.h"
|
||||
#include "model/CreateDbfsResult.h"
|
||||
#include "model/CreateServiceLinkedRoleRequest.h"
|
||||
#include "model/CreateServiceLinkedRoleResult.h"
|
||||
#include "model/CreateSnapshotRequest.h"
|
||||
#include "model/CreateSnapshotResult.h"
|
||||
#include "model/DbfsRecordRequest.h"
|
||||
#include "model/DbfsRecordResult.h"
|
||||
#include "model/DeleteConstantsRequest.h"
|
||||
#include "model/DeleteConstantsResult.h"
|
||||
#include "model/DeleteDbfsRequest.h"
|
||||
#include "model/DeleteDbfsResult.h"
|
||||
#include "model/DeleteSnapshotRequest.h"
|
||||
#include "model/DeleteSnapshotResult.h"
|
||||
#include "model/DeleteTagsBatchRequest.h"
|
||||
#include "model/DeleteTagsBatchResult.h"
|
||||
#include "model/DetachDbfsRequest.h"
|
||||
#include "model/DetachDbfsResult.h"
|
||||
#include "model/GenerateUpgradeRecordRequest.h"
|
||||
#include "model/GenerateUpgradeRecordResult.h"
|
||||
#include "model/GetDbfsRequest.h"
|
||||
#include "model/GetDbfsResult.h"
|
||||
#include "model/GetServiceLinkedRoleRequest.h"
|
||||
#include "model/GetServiceLinkedRoleResult.h"
|
||||
#include "model/GetSynchronizConstantsRequest.h"
|
||||
#include "model/GetSynchronizConstantsResult.h"
|
||||
#include "model/InsertSynchronizConstantsRequest.h"
|
||||
#include "model/InsertSynchronizConstantsResult.h"
|
||||
#include "model/ListConstantsRequest.h"
|
||||
#include "model/ListConstantsResult.h"
|
||||
#include "model/ListDbfsRequest.h"
|
||||
#include "model/ListDbfsResult.h"
|
||||
#include "model/ListSnapshotRequest.h"
|
||||
#include "model/ListSnapshotResult.h"
|
||||
#include "model/ListTagKeysRequest.h"
|
||||
#include "model/ListTagKeysResult.h"
|
||||
#include "model/ListTagValuesRequest.h"
|
||||
#include "model/ListTagValuesResult.h"
|
||||
#include "model/ListTaskRequest.h"
|
||||
#include "model/ListTaskResult.h"
|
||||
#include "model/OpreateConstantsRequest.h"
|
||||
#include "model/OpreateConstantsResult.h"
|
||||
#include "model/PublishUpgradeTaskRequest.h"
|
||||
#include "model/PublishUpgradeTaskResult.h"
|
||||
#include "model/RenameDbfsRequest.h"
|
||||
#include "model/RenameDbfsResult.h"
|
||||
#include "model/ResetDbfsRequest.h"
|
||||
#include "model/ResetDbfsResult.h"
|
||||
#include "model/ResizeDbfsRequest.h"
|
||||
#include "model/ResizeDbfsResult.h"
|
||||
#include "model/StopUpgradeTaskRequest.h"
|
||||
#include "model/StopUpgradeTaskResult.h"
|
||||
#include "model/TagDbfsRequest.h"
|
||||
#include "model/TagDbfsResult.h"
|
||||
#include "model/UpdateConstantsRequest.h"
|
||||
#include "model/UpdateConstantsResult.h"
|
||||
#include "model/UpdateTaskRequest.h"
|
||||
#include "model/UpdateTaskResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -45,53 +95,203 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DBFS_EXPORT DBFSClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddTagsBatchResult> AddTagsBatchOutcome;
|
||||
typedef std::future<AddTagsBatchOutcome> AddTagsBatchOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::AddTagsBatchRequest&, const AddTagsBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTagsBatchAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachDbfsResult> AttachDbfsOutcome;
|
||||
typedef std::future<AttachDbfsOutcome> AttachDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::AttachDbfsRequest&, const AttachDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConstantsResult> CreateConstantsOutcome;
|
||||
typedef std::future<CreateConstantsOutcome> CreateConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::CreateConstantsRequest&, const CreateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDbfsResult> CreateDbfsOutcome;
|
||||
typedef std::future<CreateDbfsOutcome> CreateDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::CreateDbfsRequest&, const CreateDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceLinkedRoleResult> CreateServiceLinkedRoleOutcome;
|
||||
typedef std::future<CreateServiceLinkedRoleOutcome> CreateServiceLinkedRoleOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::CreateServiceLinkedRoleRequest&, const CreateServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceLinkedRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSnapshotResult> CreateSnapshotOutcome;
|
||||
typedef std::future<CreateSnapshotOutcome> CreateSnapshotOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::CreateSnapshotRequest&, const CreateSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnapshotAsyncHandler;
|
||||
typedef Outcome<Error, Model::DbfsRecordResult> DbfsRecordOutcome;
|
||||
typedef std::future<DbfsRecordOutcome> DbfsRecordOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::DbfsRecordRequest&, const DbfsRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DbfsRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConstantsResult> DeleteConstantsOutcome;
|
||||
typedef std::future<DeleteConstantsOutcome> DeleteConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::DeleteConstantsRequest&, const DeleteConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDbfsResult> DeleteDbfsOutcome;
|
||||
typedef std::future<DeleteDbfsOutcome> DeleteDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::DeleteDbfsRequest&, const DeleteDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSnapshotResult> DeleteSnapshotOutcome;
|
||||
typedef std::future<DeleteSnapshotOutcome> DeleteSnapshotOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::DeleteSnapshotRequest&, const DeleteSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTagsBatchResult> DeleteTagsBatchOutcome;
|
||||
typedef std::future<DeleteTagsBatchOutcome> DeleteTagsBatchOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::DeleteTagsBatchRequest&, const DeleteTagsBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagsBatchAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachDbfsResult> DetachDbfsOutcome;
|
||||
typedef std::future<DetachDbfsOutcome> DetachDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::DetachDbfsRequest&, const DetachDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GenerateUpgradeRecordResult> GenerateUpgradeRecordOutcome;
|
||||
typedef std::future<GenerateUpgradeRecordOutcome> GenerateUpgradeRecordOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::GenerateUpgradeRecordRequest&, const GenerateUpgradeRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateUpgradeRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDbfsResult> GetDbfsOutcome;
|
||||
typedef std::future<GetDbfsOutcome> GetDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::GetDbfsRequest&, const GetDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceLinkedRoleResult> GetServiceLinkedRoleOutcome;
|
||||
typedef std::future<GetServiceLinkedRoleOutcome> GetServiceLinkedRoleOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::GetServiceLinkedRoleRequest&, const GetServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceLinkedRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSynchronizConstantsResult> GetSynchronizConstantsOutcome;
|
||||
typedef std::future<GetSynchronizConstantsOutcome> GetSynchronizConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::GetSynchronizConstantsRequest&, const GetSynchronizConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSynchronizConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::InsertSynchronizConstantsResult> InsertSynchronizConstantsOutcome;
|
||||
typedef std::future<InsertSynchronizConstantsOutcome> InsertSynchronizConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::InsertSynchronizConstantsRequest&, const InsertSynchronizConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertSynchronizConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListConstantsResult> ListConstantsOutcome;
|
||||
typedef std::future<ListConstantsOutcome> ListConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ListConstantsRequest&, const ListConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDbfsResult> ListDbfsOutcome;
|
||||
typedef std::future<ListDbfsOutcome> ListDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ListDbfsRequest&, const ListDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSnapshotResult> ListSnapshotOutcome;
|
||||
typedef std::future<ListSnapshotOutcome> ListSnapshotOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ListSnapshotRequest&, const ListSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSnapshotAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagKeysResult> ListTagKeysOutcome;
|
||||
typedef std::future<ListTagKeysOutcome> ListTagKeysOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ListTagKeysRequest&, const ListTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagKeysAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagValuesResult> ListTagValuesOutcome;
|
||||
typedef std::future<ListTagValuesOutcome> ListTagValuesOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ListTagValuesRequest&, const ListTagValuesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagValuesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTaskResult> ListTaskOutcome;
|
||||
typedef std::future<ListTaskOutcome> ListTaskOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ListTaskRequest&, const ListTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpreateConstantsResult> OpreateConstantsOutcome;
|
||||
typedef std::future<OpreateConstantsOutcome> OpreateConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::OpreateConstantsRequest&, const OpreateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpreateConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishUpgradeTaskResult> PublishUpgradeTaskOutcome;
|
||||
typedef std::future<PublishUpgradeTaskOutcome> PublishUpgradeTaskOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::PublishUpgradeTaskRequest&, const PublishUpgradeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishUpgradeTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenameDbfsResult> RenameDbfsOutcome;
|
||||
typedef std::future<RenameDbfsOutcome> RenameDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::RenameDbfsRequest&, const RenameDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetDbfsResult> ResetDbfsOutcome;
|
||||
typedef std::future<ResetDbfsOutcome> ResetDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ResetDbfsRequest&, const ResetDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResizeDbfsResult> ResizeDbfsOutcome;
|
||||
typedef std::future<ResizeDbfsOutcome> ResizeDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::ResizeDbfsRequest&, const ResizeDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopUpgradeTaskResult> StopUpgradeTaskOutcome;
|
||||
typedef std::future<StopUpgradeTaskOutcome> StopUpgradeTaskOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::StopUpgradeTaskRequest&, const StopUpgradeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopUpgradeTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagDbfsResult> TagDbfsOutcome;
|
||||
typedef std::future<TagDbfsOutcome> TagDbfsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::TagDbfsRequest&, const TagDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagDbfsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateConstantsResult> UpdateConstantsOutcome;
|
||||
typedef std::future<UpdateConstantsOutcome> UpdateConstantsOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::UpdateConstantsRequest&, const UpdateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConstantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateTaskResult> UpdateTaskOutcome;
|
||||
typedef std::future<UpdateTaskOutcome> UpdateTaskOutcomeCallable;
|
||||
typedef std::function<void(const DBFSClient*, const Model::UpdateTaskRequest&, const UpdateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTaskAsyncHandler;
|
||||
|
||||
DBFSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DBFSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DBFSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DBFSClient();
|
||||
AddTagsBatchOutcome addTagsBatch(const Model::AddTagsBatchRequest &request)const;
|
||||
void addTagsBatchAsync(const Model::AddTagsBatchRequest& request, const AddTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddTagsBatchOutcomeCallable addTagsBatchCallable(const Model::AddTagsBatchRequest& request) const;
|
||||
AttachDbfsOutcome attachDbfs(const Model::AttachDbfsRequest &request)const;
|
||||
void attachDbfsAsync(const Model::AttachDbfsRequest& request, const AttachDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachDbfsOutcomeCallable attachDbfsCallable(const Model::AttachDbfsRequest& request) const;
|
||||
CreateConstantsOutcome createConstants(const Model::CreateConstantsRequest &request)const;
|
||||
void createConstantsAsync(const Model::CreateConstantsRequest& request, const CreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConstantsOutcomeCallable createConstantsCallable(const Model::CreateConstantsRequest& request) const;
|
||||
CreateDbfsOutcome createDbfs(const Model::CreateDbfsRequest &request)const;
|
||||
void createDbfsAsync(const Model::CreateDbfsRequest& request, const CreateDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDbfsOutcomeCallable createDbfsCallable(const Model::CreateDbfsRequest& request) const;
|
||||
CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const;
|
||||
void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const;
|
||||
CreateSnapshotOutcome createSnapshot(const Model::CreateSnapshotRequest &request)const;
|
||||
void createSnapshotAsync(const Model::CreateSnapshotRequest& request, const CreateSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSnapshotOutcomeCallable createSnapshotCallable(const Model::CreateSnapshotRequest& request) const;
|
||||
DbfsRecordOutcome dbfsRecord(const Model::DbfsRecordRequest &request)const;
|
||||
void dbfsRecordAsync(const Model::DbfsRecordRequest& request, const DbfsRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DbfsRecordOutcomeCallable dbfsRecordCallable(const Model::DbfsRecordRequest& request) const;
|
||||
DeleteConstantsOutcome deleteConstants(const Model::DeleteConstantsRequest &request)const;
|
||||
void deleteConstantsAsync(const Model::DeleteConstantsRequest& request, const DeleteConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConstantsOutcomeCallable deleteConstantsCallable(const Model::DeleteConstantsRequest& request) const;
|
||||
DeleteDbfsOutcome deleteDbfs(const Model::DeleteDbfsRequest &request)const;
|
||||
void deleteDbfsAsync(const Model::DeleteDbfsRequest& request, const DeleteDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDbfsOutcomeCallable deleteDbfsCallable(const Model::DeleteDbfsRequest& request) const;
|
||||
DeleteSnapshotOutcome deleteSnapshot(const Model::DeleteSnapshotRequest &request)const;
|
||||
void deleteSnapshotAsync(const Model::DeleteSnapshotRequest& request, const DeleteSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSnapshotOutcomeCallable deleteSnapshotCallable(const Model::DeleteSnapshotRequest& request) const;
|
||||
DeleteTagsBatchOutcome deleteTagsBatch(const Model::DeleteTagsBatchRequest &request)const;
|
||||
void deleteTagsBatchAsync(const Model::DeleteTagsBatchRequest& request, const DeleteTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTagsBatchOutcomeCallable deleteTagsBatchCallable(const Model::DeleteTagsBatchRequest& request) const;
|
||||
DetachDbfsOutcome detachDbfs(const Model::DetachDbfsRequest &request)const;
|
||||
void detachDbfsAsync(const Model::DetachDbfsRequest& request, const DetachDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachDbfsOutcomeCallable detachDbfsCallable(const Model::DetachDbfsRequest& request) const;
|
||||
GenerateUpgradeRecordOutcome generateUpgradeRecord(const Model::GenerateUpgradeRecordRequest &request)const;
|
||||
void generateUpgradeRecordAsync(const Model::GenerateUpgradeRecordRequest& request, const GenerateUpgradeRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateUpgradeRecordOutcomeCallable generateUpgradeRecordCallable(const Model::GenerateUpgradeRecordRequest& request) const;
|
||||
GetDbfsOutcome getDbfs(const Model::GetDbfsRequest &request)const;
|
||||
void getDbfsAsync(const Model::GetDbfsRequest& request, const GetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDbfsOutcomeCallable getDbfsCallable(const Model::GetDbfsRequest& request) const;
|
||||
GetServiceLinkedRoleOutcome getServiceLinkedRole(const Model::GetServiceLinkedRoleRequest &request)const;
|
||||
void getServiceLinkedRoleAsync(const Model::GetServiceLinkedRoleRequest& request, const GetServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceLinkedRoleOutcomeCallable getServiceLinkedRoleCallable(const Model::GetServiceLinkedRoleRequest& request) const;
|
||||
GetSynchronizConstantsOutcome getSynchronizConstants(const Model::GetSynchronizConstantsRequest &request)const;
|
||||
void getSynchronizConstantsAsync(const Model::GetSynchronizConstantsRequest& request, const GetSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSynchronizConstantsOutcomeCallable getSynchronizConstantsCallable(const Model::GetSynchronizConstantsRequest& request) const;
|
||||
InsertSynchronizConstantsOutcome insertSynchronizConstants(const Model::InsertSynchronizConstantsRequest &request)const;
|
||||
void insertSynchronizConstantsAsync(const Model::InsertSynchronizConstantsRequest& request, const InsertSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InsertSynchronizConstantsOutcomeCallable insertSynchronizConstantsCallable(const Model::InsertSynchronizConstantsRequest& request) const;
|
||||
ListConstantsOutcome listConstants(const Model::ListConstantsRequest &request)const;
|
||||
void listConstantsAsync(const Model::ListConstantsRequest& request, const ListConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConstantsOutcomeCallable listConstantsCallable(const Model::ListConstantsRequest& request) const;
|
||||
ListDbfsOutcome listDbfs(const Model::ListDbfsRequest &request)const;
|
||||
void listDbfsAsync(const Model::ListDbfsRequest& request, const ListDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDbfsOutcomeCallable listDbfsCallable(const Model::ListDbfsRequest& request) const;
|
||||
ListSnapshotOutcome listSnapshot(const Model::ListSnapshotRequest &request)const;
|
||||
void listSnapshotAsync(const Model::ListSnapshotRequest& request, const ListSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSnapshotOutcomeCallable listSnapshotCallable(const Model::ListSnapshotRequest& request) const;
|
||||
ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const;
|
||||
void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const;
|
||||
ListTagValuesOutcome listTagValues(const Model::ListTagValuesRequest &request)const;
|
||||
void listTagValuesAsync(const Model::ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagValuesOutcomeCallable listTagValuesCallable(const Model::ListTagValuesRequest& request) const;
|
||||
ListTaskOutcome listTask(const Model::ListTaskRequest &request)const;
|
||||
void listTaskAsync(const Model::ListTaskRequest& request, const ListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTaskOutcomeCallable listTaskCallable(const Model::ListTaskRequest& request) const;
|
||||
OpreateConstantsOutcome opreateConstants(const Model::OpreateConstantsRequest &request)const;
|
||||
void opreateConstantsAsync(const Model::OpreateConstantsRequest& request, const OpreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpreateConstantsOutcomeCallable opreateConstantsCallable(const Model::OpreateConstantsRequest& request) const;
|
||||
PublishUpgradeTaskOutcome publishUpgradeTask(const Model::PublishUpgradeTaskRequest &request)const;
|
||||
void publishUpgradeTaskAsync(const Model::PublishUpgradeTaskRequest& request, const PublishUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishUpgradeTaskOutcomeCallable publishUpgradeTaskCallable(const Model::PublishUpgradeTaskRequest& request) const;
|
||||
RenameDbfsOutcome renameDbfs(const Model::RenameDbfsRequest &request)const;
|
||||
void renameDbfsAsync(const Model::RenameDbfsRequest& request, const RenameDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameDbfsOutcomeCallable renameDbfsCallable(const Model::RenameDbfsRequest& request) const;
|
||||
ResetDbfsOutcome resetDbfs(const Model::ResetDbfsRequest &request)const;
|
||||
void resetDbfsAsync(const Model::ResetDbfsRequest& request, const ResetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetDbfsOutcomeCallable resetDbfsCallable(const Model::ResetDbfsRequest& request) const;
|
||||
ResizeDbfsOutcome resizeDbfs(const Model::ResizeDbfsRequest &request)const;
|
||||
void resizeDbfsAsync(const Model::ResizeDbfsRequest& request, const ResizeDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResizeDbfsOutcomeCallable resizeDbfsCallable(const Model::ResizeDbfsRequest& request) const;
|
||||
StopUpgradeTaskOutcome stopUpgradeTask(const Model::StopUpgradeTaskRequest &request)const;
|
||||
void stopUpgradeTaskAsync(const Model::StopUpgradeTaskRequest& request, const StopUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopUpgradeTaskOutcomeCallable stopUpgradeTaskCallable(const Model::StopUpgradeTaskRequest& request) const;
|
||||
TagDbfsOutcome tagDbfs(const Model::TagDbfsRequest &request)const;
|
||||
void tagDbfsAsync(const Model::TagDbfsRequest& request, const TagDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagDbfsOutcomeCallable tagDbfsCallable(const Model::TagDbfsRequest& request) const;
|
||||
UpdateConstantsOutcome updateConstants(const Model::UpdateConstantsRequest &request)const;
|
||||
void updateConstantsAsync(const Model::UpdateConstantsRequest& request, const UpdateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateConstantsOutcomeCallable updateConstantsCallable(const Model::UpdateConstantsRequest& request) const;
|
||||
UpdateTaskOutcome updateTask(const Model::UpdateTaskRequest &request)const;
|
||||
void updateTaskAsync(const Model::UpdateTaskRequest& request, const UpdateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateTaskOutcomeCallable updateTaskCallable(const Model::UpdateTaskRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
57
dbfs/include/alibabacloud/dbfs/model/AddTagsBatchRequest.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/AddTagsBatchRequest.h
Normal file
@@ -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_DBFS_MODEL_ADDTAGSBATCHREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT AddTagsBatchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddTagsBatchRequest();
|
||||
~AddTagsBatchRequest();
|
||||
|
||||
std::string getDbfsList()const;
|
||||
void setDbfsList(const std::string& dbfsList);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dbfsList_;
|
||||
std::string clientToken_;
|
||||
std::string tags_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT AddLiveAppRecordConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBFS_EXPORT AddTagsBatchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddLiveAppRecordConfigResult();
|
||||
explicit AddLiveAppRecordConfigResult(const std::string &payload);
|
||||
~AddLiveAppRecordConfigResult();
|
||||
AddTagsBatchResult();
|
||||
explicit AddTagsBatchResult(const std::string &payload);
|
||||
~AddTagsBatchResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHRESULT_H_
|
||||
@@ -39,12 +39,15 @@ namespace AlibabaCloud
|
||||
void setECSInstanceId(const std::string& eCSInstanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getServerUrl()const;
|
||||
void setServerUrl(const std::string& serverUrl);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string eCSInstanceId_;
|
||||
std::string regionId_;
|
||||
std::string serverUrl_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_DBFS_MODEL_CREATECONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT CreateConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateConstantsRequest();
|
||||
~CreateConstantsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConstantsData()const;
|
||||
void setConstantsData(const std::string& constantsData);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string constantsData_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSREQUEST_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/CreateConstantsResult.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/CreateConstantsResult.h
Normal file
@@ -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_DBFS_MODEL_CREATECONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT CreateConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateConstantsResult();
|
||||
explicit CreateConstantsResult(const std::string &payload);
|
||||
~CreateConstantsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSRESULT_H_
|
||||
@@ -37,24 +37,48 @@ namespace AlibabaCloud
|
||||
|
||||
int getSizeG()const;
|
||||
void setSizeG(int sizeG);
|
||||
std::string getSnapshotId()const;
|
||||
void setSnapshotId(const std::string& snapshotId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getUsedScene()const;
|
||||
void setUsedScene(const std::string& usedScene);
|
||||
std::string getFsName()const;
|
||||
void setFsName(const std::string& fsName);
|
||||
int getRaidStripeUnitNumber()const;
|
||||
void setRaidStripeUnitNumber(int raidStripeUnitNumber);
|
||||
bool getEncryption()const;
|
||||
void setEncryption(bool encryption);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPerformanceLevel()const;
|
||||
void setPerformanceLevel(const std::string& performanceLevel);
|
||||
bool getEnableRaid()const;
|
||||
void setEnableRaid(bool enableRaid);
|
||||
bool getDeleteSnapshot()const;
|
||||
void setDeleteSnapshot(bool deleteSnapshot);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getKMSKeyId()const;
|
||||
void setKMSKeyId(const std::string& kMSKeyId);
|
||||
|
||||
private:
|
||||
int sizeG_;
|
||||
std::string snapshotId_;
|
||||
std::string clientToken_;
|
||||
std::string usedScene_;
|
||||
std::string fsName_;
|
||||
int raidStripeUnitNumber_;
|
||||
bool encryption_;
|
||||
std::string regionId_;
|
||||
std::string performanceLevel_;
|
||||
bool enableRaid_;
|
||||
bool deleteSnapshot_;
|
||||
std::string zoneId_;
|
||||
std::string category_;
|
||||
std::string kMSKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,41 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_CREATESERVICELINKEDROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATESERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeLiveRecordConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DBFS_EXPORT CreateServiceLinkedRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLiveRecordConfigRequest();
|
||||
~DescribeLiveRecordConfigRequest();
|
||||
CreateServiceLinkedRoleRequest();
|
||||
~CreateServiceLinkedRoleRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATESERVICELINKEDROLEREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_CREATESERVICELINKEDROLERESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATESERVICELINKEDROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBFS_EXPORT CreateServiceLinkedRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchDeleteCdnDomainConfigResult();
|
||||
explicit BatchDeleteCdnDomainConfigResult(const std::string &payload);
|
||||
~BatchDeleteCdnDomainConfigResult();
|
||||
CreateServiceLinkedRoleResult();
|
||||
explicit CreateServiceLinkedRoleResult(const std::string &payload);
|
||||
~CreateServiceLinkedRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATESERVICELINKEDROLERESULT_H_
|
||||
63
dbfs/include/alibabacloud/dbfs/model/CreateSnapshotRequest.h
Normal file
63
dbfs/include/alibabacloud/dbfs/model/CreateSnapshotRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT CreateSnapshotRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSnapshotRequest();
|
||||
~CreateSnapshotRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
int getRetentionDays()const;
|
||||
void setRetentionDays(int retentionDays);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string snapshotName_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
int retentionDays_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTREQUEST_H_
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeUserCustomLogConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBFS_EXPORT CreateSnapshotResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeUserCustomLogConfigResult();
|
||||
explicit DescribeUserCustomLogConfigResult(const std::string &payload);
|
||||
~DescribeUserCustomLogConfigResult();
|
||||
std::vector<std::string> getConfigIds()const;
|
||||
CreateSnapshotResult();
|
||||
explicit CreateSnapshotResult(const std::string &payload);
|
||||
~CreateSnapshotResult();
|
||||
std::string getSnapshotId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> configIds_;
|
||||
std::string snapshotId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTRESULT_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/DbfsRecordRequest.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/DbfsRecordRequest.h
Normal file
@@ -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_DBFS_MODEL_DBFSRECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DBFSRECORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DbfsRecordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DbfsRecordRequest();
|
||||
~DbfsRecordRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBatchStrategyNo()const;
|
||||
void setBatchStrategyNo(const std::string& batchStrategyNo);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string batchStrategyNo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DBFSRECORDREQUEST_H_
|
||||
72
dbfs/include/alibabacloud/dbfs/model/DbfsRecordResult.h
Normal file
72
dbfs/include/alibabacloud/dbfs/model/DbfsRecordResult.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_DBFSRECORDRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DBFSRECORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DbfsRecordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RecordsItem
|
||||
{
|
||||
std::string targetVersion;
|
||||
std::string accountId;
|
||||
std::string taskId;
|
||||
std::string zoneId;
|
||||
std::string currentVersion;
|
||||
long createTime;
|
||||
std::string ecsId;
|
||||
std::string taskErrorReason;
|
||||
std::string batchStrategyNo;
|
||||
long upgradeEndTime;
|
||||
std::string state;
|
||||
std::string dbfsId;
|
||||
long updateTime;
|
||||
long id;
|
||||
std::string regionId;
|
||||
long upgradeStartTime;
|
||||
std::string isDel;
|
||||
int taskExecutionCounts;
|
||||
};
|
||||
|
||||
|
||||
DbfsRecordResult();
|
||||
explicit DbfsRecordResult(const std::string &payload);
|
||||
~DbfsRecordResult();
|
||||
std::vector<RecordsItem> getRecords()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RecordsItem> records_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DBFSRECORDRESULT_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_DBFS_MODEL_DELETECONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DeleteConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteConstantsRequest();
|
||||
~DeleteConstantsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConstantsData()const;
|
||||
void setConstantsData(const std::string& constantsData);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string constantsData_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSREQUEST_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/DeleteConstantsResult.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/DeleteConstantsResult.h
Normal file
@@ -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_DBFS_MODEL_DELETECONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DeleteConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteConstantsResult();
|
||||
explicit DeleteConstantsResult(const std::string &payload);
|
||||
~DeleteConstantsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSRESULT_H_
|
||||
54
dbfs/include/alibabacloud/dbfs/model/DeleteSnapshotRequest.h
Normal file
54
dbfs/include/alibabacloud/dbfs/model/DeleteSnapshotRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DeleteSnapshotRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSnapshotRequest();
|
||||
~DeleteSnapshotRequest();
|
||||
|
||||
std::string getSnapshotId()const;
|
||||
void setSnapshotId(const std::string& snapshotId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
|
||||
private:
|
||||
std::string snapshotId_;
|
||||
std::string regionId_;
|
||||
bool force_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteHttpHeaderConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBFS_EXPORT DeleteSnapshotResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteHttpHeaderConfigResult();
|
||||
explicit DeleteHttpHeaderConfigResult(const std::string &payload);
|
||||
~DeleteHttpHeaderConfigResult();
|
||||
DeleteSnapshotResult();
|
||||
explicit DeleteSnapshotResult(const std::string &payload);
|
||||
~DeleteSnapshotResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETEHTTPHEADERCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DeleteTagsBatchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTagsBatchRequest();
|
||||
~DeleteTagsBatchRequest();
|
||||
|
||||
std::string getDbfsList()const;
|
||||
void setDbfsList(const std::string& dbfsList);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dbfsList_;
|
||||
std::string tags_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/DeleteTagsBatchResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/DeleteTagsBatchResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DeleteTagsBatchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteTagsBatchResult();
|
||||
explicit DeleteTagsBatchResult(const std::string &payload);
|
||||
~DeleteTagsBatchResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHRESULT_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_DBFS_MODEL_GENERATEUPGRADERECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT GenerateUpgradeRecordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GenerateUpgradeRecordRequest();
|
||||
~GenerateUpgradeRecordRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getBatchStrategyList()const;
|
||||
void setBatchStrategyList(const std::string& batchStrategyList);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string batchStrategyList_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT GenerateUpgradeRecordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RecordsItem
|
||||
{
|
||||
std::string targetVersion;
|
||||
std::string accountId;
|
||||
std::string taskId;
|
||||
std::string zoneId;
|
||||
std::string currentVersion;
|
||||
long createTime;
|
||||
std::string ecsId;
|
||||
std::string taskErrorReason;
|
||||
std::string batchStrategyNo;
|
||||
long upgradeEndTime;
|
||||
std::string state;
|
||||
std::string dbfsId;
|
||||
long updateTime;
|
||||
long id;
|
||||
std::string regionId;
|
||||
long upgradeStartTime;
|
||||
int taskExecutionCounts;
|
||||
};
|
||||
|
||||
|
||||
GenerateUpgradeRecordResult();
|
||||
explicit GenerateUpgradeRecordResult(const std::string &payload);
|
||||
~GenerateUpgradeRecordResult();
|
||||
std::vector<RecordsItem> getRecords()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RecordsItem> records_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDRESULT_H_
|
||||
@@ -32,30 +32,58 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DBFS_EXPORT GetDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Info
|
||||
struct DBFSInfo
|
||||
{
|
||||
struct TagList
|
||||
{
|
||||
std::string tagKey;
|
||||
int id;
|
||||
std::string tagValue;
|
||||
};
|
||||
struct EcsListItem
|
||||
{
|
||||
std::string ecsId;
|
||||
};
|
||||
struct EbsListItem
|
||||
{
|
||||
int sizeG;
|
||||
std::string ebsId;
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string fsName;
|
||||
std::string createdTime;
|
||||
std::string kMSKeyId;
|
||||
std::string zoneId;
|
||||
bool enableRaid;
|
||||
std::vector<EcsListItem> ecsList;
|
||||
int sizeG;
|
||||
std::string dBFSClusterId;
|
||||
std::string performanceLevel;
|
||||
std::string fsId;
|
||||
std::string dBFSClusterId;
|
||||
std::string payType;
|
||||
bool encryption;
|
||||
std::string lastUmountTime;
|
||||
std::string fsName;
|
||||
std::vector<EbsListItem> ebsList;
|
||||
std::string usedScene;
|
||||
int raidStrip;
|
||||
std::string lastMountTime;
|
||||
std::string regionId;
|
||||
int attachNodeNumber;
|
||||
std::string payType;
|
||||
std::vector<TagList> tags;
|
||||
};
|
||||
|
||||
|
||||
GetDbfsResult();
|
||||
explicit GetDbfsResult(const std::string &payload);
|
||||
~GetDbfsResult();
|
||||
std::vector<Info> getDBFSInfo()const;
|
||||
DBFSInfo getDBFSInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Info> dBFSInfo_;
|
||||
DBFSInfo dBFSInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,35 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_GETSERVICELINKEDROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GETSERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeUserCustomLogConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DBFS_EXPORT GetServiceLinkedRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUserCustomLogConfigRequest();
|
||||
~DescribeUserCustomLogConfigRequest();
|
||||
GetServiceLinkedRoleRequest();
|
||||
~GetServiceLinkedRoleRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMLOGCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GETSERVICELINKEDROLEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_GETSERVICELINKEDROLERESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GETSERVICELINKEDROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT GetServiceLinkedRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetServiceLinkedRoleResult();
|
||||
explicit GetServiceLinkedRoleResult(const std::string &payload);
|
||||
~GetServiceLinkedRoleResult();
|
||||
std::string getAccountId()const;
|
||||
bool getDbfsLinkedRole()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string accountId_;
|
||||
bool dbfsLinkedRole_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GETSERVICELINKEDROLERESULT_H_
|
||||
@@ -14,50 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIOREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainSlowRatioRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DBFS_EXPORT GetSynchronizConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainSlowRatioRequest();
|
||||
~DescribeDomainSlowRatioRequest();
|
||||
GetSynchronizConstantsRequest();
|
||||
~GetSynchronizConstantsRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT GetSynchronizConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetSynchronizConstantsResult();
|
||||
explicit GetSynchronizConstantsResult(const std::string &payload);
|
||||
~GetSynchronizConstantsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMasterData()const;
|
||||
long getPageSize()const;
|
||||
std::string getZoneData()const;
|
||||
long getPageNumber()const;
|
||||
std::string getAccessData()const;
|
||||
std::string getProductCodeData()const;
|
||||
std::string getOsversionData()const;
|
||||
std::string getData()const;
|
||||
std::string getRegionData()const;
|
||||
std::string getEndpointData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string masterData_;
|
||||
long pageSize_;
|
||||
std::string zoneData_;
|
||||
long pageNumber_;
|
||||
std::string accessData_;
|
||||
std::string productCodeData_;
|
||||
std::string osversionData_;
|
||||
std::string data_;
|
||||
std::string regionData_;
|
||||
std::string endpointData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT InsertSynchronizConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
InsertSynchronizConstantsRequest();
|
||||
~InsertSynchronizConstantsRequest();
|
||||
|
||||
std::string getZoneData()const;
|
||||
void setZoneData(const std::string& zoneData);
|
||||
std::string getOsversionData()const;
|
||||
void setOsversionData(const std::string& osversionData);
|
||||
std::string getEndpointData()const;
|
||||
void setEndpointData(const std::string& endpointData);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getMasterData()const;
|
||||
void setMasterData(const std::string& masterData);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProductCodeData()const;
|
||||
void setProductCodeData(const std::string& productCodeData);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAccessData()const;
|
||||
void setAccessData(const std::string& accessData);
|
||||
std::string getRegionData()const;
|
||||
void setRegionData(const std::string& regionData);
|
||||
|
||||
private:
|
||||
std::string zoneData_;
|
||||
std::string osversionData_;
|
||||
std::string endpointData_;
|
||||
int pageNumber_;
|
||||
std::string masterData_;
|
||||
std::string regionId_;
|
||||
std::string productCodeData_;
|
||||
int pageSize_;
|
||||
std::string accessData_;
|
||||
std::string regionData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSREQUEST_H_
|
||||
@@ -14,40 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeL2VipsByDynamicDomainResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBFS_EXPORT InsertSynchronizConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeL2VipsByDynamicDomainResult();
|
||||
explicit DescribeL2VipsByDynamicDomainResult(const std::string &payload);
|
||||
~DescribeL2VipsByDynamicDomainResult();
|
||||
std::string getDomainName()const;
|
||||
std::vector<std::string> getVips()const;
|
||||
InsertSynchronizConstantsResult();
|
||||
explicit InsertSynchronizConstantsResult(const std::string &payload);
|
||||
~InsertSynchronizConstantsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::vector<std::string> vips_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSRESULT_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/ListConstantsRequest.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/ListConstantsRequest.h
Normal file
@@ -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_DBFS_MODEL_LISTCONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListConstantsRequest();
|
||||
~ListConstantsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConstantsData()const;
|
||||
void setConstantsData(const std::string& constantsData);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string constantsData_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSREQUEST_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/ListConstantsResult.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/ListConstantsResult.h
Normal file
@@ -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_DBFS_MODEL_LISTCONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListConstantsResult();
|
||||
explicit ListConstantsResult(const std::string &payload);
|
||||
~ListConstantsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSRESULT_H_
|
||||
@@ -35,11 +35,32 @@ namespace AlibabaCloud
|
||||
ListDbfsRequest();
|
||||
~ListDbfsRequest();
|
||||
|
||||
std::string getSortType()const;
|
||||
void setSortType(const std::string& sortType);
|
||||
std::string getFilterValue()const;
|
||||
void setFilterValue(const std::string& filterValue);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getFilterKey()const;
|
||||
void setFilterKey(const std::string& filterKey);
|
||||
std::string getSortKey()const;
|
||||
void setSortKey(const std::string& sortKey);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string sortType_;
|
||||
std::string filterValue_;
|
||||
int pageNumber_;
|
||||
std::string tags_;
|
||||
std::string filterKey_;
|
||||
std::string sortKey_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,16 +34,43 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Info
|
||||
{
|
||||
struct TagList
|
||||
{
|
||||
std::string tagKey;
|
||||
long id;
|
||||
std::string tagValue;
|
||||
};
|
||||
struct EcsListItem
|
||||
{
|
||||
std::string ecsId;
|
||||
};
|
||||
struct EbsListItem
|
||||
{
|
||||
int sizeG;
|
||||
std::string ebsId;
|
||||
};
|
||||
std::string status;
|
||||
std::string category;
|
||||
std::string fsName;
|
||||
std::string createdTime;
|
||||
std::string kMSKeyId;
|
||||
std::string zoneId;
|
||||
bool enableRaid;
|
||||
std::vector<Info::EcsListItem> ecsList;
|
||||
int sizeG;
|
||||
std::string dBFSClusterId;
|
||||
std::string performanceLevel;
|
||||
std::string fsId;
|
||||
std::string dBFSClusterId;
|
||||
bool encryption;
|
||||
std::string payType;
|
||||
std::string lastUmountTime;
|
||||
std::string fsName;
|
||||
std::vector<Info::EbsListItem> ebsList;
|
||||
std::string usedScene;
|
||||
int raidStrip;
|
||||
std::string lastMountTime;
|
||||
std::string regionId;
|
||||
int attachNodeNumber;
|
||||
std::string payType;
|
||||
std::vector<Info::TagList> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
81
dbfs/include/alibabacloud/dbfs/model/ListSnapshotRequest.h
Normal file
81
dbfs/include/alibabacloud/dbfs/model/ListSnapshotRequest.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListSnapshotRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListSnapshotRequest();
|
||||
~ListSnapshotRequest();
|
||||
|
||||
std::string getSortType()const;
|
||||
void setSortType(const std::string& sortType);
|
||||
std::string getSnapshotIds()const;
|
||||
void setSnapshotIds(const std::string& snapshotIds);
|
||||
std::string getFilterValue()const;
|
||||
void setFilterValue(const std::string& filterValue);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getFilterKey()const;
|
||||
void setFilterKey(const std::string& filterKey);
|
||||
std::string getSortKey()const;
|
||||
void setSortKey(const std::string& sortKey);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
std::string getSnapshotType()const;
|
||||
void setSnapshotType(const std::string& snapshotType);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string sortType_;
|
||||
std::string snapshotIds_;
|
||||
std::string filterValue_;
|
||||
std::string snapshotName_;
|
||||
int pageNumber_;
|
||||
std::string filterKey_;
|
||||
std::string sortKey_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string fsId_;
|
||||
std::string snapshotType_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTREQUEST_H_
|
||||
@@ -14,61 +14,60 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIORESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIORESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainSlowRatioResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListSnapshotResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SlowRatioData
|
||||
struct SnapshotsItem
|
||||
{
|
||||
int slowUsers;
|
||||
std::string ispNameEn;
|
||||
std::string ispNameZh;
|
||||
std::string time;
|
||||
std::string regionNameEn;
|
||||
int totalUsers;
|
||||
float slowRatio;
|
||||
std::string regionNameZh;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string category;
|
||||
std::string description;
|
||||
int retentionDays;
|
||||
int sourceFsSize;
|
||||
std::string snapshotName;
|
||||
std::string sourceFsId;
|
||||
std::string snapshotId;
|
||||
std::string creationTime;
|
||||
std::string lastModifiedTime;
|
||||
std::string snapshotType;
|
||||
int remainTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainSlowRatioResult();
|
||||
explicit DescribeDomainSlowRatioResult(const std::string &payload);
|
||||
~DescribeDomainSlowRatioResult();
|
||||
ListSnapshotResult();
|
||||
explicit ListSnapshotResult(const std::string &payload);
|
||||
~ListSnapshotResult();
|
||||
int getTotalCount()const;
|
||||
std::string getEndTime()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::vector<SlowRatioData> getSlowRatioDataPerInterval()const;
|
||||
std::vector<SnapshotsItem> getSnapshots()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string endTime_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int dataInterval_;
|
||||
std::string startTime_;
|
||||
std::vector<SlowRatioData> slowRatioDataPerInterval_;
|
||||
std::vector<SnapshotsItem> snapshots_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINSLOWRATIORESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTRESULT_H_
|
||||
48
dbfs/include/alibabacloud/dbfs/model/ListTagKeysRequest.h
Normal file
48
dbfs/include/alibabacloud/dbfs/model/ListTagKeysRequest.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTAGKEYSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTTAGKEYSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListTagKeysRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTagKeysRequest();
|
||||
~ListTagKeysRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTAGKEYSREQUEST_H_
|
||||
51
dbfs/include/alibabacloud/dbfs/model/ListTagKeysResult.h
Normal file
51
dbfs/include/alibabacloud/dbfs/model/ListTagKeysResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTAGKEYSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTTAGKEYSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListTagKeysResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListTagKeysResult();
|
||||
explicit ListTagKeysResult(const std::string &payload);
|
||||
~ListTagKeysResult();
|
||||
std::vector<std::string> getTagKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> tagKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTAGKEYSRESULT_H_
|
||||
51
dbfs/include/alibabacloud/dbfs/model/ListTagValuesRequest.h
Normal file
51
dbfs/include/alibabacloud/dbfs/model/ListTagValuesRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTAGVALUESREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTTAGVALUESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListTagValuesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTagValuesRequest();
|
||||
~ListTagValuesRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTagKey()const;
|
||||
void setTagKey(const std::string& tagKey);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTAGVALUESREQUEST_H_
|
||||
51
dbfs/include/alibabacloud/dbfs/model/ListTagValuesResult.h
Normal file
51
dbfs/include/alibabacloud/dbfs/model/ListTagValuesResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTAGVALUESRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTTAGVALUESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListTagValuesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListTagValuesResult();
|
||||
explicit ListTagValuesResult(const std::string &payload);
|
||||
~ListTagValuesResult();
|
||||
std::vector<std::string> getTagValues()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> tagValues_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTAGVALUESRESULT_H_
|
||||
66
dbfs/include/alibabacloud/dbfs/model/ListTaskRequest.h
Normal file
66
dbfs/include/alibabacloud/dbfs/model/ListTaskRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTaskRequest();
|
||||
~ListTaskRequest();
|
||||
|
||||
std::string getSortType()const;
|
||||
void setSortType(const std::string& sortType);
|
||||
std::string getFilterValue()const;
|
||||
void setFilterValue(const std::string& filterValue);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getFilterKey()const;
|
||||
void setFilterKey(const std::string& filterKey);
|
||||
std::string getSortKey()const;
|
||||
void setSortKey(const std::string& sortKey);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string sortType_;
|
||||
std::string filterValue_;
|
||||
int pageNumber_;
|
||||
std::string filterKey_;
|
||||
std::string sortKey_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTASKREQUEST_H_
|
||||
78
dbfs/include/alibabacloud/dbfs/model/ListTaskResult.h
Normal file
78
dbfs/include/alibabacloud/dbfs/model/ListTaskResult.h
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ListTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TasksItem
|
||||
{
|
||||
std::string createdTime;
|
||||
std::string taskAdder;
|
||||
std::string priority;
|
||||
int taskStatusCode;
|
||||
int taskProgress;
|
||||
int maxRetry;
|
||||
std::string taskStatus;
|
||||
std::string nextExecutionTime;
|
||||
std::string taskErrorReason;
|
||||
std::string taskRunner;
|
||||
std::string taskOwner;
|
||||
std::string taskName;
|
||||
std::string completionTime;
|
||||
std::string taskType;
|
||||
int id;
|
||||
std::string clientToken;
|
||||
std::string taskProgressDescription;
|
||||
int taskExecutionCounts;
|
||||
};
|
||||
|
||||
|
||||
ListTaskResult();
|
||||
explicit ListTaskResult(const std::string &payload);
|
||||
~ListTaskResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<TasksItem> getTasks()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<TasksItem> tasks_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTASKRESULT_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_DBFS_MODEL_OPREATECONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT OpreateConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpreateConstantsRequest();
|
||||
~OpreateConstantsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConstantsData()const;
|
||||
void setConstantsData(const std::string& constantsData);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string constantsData_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT OpreateConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OpreateConstantsResult();
|
||||
explicit OpreateConstantsResult(const std::string &payload);
|
||||
~OpreateConstantsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMasterData()const;
|
||||
long getPageSize()const;
|
||||
std::string getZoneData()const;
|
||||
long getPageNumber()const;
|
||||
std::string getAccessData()const;
|
||||
std::string getProductCodeData()const;
|
||||
std::string getOsversionData()const;
|
||||
std::string getData()const;
|
||||
std::string getRegionData()const;
|
||||
std::string getEndpointData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string masterData_;
|
||||
long pageSize_;
|
||||
std::string zoneData_;
|
||||
long pageNumber_;
|
||||
std::string accessData_;
|
||||
std::string productCodeData_;
|
||||
std::string osversionData_;
|
||||
std::string data_;
|
||||
std::string regionData_;
|
||||
std::string endpointData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSRESULT_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_DBFS_MODEL_PUBLISHUPGRADETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT PublishUpgradeTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishUpgradeTaskRequest();
|
||||
~PublishUpgradeTaskRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getBatchStrategyList()const;
|
||||
void setBatchStrategyList(const std::string& batchStrategyList);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string batchStrategyList_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT PublishUpgradeTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishUpgradeTaskResult();
|
||||
explicit PublishUpgradeTaskResult(const std::string &payload);
|
||||
~PublishUpgradeTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKRESULT_H_
|
||||
54
dbfs/include/alibabacloud/dbfs/model/RenameDbfsRequest.h
Normal file
54
dbfs/include/alibabacloud/dbfs/model/RenameDbfsRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT RenameDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenameDbfsRequest();
|
||||
~RenameDbfsRequest();
|
||||
|
||||
std::string getFsName()const;
|
||||
void setFsName(const std::string& fsName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string fsName_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/RenameDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/RenameDbfsResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT RenameDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenameDbfsResult();
|
||||
explicit RenameDbfsResult(const std::string &payload);
|
||||
~RenameDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSRESULT_H_
|
||||
@@ -14,38 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_RESETDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_RESETDBFSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeL2VipsByDynamicDomainRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DBFS_EXPORT ResetDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeL2VipsByDynamicDomainRequest();
|
||||
~DescribeL2VipsByDynamicDomainRequest();
|
||||
ResetDbfsRequest();
|
||||
~ResetDbfsRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSnapshotId()const;
|
||||
void setSnapshotId(const std::string& snapshotId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string snapshotId_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEL2VIPSBYDYNAMICDOMAINREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_RESETDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/ResetDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/ResetDbfsResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_RESETDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_RESETDBFSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT ResetDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetDbfsResult();
|
||||
explicit ResetDbfsResult(const std::string &payload);
|
||||
~ResetDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_RESETDBFSRESULT_H_
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
ResizeDbfsRequest();
|
||||
~ResizeDbfsRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getNewSizeG()const;
|
||||
void setNewSizeG(int newSizeG);
|
||||
std::string getRegionId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
int newSizeG_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
@@ -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_DBFS_MODEL_STOPUPGRADETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT StopUpgradeTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopUpgradeTaskRequest();
|
||||
~StopUpgradeTaskRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getBatchStrategyList()const;
|
||||
void setBatchStrategyList(const std::string& batchStrategyList);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string batchStrategyList_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/StopUpgradeTaskResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/StopUpgradeTaskResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT StopUpgradeTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopUpgradeTaskResult();
|
||||
explicit StopUpgradeTaskResult(const std::string &payload);
|
||||
~StopUpgradeTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKRESULT_H_
|
||||
54
dbfs/include/alibabacloud/dbfs/model/TagDbfsRequest.h
Normal file
54
dbfs/include/alibabacloud/dbfs/model/TagDbfsRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_TAGDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_TAGDBFSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT TagDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TagDbfsRequest();
|
||||
~TagDbfsRequest();
|
||||
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDbfsId()const;
|
||||
void setDbfsId(const std::string& dbfsId);
|
||||
|
||||
private:
|
||||
std::string tags_;
|
||||
std::string regionId_;
|
||||
std::string dbfsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_TAGDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/TagDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/TagDbfsResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_TAGDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_TAGDBFSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT TagDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TagDbfsResult();
|
||||
explicit TagDbfsResult(const std::string &payload);
|
||||
~TagDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_TAGDBFSRESULT_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_DBFS_MODEL_UPDATECONSTANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT UpdateConstantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateConstantsRequest();
|
||||
~UpdateConstantsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConstantsData()const;
|
||||
void setConstantsData(const std::string& constantsData);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string constantsData_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSREQUEST_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/UpdateConstantsResult.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/UpdateConstantsResult.h
Normal file
@@ -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_DBFS_MODEL_UPDATECONSTANTSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT UpdateConstantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateConstantsResult();
|
||||
explicit UpdateConstantsResult(const std::string &payload);
|
||||
~UpdateConstantsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSRESULT_H_
|
||||
54
dbfs/include/alibabacloud/dbfs/model/UpdateTaskRequest.h
Normal file
54
dbfs/include/alibabacloud/dbfs/model/UpdateTaskRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_UPDATETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_UPDATETASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT UpdateTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateTaskRequest();
|
||||
~UpdateTaskRequest();
|
||||
|
||||
int getTaskProgress()const;
|
||||
void setTaskProgress(int taskProgress);
|
||||
std::string getTaskIds()const;
|
||||
void setTaskIds(const std::string& taskIds);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int taskProgress_;
|
||||
std::string taskIds_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_UPDATETASKREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/UpdateTaskResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/UpdateTaskResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_UPDATETASKRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_UPDATETASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbfs/DBFSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT UpdateTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateTaskResult();
|
||||
explicit UpdateTaskResult(const std::string &payload);
|
||||
~UpdateTaskResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_UPDATETASKRESULT_H_
|
||||
@@ -51,6 +51,42 @@ DBFSClient::DBFSClient(const std::string & accessKeyId, const std::string & acce
|
||||
DBFSClient::~DBFSClient()
|
||||
{}
|
||||
|
||||
DBFSClient::AddTagsBatchOutcome DBFSClient::addTagsBatch(const AddTagsBatchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddTagsBatchOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddTagsBatchOutcome(AddTagsBatchResult(outcome.result()));
|
||||
else
|
||||
return AddTagsBatchOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::addTagsBatchAsync(const AddTagsBatchRequest& request, const AddTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addTagsBatch(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::AddTagsBatchOutcomeCallable DBFSClient::addTagsBatchCallable(const AddTagsBatchRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddTagsBatchOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addTagsBatch(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::AttachDbfsOutcome DBFSClient::attachDbfs(const AttachDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -87,6 +123,42 @@ DBFSClient::AttachDbfsOutcomeCallable DBFSClient::attachDbfsCallable(const Attac
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::CreateConstantsOutcome DBFSClient::createConstants(const CreateConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateConstantsOutcome(CreateConstantsResult(outcome.result()));
|
||||
else
|
||||
return CreateConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::createConstantsAsync(const CreateConstantsRequest& request, const CreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::CreateConstantsOutcomeCallable DBFSClient::createConstantsCallable(const CreateConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::CreateDbfsOutcome DBFSClient::createDbfs(const CreateDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -123,6 +195,150 @@ DBFSClient::CreateDbfsOutcomeCallable DBFSClient::createDbfsCallable(const Creat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::CreateServiceLinkedRoleOutcome DBFSClient::createServiceLinkedRole(const CreateServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateServiceLinkedRoleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateServiceLinkedRoleOutcome(CreateServiceLinkedRoleResult(outcome.result()));
|
||||
else
|
||||
return CreateServiceLinkedRoleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::createServiceLinkedRoleAsync(const CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createServiceLinkedRole(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::CreateServiceLinkedRoleOutcomeCallable DBFSClient::createServiceLinkedRoleCallable(const CreateServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateServiceLinkedRoleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createServiceLinkedRole(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::CreateSnapshotOutcome DBFSClient::createSnapshot(const CreateSnapshotRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateSnapshotOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateSnapshotOutcome(CreateSnapshotResult(outcome.result()));
|
||||
else
|
||||
return CreateSnapshotOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::createSnapshotAsync(const CreateSnapshotRequest& request, const CreateSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createSnapshot(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::CreateSnapshotOutcomeCallable DBFSClient::createSnapshotCallable(const CreateSnapshotRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateSnapshotOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createSnapshot(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::DbfsRecordOutcome DBFSClient::dbfsRecord(const DbfsRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DbfsRecordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DbfsRecordOutcome(DbfsRecordResult(outcome.result()));
|
||||
else
|
||||
return DbfsRecordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::dbfsRecordAsync(const DbfsRecordRequest& request, const DbfsRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, dbfsRecord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::DbfsRecordOutcomeCallable DBFSClient::dbfsRecordCallable(const DbfsRecordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DbfsRecordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->dbfsRecord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::DeleteConstantsOutcome DBFSClient::deleteConstants(const DeleteConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteConstantsOutcome(DeleteConstantsResult(outcome.result()));
|
||||
else
|
||||
return DeleteConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::deleteConstantsAsync(const DeleteConstantsRequest& request, const DeleteConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::DeleteConstantsOutcomeCallable DBFSClient::deleteConstantsCallable(const DeleteConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::DeleteDbfsOutcome DBFSClient::deleteDbfs(const DeleteDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -159,6 +375,78 @@ DBFSClient::DeleteDbfsOutcomeCallable DBFSClient::deleteDbfsCallable(const Delet
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::DeleteSnapshotOutcome DBFSClient::deleteSnapshot(const DeleteSnapshotRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteSnapshotOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteSnapshotOutcome(DeleteSnapshotResult(outcome.result()));
|
||||
else
|
||||
return DeleteSnapshotOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::deleteSnapshotAsync(const DeleteSnapshotRequest& request, const DeleteSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteSnapshot(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::DeleteSnapshotOutcomeCallable DBFSClient::deleteSnapshotCallable(const DeleteSnapshotRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteSnapshotOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteSnapshot(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::DeleteTagsBatchOutcome DBFSClient::deleteTagsBatch(const DeleteTagsBatchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteTagsBatchOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteTagsBatchOutcome(DeleteTagsBatchResult(outcome.result()));
|
||||
else
|
||||
return DeleteTagsBatchOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::deleteTagsBatchAsync(const DeleteTagsBatchRequest& request, const DeleteTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteTagsBatch(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::DeleteTagsBatchOutcomeCallable DBFSClient::deleteTagsBatchCallable(const DeleteTagsBatchRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteTagsBatchOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteTagsBatch(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::DetachDbfsOutcome DBFSClient::detachDbfs(const DetachDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +483,42 @@ DBFSClient::DetachDbfsOutcomeCallable DBFSClient::detachDbfsCallable(const Detac
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::GenerateUpgradeRecordOutcome DBFSClient::generateUpgradeRecord(const GenerateUpgradeRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GenerateUpgradeRecordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GenerateUpgradeRecordOutcome(GenerateUpgradeRecordResult(outcome.result()));
|
||||
else
|
||||
return GenerateUpgradeRecordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::generateUpgradeRecordAsync(const GenerateUpgradeRecordRequest& request, const GenerateUpgradeRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, generateUpgradeRecord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::GenerateUpgradeRecordOutcomeCallable DBFSClient::generateUpgradeRecordCallable(const GenerateUpgradeRecordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GenerateUpgradeRecordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->generateUpgradeRecord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::GetDbfsOutcome DBFSClient::getDbfs(const GetDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -231,6 +555,150 @@ DBFSClient::GetDbfsOutcomeCallable DBFSClient::getDbfsCallable(const GetDbfsRequ
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::GetServiceLinkedRoleOutcome DBFSClient::getServiceLinkedRole(const GetServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetServiceLinkedRoleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetServiceLinkedRoleOutcome(GetServiceLinkedRoleResult(outcome.result()));
|
||||
else
|
||||
return GetServiceLinkedRoleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::getServiceLinkedRoleAsync(const GetServiceLinkedRoleRequest& request, const GetServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getServiceLinkedRole(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::GetServiceLinkedRoleOutcomeCallable DBFSClient::getServiceLinkedRoleCallable(const GetServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetServiceLinkedRoleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getServiceLinkedRole(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::GetSynchronizConstantsOutcome DBFSClient::getSynchronizConstants(const GetSynchronizConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSynchronizConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSynchronizConstantsOutcome(GetSynchronizConstantsResult(outcome.result()));
|
||||
else
|
||||
return GetSynchronizConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::getSynchronizConstantsAsync(const GetSynchronizConstantsRequest& request, const GetSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSynchronizConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::GetSynchronizConstantsOutcomeCallable DBFSClient::getSynchronizConstantsCallable(const GetSynchronizConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSynchronizConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSynchronizConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::InsertSynchronizConstantsOutcome DBFSClient::insertSynchronizConstants(const InsertSynchronizConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return InsertSynchronizConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return InsertSynchronizConstantsOutcome(InsertSynchronizConstantsResult(outcome.result()));
|
||||
else
|
||||
return InsertSynchronizConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::insertSynchronizConstantsAsync(const InsertSynchronizConstantsRequest& request, const InsertSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, insertSynchronizConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::InsertSynchronizConstantsOutcomeCallable DBFSClient::insertSynchronizConstantsCallable(const InsertSynchronizConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<InsertSynchronizConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->insertSynchronizConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ListConstantsOutcome DBFSClient::listConstants(const ListConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListConstantsOutcome(ListConstantsResult(outcome.result()));
|
||||
else
|
||||
return ListConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::listConstantsAsync(const ListConstantsRequest& request, const ListConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::ListConstantsOutcomeCallable DBFSClient::listConstantsCallable(const ListConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ListDbfsOutcome DBFSClient::listDbfs(const ListDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +735,294 @@ DBFSClient::ListDbfsOutcomeCallable DBFSClient::listDbfsCallable(const ListDbfsR
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ListSnapshotOutcome DBFSClient::listSnapshot(const ListSnapshotRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListSnapshotOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListSnapshotOutcome(ListSnapshotResult(outcome.result()));
|
||||
else
|
||||
return ListSnapshotOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::listSnapshotAsync(const ListSnapshotRequest& request, const ListSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listSnapshot(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::ListSnapshotOutcomeCallable DBFSClient::listSnapshotCallable(const ListSnapshotRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListSnapshotOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listSnapshot(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ListTagKeysOutcome DBFSClient::listTagKeys(const ListTagKeysRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTagKeysOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTagKeysOutcome(ListTagKeysResult(outcome.result()));
|
||||
else
|
||||
return ListTagKeysOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::listTagKeysAsync(const ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTagKeys(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::ListTagKeysOutcomeCallable DBFSClient::listTagKeysCallable(const ListTagKeysRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTagKeysOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTagKeys(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ListTagValuesOutcome DBFSClient::listTagValues(const ListTagValuesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTagValuesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTagValuesOutcome(ListTagValuesResult(outcome.result()));
|
||||
else
|
||||
return ListTagValuesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::listTagValuesAsync(const ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTagValues(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::ListTagValuesOutcomeCallable DBFSClient::listTagValuesCallable(const ListTagValuesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTagValuesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTagValues(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ListTaskOutcome DBFSClient::listTask(const ListTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTaskOutcome(ListTaskResult(outcome.result()));
|
||||
else
|
||||
return ListTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::listTaskAsync(const ListTaskRequest& request, const ListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::ListTaskOutcomeCallable DBFSClient::listTaskCallable(const ListTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::OpreateConstantsOutcome DBFSClient::opreateConstants(const OpreateConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return OpreateConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return OpreateConstantsOutcome(OpreateConstantsResult(outcome.result()));
|
||||
else
|
||||
return OpreateConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::opreateConstantsAsync(const OpreateConstantsRequest& request, const OpreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, opreateConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::OpreateConstantsOutcomeCallable DBFSClient::opreateConstantsCallable(const OpreateConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<OpreateConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->opreateConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::PublishUpgradeTaskOutcome DBFSClient::publishUpgradeTask(const PublishUpgradeTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return PublishUpgradeTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return PublishUpgradeTaskOutcome(PublishUpgradeTaskResult(outcome.result()));
|
||||
else
|
||||
return PublishUpgradeTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::publishUpgradeTaskAsync(const PublishUpgradeTaskRequest& request, const PublishUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, publishUpgradeTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::PublishUpgradeTaskOutcomeCallable DBFSClient::publishUpgradeTaskCallable(const PublishUpgradeTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<PublishUpgradeTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->publishUpgradeTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::RenameDbfsOutcome DBFSClient::renameDbfs(const RenameDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenameDbfsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenameDbfsOutcome(RenameDbfsResult(outcome.result()));
|
||||
else
|
||||
return RenameDbfsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::renameDbfsAsync(const RenameDbfsRequest& request, const RenameDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renameDbfs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::RenameDbfsOutcomeCallable DBFSClient::renameDbfsCallable(const RenameDbfsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenameDbfsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renameDbfs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ResetDbfsOutcome DBFSClient::resetDbfs(const ResetDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ResetDbfsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ResetDbfsOutcome(ResetDbfsResult(outcome.result()));
|
||||
else
|
||||
return ResetDbfsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::resetDbfsAsync(const ResetDbfsRequest& request, const ResetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, resetDbfs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::ResetDbfsOutcomeCallable DBFSClient::resetDbfsCallable(const ResetDbfsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ResetDbfsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->resetDbfs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::ResizeDbfsOutcome DBFSClient::resizeDbfs(const ResizeDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,3 +1059,147 @@ DBFSClient::ResizeDbfsOutcomeCallable DBFSClient::resizeDbfsCallable(const Resiz
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::StopUpgradeTaskOutcome DBFSClient::stopUpgradeTask(const StopUpgradeTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopUpgradeTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopUpgradeTaskOutcome(StopUpgradeTaskResult(outcome.result()));
|
||||
else
|
||||
return StopUpgradeTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::stopUpgradeTaskAsync(const StopUpgradeTaskRequest& request, const StopUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopUpgradeTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::StopUpgradeTaskOutcomeCallable DBFSClient::stopUpgradeTaskCallable(const StopUpgradeTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopUpgradeTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopUpgradeTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::TagDbfsOutcome DBFSClient::tagDbfs(const TagDbfsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TagDbfsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TagDbfsOutcome(TagDbfsResult(outcome.result()));
|
||||
else
|
||||
return TagDbfsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::tagDbfsAsync(const TagDbfsRequest& request, const TagDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tagDbfs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::TagDbfsOutcomeCallable DBFSClient::tagDbfsCallable(const TagDbfsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TagDbfsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tagDbfs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::UpdateConstantsOutcome DBFSClient::updateConstants(const UpdateConstantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateConstantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateConstantsOutcome(UpdateConstantsResult(outcome.result()));
|
||||
else
|
||||
return UpdateConstantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::updateConstantsAsync(const UpdateConstantsRequest& request, const UpdateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateConstants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::UpdateConstantsOutcomeCallable DBFSClient::updateConstantsCallable(const UpdateConstantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateConstantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateConstants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DBFSClient::UpdateTaskOutcome DBFSClient::updateTask(const UpdateTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateTaskOutcome(UpdateTaskResult(outcome.result()));
|
||||
else
|
||||
return UpdateTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DBFSClient::updateTaskAsync(const UpdateTaskRequest& request, const UpdateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DBFSClient::UpdateTaskOutcomeCallable DBFSClient::updateTaskCallable(const UpdateTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
73
dbfs/src/model/AddTagsBatchRequest.cc
Normal file
73
dbfs/src/model/AddTagsBatchRequest.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/dbfs/model/AddTagsBatchRequest.h>
|
||||
|
||||
using AlibabaCloud::DBFS::Model::AddTagsBatchRequest;
|
||||
|
||||
AddTagsBatchRequest::AddTagsBatchRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "AddTagsBatch")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddTagsBatchRequest::~AddTagsBatchRequest()
|
||||
{}
|
||||
|
||||
std::string AddTagsBatchRequest::getDbfsList()const
|
||||
{
|
||||
return dbfsList_;
|
||||
}
|
||||
|
||||
void AddTagsBatchRequest::setDbfsList(const std::string& dbfsList)
|
||||
{
|
||||
dbfsList_ = dbfsList;
|
||||
setParameter("DbfsList", dbfsList);
|
||||
}
|
||||
|
||||
std::string AddTagsBatchRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddTagsBatchRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddTagsBatchRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void AddTagsBatchRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string AddTagsBatchRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AddTagsBatchRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h>
|
||||
#include <alibabacloud/dbfs/model/AddTagsBatchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
using namespace AlibabaCloud::DBFS;
|
||||
using namespace AlibabaCloud::DBFS::Model;
|
||||
|
||||
BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult() :
|
||||
AddTagsBatchResult::AddTagsBatchResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult(const std::string &payload) :
|
||||
AddTagsBatchResult::AddTagsBatchResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchDeleteCdnDomainConfigResult::~BatchDeleteCdnDomainConfigResult()
|
||||
AddTagsBatchResult::~AddTagsBatchResult()
|
||||
{}
|
||||
|
||||
void BatchDeleteCdnDomainConfigResult::parse(const std::string &payload)
|
||||
void AddTagsBatchResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::DBFS::Model::AttachDbfsRequest;
|
||||
|
||||
AttachDbfsRequest::AttachDbfsRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-02-19", "AttachDbfs")
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "AttachDbfs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -49,6 +49,17 @@ void AttachDbfsRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachDbfsRequest::getServerUrl()const
|
||||
{
|
||||
return serverUrl_;
|
||||
}
|
||||
|
||||
void AttachDbfsRequest::setServerUrl(const std::string& serverUrl)
|
||||
{
|
||||
serverUrl_ = serverUrl;
|
||||
setParameter("ServerUrl", serverUrl);
|
||||
}
|
||||
|
||||
std::string AttachDbfsRequest::getFsId()const
|
||||
{
|
||||
return fsId_;
|
||||
|
||||
73
dbfs/src/model/CreateConstantsRequest.cc
Normal file
73
dbfs/src/model/CreateConstantsRequest.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/dbfs/model/CreateConstantsRequest.h>
|
||||
|
||||
using AlibabaCloud::DBFS::Model::CreateConstantsRequest;
|
||||
|
||||
CreateConstantsRequest::CreateConstantsRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "CreateConstants")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateConstantsRequest::~CreateConstantsRequest()
|
||||
{}
|
||||
|
||||
int CreateConstantsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void CreateConstantsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string CreateConstantsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateConstantsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateConstantsRequest::getConstantsData()const
|
||||
{
|
||||
return constantsData_;
|
||||
}
|
||||
|
||||
void CreateConstantsRequest::setConstantsData(const std::string& constantsData)
|
||||
{
|
||||
constantsData_ = constantsData;
|
||||
setParameter("ConstantsData", constantsData);
|
||||
}
|
||||
|
||||
int CreateConstantsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void CreateConstantsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
72
dbfs/src/model/CreateConstantsResult.cc
Normal file
72
dbfs/src/model/CreateConstantsResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbfs/model/CreateConstantsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::DBFS;
|
||||
using namespace AlibabaCloud::DBFS::Model;
|
||||
|
||||
CreateConstantsResult::CreateConstantsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateConstantsResult::CreateConstantsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateConstantsResult::~CreateConstantsResult()
|
||||
{}
|
||||
|
||||
void CreateConstantsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateConstantsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long CreateConstantsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long CreateConstantsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string CreateConstantsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::DBFS::Model::CreateDbfsRequest;
|
||||
|
||||
CreateDbfsRequest::CreateDbfsRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-02-19", "CreateDbfs")
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "CreateDbfs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -38,6 +38,17 @@ void CreateDbfsRequest::setSizeG(int sizeG)
|
||||
setParameter("SizeG", std::to_string(sizeG));
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getSnapshotId()const
|
||||
{
|
||||
return snapshotId_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setSnapshotId(const std::string& snapshotId)
|
||||
{
|
||||
snapshotId_ = snapshotId;
|
||||
setParameter("SnapshotId", snapshotId);
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
@@ -49,6 +60,17 @@ void CreateDbfsRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getUsedScene()const
|
||||
{
|
||||
return usedScene_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setUsedScene(const std::string& usedScene)
|
||||
{
|
||||
usedScene_ = usedScene;
|
||||
setParameter("UsedScene", usedScene);
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getFsName()const
|
||||
{
|
||||
return fsName_;
|
||||
@@ -60,6 +82,28 @@ void CreateDbfsRequest::setFsName(const std::string& fsName)
|
||||
setParameter("FsName", fsName);
|
||||
}
|
||||
|
||||
int CreateDbfsRequest::getRaidStripeUnitNumber()const
|
||||
{
|
||||
return raidStripeUnitNumber_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setRaidStripeUnitNumber(int raidStripeUnitNumber)
|
||||
{
|
||||
raidStripeUnitNumber_ = raidStripeUnitNumber;
|
||||
setParameter("RaidStripeUnitNumber", std::to_string(raidStripeUnitNumber));
|
||||
}
|
||||
|
||||
bool CreateDbfsRequest::getEncryption()const
|
||||
{
|
||||
return encryption_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setEncryption(bool encryption)
|
||||
{
|
||||
encryption_ = encryption;
|
||||
setParameter("Encryption", encryption ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -71,6 +115,39 @@ void CreateDbfsRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getPerformanceLevel()const
|
||||
{
|
||||
return performanceLevel_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setPerformanceLevel(const std::string& performanceLevel)
|
||||
{
|
||||
performanceLevel_ = performanceLevel;
|
||||
setParameter("PerformanceLevel", performanceLevel);
|
||||
}
|
||||
|
||||
bool CreateDbfsRequest::getEnableRaid()const
|
||||
{
|
||||
return enableRaid_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setEnableRaid(bool enableRaid)
|
||||
{
|
||||
enableRaid_ = enableRaid;
|
||||
setParameter("EnableRaid", enableRaid ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateDbfsRequest::getDeleteSnapshot()const
|
||||
{
|
||||
return deleteSnapshot_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setDeleteSnapshot(bool deleteSnapshot)
|
||||
{
|
||||
deleteSnapshot_ = deleteSnapshot;
|
||||
setParameter("DeleteSnapshot", deleteSnapshot ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
@@ -93,3 +170,14 @@ void CreateDbfsRequest::setCategory(const std::string& category)
|
||||
setParameter("Category", category);
|
||||
}
|
||||
|
||||
std::string CreateDbfsRequest::getKMSKeyId()const
|
||||
{
|
||||
return kMSKeyId_;
|
||||
}
|
||||
|
||||
void CreateDbfsRequest::setKMSKeyId(const std::string& kMSKeyId)
|
||||
{
|
||||
kMSKeyId_ = kMSKeyId;
|
||||
setParameter("KMSKeyId", kMSKeyId);
|
||||
}
|
||||
|
||||
|
||||
51
dbfs/src/model/CreateServiceLinkedRoleRequest.cc
Normal file
51
dbfs/src/model/CreateServiceLinkedRoleRequest.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/dbfs/model/CreateServiceLinkedRoleRequest.h>
|
||||
|
||||
using AlibabaCloud::DBFS::Model::CreateServiceLinkedRoleRequest;
|
||||
|
||||
CreateServiceLinkedRoleRequest::CreateServiceLinkedRoleRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "CreateServiceLinkedRole")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateServiceLinkedRoleRequest::~CreateServiceLinkedRoleRequest()
|
||||
{}
|
||||
|
||||
std::string CreateServiceLinkedRoleRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateServiceLinkedRoleRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateServiceLinkedRoleRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateServiceLinkedRoleRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
44
dbfs/src/model/CreateServiceLinkedRoleResult.cc
Normal file
44
dbfs/src/model/CreateServiceLinkedRoleResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbfs/model/CreateServiceLinkedRoleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::DBFS;
|
||||
using namespace AlibabaCloud::DBFS::Model;
|
||||
|
||||
CreateServiceLinkedRoleResult::CreateServiceLinkedRoleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateServiceLinkedRoleResult::CreateServiceLinkedRoleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateServiceLinkedRoleResult::~CreateServiceLinkedRoleResult()
|
||||
{}
|
||||
|
||||
void CreateServiceLinkedRoleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
95
dbfs/src/model/CreateSnapshotRequest.cc
Normal file
95
dbfs/src/model/CreateSnapshotRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/dbfs/model/CreateSnapshotRequest.h>
|
||||
|
||||
using AlibabaCloud::DBFS::Model::CreateSnapshotRequest;
|
||||
|
||||
CreateSnapshotRequest::CreateSnapshotRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "CreateSnapshot")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateSnapshotRequest::~CreateSnapshotRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSnapshotRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getSnapshotName()const
|
||||
{
|
||||
return snapshotName_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setSnapshotName(const std::string& snapshotName)
|
||||
{
|
||||
snapshotName_ = snapshotName;
|
||||
setParameter("SnapshotName", snapshotName);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateSnapshotRequest::getFsId()const
|
||||
{
|
||||
return fsId_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setFsId(const std::string& fsId)
|
||||
{
|
||||
fsId_ = fsId;
|
||||
setParameter("FsId", fsId);
|
||||
}
|
||||
|
||||
int CreateSnapshotRequest::getRetentionDays()const
|
||||
{
|
||||
return retentionDays_;
|
||||
}
|
||||
|
||||
void CreateSnapshotRequest::setRetentionDays(int retentionDays)
|
||||
{
|
||||
retentionDays_ = retentionDays;
|
||||
setParameter("RetentionDays", std::to_string(retentionDays));
|
||||
}
|
||||
|
||||
@@ -14,39 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeUserCustomLogConfigResult.h>
|
||||
#include <alibabacloud/dbfs/model/CreateSnapshotResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
using namespace AlibabaCloud::DBFS;
|
||||
using namespace AlibabaCloud::DBFS::Model;
|
||||
|
||||
DescribeUserCustomLogConfigResult::DescribeUserCustomLogConfigResult() :
|
||||
CreateSnapshotResult::CreateSnapshotResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeUserCustomLogConfigResult::DescribeUserCustomLogConfigResult(const std::string &payload) :
|
||||
CreateSnapshotResult::CreateSnapshotResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeUserCustomLogConfigResult::~DescribeUserCustomLogConfigResult()
|
||||
CreateSnapshotResult::~CreateSnapshotResult()
|
||||
{}
|
||||
|
||||
void DescribeUserCustomLogConfigResult::parse(const std::string &payload)
|
||||
void CreateSnapshotResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allConfigIds = value["ConfigIds"]["ConfigId"];
|
||||
for (const auto &item : allConfigIds)
|
||||
configIds_.push_back(item.asString());
|
||||
if(!value["SnapshotId"].isNull())
|
||||
snapshotId_ = value["SnapshotId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeUserCustomLogConfigResult::getConfigIds()const
|
||||
std::string CreateSnapshotResult::getSnapshotId()const
|
||||
{
|
||||
return configIds_;
|
||||
return snapshotId_;
|
||||
}
|
||||
|
||||
73
dbfs/src/model/DbfsRecordRequest.cc
Normal file
73
dbfs/src/model/DbfsRecordRequest.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/dbfs/model/DbfsRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::DBFS::Model::DbfsRecordRequest;
|
||||
|
||||
DbfsRecordRequest::DbfsRecordRequest() :
|
||||
RpcServiceRequest("dbfs", "2020-04-18", "DbfsRecord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DbfsRecordRequest::~DbfsRecordRequest()
|
||||
{}
|
||||
|
||||
int DbfsRecordRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DbfsRecordRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DbfsRecordRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DbfsRecordRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DbfsRecordRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DbfsRecordRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DbfsRecordRequest::getBatchStrategyNo()const
|
||||
{
|
||||
return batchStrategyNo_;
|
||||
}
|
||||
|
||||
void DbfsRecordRequest::setBatchStrategyNo(const std::string& batchStrategyNo)
|
||||
{
|
||||
batchStrategyNo_ = batchStrategyNo;
|
||||
setParameter("BatchStrategyNo", batchStrategyNo);
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user