Add CreateDcdnSubTask.

This commit is contained in:
sdk-team
2021-12-27 02:06:48 +00:00
parent 24b001f51b
commit c4b557376c
43 changed files with 452 additions and 1896 deletions

View File

@@ -47,8 +47,6 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/CreateDcdnCertificateSigningRequestResult.h
include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskRequest.h
include/alibabacloud/dcdn/model/CreateDcdnDeliverTaskResult.h
include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h
include/alibabacloud/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h
include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryRequest.h
include/alibabacloud/dcdn/model/CreateDcdnSLSRealTimeLogDeliveryResult.h
include/alibabacloud/dcdn/model/CreateDcdnSubTaskRequest.h
@@ -177,6 +175,10 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnDomainWebsocketTrafficDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h
include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnHttpsDomainListResult.h
include/alibabacloud/dcdn/model/DescribeDcdnIpInfoRequest.h
@@ -189,14 +191,6 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeDcdnIpaServiceResult.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnIpaUserDomainsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h
include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldRequest.h
include/alibabacloud/dcdn/model/DescribeDcdnRealTimeDeliveryFieldResult.h
include/alibabacloud/dcdn/model/DescribeDcdnRefreshQuotaRequest.h
@@ -275,14 +269,8 @@ set(dcdn_public_header_model
include/alibabacloud/dcdn/model/DescribeUserErStatusResult.h
include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusRequest.h
include/alibabacloud/dcdn/model/DescribeUserLogserviceStatusResult.h
include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h
include/alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h
include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h
include/alibabacloud/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h
include/alibabacloud/dcdn/model/EditRoutineConfRequest.h
include/alibabacloud/dcdn/model/EditRoutineConfResult.h
include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h
include/alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h
include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectRequest.h
include/alibabacloud/dcdn/model/ListDcdnRealTimeDeliveryProjectResult.h
include/alibabacloud/dcdn/model/ModifyDCdnDomainSchdmByPropertyRequest.h
@@ -374,8 +362,6 @@ set(dcdn_src
src/model/CreateDcdnCertificateSigningRequestResult.cc
src/model/CreateDcdnDeliverTaskRequest.cc
src/model/CreateDcdnDeliverTaskResult.cc
src/model/CreateDcdnDomainOfflineLogDeliveryRequest.cc
src/model/CreateDcdnDomainOfflineLogDeliveryResult.cc
src/model/CreateDcdnSLSRealTimeLogDeliveryRequest.cc
src/model/CreateDcdnSLSRealTimeLogDeliveryResult.cc
src/model/CreateDcdnSubTaskRequest.cc
@@ -504,6 +490,10 @@ set(dcdn_src
src/model/DescribeDcdnDomainWebsocketHttpCodeDataResult.cc
src/model/DescribeDcdnDomainWebsocketTrafficDataRequest.cc
src/model/DescribeDcdnDomainWebsocketTrafficDataResult.cc
src/model/DescribeDcdnEsExceptionDataRequest.cc
src/model/DescribeDcdnEsExceptionDataResult.cc
src/model/DescribeDcdnEsExecuteDataRequest.cc
src/model/DescribeDcdnEsExecuteDataResult.cc
src/model/DescribeDcdnHttpsDomainListRequest.cc
src/model/DescribeDcdnHttpsDomainListResult.cc
src/model/DescribeDcdnIpInfoRequest.cc
@@ -516,14 +506,6 @@ set(dcdn_src
src/model/DescribeDcdnIpaServiceResult.cc
src/model/DescribeDcdnIpaUserDomainsRequest.cc
src/model/DescribeDcdnIpaUserDomainsResult.cc
src/model/DescribeDcdnOfflineLogDeliveryRequest.cc
src/model/DescribeDcdnOfflineLogDeliveryResult.cc
src/model/DescribeDcdnOfflineLogDeliveryFieldRequest.cc
src/model/DescribeDcdnOfflineLogDeliveryFieldResult.cc
src/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.cc
src/model/DescribeDcdnOfflineLogDeliveryRegionsResult.cc
src/model/DescribeDcdnOfflineLogDeliveryStatusRequest.cc
src/model/DescribeDcdnOfflineLogDeliveryStatusResult.cc
src/model/DescribeDcdnRealTimeDeliveryFieldRequest.cc
src/model/DescribeDcdnRealTimeDeliveryFieldResult.cc
src/model/DescribeDcdnRefreshQuotaRequest.cc
@@ -602,14 +584,8 @@ set(dcdn_src
src/model/DescribeUserErStatusResult.cc
src/model/DescribeUserLogserviceStatusRequest.cc
src/model/DescribeUserLogserviceStatusResult.cc
src/model/DisableDcdnDomainOfflineLogDeliveryRequest.cc
src/model/DisableDcdnDomainOfflineLogDeliveryResult.cc
src/model/DisableDcdnOfflineLogDeliveryRequest.cc
src/model/DisableDcdnOfflineLogDeliveryResult.cc
src/model/EditRoutineConfRequest.cc
src/model/EditRoutineConfResult.cc
src/model/EnableDcdnDomainOfflineLogDeliveryRequest.cc
src/model/EnableDcdnDomainOfflineLogDeliveryResult.cc
src/model/ListDcdnRealTimeDeliveryProjectRequest.cc
src/model/ListDcdnRealTimeDeliveryProjectResult.cc
src/model/ModifyDCdnDomainSchdmByPropertyRequest.cc

View File

@@ -48,8 +48,6 @@
#include "model/CreateDcdnCertificateSigningRequestResult.h"
#include "model/CreateDcdnDeliverTaskRequest.h"
#include "model/CreateDcdnDeliverTaskResult.h"
#include "model/CreateDcdnDomainOfflineLogDeliveryRequest.h"
#include "model/CreateDcdnDomainOfflineLogDeliveryResult.h"
#include "model/CreateDcdnSLSRealTimeLogDeliveryRequest.h"
#include "model/CreateDcdnSLSRealTimeLogDeliveryResult.h"
#include "model/CreateDcdnSubTaskRequest.h"
@@ -178,6 +176,10 @@
#include "model/DescribeDcdnDomainWebsocketHttpCodeDataResult.h"
#include "model/DescribeDcdnDomainWebsocketTrafficDataRequest.h"
#include "model/DescribeDcdnDomainWebsocketTrafficDataResult.h"
#include "model/DescribeDcdnEsExceptionDataRequest.h"
#include "model/DescribeDcdnEsExceptionDataResult.h"
#include "model/DescribeDcdnEsExecuteDataRequest.h"
#include "model/DescribeDcdnEsExecuteDataResult.h"
#include "model/DescribeDcdnHttpsDomainListRequest.h"
#include "model/DescribeDcdnHttpsDomainListResult.h"
#include "model/DescribeDcdnIpInfoRequest.h"
@@ -190,14 +192,6 @@
#include "model/DescribeDcdnIpaServiceResult.h"
#include "model/DescribeDcdnIpaUserDomainsRequest.h"
#include "model/DescribeDcdnIpaUserDomainsResult.h"
#include "model/DescribeDcdnOfflineLogDeliveryRequest.h"
#include "model/DescribeDcdnOfflineLogDeliveryResult.h"
#include "model/DescribeDcdnOfflineLogDeliveryFieldRequest.h"
#include "model/DescribeDcdnOfflineLogDeliveryFieldResult.h"
#include "model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h"
#include "model/DescribeDcdnOfflineLogDeliveryRegionsResult.h"
#include "model/DescribeDcdnOfflineLogDeliveryStatusRequest.h"
#include "model/DescribeDcdnOfflineLogDeliveryStatusResult.h"
#include "model/DescribeDcdnRealTimeDeliveryFieldRequest.h"
#include "model/DescribeDcdnRealTimeDeliveryFieldResult.h"
#include "model/DescribeDcdnRefreshQuotaRequest.h"
@@ -276,14 +270,8 @@
#include "model/DescribeUserErStatusResult.h"
#include "model/DescribeUserLogserviceStatusRequest.h"
#include "model/DescribeUserLogserviceStatusResult.h"
#include "model/DisableDcdnDomainOfflineLogDeliveryRequest.h"
#include "model/DisableDcdnDomainOfflineLogDeliveryResult.h"
#include "model/DisableDcdnOfflineLogDeliveryRequest.h"
#include "model/DisableDcdnOfflineLogDeliveryResult.h"
#include "model/EditRoutineConfRequest.h"
#include "model/EditRoutineConfResult.h"
#include "model/EnableDcdnDomainOfflineLogDeliveryRequest.h"
#include "model/EnableDcdnDomainOfflineLogDeliveryResult.h"
#include "model/ListDcdnRealTimeDeliveryProjectRequest.h"
#include "model/ListDcdnRealTimeDeliveryProjectResult.h"
#include "model/ModifyDCdnDomainSchdmByPropertyRequest.h"
@@ -394,9 +382,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDcdnDeliverTaskResult> CreateDcdnDeliverTaskOutcome;
typedef std::future<CreateDcdnDeliverTaskOutcome> CreateDcdnDeliverTaskOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnDeliverTaskRequest&, const CreateDcdnDeliverTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnDeliverTaskAsyncHandler;
typedef Outcome<Error, Model::CreateDcdnDomainOfflineLogDeliveryResult> CreateDcdnDomainOfflineLogDeliveryOutcome;
typedef std::future<CreateDcdnDomainOfflineLogDeliveryOutcome> CreateDcdnDomainOfflineLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnDomainOfflineLogDeliveryRequest&, const CreateDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnDomainOfflineLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::CreateDcdnSLSRealTimeLogDeliveryResult> CreateDcdnSLSRealTimeLogDeliveryOutcome;
typedef std::future<CreateDcdnSLSRealTimeLogDeliveryOutcome> CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::CreateDcdnSLSRealTimeLogDeliveryRequest&, const CreateDcdnSLSRealTimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDcdnSLSRealTimeLogDeliveryAsyncHandler;
@@ -589,6 +574,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnDomainWebsocketTrafficDataResult> DescribeDcdnDomainWebsocketTrafficDataOutcome;
typedef std::future<DescribeDcdnDomainWebsocketTrafficDataOutcome> DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnDomainWebsocketTrafficDataRequest&, const DescribeDcdnDomainWebsocketTrafficDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnDomainWebsocketTrafficDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnEsExceptionDataResult> DescribeDcdnEsExceptionDataOutcome;
typedef std::future<DescribeDcdnEsExceptionDataOutcome> DescribeDcdnEsExceptionDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnEsExceptionDataRequest&, const DescribeDcdnEsExceptionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnEsExceptionDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnEsExecuteDataResult> DescribeDcdnEsExecuteDataOutcome;
typedef std::future<DescribeDcdnEsExecuteDataOutcome> DescribeDcdnEsExecuteDataOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnEsExecuteDataRequest&, const DescribeDcdnEsExecuteDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnEsExecuteDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnHttpsDomainListResult> DescribeDcdnHttpsDomainListOutcome;
typedef std::future<DescribeDcdnHttpsDomainListOutcome> DescribeDcdnHttpsDomainListOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnHttpsDomainListRequest&, const DescribeDcdnHttpsDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnHttpsDomainListAsyncHandler;
@@ -607,18 +598,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDcdnIpaUserDomainsResult> DescribeDcdnIpaUserDomainsOutcome;
typedef std::future<DescribeDcdnIpaUserDomainsOutcome> DescribeDcdnIpaUserDomainsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnIpaUserDomainsRequest&, const DescribeDcdnIpaUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnIpaUserDomainsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryResult> DescribeDcdnOfflineLogDeliveryOutcome;
typedef std::future<DescribeDcdnOfflineLogDeliveryOutcome> DescribeDcdnOfflineLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryRequest&, const DescribeDcdnOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryFieldResult> DescribeDcdnOfflineLogDeliveryFieldOutcome;
typedef std::future<DescribeDcdnOfflineLogDeliveryFieldOutcome> DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryFieldRequest&, const DescribeDcdnOfflineLogDeliveryFieldOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryFieldAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryRegionsResult> DescribeDcdnOfflineLogDeliveryRegionsOutcome;
typedef std::future<DescribeDcdnOfflineLogDeliveryRegionsOutcome> DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest&, const DescribeDcdnOfflineLogDeliveryRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnOfflineLogDeliveryStatusResult> DescribeDcdnOfflineLogDeliveryStatusOutcome;
typedef std::future<DescribeDcdnOfflineLogDeliveryStatusOutcome> DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnOfflineLogDeliveryStatusRequest&, const DescribeDcdnOfflineLogDeliveryStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnOfflineLogDeliveryStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeDcdnRealTimeDeliveryFieldResult> DescribeDcdnRealTimeDeliveryFieldOutcome;
typedef std::future<DescribeDcdnRealTimeDeliveryFieldOutcome> DescribeDcdnRealTimeDeliveryFieldOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnRealTimeDeliveryFieldRequest&, const DescribeDcdnRealTimeDeliveryFieldOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnRealTimeDeliveryFieldAsyncHandler;
@@ -736,18 +715,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeUserLogserviceStatusResult> DescribeUserLogserviceStatusOutcome;
typedef std::future<DescribeUserLogserviceStatusOutcome> DescribeUserLogserviceStatusOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DescribeUserLogserviceStatusRequest&, const DescribeUserLogserviceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserLogserviceStatusAsyncHandler;
typedef Outcome<Error, Model::DisableDcdnDomainOfflineLogDeliveryResult> DisableDcdnDomainOfflineLogDeliveryOutcome;
typedef std::future<DisableDcdnDomainOfflineLogDeliveryOutcome> DisableDcdnDomainOfflineLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DisableDcdnDomainOfflineLogDeliveryRequest&, const DisableDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDcdnDomainOfflineLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::DisableDcdnOfflineLogDeliveryResult> DisableDcdnOfflineLogDeliveryOutcome;
typedef std::future<DisableDcdnOfflineLogDeliveryOutcome> DisableDcdnOfflineLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::DisableDcdnOfflineLogDeliveryRequest&, const DisableDcdnOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDcdnOfflineLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::EditRoutineConfResult> EditRoutineConfOutcome;
typedef std::future<EditRoutineConfOutcome> EditRoutineConfOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::EditRoutineConfRequest&, const EditRoutineConfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditRoutineConfAsyncHandler;
typedef Outcome<Error, Model::EnableDcdnDomainOfflineLogDeliveryResult> EnableDcdnDomainOfflineLogDeliveryOutcome;
typedef std::future<EnableDcdnDomainOfflineLogDeliveryOutcome> EnableDcdnDomainOfflineLogDeliveryOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::EnableDcdnDomainOfflineLogDeliveryRequest&, const EnableDcdnDomainOfflineLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableDcdnDomainOfflineLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::ListDcdnRealTimeDeliveryProjectResult> ListDcdnRealTimeDeliveryProjectOutcome;
typedef std::future<ListDcdnRealTimeDeliveryProjectOutcome> ListDcdnRealTimeDeliveryProjectOutcomeCallable;
typedef std::function<void(const DcdnClient*, const Model::ListDcdnRealTimeDeliveryProjectRequest&, const ListDcdnRealTimeDeliveryProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDcdnRealTimeDeliveryProjectAsyncHandler;
@@ -885,9 +855,6 @@ namespace AlibabaCloud
CreateDcdnDeliverTaskOutcome createDcdnDeliverTask(const Model::CreateDcdnDeliverTaskRequest &request)const;
void createDcdnDeliverTaskAsync(const Model::CreateDcdnDeliverTaskRequest& request, const CreateDcdnDeliverTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDcdnDeliverTaskOutcomeCallable createDcdnDeliverTaskCallable(const Model::CreateDcdnDeliverTaskRequest& request) const;
CreateDcdnDomainOfflineLogDeliveryOutcome createDcdnDomainOfflineLogDelivery(const Model::CreateDcdnDomainOfflineLogDeliveryRequest &request)const;
void createDcdnDomainOfflineLogDeliveryAsync(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDcdnDomainOfflineLogDeliveryOutcomeCallable createDcdnDomainOfflineLogDeliveryCallable(const Model::CreateDcdnDomainOfflineLogDeliveryRequest& request) const;
CreateDcdnSLSRealTimeLogDeliveryOutcome createDcdnSLSRealTimeLogDelivery(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest &request)const;
void createDcdnSLSRealTimeLogDeliveryAsync(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest& request, const CreateDcdnSLSRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDcdnSLSRealTimeLogDeliveryOutcomeCallable createDcdnSLSRealTimeLogDeliveryCallable(const Model::CreateDcdnSLSRealTimeLogDeliveryRequest& request) const;
@@ -1080,6 +1047,12 @@ namespace AlibabaCloud
DescribeDcdnDomainWebsocketTrafficDataOutcome describeDcdnDomainWebsocketTrafficData(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest &request)const;
void describeDcdnDomainWebsocketTrafficDataAsync(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest& request, const DescribeDcdnDomainWebsocketTrafficDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable describeDcdnDomainWebsocketTrafficDataCallable(const Model::DescribeDcdnDomainWebsocketTrafficDataRequest& request) const;
DescribeDcdnEsExceptionDataOutcome describeDcdnEsExceptionData(const Model::DescribeDcdnEsExceptionDataRequest &request)const;
void describeDcdnEsExceptionDataAsync(const Model::DescribeDcdnEsExceptionDataRequest& request, const DescribeDcdnEsExceptionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnEsExceptionDataOutcomeCallable describeDcdnEsExceptionDataCallable(const Model::DescribeDcdnEsExceptionDataRequest& request) const;
DescribeDcdnEsExecuteDataOutcome describeDcdnEsExecuteData(const Model::DescribeDcdnEsExecuteDataRequest &request)const;
void describeDcdnEsExecuteDataAsync(const Model::DescribeDcdnEsExecuteDataRequest& request, const DescribeDcdnEsExecuteDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnEsExecuteDataOutcomeCallable describeDcdnEsExecuteDataCallable(const Model::DescribeDcdnEsExecuteDataRequest& request) const;
DescribeDcdnHttpsDomainListOutcome describeDcdnHttpsDomainList(const Model::DescribeDcdnHttpsDomainListRequest &request)const;
void describeDcdnHttpsDomainListAsync(const Model::DescribeDcdnHttpsDomainListRequest& request, const DescribeDcdnHttpsDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnHttpsDomainListOutcomeCallable describeDcdnHttpsDomainListCallable(const Model::DescribeDcdnHttpsDomainListRequest& request) const;
@@ -1098,18 +1071,6 @@ namespace AlibabaCloud
DescribeDcdnIpaUserDomainsOutcome describeDcdnIpaUserDomains(const Model::DescribeDcdnIpaUserDomainsRequest &request)const;
void describeDcdnIpaUserDomainsAsync(const Model::DescribeDcdnIpaUserDomainsRequest& request, const DescribeDcdnIpaUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnIpaUserDomainsOutcomeCallable describeDcdnIpaUserDomainsCallable(const Model::DescribeDcdnIpaUserDomainsRequest& request) const;
DescribeDcdnOfflineLogDeliveryOutcome describeDcdnOfflineLogDelivery(const Model::DescribeDcdnOfflineLogDeliveryRequest &request)const;
void describeDcdnOfflineLogDeliveryAsync(const Model::DescribeDcdnOfflineLogDeliveryRequest& request, const DescribeDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnOfflineLogDeliveryOutcomeCallable describeDcdnOfflineLogDeliveryCallable(const Model::DescribeDcdnOfflineLogDeliveryRequest& request) const;
DescribeDcdnOfflineLogDeliveryFieldOutcome describeDcdnOfflineLogDeliveryField(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest &request)const;
void describeDcdnOfflineLogDeliveryFieldAsync(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest& request, const DescribeDcdnOfflineLogDeliveryFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable describeDcdnOfflineLogDeliveryFieldCallable(const Model::DescribeDcdnOfflineLogDeliveryFieldRequest& request) const;
DescribeDcdnOfflineLogDeliveryRegionsOutcome describeDcdnOfflineLogDeliveryRegions(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest &request)const;
void describeDcdnOfflineLogDeliveryRegionsAsync(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest& request, const DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable describeDcdnOfflineLogDeliveryRegionsCallable(const Model::DescribeDcdnOfflineLogDeliveryRegionsRequest& request) const;
DescribeDcdnOfflineLogDeliveryStatusOutcome describeDcdnOfflineLogDeliveryStatus(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest &request)const;
void describeDcdnOfflineLogDeliveryStatusAsync(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable describeDcdnOfflineLogDeliveryStatusCallable(const Model::DescribeDcdnOfflineLogDeliveryStatusRequest& request) const;
DescribeDcdnRealTimeDeliveryFieldOutcome describeDcdnRealTimeDeliveryField(const Model::DescribeDcdnRealTimeDeliveryFieldRequest &request)const;
void describeDcdnRealTimeDeliveryFieldAsync(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request, const DescribeDcdnRealTimeDeliveryFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDcdnRealTimeDeliveryFieldOutcomeCallable describeDcdnRealTimeDeliveryFieldCallable(const Model::DescribeDcdnRealTimeDeliveryFieldRequest& request) const;
@@ -1227,18 +1188,9 @@ namespace AlibabaCloud
DescribeUserLogserviceStatusOutcome describeUserLogserviceStatus(const Model::DescribeUserLogserviceStatusRequest &request)const;
void describeUserLogserviceStatusAsync(const Model::DescribeUserLogserviceStatusRequest& request, const DescribeUserLogserviceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserLogserviceStatusOutcomeCallable describeUserLogserviceStatusCallable(const Model::DescribeUserLogserviceStatusRequest& request) const;
DisableDcdnDomainOfflineLogDeliveryOutcome disableDcdnDomainOfflineLogDelivery(const Model::DisableDcdnDomainOfflineLogDeliveryRequest &request)const;
void disableDcdnDomainOfflineLogDeliveryAsync(const Model::DisableDcdnDomainOfflineLogDeliveryRequest& request, const DisableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableDcdnDomainOfflineLogDeliveryOutcomeCallable disableDcdnDomainOfflineLogDeliveryCallable(const Model::DisableDcdnDomainOfflineLogDeliveryRequest& request) const;
DisableDcdnOfflineLogDeliveryOutcome disableDcdnOfflineLogDelivery(const Model::DisableDcdnOfflineLogDeliveryRequest &request)const;
void disableDcdnOfflineLogDeliveryAsync(const Model::DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableDcdnOfflineLogDeliveryOutcomeCallable disableDcdnOfflineLogDeliveryCallable(const Model::DisableDcdnOfflineLogDeliveryRequest& request) const;
EditRoutineConfOutcome editRoutineConf(const Model::EditRoutineConfRequest &request)const;
void editRoutineConfAsync(const Model::EditRoutineConfRequest& request, const EditRoutineConfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditRoutineConfOutcomeCallable editRoutineConfCallable(const Model::EditRoutineConfRequest& request) const;
EnableDcdnDomainOfflineLogDeliveryOutcome enableDcdnDomainOfflineLogDelivery(const Model::EnableDcdnDomainOfflineLogDeliveryRequest &request)const;
void enableDcdnDomainOfflineLogDeliveryAsync(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableDcdnDomainOfflineLogDeliveryOutcomeCallable enableDcdnDomainOfflineLogDeliveryCallable(const Model::EnableDcdnDomainOfflineLogDeliveryRequest& request) const;
ListDcdnRealTimeDeliveryProjectOutcome listDcdnRealTimeDeliveryProject(const Model::ListDcdnRealTimeDeliveryProjectRequest &request)const;
void listDcdnRealTimeDeliveryProjectAsync(const Model::ListDcdnRealTimeDeliveryProjectRequest& request, const ListDcdnRealTimeDeliveryProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDcdnRealTimeDeliveryProjectOutcomeCallable listDcdnRealTimeDeliveryProjectCallable(const Model::ListDcdnRealTimeDeliveryProjectRequest& request) const;

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_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT CreateDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest
{
public:
CreateDcdnDomainOfflineLogDeliveryRequest();
~CreateDcdnDomainOfflineLogDeliveryRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getFieldId()const;
void setFieldId(const std::string& fieldId);
private:
std::string regionId_;
std::string domainName_;
long ownerId_;
std::string fieldId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRegionsRequest : public RpcServiceRequest
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExceptionDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnOfflineLogDeliveryRegionsRequest();
~DescribeDcdnOfflineLogDeliveryRegionsRequest();
DescribeDcdnEsExceptionDataRequest();
~DescribeDcdnEsExceptionDataRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string startTime_;
std::string endTime_;
long ownerId_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSREQUEST_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATAREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT CreateDcdnDomainOfflineLogDeliveryResult : public ServiceResult
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExceptionDataResult : public ServiceResult
{
public:
struct Content
{
std::vector<std::string> points;
std::vector<std::string> columns;
std::string name;
};
CreateDcdnDomainOfflineLogDeliveryResult();
explicit CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload);
~CreateDcdnDomainOfflineLogDeliveryResult();
DescribeDcdnEsExceptionDataResult();
explicit DescribeDcdnEsExceptionDataResult(const std::string &payload);
~DescribeDcdnEsExceptionDataResult();
std::vector<Content> getContents()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Content> contents_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_CREATEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXCEPTIONDATARESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryStatusRequest : public RpcServiceRequest
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExecuteDataRequest : public RpcServiceRequest
{
public:
DescribeDcdnOfflineLogDeliveryStatusRequest();
~DescribeDcdnOfflineLogDeliveryStatusRequest();
DescribeDcdnEsExecuteDataRequest();
~DescribeDcdnEsExecuteDataRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string startTime_;
std::string endTime_;
long ownerId_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSREQUEST_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATAREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,29 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DisableDcdnDomainOfflineLogDeliveryResult : public ServiceResult
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnEsExecuteDataResult : public ServiceResult
{
public:
struct Content
{
std::vector<std::string> points;
std::vector<std::string> columns;
std::string name;
};
DisableDcdnDomainOfflineLogDeliveryResult();
explicit DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload);
~DisableDcdnDomainOfflineLogDeliveryResult();
DescribeDcdnEsExecuteDataResult();
explicit DescribeDcdnEsExecuteDataResult(const std::string &payload);
~DescribeDcdnEsExecuteDataResult();
std::vector<Content> getContents()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Content> contents_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNESEXECUTEDATARESULT_H_

View File

@@ -1,48 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryFieldRequest : public RpcServiceRequest
{
public:
DescribeDcdnOfflineLogDeliveryFieldRequest();
~DescribeDcdnOfflineLogDeliveryFieldRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDREQUEST_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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryFieldResult : public ServiceResult
{
public:
struct Field
{
std::string description;
std::string fieldId;
std::string fieldName;
};
DescribeDcdnOfflineLogDeliveryFieldResult();
explicit DescribeDcdnOfflineLogDeliveryFieldResult(const std::string &payload);
~DescribeDcdnOfflineLogDeliveryFieldResult();
std::vector<Field> getFields()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Field> fields_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYFIELDRESULT_H_

View File

@@ -1,64 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRegionsResult : public ServiceResult
{
public:
struct Area
{
struct RegionInfo
{
std::string isOverseas;
std::string ossEndpoint;
std::string regionName;
std::string regionId;
};
std::string areaName;
std::string areaId;
std::vector<Area::RegionInfo> regionInfos;
};
DescribeDcdnOfflineLogDeliveryRegionsResult();
explicit DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload);
~DescribeDcdnOfflineLogDeliveryRegionsResult();
std::vector<Area> getAreas()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Area> areas_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREGIONSRESULT_H_

View File

@@ -1,48 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryRequest : public RpcServiceRequest
{
public:
DescribeDcdnOfflineLogDeliveryRequest();
~DescribeDcdnOfflineLogDeliveryRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYREQUEST_H_

View File

@@ -1,74 +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_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryResult : public ServiceResult
{
public:
struct Domain
{
std::string domainName;
};
struct Region
{
std::string dlaVcName;
std::string areaName;
std::string ossPathPrefix;
std::string isOverseas;
std::string ossEndpoint;
int ossId;
std::string regionName;
std::string dlaTableName;
std::string areaId;
std::string ossBucketName;
std::string regionId;
std::string dlaDbName;
};
DescribeDcdnOfflineLogDeliveryResult();
explicit DescribeDcdnOfflineLogDeliveryResult(const std::string &payload);
~DescribeDcdnOfflineLogDeliveryResult();
std::vector<Domain> getDomains()const;
std::vector<std::string> getFields()const;
std::vector<Region> getRegions()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Domain> domains_;
std::vector<std::string> fields_;
std::vector<Region> regions_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYRESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnOfflineLogDeliveryStatusResult : public ServiceResult
{
public:
DescribeDcdnOfflineLogDeliveryStatusResult();
explicit DescribeDcdnOfflineLogDeliveryStatusResult(const std::string &payload);
~DescribeDcdnOfflineLogDeliveryStatusResult();
std::string getOpenStatus()const;
protected:
void parse(const std::string &payload);
private:
std::string openStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNOFFLINELOGDELIVERYSTATUSRESULT_H_

View File

@@ -40,8 +40,10 @@ namespace AlibabaCloud
std::string getUrlRemain()const;
std::string getPreloadRemain()const;
std::string getBlockRemain()const;
std::string getRegexRemain()const;
std::string getDirRemain()const;
std::string getBlockQuota()const;
std::string getRegexQuota()const;
std::string getUrlQuota()const;
std::string getDirQuota()const;
std::string getPreloadQuota()const;
@@ -52,8 +54,10 @@ namespace AlibabaCloud
std::string urlRemain_;
std::string preloadRemain_;
std::string blockRemain_;
std::string regexRemain_;
std::string dirRemain_;
std::string blockQuota_;
std::string regexQuota_;
std::string urlQuota_;
std::string dirQuota_;
std::string preloadQuota_;

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DisableDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest
{
public:
DisableDcdnDomainOfflineLogDeliveryRequest();
~DisableDcdnDomainOfflineLogDeliveryRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_

View File

@@ -1,48 +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_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DisableDcdnOfflineLogDeliveryRequest : public RpcServiceRequest
{
public:
DisableDcdnOfflineLogDeliveryRequest();
~DisableDcdnOfflineLogDeliveryRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYREQUEST_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_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT DisableDcdnOfflineLogDeliveryResult : public ServiceResult
{
public:
DisableDcdnOfflineLogDeliveryResult();
explicit DisableDcdnOfflineLogDeliveryResult(const std::string &payload);
~DisableDcdnOfflineLogDeliveryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_DISABLEDCDNOFFLINELOGDELIVERYRESULT_H_

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
#define ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT EnableDcdnDomainOfflineLogDeliveryRequest : public RpcServiceRequest
{
public:
EnableDcdnDomainOfflineLogDeliveryRequest();
~EnableDcdnDomainOfflineLogDeliveryRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYREQUEST_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_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#define ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dcdn/DcdnExport.h>
namespace AlibabaCloud
{
namespace Dcdn
{
namespace Model
{
class ALIBABACLOUD_DCDN_EXPORT EnableDcdnDomainOfflineLogDeliveryResult : public ServiceResult
{
public:
EnableDcdnDomainOfflineLogDeliveryResult();
explicit EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload);
~EnableDcdnDomainOfflineLogDeliveryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DCDN_MODEL_ENABLEDCDNDOMAINOFFLINELOGDELIVERYRESULT_H_

View File

@@ -519,42 +519,6 @@ DcdnClient::CreateDcdnDeliverTaskOutcomeCallable DcdnClient::createDcdnDeliverTa
return task->get_future();
}
DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcome DcdnClient::createDcdnDomainOfflineLogDelivery(const CreateDcdnDomainOfflineLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateDcdnDomainOfflineLogDeliveryOutcome(CreateDcdnDomainOfflineLogDeliveryResult(outcome.result()));
else
return CreateDcdnDomainOfflineLogDeliveryOutcome(outcome.error());
}
void DcdnClient::createDcdnDomainOfflineLogDeliveryAsync(const CreateDcdnDomainOfflineLogDeliveryRequest& request, const CreateDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createDcdnDomainOfflineLogDelivery(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::CreateDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::createDcdnDomainOfflineLogDeliveryCallable(const CreateDcdnDomainOfflineLogDeliveryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateDcdnDomainOfflineLogDeliveryOutcome()>>(
[this, request]()
{
return this->createDcdnDomainOfflineLogDelivery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::CreateDcdnSLSRealTimeLogDeliveryOutcome DcdnClient::createDcdnSLSRealTimeLogDelivery(const CreateDcdnSLSRealTimeLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2859,6 +2823,78 @@ DcdnClient::DescribeDcdnDomainWebsocketTrafficDataOutcomeCallable DcdnClient::de
return task->get_future();
}
DcdnClient::DescribeDcdnEsExceptionDataOutcome DcdnClient::describeDcdnEsExceptionData(const DescribeDcdnEsExceptionDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnEsExceptionDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnEsExceptionDataOutcome(DescribeDcdnEsExceptionDataResult(outcome.result()));
else
return DescribeDcdnEsExceptionDataOutcome(outcome.error());
}
void DcdnClient::describeDcdnEsExceptionDataAsync(const DescribeDcdnEsExceptionDataRequest& request, const DescribeDcdnEsExceptionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnEsExceptionData(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnEsExceptionDataOutcomeCallable DcdnClient::describeDcdnEsExceptionDataCallable(const DescribeDcdnEsExceptionDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnEsExceptionDataOutcome()>>(
[this, request]()
{
return this->describeDcdnEsExceptionData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnEsExecuteDataOutcome DcdnClient::describeDcdnEsExecuteData(const DescribeDcdnEsExecuteDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnEsExecuteDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnEsExecuteDataOutcome(DescribeDcdnEsExecuteDataResult(outcome.result()));
else
return DescribeDcdnEsExecuteDataOutcome(outcome.error());
}
void DcdnClient::describeDcdnEsExecuteDataAsync(const DescribeDcdnEsExecuteDataRequest& request, const DescribeDcdnEsExecuteDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnEsExecuteData(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnEsExecuteDataOutcomeCallable DcdnClient::describeDcdnEsExecuteDataCallable(const DescribeDcdnEsExecuteDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnEsExecuteDataOutcome()>>(
[this, request]()
{
return this->describeDcdnEsExecuteData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnHttpsDomainListOutcome DcdnClient::describeDcdnHttpsDomainList(const DescribeDcdnHttpsDomainListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3075,150 +3111,6 @@ DcdnClient::DescribeDcdnIpaUserDomainsOutcomeCallable DcdnClient::describeDcdnIp
return task->get_future();
}
DcdnClient::DescribeDcdnOfflineLogDeliveryOutcome DcdnClient::describeDcdnOfflineLogDelivery(const DescribeDcdnOfflineLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryOutcome(DescribeDcdnOfflineLogDeliveryResult(outcome.result()));
else
return DescribeDcdnOfflineLogDeliveryOutcome(outcome.error());
}
void DcdnClient::describeDcdnOfflineLogDeliveryAsync(const DescribeDcdnOfflineLogDeliveryRequest& request, const DescribeDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnOfflineLogDelivery(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryCallable(const DescribeDcdnOfflineLogDeliveryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryOutcome()>>(
[this, request]()
{
return this->describeDcdnOfflineLogDelivery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnOfflineLogDeliveryFieldOutcome DcdnClient::describeDcdnOfflineLogDeliveryField(const DescribeDcdnOfflineLogDeliveryFieldRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryFieldOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryFieldOutcome(DescribeDcdnOfflineLogDeliveryFieldResult(outcome.result()));
else
return DescribeDcdnOfflineLogDeliveryFieldOutcome(outcome.error());
}
void DcdnClient::describeDcdnOfflineLogDeliveryFieldAsync(const DescribeDcdnOfflineLogDeliveryFieldRequest& request, const DescribeDcdnOfflineLogDeliveryFieldAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnOfflineLogDeliveryField(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnOfflineLogDeliveryFieldOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryFieldCallable(const DescribeDcdnOfflineLogDeliveryFieldRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryFieldOutcome()>>(
[this, request]()
{
return this->describeDcdnOfflineLogDeliveryField(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnOfflineLogDeliveryRegionsOutcome DcdnClient::describeDcdnOfflineLogDeliveryRegions(const DescribeDcdnOfflineLogDeliveryRegionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryRegionsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryRegionsOutcome(DescribeDcdnOfflineLogDeliveryRegionsResult(outcome.result()));
else
return DescribeDcdnOfflineLogDeliveryRegionsOutcome(outcome.error());
}
void DcdnClient::describeDcdnOfflineLogDeliveryRegionsAsync(const DescribeDcdnOfflineLogDeliveryRegionsRequest& request, const DescribeDcdnOfflineLogDeliveryRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnOfflineLogDeliveryRegions(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnOfflineLogDeliveryRegionsOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryRegionsCallable(const DescribeDcdnOfflineLogDeliveryRegionsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryRegionsOutcome()>>(
[this, request]()
{
return this->describeDcdnOfflineLogDeliveryRegions(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcome DcdnClient::describeDcdnOfflineLogDeliveryStatus(const DescribeDcdnOfflineLogDeliveryStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDcdnOfflineLogDeliveryStatusOutcome(DescribeDcdnOfflineLogDeliveryStatusResult(outcome.result()));
else
return DescribeDcdnOfflineLogDeliveryStatusOutcome(outcome.error());
}
void DcdnClient::describeDcdnOfflineLogDeliveryStatusAsync(const DescribeDcdnOfflineLogDeliveryStatusRequest& request, const DescribeDcdnOfflineLogDeliveryStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDcdnOfflineLogDeliveryStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DescribeDcdnOfflineLogDeliveryStatusOutcomeCallable DcdnClient::describeDcdnOfflineLogDeliveryStatusCallable(const DescribeDcdnOfflineLogDeliveryStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDcdnOfflineLogDeliveryStatusOutcome()>>(
[this, request]()
{
return this->describeDcdnOfflineLogDeliveryStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DescribeDcdnRealTimeDeliveryFieldOutcome DcdnClient::describeDcdnRealTimeDeliveryField(const DescribeDcdnRealTimeDeliveryFieldRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4623,78 +4515,6 @@ DcdnClient::DescribeUserLogserviceStatusOutcomeCallable DcdnClient::describeUser
return task->get_future();
}
DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::disableDcdnDomainOfflineLogDelivery(const DisableDcdnDomainOfflineLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DisableDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DisableDcdnDomainOfflineLogDeliveryOutcome(DisableDcdnDomainOfflineLogDeliveryResult(outcome.result()));
else
return DisableDcdnDomainOfflineLogDeliveryOutcome(outcome.error());
}
void DcdnClient::disableDcdnDomainOfflineLogDeliveryAsync(const DisableDcdnDomainOfflineLogDeliveryRequest& request, const DisableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, disableDcdnDomainOfflineLogDelivery(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DisableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdnDomainOfflineLogDeliveryCallable(const DisableDcdnDomainOfflineLogDeliveryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DisableDcdnDomainOfflineLogDeliveryOutcome()>>(
[this, request]()
{
return this->disableDcdnDomainOfflineLogDelivery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::DisableDcdnOfflineLogDeliveryOutcome DcdnClient::disableDcdnOfflineLogDelivery(const DisableDcdnOfflineLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DisableDcdnOfflineLogDeliveryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DisableDcdnOfflineLogDeliveryOutcome(DisableDcdnOfflineLogDeliveryResult(outcome.result()));
else
return DisableDcdnOfflineLogDeliveryOutcome(outcome.error());
}
void DcdnClient::disableDcdnOfflineLogDeliveryAsync(const DisableDcdnOfflineLogDeliveryRequest& request, const DisableDcdnOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, disableDcdnOfflineLogDelivery(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::DisableDcdnOfflineLogDeliveryOutcomeCallable DcdnClient::disableDcdnOfflineLogDeliveryCallable(const DisableDcdnOfflineLogDeliveryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DisableDcdnOfflineLogDeliveryOutcome()>>(
[this, request]()
{
return this->disableDcdnOfflineLogDelivery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::EditRoutineConfOutcome DcdnClient::editRoutineConf(const EditRoutineConfRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4731,42 +4551,6 @@ DcdnClient::EditRoutineConfOutcomeCallable DcdnClient::editRoutineConfCallable(c
return task->get_future();
}
DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcome DcdnClient::enableDcdnDomainOfflineLogDelivery(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return EnableDcdnDomainOfflineLogDeliveryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return EnableDcdnDomainOfflineLogDeliveryOutcome(EnableDcdnDomainOfflineLogDeliveryResult(outcome.result()));
else
return EnableDcdnDomainOfflineLogDeliveryOutcome(outcome.error());
}
void DcdnClient::enableDcdnDomainOfflineLogDeliveryAsync(const EnableDcdnDomainOfflineLogDeliveryRequest& request, const EnableDcdnDomainOfflineLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, enableDcdnDomainOfflineLogDelivery(request), context);
};
asyncExecute(new Runnable(fn));
}
DcdnClient::EnableDcdnDomainOfflineLogDeliveryOutcomeCallable DcdnClient::enableDcdnDomainOfflineLogDeliveryCallable(const EnableDcdnDomainOfflineLogDeliveryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<EnableDcdnDomainOfflineLogDeliveryOutcome()>>(
[this, request]()
{
return this->enableDcdnDomainOfflineLogDelivery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DcdnClient::ListDcdnRealTimeDeliveryProjectOutcome DcdnClient::listDcdnRealTimeDeliveryProject(const ListDcdnRealTimeDeliveryProjectRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

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/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h>
using AlibabaCloud::Dcdn::Model::CreateDcdnDomainOfflineLogDeliveryRequest;
CreateDcdnDomainOfflineLogDeliveryRequest::CreateDcdnDomainOfflineLogDeliveryRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnDomainOfflineLogDelivery")
{
setMethod(HttpRequest::Method::Post);
}
CreateDcdnDomainOfflineLogDeliveryRequest::~CreateDcdnDomainOfflineLogDeliveryRequest()
{}
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getRegionId()const
{
return regionId_;
}
void CreateDcdnDomainOfflineLogDeliveryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setBodyParameter("RegionId", regionId);
}
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
{
return domainName_;
}
void CreateDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setBodyParameter("DomainName", domainName);
}
long CreateDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
}
void CreateDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getFieldId()const
{
return fieldId_;
}
void CreateDcdnDomainOfflineLogDeliveryRequest::setFieldId(const std::string& fieldId)
{
fieldId_ = fieldId;
setBodyParameter("FieldId", fieldId);
}

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/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult() :
ServiceResult()
{}
CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDcdnDomainOfflineLogDeliveryResult::~CreateDcdnDomainOfflineLogDeliveryResult()
{}
void CreateDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnEsExceptionDataRequest;
DescribeDcdnEsExceptionDataRequest::DescribeDcdnEsExceptionDataRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExceptionData")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnEsExceptionDataRequest::~DescribeDcdnEsExceptionDataRequest()
{}
std::string DescribeDcdnEsExceptionDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnEsExceptionDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnEsExceptionDataRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnEsExceptionDataRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnEsExceptionDataRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnEsExceptionDataRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnEsExceptionDataRequest::getRuleId()const
{
return ruleId_;
}
void DescribeDcdnEsExceptionDataRequest::setRuleId(const std::string& ruleId)
{
ruleId_ = ruleId;
setParameter("RuleId", ruleId);
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult() :
ServiceResult()
{}
DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnEsExceptionDataResult::~DescribeDcdnEsExceptionDataResult()
{}
void DescribeDcdnEsExceptionDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContentsNode = value["Contents"]["Content"];
for (auto valueContentsContent : allContentsNode)
{
Content contentsObject;
if(!valueContentsContent["Name"].isNull())
contentsObject.name = valueContentsContent["Name"].asString();
auto allColumns = value["Columns"]["columns"];
for (auto value : allColumns)
contentsObject.columns.push_back(value.asString());
auto allPoints = value["Points"]["points"];
for (auto value : allPoints)
contentsObject.points.push_back(value.asString());
contents_.push_back(contentsObject);
}
}
std::vector<DescribeDcdnEsExceptionDataResult::Content> DescribeDcdnEsExceptionDataResult::getContents()const
{
return contents_;
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnEsExecuteDataRequest;
DescribeDcdnEsExecuteDataRequest::DescribeDcdnEsExecuteDataRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExecuteData")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnEsExecuteDataRequest::~DescribeDcdnEsExecuteDataRequest()
{}
std::string DescribeDcdnEsExecuteDataRequest::getStartTime()const
{
return startTime_;
}
void DescribeDcdnEsExecuteDataRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeDcdnEsExecuteDataRequest::getEndTime()const
{
return endTime_;
}
void DescribeDcdnEsExecuteDataRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDcdnEsExecuteDataRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnEsExecuteDataRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeDcdnEsExecuteDataRequest::getRuleId()const
{
return ruleId_;
}
void DescribeDcdnEsExecuteDataRequest::setRuleId(const std::string& ruleId)
{
ruleId_ = ruleId;
setParameter("RuleId", ruleId);
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult() :
ServiceResult()
{}
DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnEsExecuteDataResult::~DescribeDcdnEsExecuteDataResult()
{}
void DescribeDcdnEsExecuteDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContentsNode = value["Contents"]["Content"];
for (auto valueContentsContent : allContentsNode)
{
Content contentsObject;
if(!valueContentsContent["Name"].isNull())
contentsObject.name = valueContentsContent["Name"].asString();
auto allColumns = value["Columns"]["columns"];
for (auto value : allColumns)
contentsObject.columns.push_back(value.asString());
auto allPoints = value["Points"]["points"];
for (auto value : allPoints)
contentsObject.points.push_back(value.asString());
contents_.push_back(contentsObject);
}
}
std::vector<DescribeDcdnEsExecuteDataResult::Content> DescribeDcdnEsExecuteDataResult::getContents()const
{
return contents_;
}

View File

@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryFieldRequest;
DescribeDcdnOfflineLogDeliveryFieldRequest::DescribeDcdnOfflineLogDeliveryFieldRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryField")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnOfflineLogDeliveryFieldRequest::~DescribeDcdnOfflineLogDeliveryFieldRequest()
{}
long DescribeDcdnOfflineLogDeliveryFieldRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnOfflineLogDeliveryFieldRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRegionsRequest;
DescribeDcdnOfflineLogDeliveryRegionsRequest::DescribeDcdnOfflineLogDeliveryRegionsRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryRegions")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnOfflineLogDeliveryRegionsRequest::~DescribeDcdnOfflineLogDeliveryRegionsRequest()
{}
long DescribeDcdnOfflineLogDeliveryRegionsRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnOfflineLogDeliveryRegionsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult() :
ServiceResult()
{}
DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnOfflineLogDeliveryRegionsResult::~DescribeDcdnOfflineLogDeliveryRegionsResult()
{}
void DescribeDcdnOfflineLogDeliveryRegionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allAreasNode = value["Areas"]["Area"];
for (auto valueAreasArea : allAreasNode)
{
Area areasObject;
if(!valueAreasArea["AreaId"].isNull())
areasObject.areaId = valueAreasArea["AreaId"].asString();
if(!valueAreasArea["AreaName"].isNull())
areasObject.areaName = valueAreasArea["AreaName"].asString();
auto allRegionInfosNode = valueAreasArea["RegionInfos"]["RegionInfo"];
for (auto valueAreasAreaRegionInfosRegionInfo : allRegionInfosNode)
{
Area::RegionInfo regionInfosObject;
if(!valueAreasAreaRegionInfosRegionInfo["RegionId"].isNull())
regionInfosObject.regionId = valueAreasAreaRegionInfosRegionInfo["RegionId"].asString();
if(!valueAreasAreaRegionInfosRegionInfo["RegionName"].isNull())
regionInfosObject.regionName = valueAreasAreaRegionInfosRegionInfo["RegionName"].asString();
if(!valueAreasAreaRegionInfosRegionInfo["IsOverseas"].isNull())
regionInfosObject.isOverseas = valueAreasAreaRegionInfosRegionInfo["IsOverseas"].asString();
if(!valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].isNull())
regionInfosObject.ossEndpoint = valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].asString();
areasObject.regionInfos.push_back(regionInfosObject);
}
areas_.push_back(areasObject);
}
}
std::vector<DescribeDcdnOfflineLogDeliveryRegionsResult::Area> DescribeDcdnOfflineLogDeliveryRegionsResult::getAreas()const
{
return areas_;
}

View File

@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRequest;
DescribeDcdnOfflineLogDeliveryRequest::DescribeDcdnOfflineLogDeliveryRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDelivery")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnOfflineLogDeliveryRequest::~DescribeDcdnOfflineLogDeliveryRequest()
{}
long DescribeDcdnOfflineLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -1,100 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult() :
ServiceResult()
{}
DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDcdnOfflineLogDeliveryResult::~DescribeDcdnOfflineLogDeliveryResult()
{}
void DescribeDcdnOfflineLogDeliveryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainsNode = value["Domains"]["Domain"];
for (auto valueDomainsDomain : allDomainsNode)
{
Domain domainsObject;
if(!valueDomainsDomain["DomainName"].isNull())
domainsObject.domainName = valueDomainsDomain["DomainName"].asString();
domains_.push_back(domainsObject);
}
auto allRegionsNode = value["Regions"]["Region"];
for (auto valueRegionsRegion : allRegionsNode)
{
Region regionsObject;
if(!valueRegionsRegion["OssId"].isNull())
regionsObject.ossId = std::stoi(valueRegionsRegion["OssId"].asString());
if(!valueRegionsRegion["OssBucketName"].isNull())
regionsObject.ossBucketName = valueRegionsRegion["OssBucketName"].asString();
if(!valueRegionsRegion["OssPathPrefix"].isNull())
regionsObject.ossPathPrefix = valueRegionsRegion["OssPathPrefix"].asString();
if(!valueRegionsRegion["DlaVcName"].isNull())
regionsObject.dlaVcName = valueRegionsRegion["DlaVcName"].asString();
if(!valueRegionsRegion["RegionId"].isNull())
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
if(!valueRegionsRegion["RegionName"].isNull())
regionsObject.regionName = valueRegionsRegion["RegionName"].asString();
if(!valueRegionsRegion["IsOverseas"].isNull())
regionsObject.isOverseas = valueRegionsRegion["IsOverseas"].asString();
if(!valueRegionsRegion["OssEndpoint"].isNull())
regionsObject.ossEndpoint = valueRegionsRegion["OssEndpoint"].asString();
if(!valueRegionsRegion["AreaId"].isNull())
regionsObject.areaId = valueRegionsRegion["AreaId"].asString();
if(!valueRegionsRegion["AreaName"].isNull())
regionsObject.areaName = valueRegionsRegion["AreaName"].asString();
if(!valueRegionsRegion["DlaDbName"].isNull())
regionsObject.dlaDbName = valueRegionsRegion["DlaDbName"].asString();
if(!valueRegionsRegion["DlaTableName"].isNull())
regionsObject.dlaTableName = valueRegionsRegion["DlaTableName"].asString();
regions_.push_back(regionsObject);
}
auto allFields = value["Fields"]["Field"];
for (const auto &item : allFields)
fields_.push_back(item.asString());
}
std::vector<DescribeDcdnOfflineLogDeliveryResult::Domain> DescribeDcdnOfflineLogDeliveryResult::getDomains()const
{
return domains_;
}
std::vector<std::string> DescribeDcdnOfflineLogDeliveryResult::getFields()const
{
return fields_;
}
std::vector<DescribeDcdnOfflineLogDeliveryResult::Region> DescribeDcdnOfflineLogDeliveryResult::getRegions()const
{
return regions_;
}

View File

@@ -1,40 +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/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h>
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryStatusRequest;
DescribeDcdnOfflineLogDeliveryStatusRequest::DescribeDcdnOfflineLogDeliveryStatusRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDcdnOfflineLogDeliveryStatusRequest::~DescribeDcdnOfflineLogDeliveryStatusRequest()
{}
long DescribeDcdnOfflineLogDeliveryStatusRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDcdnOfflineLogDeliveryStatusRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

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

View File

@@ -53,8 +53,12 @@ void DescribeDcdnRefreshQuotaResult::parse(const std::string &payload)
blockQuota_ = value["BlockQuota"].asString();
if(!value["PreloadRemain"].isNull())
preloadRemain_ = value["PreloadRemain"].asString();
if(!value["blockRemain"].isNull())
blockRemain_ = value["blockRemain"].asString();
if(!value["BlockRemain"].isNull())
blockRemain_ = value["BlockRemain"].asString();
if(!value["RegexQuota"].isNull())
regexQuota_ = value["RegexQuota"].asString();
if(!value["RegexRemain"].isNull())
regexRemain_ = value["RegexRemain"].asString();
}
@@ -73,6 +77,11 @@ std::string DescribeDcdnRefreshQuotaResult::getBlockRemain()const
return blockRemain_;
}
std::string DescribeDcdnRefreshQuotaResult::getRegexRemain()const
{
return regexRemain_;
}
std::string DescribeDcdnRefreshQuotaResult::getDirRemain()const
{
return dirRemain_;
@@ -83,6 +92,11 @@ std::string DescribeDcdnRefreshQuotaResult::getBlockQuota()const
return blockQuota_;
}
std::string DescribeDcdnRefreshQuotaResult::getRegexQuota()const
{
return regexQuota_;
}
std::string DescribeDcdnRefreshQuotaResult::getUrlQuota()const
{
return urlQuota_;

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h>
using AlibabaCloud::Dcdn::Model::DisableDcdnDomainOfflineLogDeliveryRequest;
DisableDcdnDomainOfflineLogDeliveryRequest::DisableDcdnDomainOfflineLogDeliveryRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnDomainOfflineLogDelivery")
{
setMethod(HttpRequest::Method::Post);
}
DisableDcdnDomainOfflineLogDeliveryRequest::~DisableDcdnDomainOfflineLogDeliveryRequest()
{}
std::string DisableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
{
return domainName_;
}
void DisableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setBodyParameter("DomainName", domainName);
}
long DisableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
}
void DisableDcdnDomainOfflineLogDeliveryRequest::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/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult() :
ServiceResult()
{}
DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableDcdnDomainOfflineLogDeliveryResult::~DisableDcdnDomainOfflineLogDeliveryResult()
{}
void DisableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,40 +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/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h>
using AlibabaCloud::Dcdn::Model::DisableDcdnOfflineLogDeliveryRequest;
DisableDcdnOfflineLogDeliveryRequest::DisableDcdnOfflineLogDeliveryRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnOfflineLogDelivery")
{
setMethod(HttpRequest::Method::Post);
}
DisableDcdnOfflineLogDeliveryRequest::~DisableDcdnOfflineLogDeliveryRequest()
{}
long DisableDcdnOfflineLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
}
void DisableDcdnOfflineLogDeliveryRequest::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/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult() :
ServiceResult()
{}
DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DisableDcdnOfflineLogDeliveryResult::~DisableDcdnOfflineLogDeliveryResult()
{}
void DisableDcdnOfflineLogDeliveryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h>
using AlibabaCloud::Dcdn::Model::EnableDcdnDomainOfflineLogDeliveryRequest;
EnableDcdnDomainOfflineLogDeliveryRequest::EnableDcdnDomainOfflineLogDeliveryRequest() :
RpcServiceRequest("dcdn", "2018-01-15", "EnableDcdnDomainOfflineLogDelivery")
{
setMethod(HttpRequest::Method::Post);
}
EnableDcdnDomainOfflineLogDeliveryRequest::~EnableDcdnDomainOfflineLogDeliveryRequest()
{}
std::string EnableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
{
return domainName_;
}
void EnableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setBodyParameter("DomainName", domainName);
}
long EnableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
}
void EnableDcdnDomainOfflineLogDeliveryRequest::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/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dcdn;
using namespace AlibabaCloud::Dcdn::Model;
EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult() :
ServiceResult()
{}
EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
EnableDcdnDomainOfflineLogDeliveryResult::~EnableDcdnDomainOfflineLogDeliveryResult()
{}
void EnableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}