Delete API.

This commit is contained in:
sdk-team
2021-03-03 06:57:52 +00:00
parent 76793cff83
commit 1ffa242729
40 changed files with 3 additions and 2691 deletions

View File

@@ -27,10 +27,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/AddFCTriggerResult.h
include/alibabacloud/cdn/model/AddLiveAppRecordConfigRequest.h
include/alibabacloud/cdn/model/AddLiveAppRecordConfigResult.h
include/alibabacloud/cdn/model/AddLiveAppSnapshotConfigRequest.h
include/alibabacloud/cdn/model/AddLiveAppSnapshotConfigResult.h
include/alibabacloud/cdn/model/AddLiveDomainMappingRequest.h
include/alibabacloud/cdn/model/AddLiveDomainMappingResult.h
include/alibabacloud/cdn/model/AddLiveStreamTranscodeRequest.h
include/alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h
include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h
@@ -319,14 +315,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/ModifyCdnDomainResult.h
include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyRequest.h
include/alibabacloud/cdn/model/ModifyCdnDomainSchdmByPropertyResult.h
include/alibabacloud/cdn/model/ModifyCdnServiceRequest.h
include/alibabacloud/cdn/model/ModifyCdnServiceResult.h
include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigRequest.h
include/alibabacloud/cdn/model/ModifyDomainCustomLogConfigResult.h
include/alibabacloud/cdn/model/ModifyFileCacheExpiredConfigRequest.h
include/alibabacloud/cdn/model/ModifyFileCacheExpiredConfigResult.h
include/alibabacloud/cdn/model/ModifyHttpHeaderConfigRequest.h
include/alibabacloud/cdn/model/ModifyHttpHeaderConfigResult.h
include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigRequest.h
include/alibabacloud/cdn/model/ModifyPathCacheExpiredConfigResult.h
include/alibabacloud/cdn/model/ModifyRealtimeLogDeliveryRequest.h
@@ -357,8 +347,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/SetDomainGreenManagerConfigResult.h
include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h
include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h
include/alibabacloud/cdn/model/SetDynamicConfigRequest.h
include/alibabacloud/cdn/model/SetDynamicConfigResult.h
include/alibabacloud/cdn/model/SetErrorPageConfigRequest.h
include/alibabacloud/cdn/model/SetErrorPageConfigResult.h
include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h
@@ -379,10 +367,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/SetIpAllowListConfigResult.h
include/alibabacloud/cdn/model/SetIpBlackListConfigRequest.h
include/alibabacloud/cdn/model/SetIpBlackListConfigResult.h
include/alibabacloud/cdn/model/SetL2OssKeyConfigRequest.h
include/alibabacloud/cdn/model/SetL2OssKeyConfigResult.h
include/alibabacloud/cdn/model/SetLiveStreamsNotifyUrlConfigRequest.h
include/alibabacloud/cdn/model/SetLiveStreamsNotifyUrlConfigResult.h
include/alibabacloud/cdn/model/SetOptimizeConfigRequest.h
include/alibabacloud/cdn/model/SetOptimizeConfigResult.h
include/alibabacloud/cdn/model/SetPageCompressConfigRequest.h
@@ -415,8 +399,6 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/UntagResourcesResult.h
include/alibabacloud/cdn/model/UpdateFCTriggerRequest.h
include/alibabacloud/cdn/model/UpdateFCTriggerResult.h
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigRequest.h
include/alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigResult.h
include/alibabacloud/cdn/model/VerifyDomainOwnerRequest.h
include/alibabacloud/cdn/model/VerifyDomainOwnerResult.h )
@@ -428,10 +410,6 @@ set(cdn_src
src/model/AddFCTriggerResult.cc
src/model/AddLiveAppRecordConfigRequest.cc
src/model/AddLiveAppRecordConfigResult.cc
src/model/AddLiveAppSnapshotConfigRequest.cc
src/model/AddLiveAppSnapshotConfigResult.cc
src/model/AddLiveDomainMappingRequest.cc
src/model/AddLiveDomainMappingResult.cc
src/model/AddLiveStreamTranscodeRequest.cc
src/model/AddLiveStreamTranscodeResult.cc
src/model/BatchAddCdnDomainRequest.cc
@@ -720,14 +698,8 @@ set(cdn_src
src/model/ModifyCdnDomainResult.cc
src/model/ModifyCdnDomainSchdmByPropertyRequest.cc
src/model/ModifyCdnDomainSchdmByPropertyResult.cc
src/model/ModifyCdnServiceRequest.cc
src/model/ModifyCdnServiceResult.cc
src/model/ModifyDomainCustomLogConfigRequest.cc
src/model/ModifyDomainCustomLogConfigResult.cc
src/model/ModifyFileCacheExpiredConfigRequest.cc
src/model/ModifyFileCacheExpiredConfigResult.cc
src/model/ModifyHttpHeaderConfigRequest.cc
src/model/ModifyHttpHeaderConfigResult.cc
src/model/ModifyPathCacheExpiredConfigRequest.cc
src/model/ModifyPathCacheExpiredConfigResult.cc
src/model/ModifyRealtimeLogDeliveryRequest.cc
@@ -758,8 +730,6 @@ set(cdn_src
src/model/SetDomainGreenManagerConfigResult.cc
src/model/SetDomainServerCertificateRequest.cc
src/model/SetDomainServerCertificateResult.cc
src/model/SetDynamicConfigRequest.cc
src/model/SetDynamicConfigResult.cc
src/model/SetErrorPageConfigRequest.cc
src/model/SetErrorPageConfigResult.cc
src/model/SetFileCacheExpiredConfigRequest.cc
@@ -780,10 +750,6 @@ set(cdn_src
src/model/SetIpAllowListConfigResult.cc
src/model/SetIpBlackListConfigRequest.cc
src/model/SetIpBlackListConfigResult.cc
src/model/SetL2OssKeyConfigRequest.cc
src/model/SetL2OssKeyConfigResult.cc
src/model/SetLiveStreamsNotifyUrlConfigRequest.cc
src/model/SetLiveStreamsNotifyUrlConfigResult.cc
src/model/SetOptimizeConfigRequest.cc
src/model/SetOptimizeConfigResult.cc
src/model/SetPageCompressConfigRequest.cc
@@ -816,8 +782,6 @@ set(cdn_src
src/model/UntagResourcesResult.cc
src/model/UpdateFCTriggerRequest.cc
src/model/UpdateFCTriggerResult.cc
src/model/UpdateLiveAppSnapshotConfigRequest.cc
src/model/UpdateLiveAppSnapshotConfigResult.cc
src/model/VerifyDomainOwnerRequest.cc
src/model/VerifyDomainOwnerResult.cc )

View File

@@ -28,10 +28,6 @@
#include "model/AddFCTriggerResult.h"
#include "model/AddLiveAppRecordConfigRequest.h"
#include "model/AddLiveAppRecordConfigResult.h"
#include "model/AddLiveAppSnapshotConfigRequest.h"
#include "model/AddLiveAppSnapshotConfigResult.h"
#include "model/AddLiveDomainMappingRequest.h"
#include "model/AddLiveDomainMappingResult.h"
#include "model/AddLiveStreamTranscodeRequest.h"
#include "model/AddLiveStreamTranscodeResult.h"
#include "model/BatchAddCdnDomainRequest.h"
@@ -320,14 +316,8 @@
#include "model/ModifyCdnDomainResult.h"
#include "model/ModifyCdnDomainSchdmByPropertyRequest.h"
#include "model/ModifyCdnDomainSchdmByPropertyResult.h"
#include "model/ModifyCdnServiceRequest.h"
#include "model/ModifyCdnServiceResult.h"
#include "model/ModifyDomainCustomLogConfigRequest.h"
#include "model/ModifyDomainCustomLogConfigResult.h"
#include "model/ModifyFileCacheExpiredConfigRequest.h"
#include "model/ModifyFileCacheExpiredConfigResult.h"
#include "model/ModifyHttpHeaderConfigRequest.h"
#include "model/ModifyHttpHeaderConfigResult.h"
#include "model/ModifyPathCacheExpiredConfigRequest.h"
#include "model/ModifyPathCacheExpiredConfigResult.h"
#include "model/ModifyRealtimeLogDeliveryRequest.h"
@@ -358,8 +348,6 @@
#include "model/SetDomainGreenManagerConfigResult.h"
#include "model/SetDomainServerCertificateRequest.h"
#include "model/SetDomainServerCertificateResult.h"
#include "model/SetDynamicConfigRequest.h"
#include "model/SetDynamicConfigResult.h"
#include "model/SetErrorPageConfigRequest.h"
#include "model/SetErrorPageConfigResult.h"
#include "model/SetFileCacheExpiredConfigRequest.h"
@@ -380,10 +368,6 @@
#include "model/SetIpAllowListConfigResult.h"
#include "model/SetIpBlackListConfigRequest.h"
#include "model/SetIpBlackListConfigResult.h"
#include "model/SetL2OssKeyConfigRequest.h"
#include "model/SetL2OssKeyConfigResult.h"
#include "model/SetLiveStreamsNotifyUrlConfigRequest.h"
#include "model/SetLiveStreamsNotifyUrlConfigResult.h"
#include "model/SetOptimizeConfigRequest.h"
#include "model/SetOptimizeConfigResult.h"
#include "model/SetPageCompressConfigRequest.h"
@@ -416,8 +400,6 @@
#include "model/UntagResourcesResult.h"
#include "model/UpdateFCTriggerRequest.h"
#include "model/UpdateFCTriggerResult.h"
#include "model/UpdateLiveAppSnapshotConfigRequest.h"
#include "model/UpdateLiveAppSnapshotConfigResult.h"
#include "model/VerifyDomainOwnerRequest.h"
#include "model/VerifyDomainOwnerResult.h"
@@ -438,12 +420,6 @@ namespace AlibabaCloud
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::AddLiveAppSnapshotConfigResult> AddLiveAppSnapshotConfigOutcome;
typedef std::future<AddLiveAppSnapshotConfigOutcome> AddLiveAppSnapshotConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::AddLiveAppSnapshotConfigRequest&, const AddLiveAppSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLiveAppSnapshotConfigAsyncHandler;
typedef Outcome<Error, Model::AddLiveDomainMappingResult> AddLiveDomainMappingOutcome;
typedef std::future<AddLiveDomainMappingOutcome> AddLiveDomainMappingOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::AddLiveDomainMappingRequest&, const AddLiveDomainMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLiveDomainMappingAsyncHandler;
typedef Outcome<Error, Model::AddLiveStreamTranscodeResult> AddLiveStreamTranscodeOutcome;
typedef std::future<AddLiveStreamTranscodeOutcome> AddLiveStreamTranscodeOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::AddLiveStreamTranscodeRequest&, const AddLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLiveStreamTranscodeAsyncHandler;
@@ -876,18 +852,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyCdnDomainSchdmByPropertyResult> ModifyCdnDomainSchdmByPropertyOutcome;
typedef std::future<ModifyCdnDomainSchdmByPropertyOutcome> ModifyCdnDomainSchdmByPropertyOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyCdnDomainSchdmByPropertyRequest&, const ModifyCdnDomainSchdmByPropertyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCdnDomainSchdmByPropertyAsyncHandler;
typedef Outcome<Error, Model::ModifyCdnServiceResult> ModifyCdnServiceOutcome;
typedef std::future<ModifyCdnServiceOutcome> ModifyCdnServiceOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyCdnServiceRequest&, const ModifyCdnServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCdnServiceAsyncHandler;
typedef Outcome<Error, Model::ModifyDomainCustomLogConfigResult> ModifyDomainCustomLogConfigOutcome;
typedef std::future<ModifyDomainCustomLogConfigOutcome> ModifyDomainCustomLogConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyDomainCustomLogConfigRequest&, const ModifyDomainCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDomainCustomLogConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyFileCacheExpiredConfigResult> ModifyFileCacheExpiredConfigOutcome;
typedef std::future<ModifyFileCacheExpiredConfigOutcome> ModifyFileCacheExpiredConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyFileCacheExpiredConfigRequest&, const ModifyFileCacheExpiredConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyFileCacheExpiredConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyHttpHeaderConfigResult> ModifyHttpHeaderConfigOutcome;
typedef std::future<ModifyHttpHeaderConfigOutcome> ModifyHttpHeaderConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyHttpHeaderConfigRequest&, const ModifyHttpHeaderConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHttpHeaderConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyPathCacheExpiredConfigResult> ModifyPathCacheExpiredConfigOutcome;
typedef std::future<ModifyPathCacheExpiredConfigOutcome> ModifyPathCacheExpiredConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::ModifyPathCacheExpiredConfigRequest&, const ModifyPathCacheExpiredConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPathCacheExpiredConfigAsyncHandler;
@@ -933,9 +900,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetDomainServerCertificateResult> SetDomainServerCertificateOutcome;
typedef std::future<SetDomainServerCertificateOutcome> SetDomainServerCertificateOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetDomainServerCertificateRequest&, const SetDomainServerCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainServerCertificateAsyncHandler;
typedef Outcome<Error, Model::SetDynamicConfigResult> SetDynamicConfigOutcome;
typedef std::future<SetDynamicConfigOutcome> SetDynamicConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetDynamicConfigRequest&, const SetDynamicConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDynamicConfigAsyncHandler;
typedef Outcome<Error, Model::SetErrorPageConfigResult> SetErrorPageConfigOutcome;
typedef std::future<SetErrorPageConfigOutcome> SetErrorPageConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetErrorPageConfigRequest&, const SetErrorPageConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetErrorPageConfigAsyncHandler;
@@ -966,12 +930,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetIpBlackListConfigResult> SetIpBlackListConfigOutcome;
typedef std::future<SetIpBlackListConfigOutcome> SetIpBlackListConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetIpBlackListConfigRequest&, const SetIpBlackListConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetIpBlackListConfigAsyncHandler;
typedef Outcome<Error, Model::SetL2OssKeyConfigResult> SetL2OssKeyConfigOutcome;
typedef std::future<SetL2OssKeyConfigOutcome> SetL2OssKeyConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetL2OssKeyConfigRequest&, const SetL2OssKeyConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetL2OssKeyConfigAsyncHandler;
typedef Outcome<Error, Model::SetLiveStreamsNotifyUrlConfigResult> SetLiveStreamsNotifyUrlConfigOutcome;
typedef std::future<SetLiveStreamsNotifyUrlConfigOutcome> SetLiveStreamsNotifyUrlConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetLiveStreamsNotifyUrlConfigRequest&, const SetLiveStreamsNotifyUrlConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLiveStreamsNotifyUrlConfigAsyncHandler;
typedef Outcome<Error, Model::SetOptimizeConfigResult> SetOptimizeConfigOutcome;
typedef std::future<SetOptimizeConfigOutcome> SetOptimizeConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::SetOptimizeConfigRequest&, const SetOptimizeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetOptimizeConfigAsyncHandler;
@@ -1020,9 +978,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateFCTriggerResult> UpdateFCTriggerOutcome;
typedef std::future<UpdateFCTriggerOutcome> UpdateFCTriggerOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::UpdateFCTriggerRequest&, const UpdateFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFCTriggerAsyncHandler;
typedef Outcome<Error, Model::UpdateLiveAppSnapshotConfigResult> UpdateLiveAppSnapshotConfigOutcome;
typedef std::future<UpdateLiveAppSnapshotConfigOutcome> UpdateLiveAppSnapshotConfigOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::UpdateLiveAppSnapshotConfigRequest&, const UpdateLiveAppSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveAppSnapshotConfigAsyncHandler;
typedef Outcome<Error, Model::VerifyDomainOwnerResult> VerifyDomainOwnerOutcome;
typedef std::future<VerifyDomainOwnerOutcome> VerifyDomainOwnerOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::VerifyDomainOwnerRequest&, const VerifyDomainOwnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyDomainOwnerAsyncHandler;
@@ -1040,12 +995,6 @@ namespace AlibabaCloud
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;
AddLiveAppSnapshotConfigOutcome addLiveAppSnapshotConfig(const Model::AddLiveAppSnapshotConfigRequest &request)const;
void addLiveAppSnapshotConfigAsync(const Model::AddLiveAppSnapshotConfigRequest& request, const AddLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddLiveAppSnapshotConfigOutcomeCallable addLiveAppSnapshotConfigCallable(const Model::AddLiveAppSnapshotConfigRequest& request) const;
AddLiveDomainMappingOutcome addLiveDomainMapping(const Model::AddLiveDomainMappingRequest &request)const;
void addLiveDomainMappingAsync(const Model::AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddLiveDomainMappingOutcomeCallable addLiveDomainMappingCallable(const Model::AddLiveDomainMappingRequest& request) const;
AddLiveStreamTranscodeOutcome addLiveStreamTranscode(const Model::AddLiveStreamTranscodeRequest &request)const;
void addLiveStreamTranscodeAsync(const Model::AddLiveStreamTranscodeRequest& request, const AddLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddLiveStreamTranscodeOutcomeCallable addLiveStreamTranscodeCallable(const Model::AddLiveStreamTranscodeRequest& request) const;
@@ -1478,18 +1427,9 @@ namespace AlibabaCloud
ModifyCdnDomainSchdmByPropertyOutcome modifyCdnDomainSchdmByProperty(const Model::ModifyCdnDomainSchdmByPropertyRequest &request)const;
void modifyCdnDomainSchdmByPropertyAsync(const Model::ModifyCdnDomainSchdmByPropertyRequest& request, const ModifyCdnDomainSchdmByPropertyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCdnDomainSchdmByPropertyOutcomeCallable modifyCdnDomainSchdmByPropertyCallable(const Model::ModifyCdnDomainSchdmByPropertyRequest& request) const;
ModifyCdnServiceOutcome modifyCdnService(const Model::ModifyCdnServiceRequest &request)const;
void modifyCdnServiceAsync(const Model::ModifyCdnServiceRequest& request, const ModifyCdnServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCdnServiceOutcomeCallable modifyCdnServiceCallable(const Model::ModifyCdnServiceRequest& request) const;
ModifyDomainCustomLogConfigOutcome modifyDomainCustomLogConfig(const Model::ModifyDomainCustomLogConfigRequest &request)const;
void modifyDomainCustomLogConfigAsync(const Model::ModifyDomainCustomLogConfigRequest& request, const ModifyDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDomainCustomLogConfigOutcomeCallable modifyDomainCustomLogConfigCallable(const Model::ModifyDomainCustomLogConfigRequest& request) const;
ModifyFileCacheExpiredConfigOutcome modifyFileCacheExpiredConfig(const Model::ModifyFileCacheExpiredConfigRequest &request)const;
void modifyFileCacheExpiredConfigAsync(const Model::ModifyFileCacheExpiredConfigRequest& request, const ModifyFileCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyFileCacheExpiredConfigOutcomeCallable modifyFileCacheExpiredConfigCallable(const Model::ModifyFileCacheExpiredConfigRequest& request) const;
ModifyHttpHeaderConfigOutcome modifyHttpHeaderConfig(const Model::ModifyHttpHeaderConfigRequest &request)const;
void modifyHttpHeaderConfigAsync(const Model::ModifyHttpHeaderConfigRequest& request, const ModifyHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHttpHeaderConfigOutcomeCallable modifyHttpHeaderConfigCallable(const Model::ModifyHttpHeaderConfigRequest& request) const;
ModifyPathCacheExpiredConfigOutcome modifyPathCacheExpiredConfig(const Model::ModifyPathCacheExpiredConfigRequest &request)const;
void modifyPathCacheExpiredConfigAsync(const Model::ModifyPathCacheExpiredConfigRequest& request, const ModifyPathCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPathCacheExpiredConfigOutcomeCallable modifyPathCacheExpiredConfigCallable(const Model::ModifyPathCacheExpiredConfigRequest& request) const;
@@ -1535,9 +1475,6 @@ namespace AlibabaCloud
SetDomainServerCertificateOutcome setDomainServerCertificate(const Model::SetDomainServerCertificateRequest &request)const;
void setDomainServerCertificateAsync(const Model::SetDomainServerCertificateRequest& request, const SetDomainServerCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDomainServerCertificateOutcomeCallable setDomainServerCertificateCallable(const Model::SetDomainServerCertificateRequest& request) const;
SetDynamicConfigOutcome setDynamicConfig(const Model::SetDynamicConfigRequest &request)const;
void setDynamicConfigAsync(const Model::SetDynamicConfigRequest& request, const SetDynamicConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDynamicConfigOutcomeCallable setDynamicConfigCallable(const Model::SetDynamicConfigRequest& request) const;
SetErrorPageConfigOutcome setErrorPageConfig(const Model::SetErrorPageConfigRequest &request)const;
void setErrorPageConfigAsync(const Model::SetErrorPageConfigRequest& request, const SetErrorPageConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetErrorPageConfigOutcomeCallable setErrorPageConfigCallable(const Model::SetErrorPageConfigRequest& request) const;
@@ -1568,12 +1505,6 @@ namespace AlibabaCloud
SetIpBlackListConfigOutcome setIpBlackListConfig(const Model::SetIpBlackListConfigRequest &request)const;
void setIpBlackListConfigAsync(const Model::SetIpBlackListConfigRequest& request, const SetIpBlackListConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetIpBlackListConfigOutcomeCallable setIpBlackListConfigCallable(const Model::SetIpBlackListConfigRequest& request) const;
SetL2OssKeyConfigOutcome setL2OssKeyConfig(const Model::SetL2OssKeyConfigRequest &request)const;
void setL2OssKeyConfigAsync(const Model::SetL2OssKeyConfigRequest& request, const SetL2OssKeyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetL2OssKeyConfigOutcomeCallable setL2OssKeyConfigCallable(const Model::SetL2OssKeyConfigRequest& request) const;
SetLiveStreamsNotifyUrlConfigOutcome setLiveStreamsNotifyUrlConfig(const Model::SetLiveStreamsNotifyUrlConfigRequest &request)const;
void setLiveStreamsNotifyUrlConfigAsync(const Model::SetLiveStreamsNotifyUrlConfigRequest& request, const SetLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetLiveStreamsNotifyUrlConfigOutcomeCallable setLiveStreamsNotifyUrlConfigCallable(const Model::SetLiveStreamsNotifyUrlConfigRequest& request) const;
SetOptimizeConfigOutcome setOptimizeConfig(const Model::SetOptimizeConfigRequest &request)const;
void setOptimizeConfigAsync(const Model::SetOptimizeConfigRequest& request, const SetOptimizeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetOptimizeConfigOutcomeCallable setOptimizeConfigCallable(const Model::SetOptimizeConfigRequest& request) const;
@@ -1622,9 +1553,6 @@ namespace AlibabaCloud
UpdateFCTriggerOutcome updateFCTrigger(const Model::UpdateFCTriggerRequest &request)const;
void updateFCTriggerAsync(const Model::UpdateFCTriggerRequest& request, const UpdateFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateFCTriggerOutcomeCallable updateFCTriggerCallable(const Model::UpdateFCTriggerRequest& request) const;
UpdateLiveAppSnapshotConfigOutcome updateLiveAppSnapshotConfig(const Model::UpdateLiveAppSnapshotConfigRequest &request)const;
void updateLiveAppSnapshotConfigAsync(const Model::UpdateLiveAppSnapshotConfigRequest& request, const UpdateLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLiveAppSnapshotConfigOutcomeCallable updateLiveAppSnapshotConfigCallable(const Model::UpdateLiveAppSnapshotConfigRequest& request) const;
VerifyDomainOwnerOutcome verifyDomainOwner(const Model::VerifyDomainOwnerRequest &request)const;
void verifyDomainOwnerAsync(const Model::VerifyDomainOwnerRequest& request, const VerifyDomainOwnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyDomainOwnerOutcomeCallable verifyDomainOwnerCallable(const Model::VerifyDomainOwnerRequest& request) const;

View File

@@ -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_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_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 AddLiveAppSnapshotConfigRequest : public RpcServiceRequest
{
public:
AddLiveAppSnapshotConfigRequest();
~AddLiveAppSnapshotConfigRequest();
int getTimeInterval()const;
void setTimeInterval(int timeInterval);
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 getOverwriteOssObject()const;
void setOverwriteOssObject(const std::string& overwriteOssObject);
std::string getOssBucket()const;
void setOssBucket(const std::string& ossBucket);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getSequenceOssObject()const;
void setSequenceOssObject(const std::string& sequenceOssObject);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
int timeInterval_;
std::string ossEndpoint_;
std::string appName_;
std::string securityToken_;
std::string overwriteOssObject_;
std::string ossBucket_;
std::string domainName_;
std::string sequenceOssObject_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_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 AddLiveAppSnapshotConfigResult : public ServiceResult
{
public:
AddLiveAppSnapshotConfigResult();
explicit AddLiveAppSnapshotConfigResult(const std::string &payload);
~AddLiveAppSnapshotConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_

View File

@@ -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_ADDLIVEDOMAINMAPPINGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_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 AddLiveDomainMappingRequest : public RpcServiceRequest
{
public:
AddLiveDomainMappingRequest();
~AddLiveDomainMappingRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPullDomain()const;
void setPullDomain(const std::string& pullDomain);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getPushDomain()const;
void setPushDomain(const std::string& pushDomain);
private:
long ownerId_;
std::string pullDomain_;
std::string securityToken_;
std::string pushDomain_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_ADDLIVEDOMAINMAPPINGRESULT_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 AddLiveDomainMappingResult : public ServiceResult
{
public:
AddLiveDomainMappingResult();
explicit AddLiveDomainMappingResult(const std::string &payload);
~AddLiveDomainMappingResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_

View File

@@ -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_MODIFYCDNSERVICEREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNSERVICEREQUEST_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 ModifyCdnServiceRequest : public RpcServiceRequest
{
public:
ModifyCdnServiceRequest();
~ModifyCdnServiceRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getInternetChargeType()const;
void setInternetChargeType(const std::string& internetChargeType);
private:
long ownerId_;
std::string securityToken_;
std::string internetChargeType_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNSERVICEREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYCDNSERVICERESULT_H_
#define ALIBABACLOUD_CDN_MODEL_MODIFYCDNSERVICERESULT_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 ModifyCdnServiceResult : public ServiceResult
{
public:
ModifyCdnServiceResult();
explicit ModifyCdnServiceResult(const std::string &payload);
~ModifyCdnServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYCDNSERVICERESULT_H_

View File

@@ -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_MODIFYFILECACHEEXPIREDCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_MODIFYFILECACHEEXPIREDCONFIGREQUEST_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 ModifyFileCacheExpiredConfigRequest : public RpcServiceRequest
{
public:
ModifyFileCacheExpiredConfigRequest();
~ModifyFileCacheExpiredConfigRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getWeight()const;
void setWeight(const std::string& weight);
std::string getCacheContent()const;
void setCacheContent(const std::string& cacheContent);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTTL()const;
void setTTL(const std::string& tTL);
std::string getConfigID()const;
void setConfigID(const std::string& configID);
private:
std::string securityToken_;
std::string domainName_;
std::string weight_;
std::string cacheContent_;
long ownerId_;
std::string tTL_;
std::string configID_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYFILECACHEEXPIREDCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYFILECACHEEXPIREDCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_MODIFYFILECACHEEXPIREDCONFIGRESULT_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 ModifyFileCacheExpiredConfigResult : public ServiceResult
{
public:
ModifyFileCacheExpiredConfigResult();
explicit ModifyFileCacheExpiredConfigResult(const std::string &payload);
~ModifyFileCacheExpiredConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYFILECACHEEXPIREDCONFIGRESULT_H_

View File

@@ -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_MODIFYHTTPHEADERCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_MODIFYHTTPHEADERCONFIGREQUEST_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 ModifyHttpHeaderConfigRequest : public RpcServiceRequest
{
public:
ModifyHttpHeaderConfigRequest();
~ModifyHttpHeaderConfigRequest();
std::string getHeaderValue()const;
void setHeaderValue(const std::string& headerValue);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getConfigID()const;
void setConfigID(const std::string& configID);
std::string getHeaderKey()const;
void setHeaderKey(const std::string& headerKey);
private:
std::string headerValue_;
std::string securityToken_;
std::string domainName_;
long ownerId_;
std::string configID_;
std::string headerKey_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYHTTPHEADERCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_MODIFYHTTPHEADERCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_MODIFYHTTPHEADERCONFIGRESULT_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 ModifyHttpHeaderConfigResult : public ServiceResult
{
public:
ModifyHttpHeaderConfigResult();
explicit ModifyHttpHeaderConfigResult(const std::string &payload);
~ModifyHttpHeaderConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_MODIFYHTTPHEADERCONFIGRESULT_H_

View File

@@ -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_SETDYNAMICCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETDYNAMICCONFIGREQUEST_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 SetDynamicConfigRequest : public RpcServiceRequest
{
public:
SetDynamicConfigRequest();
~SetDynamicConfigRequest();
std::string getDynamicOrigin()const;
void setDynamicOrigin(const std::string& dynamicOrigin);
std::string getStaticType()const;
void setStaticType(const std::string& staticType);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getStaticUri()const;
void setStaticUri(const std::string& staticUri);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getStaticPath()const;
void setStaticPath(const std::string& staticPath);
std::string getDynamicCacheControl()const;
void setDynamicCacheControl(const std::string& dynamicCacheControl);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string dynamicOrigin_;
std::string staticType_;
std::string securityToken_;
std::string staticUri_;
std::string domainName_;
std::string staticPath_;
std::string dynamicCacheControl_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETDYNAMICCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETDYNAMICCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_SETDYNAMICCONFIGRESULT_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 SetDynamicConfigResult : public ServiceResult
{
public:
SetDynamicConfigResult();
explicit SetDynamicConfigResult(const std::string &payload);
~SetDynamicConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETDYNAMICCONFIGRESULT_H_

View File

@@ -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_SETL2OSSKEYCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETL2OSSKEYCONFIGREQUEST_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 SetL2OssKeyConfigRequest : public RpcServiceRequest
{
public:
SetL2OssKeyConfigRequest();
~SetL2OssKeyConfigRequest();
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 getPrivateOssAuth()const;
void setPrivateOssAuth(const std::string& privateOssAuth);
private:
std::string domainName_;
long ownerId_;
std::string securityToken_;
std::string privateOssAuth_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETL2OSSKEYCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETL2OSSKEYCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_SETL2OSSKEYCONFIGRESULT_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 SetL2OssKeyConfigResult : public ServiceResult
{
public:
SetL2OssKeyConfigResult();
explicit SetL2OssKeyConfigResult(const std::string &payload);
~SetL2OssKeyConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETL2OSSKEYCONFIGRESULT_H_

View File

@@ -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_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_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 SetLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest
{
public:
SetLiveStreamsNotifyUrlConfigRequest();
~SetLiveStreamsNotifyUrlConfigRequest();
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 getNotifyUrl()const;
void setNotifyUrl(const std::string& notifyUrl);
private:
std::string domainName_;
long ownerId_;
std::string securityToken_;
std::string notifyUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGRESULT_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 SetLiveStreamsNotifyUrlConfigResult : public ServiceResult
{
public:
SetLiveStreamsNotifyUrlConfigResult();
explicit SetLiveStreamsNotifyUrlConfigResult(const std::string &payload);
~SetLiveStreamsNotifyUrlConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGRESULT_H_

View File

@@ -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_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_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 UpdateLiveAppSnapshotConfigRequest : public RpcServiceRequest
{
public:
UpdateLiveAppSnapshotConfigRequest();
~UpdateLiveAppSnapshotConfigRequest();
int getTimeInterval()const;
void setTimeInterval(int timeInterval);
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 getOverwriteOssObject()const;
void setOverwriteOssObject(const std::string& overwriteOssObject);
std::string getOssBucket()const;
void setOssBucket(const std::string& ossBucket);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getSequenceOssObject()const;
void setSequenceOssObject(const std::string& sequenceOssObject);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
int timeInterval_;
std::string ossEndpoint_;
std::string appName_;
std::string securityToken_;
std::string overwriteOssObject_;
std::string ossBucket_;
std::string domainName_;
std::string sequenceOssObject_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGRESULT_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 UpdateLiveAppSnapshotConfigResult : public ServiceResult
{
public:
UpdateLiveAppSnapshotConfigResult();
explicit UpdateLiveAppSnapshotConfigResult(const std::string &payload);
~UpdateLiveAppSnapshotConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGRESULT_H_

View File

@@ -159,78 +159,6 @@ CdnClient::AddLiveAppRecordConfigOutcomeCallable CdnClient::addLiveAppRecordConf
return task->get_future();
}
CdnClient::AddLiveAppSnapshotConfigOutcome CdnClient::addLiveAppSnapshotConfig(const AddLiveAppSnapshotConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddLiveAppSnapshotConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddLiveAppSnapshotConfigOutcome(AddLiveAppSnapshotConfigResult(outcome.result()));
else
return AddLiveAppSnapshotConfigOutcome(outcome.error());
}
void CdnClient::addLiveAppSnapshotConfigAsync(const AddLiveAppSnapshotConfigRequest& request, const AddLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addLiveAppSnapshotConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::AddLiveAppSnapshotConfigOutcomeCallable CdnClient::addLiveAppSnapshotConfigCallable(const AddLiveAppSnapshotConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddLiveAppSnapshotConfigOutcome()>>(
[this, request]()
{
return this->addLiveAppSnapshotConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::AddLiveDomainMappingOutcome CdnClient::addLiveDomainMapping(const AddLiveDomainMappingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddLiveDomainMappingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddLiveDomainMappingOutcome(AddLiveDomainMappingResult(outcome.result()));
else
return AddLiveDomainMappingOutcome(outcome.error());
}
void CdnClient::addLiveDomainMappingAsync(const AddLiveDomainMappingRequest& request, const AddLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addLiveDomainMapping(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::AddLiveDomainMappingOutcomeCallable CdnClient::addLiveDomainMappingCallable(const AddLiveDomainMappingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddLiveDomainMappingOutcome()>>(
[this, request]()
{
return this->addLiveDomainMapping(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::AddLiveStreamTranscodeOutcome CdnClient::addLiveStreamTranscode(const AddLiveStreamTranscodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5415,42 +5343,6 @@ CdnClient::ModifyCdnDomainSchdmByPropertyOutcomeCallable CdnClient::modifyCdnDom
return task->get_future();
}
CdnClient::ModifyCdnServiceOutcome CdnClient::modifyCdnService(const ModifyCdnServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyCdnServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyCdnServiceOutcome(ModifyCdnServiceResult(outcome.result()));
else
return ModifyCdnServiceOutcome(outcome.error());
}
void CdnClient::modifyCdnServiceAsync(const ModifyCdnServiceRequest& request, const ModifyCdnServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyCdnService(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::ModifyCdnServiceOutcomeCallable CdnClient::modifyCdnServiceCallable(const ModifyCdnServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyCdnServiceOutcome()>>(
[this, request]()
{
return this->modifyCdnService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::ModifyDomainCustomLogConfigOutcome CdnClient::modifyDomainCustomLogConfig(const ModifyDomainCustomLogConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5487,78 +5379,6 @@ CdnClient::ModifyDomainCustomLogConfigOutcomeCallable CdnClient::modifyDomainCus
return task->get_future();
}
CdnClient::ModifyFileCacheExpiredConfigOutcome CdnClient::modifyFileCacheExpiredConfig(const ModifyFileCacheExpiredConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyFileCacheExpiredConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyFileCacheExpiredConfigOutcome(ModifyFileCacheExpiredConfigResult(outcome.result()));
else
return ModifyFileCacheExpiredConfigOutcome(outcome.error());
}
void CdnClient::modifyFileCacheExpiredConfigAsync(const ModifyFileCacheExpiredConfigRequest& request, const ModifyFileCacheExpiredConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyFileCacheExpiredConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::ModifyFileCacheExpiredConfigOutcomeCallable CdnClient::modifyFileCacheExpiredConfigCallable(const ModifyFileCacheExpiredConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyFileCacheExpiredConfigOutcome()>>(
[this, request]()
{
return this->modifyFileCacheExpiredConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::ModifyHttpHeaderConfigOutcome CdnClient::modifyHttpHeaderConfig(const ModifyHttpHeaderConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyHttpHeaderConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyHttpHeaderConfigOutcome(ModifyHttpHeaderConfigResult(outcome.result()));
else
return ModifyHttpHeaderConfigOutcome(outcome.error());
}
void CdnClient::modifyHttpHeaderConfigAsync(const ModifyHttpHeaderConfigRequest& request, const ModifyHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyHttpHeaderConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::ModifyHttpHeaderConfigOutcomeCallable CdnClient::modifyHttpHeaderConfigCallable(const ModifyHttpHeaderConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyHttpHeaderConfigOutcome()>>(
[this, request]()
{
return this->modifyHttpHeaderConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::ModifyPathCacheExpiredConfigOutcome CdnClient::modifyPathCacheExpiredConfig(const ModifyPathCacheExpiredConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6099,42 +5919,6 @@ CdnClient::SetDomainServerCertificateOutcomeCallable CdnClient::setDomainServerC
return task->get_future();
}
CdnClient::SetDynamicConfigOutcome CdnClient::setDynamicConfig(const SetDynamicConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetDynamicConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetDynamicConfigOutcome(SetDynamicConfigResult(outcome.result()));
else
return SetDynamicConfigOutcome(outcome.error());
}
void CdnClient::setDynamicConfigAsync(const SetDynamicConfigRequest& request, const SetDynamicConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setDynamicConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetDynamicConfigOutcomeCallable CdnClient::setDynamicConfigCallable(const SetDynamicConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetDynamicConfigOutcome()>>(
[this, request]()
{
return this->setDynamicConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetErrorPageConfigOutcome CdnClient::setErrorPageConfig(const SetErrorPageConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6495,78 +6279,6 @@ CdnClient::SetIpBlackListConfigOutcomeCallable CdnClient::setIpBlackListConfigCa
return task->get_future();
}
CdnClient::SetL2OssKeyConfigOutcome CdnClient::setL2OssKeyConfig(const SetL2OssKeyConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetL2OssKeyConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetL2OssKeyConfigOutcome(SetL2OssKeyConfigResult(outcome.result()));
else
return SetL2OssKeyConfigOutcome(outcome.error());
}
void CdnClient::setL2OssKeyConfigAsync(const SetL2OssKeyConfigRequest& request, const SetL2OssKeyConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setL2OssKeyConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetL2OssKeyConfigOutcomeCallable CdnClient::setL2OssKeyConfigCallable(const SetL2OssKeyConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetL2OssKeyConfigOutcome()>>(
[this, request]()
{
return this->setL2OssKeyConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetLiveStreamsNotifyUrlConfigOutcome CdnClient::setLiveStreamsNotifyUrlConfig(const SetLiveStreamsNotifyUrlConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetLiveStreamsNotifyUrlConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetLiveStreamsNotifyUrlConfigOutcome(SetLiveStreamsNotifyUrlConfigResult(outcome.result()));
else
return SetLiveStreamsNotifyUrlConfigOutcome(outcome.error());
}
void CdnClient::setLiveStreamsNotifyUrlConfigAsync(const SetLiveStreamsNotifyUrlConfigRequest& request, const SetLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setLiveStreamsNotifyUrlConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::SetLiveStreamsNotifyUrlConfigOutcomeCallable CdnClient::setLiveStreamsNotifyUrlConfigCallable(const SetLiveStreamsNotifyUrlConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetLiveStreamsNotifyUrlConfigOutcome()>>(
[this, request]()
{
return this->setLiveStreamsNotifyUrlConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::SetOptimizeConfigOutcome CdnClient::setOptimizeConfig(const SetOptimizeConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7143,42 +6855,6 @@ CdnClient::UpdateFCTriggerOutcomeCallable CdnClient::updateFCTriggerCallable(con
return task->get_future();
}
CdnClient::UpdateLiveAppSnapshotConfigOutcome CdnClient::updateLiveAppSnapshotConfig(const UpdateLiveAppSnapshotConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateLiveAppSnapshotConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateLiveAppSnapshotConfigOutcome(UpdateLiveAppSnapshotConfigResult(outcome.result()));
else
return UpdateLiveAppSnapshotConfigOutcome(outcome.error());
}
void CdnClient::updateLiveAppSnapshotConfigAsync(const UpdateLiveAppSnapshotConfigRequest& request, const UpdateLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateLiveAppSnapshotConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::UpdateLiveAppSnapshotConfigOutcomeCallable CdnClient::updateLiveAppSnapshotConfigCallable(const UpdateLiveAppSnapshotConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateLiveAppSnapshotConfigOutcome()>>(
[this, request]()
{
return this->updateLiveAppSnapshotConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::VerifyDomainOwnerOutcome CdnClient::verifyDomainOwner(const VerifyDomainOwnerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -1,128 +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/AddLiveAppSnapshotConfigRequest.h>
using AlibabaCloud::Cdn::Model::AddLiveAppSnapshotConfigRequest;
AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "AddLiveAppSnapshotConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest()
{}
int AddLiveAppSnapshotConfigRequest::getTimeInterval()const
{
return timeInterval_;
}
void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval)
{
timeInterval_ = timeInterval;
setParameter("TimeInterval", std::to_string(timeInterval));
}
std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const
{
return ossEndpoint_;
}
void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
}
std::string AddLiveAppSnapshotConfigRequest::getAppName()const
{
return appName_;
}
void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const
{
return overwriteOssObject_;
}
void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject)
{
overwriteOssObject_ = overwriteOssObject;
setParameter("OverwriteOssObject", overwriteOssObject);
}
std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const
{
return ossBucket_;
}
void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
}
std::string AddLiveAppSnapshotConfigRequest::getDomainName()const
{
return domainName_;
}
void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const
{
return sequenceOssObject_;
}
void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject)
{
sequenceOssObject_ = sequenceOssObject;
setParameter("SequenceOssObject", sequenceOssObject);
}
long AddLiveAppSnapshotConfigRequest::getOwnerId()const
{
return ownerId_;
}
void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/AddLiveAppSnapshotConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
AddLiveAppSnapshotConfigResult::AddLiveAppSnapshotConfigResult() :
ServiceResult()
{}
AddLiveAppSnapshotConfigResult::AddLiveAppSnapshotConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLiveAppSnapshotConfigResult::~AddLiveAppSnapshotConfigResult()
{}
void AddLiveAppSnapshotConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/AddLiveDomainMappingRequest.h>
using AlibabaCloud::Cdn::Model::AddLiveDomainMappingRequest;
AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() :
RpcServiceRequest("cdn", "2014-11-11", "AddLiveDomainMapping")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest()
{}
long AddLiveDomainMappingRequest::getOwnerId()const
{
return ownerId_;
}
void AddLiveDomainMappingRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddLiveDomainMappingRequest::getPullDomain()const
{
return pullDomain_;
}
void AddLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain)
{
pullDomain_ = pullDomain;
setParameter("PullDomain", pullDomain);
}
std::string AddLiveDomainMappingRequest::getSecurityToken()const
{
return securityToken_;
}
void AddLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string AddLiveDomainMappingRequest::getPushDomain()const
{
return pushDomain_;
}
void AddLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain)
{
pushDomain_ = pushDomain;
setParameter("PushDomain", pushDomain);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/AddLiveDomainMappingResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
AddLiveDomainMappingResult::AddLiveDomainMappingResult() :
ServiceResult()
{}
AddLiveDomainMappingResult::AddLiveDomainMappingResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLiveDomainMappingResult::~AddLiveDomainMappingResult()
{}
void AddLiveDomainMappingResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/ModifyCdnServiceRequest.h>
using AlibabaCloud::Cdn::Model::ModifyCdnServiceRequest;
ModifyCdnServiceRequest::ModifyCdnServiceRequest() :
RpcServiceRequest("cdn", "2018-05-10", "ModifyCdnService")
{
setMethod(HttpRequest::Method::Post);
}
ModifyCdnServiceRequest::~ModifyCdnServiceRequest()
{}
long ModifyCdnServiceRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyCdnServiceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifyCdnServiceRequest::getSecurityToken()const
{
return securityToken_;
}
void ModifyCdnServiceRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string ModifyCdnServiceRequest::getInternetChargeType()const
{
return internetChargeType_;
}
void ModifyCdnServiceRequest::setInternetChargeType(const std::string& internetChargeType)
{
internetChargeType_ = internetChargeType;
setParameter("InternetChargeType", internetChargeType);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ModifyCdnServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
ModifyCdnServiceResult::ModifyCdnServiceResult() :
ServiceResult()
{}
ModifyCdnServiceResult::ModifyCdnServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyCdnServiceResult::~ModifyCdnServiceResult()
{}
void ModifyCdnServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/ModifyFileCacheExpiredConfigRequest.h>
using AlibabaCloud::Cdn::Model::ModifyFileCacheExpiredConfigRequest;
ModifyFileCacheExpiredConfigRequest::ModifyFileCacheExpiredConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "ModifyFileCacheExpiredConfig")
{
setMethod(HttpRequest::Method::Post);
}
ModifyFileCacheExpiredConfigRequest::~ModifyFileCacheExpiredConfigRequest()
{}
std::string ModifyFileCacheExpiredConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void ModifyFileCacheExpiredConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string ModifyFileCacheExpiredConfigRequest::getDomainName()const
{
return domainName_;
}
void ModifyFileCacheExpiredConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string ModifyFileCacheExpiredConfigRequest::getWeight()const
{
return weight_;
}
void ModifyFileCacheExpiredConfigRequest::setWeight(const std::string& weight)
{
weight_ = weight;
setParameter("Weight", weight);
}
std::string ModifyFileCacheExpiredConfigRequest::getCacheContent()const
{
return cacheContent_;
}
void ModifyFileCacheExpiredConfigRequest::setCacheContent(const std::string& cacheContent)
{
cacheContent_ = cacheContent;
setParameter("CacheContent", cacheContent);
}
long ModifyFileCacheExpiredConfigRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyFileCacheExpiredConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifyFileCacheExpiredConfigRequest::getTTL()const
{
return tTL_;
}
void ModifyFileCacheExpiredConfigRequest::setTTL(const std::string& tTL)
{
tTL_ = tTL;
setParameter("TTL", tTL);
}
std::string ModifyFileCacheExpiredConfigRequest::getConfigID()const
{
return configID_;
}
void ModifyFileCacheExpiredConfigRequest::setConfigID(const std::string& configID)
{
configID_ = configID;
setParameter("ConfigID", configID);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ModifyFileCacheExpiredConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
ModifyFileCacheExpiredConfigResult::ModifyFileCacheExpiredConfigResult() :
ServiceResult()
{}
ModifyFileCacheExpiredConfigResult::ModifyFileCacheExpiredConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyFileCacheExpiredConfigResult::~ModifyFileCacheExpiredConfigResult()
{}
void ModifyFileCacheExpiredConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/ModifyHttpHeaderConfigRequest.h>
using AlibabaCloud::Cdn::Model::ModifyHttpHeaderConfigRequest;
ModifyHttpHeaderConfigRequest::ModifyHttpHeaderConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "ModifyHttpHeaderConfig")
{
setMethod(HttpRequest::Method::Post);
}
ModifyHttpHeaderConfigRequest::~ModifyHttpHeaderConfigRequest()
{}
std::string ModifyHttpHeaderConfigRequest::getHeaderValue()const
{
return headerValue_;
}
void ModifyHttpHeaderConfigRequest::setHeaderValue(const std::string& headerValue)
{
headerValue_ = headerValue;
setParameter("HeaderValue", headerValue);
}
std::string ModifyHttpHeaderConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void ModifyHttpHeaderConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string ModifyHttpHeaderConfigRequest::getDomainName()const
{
return domainName_;
}
void ModifyHttpHeaderConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long ModifyHttpHeaderConfigRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyHttpHeaderConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifyHttpHeaderConfigRequest::getConfigID()const
{
return configID_;
}
void ModifyHttpHeaderConfigRequest::setConfigID(const std::string& configID)
{
configID_ = configID;
setParameter("ConfigID", configID);
}
std::string ModifyHttpHeaderConfigRequest::getHeaderKey()const
{
return headerKey_;
}
void ModifyHttpHeaderConfigRequest::setHeaderKey(const std::string& headerKey)
{
headerKey_ = headerKey;
setParameter("HeaderKey", headerKey);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/ModifyHttpHeaderConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
ModifyHttpHeaderConfigResult::ModifyHttpHeaderConfigResult() :
ServiceResult()
{}
ModifyHttpHeaderConfigResult::ModifyHttpHeaderConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyHttpHeaderConfigResult::~ModifyHttpHeaderConfigResult()
{}
void ModifyHttpHeaderConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/SetDynamicConfigRequest.h>
using AlibabaCloud::Cdn::Model::SetDynamicConfigRequest;
SetDynamicConfigRequest::SetDynamicConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "SetDynamicConfig")
{
setMethod(HttpRequest::Method::Post);
}
SetDynamicConfigRequest::~SetDynamicConfigRequest()
{}
std::string SetDynamicConfigRequest::getDynamicOrigin()const
{
return dynamicOrigin_;
}
void SetDynamicConfigRequest::setDynamicOrigin(const std::string& dynamicOrigin)
{
dynamicOrigin_ = dynamicOrigin;
setParameter("DynamicOrigin", dynamicOrigin);
}
std::string SetDynamicConfigRequest::getStaticType()const
{
return staticType_;
}
void SetDynamicConfigRequest::setStaticType(const std::string& staticType)
{
staticType_ = staticType;
setParameter("StaticType", staticType);
}
std::string SetDynamicConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void SetDynamicConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetDynamicConfigRequest::getStaticUri()const
{
return staticUri_;
}
void SetDynamicConfigRequest::setStaticUri(const std::string& staticUri)
{
staticUri_ = staticUri;
setParameter("StaticUri", staticUri);
}
std::string SetDynamicConfigRequest::getDomainName()const
{
return domainName_;
}
void SetDynamicConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string SetDynamicConfigRequest::getStaticPath()const
{
return staticPath_;
}
void SetDynamicConfigRequest::setStaticPath(const std::string& staticPath)
{
staticPath_ = staticPath;
setParameter("StaticPath", staticPath);
}
std::string SetDynamicConfigRequest::getDynamicCacheControl()const
{
return dynamicCacheControl_;
}
void SetDynamicConfigRequest::setDynamicCacheControl(const std::string& dynamicCacheControl)
{
dynamicCacheControl_ = dynamicCacheControl;
setParameter("DynamicCacheControl", dynamicCacheControl);
}
long SetDynamicConfigRequest::getOwnerId()const
{
return ownerId_;
}
void SetDynamicConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetDynamicConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
SetDynamicConfigResult::SetDynamicConfigResult() :
ServiceResult()
{}
SetDynamicConfigResult::SetDynamicConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetDynamicConfigResult::~SetDynamicConfigResult()
{}
void SetDynamicConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/SetL2OssKeyConfigRequest.h>
using AlibabaCloud::Cdn::Model::SetL2OssKeyConfigRequest;
SetL2OssKeyConfigRequest::SetL2OssKeyConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "SetL2OssKeyConfig")
{
setMethod(HttpRequest::Method::Post);
}
SetL2OssKeyConfigRequest::~SetL2OssKeyConfigRequest()
{}
std::string SetL2OssKeyConfigRequest::getDomainName()const
{
return domainName_;
}
void SetL2OssKeyConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long SetL2OssKeyConfigRequest::getOwnerId()const
{
return ownerId_;
}
void SetL2OssKeyConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetL2OssKeyConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void SetL2OssKeyConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetL2OssKeyConfigRequest::getPrivateOssAuth()const
{
return privateOssAuth_;
}
void SetL2OssKeyConfigRequest::setPrivateOssAuth(const std::string& privateOssAuth)
{
privateOssAuth_ = privateOssAuth;
setParameter("PrivateOssAuth", privateOssAuth);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetL2OssKeyConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
SetL2OssKeyConfigResult::SetL2OssKeyConfigResult() :
ServiceResult()
{}
SetL2OssKeyConfigResult::SetL2OssKeyConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetL2OssKeyConfigResult::~SetL2OssKeyConfigResult()
{}
void SetL2OssKeyConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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/SetLiveStreamsNotifyUrlConfigRequest.h>
using AlibabaCloud::Cdn::Model::SetLiveStreamsNotifyUrlConfigRequest;
SetLiveStreamsNotifyUrlConfigRequest::SetLiveStreamsNotifyUrlConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "SetLiveStreamsNotifyUrlConfig")
{
setMethod(HttpRequest::Method::Post);
}
SetLiveStreamsNotifyUrlConfigRequest::~SetLiveStreamsNotifyUrlConfigRequest()
{}
std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const
{
return domainName_;
}
void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const
{
return ownerId_;
}
void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void SetLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const
{
return notifyUrl_;
}
void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl)
{
notifyUrl_ = notifyUrl;
setParameter("NotifyUrl", notifyUrl);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/SetLiveStreamsNotifyUrlConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
SetLiveStreamsNotifyUrlConfigResult::SetLiveStreamsNotifyUrlConfigResult() :
ServiceResult()
{}
SetLiveStreamsNotifyUrlConfigResult::SetLiveStreamsNotifyUrlConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetLiveStreamsNotifyUrlConfigResult::~SetLiveStreamsNotifyUrlConfigResult()
{}
void SetLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,128 +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/UpdateLiveAppSnapshotConfigRequest.h>
using AlibabaCloud::Cdn::Model::UpdateLiveAppSnapshotConfigRequest;
UpdateLiveAppSnapshotConfigRequest::UpdateLiveAppSnapshotConfigRequest() :
RpcServiceRequest("cdn", "2014-11-11", "UpdateLiveAppSnapshotConfig")
{
setMethod(HttpRequest::Method::Post);
}
UpdateLiveAppSnapshotConfigRequest::~UpdateLiveAppSnapshotConfigRequest()
{}
int UpdateLiveAppSnapshotConfigRequest::getTimeInterval()const
{
return timeInterval_;
}
void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval)
{
timeInterval_ = timeInterval;
setParameter("TimeInterval", std::to_string(timeInterval));
}
std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const
{
return ossEndpoint_;
}
void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
}
std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const
{
return appName_;
}
void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const
{
return overwriteOssObject_;
}
void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject)
{
overwriteOssObject_ = overwriteOssObject;
setParameter("OverwriteOssObject", overwriteOssObject);
}
std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const
{
return ossBucket_;
}
void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
}
std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const
{
return domainName_;
}
void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const
{
return sequenceOssObject_;
}
void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject)
{
sequenceOssObject_ = sequenceOssObject;
setParameter("SequenceOssObject", sequenceOssObject);
}
long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const
{
return ownerId_;
}
void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdn/model/UpdateLiveAppSnapshotConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
UpdateLiveAppSnapshotConfigResult::UpdateLiveAppSnapshotConfigResult() :
ServiceResult()
{}
UpdateLiveAppSnapshotConfigResult::UpdateLiveAppSnapshotConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateLiveAppSnapshotConfigResult::~UpdateLiveAppSnapshotConfigResult()
{}
void UpdateLiveAppSnapshotConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}