ソースを参照

Add ExportTas apis.

sdk-team 6 年 前
コミット
c419c6e933

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-03-10 Version: 1.36.312
+- Add ExportTas apis.
+
 2020-03-09 Version: 1.36.311
 - Add EmotionConfidence to GetImage.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.311
+1.36.312

+ 8 - 0
cdn/CMakeLists.txt

@@ -49,6 +49,8 @@ set(cdn_public_header_model
 	include/alibabacloud/cdn/model/BatchUpdateCdnDomainResult.h
 	include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestRequest.h
 	include/alibabacloud/cdn/model/CreateCdnCertificateSigningRequestResult.h
+	include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h
+	include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h
 	include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesRequest.h
 	include/alibabacloud/cdn/model/CreateLiveStreamRecordIndexFilesResult.h
 	include/alibabacloud/cdn/model/CreateRealTimeLogDeliveryRequest.h
@@ -211,6 +213,8 @@ set(cdn_public_header_model
 	include/alibabacloud/cdn/model/DescribeDomainsUsageByDayResult.h
 	include/alibabacloud/cdn/model/DescribeFCTriggerRequest.h
 	include/alibabacloud/cdn/model/DescribeFCTriggerResult.h
+	include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h
+	include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h
 	include/alibabacloud/cdn/model/DescribeIpInfoRequest.h
 	include/alibabacloud/cdn/model/DescribeIpInfoResult.h
 	include/alibabacloud/cdn/model/DescribeL2VipsByDomainRequest.h
@@ -434,6 +438,8 @@ set(cdn_src
 	src/model/BatchUpdateCdnDomainResult.cc
 	src/model/CreateCdnCertificateSigningRequestRequest.cc
 	src/model/CreateCdnCertificateSigningRequestResult.cc
+	src/model/CreateIllegalUrlExportTaskRequest.cc
+	src/model/CreateIllegalUrlExportTaskResult.cc
 	src/model/CreateLiveStreamRecordIndexFilesRequest.cc
 	src/model/CreateLiveStreamRecordIndexFilesResult.cc
 	src/model/CreateRealTimeLogDeliveryRequest.cc
@@ -596,6 +602,8 @@ set(cdn_src
 	src/model/DescribeDomainsUsageByDayResult.cc
 	src/model/DescribeFCTriggerRequest.cc
 	src/model/DescribeFCTriggerResult.cc
+	src/model/DescribeIllegalUrlExportTaskRequest.cc
+	src/model/DescribeIllegalUrlExportTaskResult.cc
 	src/model/DescribeIpInfoRequest.cc
 	src/model/DescribeIpInfoResult.cc
 	src/model/DescribeL2VipsByDomainRequest.cc

+ 16 - 0
cdn/include/alibabacloud/cdn/CdnClient.h

@@ -50,6 +50,8 @@
 #include "model/BatchUpdateCdnDomainResult.h"
 #include "model/CreateCdnCertificateSigningRequestRequest.h"
 #include "model/CreateCdnCertificateSigningRequestResult.h"
+#include "model/CreateIllegalUrlExportTaskRequest.h"
+#include "model/CreateIllegalUrlExportTaskResult.h"
 #include "model/CreateLiveStreamRecordIndexFilesRequest.h"
 #include "model/CreateLiveStreamRecordIndexFilesResult.h"
 #include "model/CreateRealTimeLogDeliveryRequest.h"
@@ -212,6 +214,8 @@
 #include "model/DescribeDomainsUsageByDayResult.h"
 #include "model/DescribeFCTriggerRequest.h"
 #include "model/DescribeFCTriggerResult.h"
+#include "model/DescribeIllegalUrlExportTaskRequest.h"
+#include "model/DescribeIllegalUrlExportTaskResult.h"
 #include "model/DescribeIpInfoRequest.h"
 #include "model/DescribeIpInfoResult.h"
 #include "model/DescribeL2VipsByDomainRequest.h"
@@ -455,6 +459,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::CreateCdnCertificateSigningRequestResult> CreateCdnCertificateSigningRequestOutcome;
 			typedef std::future<CreateCdnCertificateSigningRequestOutcome> CreateCdnCertificateSigningRequestOutcomeCallable;
 			typedef std::function<void(const CdnClient*, const Model::CreateCdnCertificateSigningRequestRequest&, const CreateCdnCertificateSigningRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCdnCertificateSigningRequestAsyncHandler;
+			typedef Outcome<Error, Model::CreateIllegalUrlExportTaskResult> CreateIllegalUrlExportTaskOutcome;
+			typedef std::future<CreateIllegalUrlExportTaskOutcome> CreateIllegalUrlExportTaskOutcomeCallable;
+			typedef std::function<void(const CdnClient*, const Model::CreateIllegalUrlExportTaskRequest&, const CreateIllegalUrlExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIllegalUrlExportTaskAsyncHandler;
 			typedef Outcome<Error, Model::CreateLiveStreamRecordIndexFilesResult> CreateLiveStreamRecordIndexFilesOutcome;
 			typedef std::future<CreateLiveStreamRecordIndexFilesOutcome> CreateLiveStreamRecordIndexFilesOutcomeCallable;
 			typedef std::function<void(const CdnClient*, const Model::CreateLiveStreamRecordIndexFilesRequest&, const CreateLiveStreamRecordIndexFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveStreamRecordIndexFilesAsyncHandler;
@@ -698,6 +705,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DescribeFCTriggerResult> DescribeFCTriggerOutcome;
 			typedef std::future<DescribeFCTriggerOutcome> DescribeFCTriggerOutcomeCallable;
 			typedef std::function<void(const CdnClient*, const Model::DescribeFCTriggerRequest&, const DescribeFCTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFCTriggerAsyncHandler;
+			typedef Outcome<Error, Model::DescribeIllegalUrlExportTaskResult> DescribeIllegalUrlExportTaskOutcome;
+			typedef std::future<DescribeIllegalUrlExportTaskOutcome> DescribeIllegalUrlExportTaskOutcomeCallable;
+			typedef std::function<void(const CdnClient*, const Model::DescribeIllegalUrlExportTaskRequest&, const DescribeIllegalUrlExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIllegalUrlExportTaskAsyncHandler;
 			typedef Outcome<Error, Model::DescribeIpInfoResult> DescribeIpInfoOutcome;
 			typedef std::future<DescribeIpInfoOutcome> DescribeIpInfoOutcomeCallable;
 			typedef std::function<void(const CdnClient*, const Model::DescribeIpInfoRequest&, const DescribeIpInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIpInfoAsyncHandler;
@@ -1033,6 +1043,9 @@ namespace AlibabaCloud
 			CreateCdnCertificateSigningRequestOutcome createCdnCertificateSigningRequest(const Model::CreateCdnCertificateSigningRequestRequest &request)const;
 			void createCdnCertificateSigningRequestAsync(const Model::CreateCdnCertificateSigningRequestRequest& request, const CreateCdnCertificateSigningRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateCdnCertificateSigningRequestOutcomeCallable createCdnCertificateSigningRequestCallable(const Model::CreateCdnCertificateSigningRequestRequest& request) const;
+			CreateIllegalUrlExportTaskOutcome createIllegalUrlExportTask(const Model::CreateIllegalUrlExportTaskRequest &request)const;
+			void createIllegalUrlExportTaskAsync(const Model::CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			CreateIllegalUrlExportTaskOutcomeCallable createIllegalUrlExportTaskCallable(const Model::CreateIllegalUrlExportTaskRequest& request) const;
 			CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const;
 			void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& request) const;
@@ -1276,6 +1289,9 @@ namespace AlibabaCloud
 			DescribeFCTriggerOutcome describeFCTrigger(const Model::DescribeFCTriggerRequest &request)const;
 			void describeFCTriggerAsync(const Model::DescribeFCTriggerRequest& request, const DescribeFCTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeFCTriggerOutcomeCallable describeFCTriggerCallable(const Model::DescribeFCTriggerRequest& request) const;
+			DescribeIllegalUrlExportTaskOutcome describeIllegalUrlExportTask(const Model::DescribeIllegalUrlExportTaskRequest &request)const;
+			void describeIllegalUrlExportTaskAsync(const Model::DescribeIllegalUrlExportTaskRequest& request, const DescribeIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeIllegalUrlExportTaskOutcomeCallable describeIllegalUrlExportTaskCallable(const Model::DescribeIllegalUrlExportTaskRequest& request) const;
 			DescribeIpInfoOutcome describeIpInfo(const Model::DescribeIpInfoRequest &request)const;
 			void describeIpInfoAsync(const Model::DescribeIpInfoRequest& request, const DescribeIpInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeIpInfoOutcomeCallable describeIpInfoCallable(const Model::DescribeIpInfoRequest& request) const;

+ 3 - 3
cdn/include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h

@@ -39,19 +39,19 @@ namespace AlibabaCloud
 				void setFunctions(const std::string& functions);
 				std::string getDomainNames()const;
 				void setDomainNames(const std::string& domainNames);
+				std::string getSecurityToken()const;
+				void setSecurityToken(const std::string& securityToken);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				long getOwnerId()const;
 				void setOwnerId(long ownerId);
-				std::string getSecurityToken()const;
-				void setSecurityToken(const std::string& securityToken);
 
             private:
 				std::string functions_;
 				std::string domainNames_;
+				std::string securityToken_;
 				std::string ownerAccount_;
 				long ownerId_;
-				std::string securityToken_;
 
 			};
 		}

+ 54 - 0
cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h

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

+ 51 - 0
cdn/include/alibabacloud/cdn/model/CreateIllegalUrlExportTaskResult.h

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

+ 51 - 0
cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h

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

+ 53 - 0
cdn/include/alibabacloud/cdn/model/DescribeIllegalUrlExportTaskResult.h

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

+ 3 - 3
cdn/include/alibabacloud/cdn/model/RefreshObjectCachesRequest.h

@@ -37,18 +37,18 @@ namespace AlibabaCloud
 
 				std::string getObjectPath()const;
 				void setObjectPath(const std::string& objectPath);
-				long getOwnerId()const;
-				void setOwnerId(long ownerId);
 				std::string getSecurityToken()const;
 				void setSecurityToken(const std::string& securityToken);
 				std::string getObjectType()const;
 				void setObjectType(const std::string& objectType);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
 
             private:
 				std::string objectPath_;
-				long ownerId_;
 				std::string securityToken_;
 				std::string objectType_;
+				long ownerId_;
 
 			};
 		}

+ 3 - 3
cdn/include/alibabacloud/cdn/model/SetCdnDomainCSRCertificateRequest.h

@@ -35,15 +35,15 @@ namespace AlibabaCloud
 				SetCdnDomainCSRCertificateRequest();
 				~SetCdnDomainCSRCertificateRequest();
 
-				std::string getCertificate()const;
-				void setCertificate(const std::string& certificate);
+				std::string getServerCertificate()const;
+				void setServerCertificate(const std::string& serverCertificate);
 				std::string getDomainName()const;
 				void setDomainName(const std::string& domainName);
 				long getOwnerId()const;
 				void setOwnerId(long ownerId);
 
             private:
-				std::string certificate_;
+				std::string serverCertificate_;
 				std::string domainName_;
 				long ownerId_;
 

+ 72 - 0
cdn/src/CdnClient.cc

@@ -555,6 +555,42 @@ CdnClient::CreateCdnCertificateSigningRequestOutcomeCallable CdnClient::createCd
 	return task->get_future();
 }
 
+CdnClient::CreateIllegalUrlExportTaskOutcome CdnClient::createIllegalUrlExportTask(const CreateIllegalUrlExportTaskRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return CreateIllegalUrlExportTaskOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return CreateIllegalUrlExportTaskOutcome(CreateIllegalUrlExportTaskResult(outcome.result()));
+	else
+		return CreateIllegalUrlExportTaskOutcome(outcome.error());
+}
+
+void CdnClient::createIllegalUrlExportTaskAsync(const CreateIllegalUrlExportTaskRequest& request, const CreateIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, createIllegalUrlExportTask(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CdnClient::CreateIllegalUrlExportTaskOutcomeCallable CdnClient::createIllegalUrlExportTaskCallable(const CreateIllegalUrlExportTaskRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<CreateIllegalUrlExportTaskOutcome()>>(
+			[this, request]()
+			{
+			return this->createIllegalUrlExportTask(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CdnClient::CreateLiveStreamRecordIndexFilesOutcome CdnClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3471,6 +3507,42 @@ CdnClient::DescribeFCTriggerOutcomeCallable CdnClient::describeFCTriggerCallable
 	return task->get_future();
 }
 
+CdnClient::DescribeIllegalUrlExportTaskOutcome CdnClient::describeIllegalUrlExportTask(const DescribeIllegalUrlExportTaskRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeIllegalUrlExportTaskOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeIllegalUrlExportTaskOutcome(DescribeIllegalUrlExportTaskResult(outcome.result()));
+	else
+		return DescribeIllegalUrlExportTaskOutcome(outcome.error());
+}
+
+void CdnClient::describeIllegalUrlExportTaskAsync(const DescribeIllegalUrlExportTaskRequest& request, const DescribeIllegalUrlExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeIllegalUrlExportTask(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+CdnClient::DescribeIllegalUrlExportTaskOutcomeCallable CdnClient::describeIllegalUrlExportTaskCallable(const DescribeIllegalUrlExportTaskRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeIllegalUrlExportTaskOutcome()>>(
+			[this, request]()
+			{
+			return this->describeIllegalUrlExportTask(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 CdnClient::DescribeIpInfoOutcome CdnClient::describeIpInfo(const DescribeIpInfoRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 11 - 11
cdn/src/model/BatchSetCdnDomainConfigRequest.cc

@@ -49,6 +49,17 @@ void BatchSetCdnDomainConfigRequest::setDomainNames(const std::string& domainNam
 	setParameter("DomainNames", domainNames);
 }
 
+std::string BatchSetCdnDomainConfigRequest::getSecurityToken()const
+{
+	return securityToken_;
+}
+
+void BatchSetCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
+{
+	securityToken_ = securityToken;
+	setParameter("SecurityToken", securityToken);
+}
+
 std::string BatchSetCdnDomainConfigRequest::getOwnerAccount()const
 {
 	return ownerAccount_;
@@ -71,14 +82,3 @@ void BatchSetCdnDomainConfigRequest::setOwnerId(long ownerId)
 	setParameter("OwnerId", std::to_string(ownerId));
 }
 
-std::string BatchSetCdnDomainConfigRequest::getSecurityToken()const
-{
-	return securityToken_;
-}
-
-void BatchSetCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
-{
-	securityToken_ = securityToken;
-	setParameter("SecurityToken", securityToken);
-}
-

+ 62 - 0
cdn/src/model/CreateIllegalUrlExportTaskRequest.cc

@@ -0,0 +1,62 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cdn/model/CreateIllegalUrlExportTaskRequest.h>
+
+using AlibabaCloud::Cdn::Model::CreateIllegalUrlExportTaskRequest;
+
+CreateIllegalUrlExportTaskRequest::CreateIllegalUrlExportTaskRequest() :
+	RpcServiceRequest("cdn", "2018-05-10", "CreateIllegalUrlExportTask")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+CreateIllegalUrlExportTaskRequest::~CreateIllegalUrlExportTaskRequest()
+{}
+
+std::string CreateIllegalUrlExportTaskRequest::getTaskName()const
+{
+	return taskName_;
+}
+
+void CreateIllegalUrlExportTaskRequest::setTaskName(const std::string& taskName)
+{
+	taskName_ = taskName;
+	setParameter("TaskName", taskName);
+}
+
+long CreateIllegalUrlExportTaskRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void CreateIllegalUrlExportTaskRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", std::to_string(ownerId));
+}
+
+std::string CreateIllegalUrlExportTaskRequest::getTimePoint()const
+{
+	return timePoint_;
+}
+
+void CreateIllegalUrlExportTaskRequest::setTimePoint(const std::string& timePoint)
+{
+	timePoint_ = timePoint;
+	setParameter("TimePoint", timePoint);
+}
+

+ 51 - 0
cdn/src/model/CreateIllegalUrlExportTaskResult.cc

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

+ 51 - 0
cdn/src/model/DescribeIllegalUrlExportTaskRequest.cc

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/cdn/model/DescribeIllegalUrlExportTaskRequest.h>
+
+using AlibabaCloud::Cdn::Model::DescribeIllegalUrlExportTaskRequest;
+
+DescribeIllegalUrlExportTaskRequest::DescribeIllegalUrlExportTaskRequest() :
+	RpcServiceRequest("cdn", "2018-05-10", "DescribeIllegalUrlExportTask")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeIllegalUrlExportTaskRequest::~DescribeIllegalUrlExportTaskRequest()
+{}
+
+std::string DescribeIllegalUrlExportTaskRequest::getTaskId()const
+{
+	return taskId_;
+}
+
+void DescribeIllegalUrlExportTaskRequest::setTaskId(const std::string& taskId)
+{
+	taskId_ = taskId;
+	setParameter("TaskId", taskId);
+}
+
+long DescribeIllegalUrlExportTaskRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void DescribeIllegalUrlExportTaskRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 58 - 0
cdn/src/model/DescribeIllegalUrlExportTaskResult.cc

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

+ 11 - 11
cdn/src/model/RefreshObjectCachesRequest.cc

@@ -38,17 +38,6 @@ void RefreshObjectCachesRequest::setObjectPath(const std::string& objectPath)
 	setParameter("ObjectPath", objectPath);
 }
 
-long RefreshObjectCachesRequest::getOwnerId()const
-{
-	return ownerId_;
-}
-
-void RefreshObjectCachesRequest::setOwnerId(long ownerId)
-{
-	ownerId_ = ownerId;
-	setParameter("OwnerId", std::to_string(ownerId));
-}
-
 std::string RefreshObjectCachesRequest::getSecurityToken()const
 {
 	return securityToken_;
@@ -71,3 +60,14 @@ void RefreshObjectCachesRequest::setObjectType(const std::string& objectType)
 	setParameter("ObjectType", objectType);
 }
 
+long RefreshObjectCachesRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void RefreshObjectCachesRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 5 - 5
cdn/src/model/SetCdnDomainCSRCertificateRequest.cc

@@ -27,15 +27,15 @@ SetCdnDomainCSRCertificateRequest::SetCdnDomainCSRCertificateRequest() :
 SetCdnDomainCSRCertificateRequest::~SetCdnDomainCSRCertificateRequest()
 {}
 
-std::string SetCdnDomainCSRCertificateRequest::getCertificate()const
+std::string SetCdnDomainCSRCertificateRequest::getServerCertificate()const
 {
-	return certificate_;
+	return serverCertificate_;
 }
 
-void SetCdnDomainCSRCertificateRequest::setCertificate(const std::string& certificate)
+void SetCdnDomainCSRCertificateRequest::setServerCertificate(const std::string& serverCertificate)
 {
-	certificate_ = certificate;
-	setParameter("Certificate", certificate);
+	serverCertificate_ = serverCertificate;
+	setParameter("ServerCertificate", serverCertificate);
 }
 
 std::string SetCdnDomainCSRCertificateRequest::getDomainName()const