Parcourir la source

Add a new api named SubmitAIImageAuditJob to submit image ai detection job.

sdk-team il y a 6 ans
Parent
commit
d088239972

+ 7 - 0
CHANGELOG

@@ -1,3 +1,10 @@
+2020-09-24 Version: patch
+- Add a new api named SubmitAIImageAuditJob to submit image ai detection job.
+- Add a new api named CreateDNADB to create a DNA analysis library.
+- Add a new api named ListDNADB to query the list of DNA analysis libraries.
+- Add a new api named GetDNADB to query specified DNA analysis library.
+- Add a new field DNADBId to the request parameter Config structure for SubmitAIJob api.
+
 2020-09-23 Version: patch
 - Add spotDuration support.
 

+ 16 - 0
vod/CMakeLists.txt

@@ -47,6 +47,8 @@ set(vod_public_header_model
 	include/alibabacloud/vod/model/CreateAppInfoResult.h
 	include/alibabacloud/vod/model/CreateAuditRequest.h
 	include/alibabacloud/vod/model/CreateAuditResult.h
+	include/alibabacloud/vod/model/CreateDNADBRequest.h
+	include/alibabacloud/vod/model/CreateDNADBResult.h
 	include/alibabacloud/vod/model/CreateMediaDNALibRequest.h
 	include/alibabacloud/vod/model/CreateMediaDNALibResult.h
 	include/alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h
@@ -149,6 +151,8 @@ set(vod_public_header_model
 	include/alibabacloud/vod/model/GetAuditHistoryResult.h
 	include/alibabacloud/vod/model/GetCategoriesRequest.h
 	include/alibabacloud/vod/model/GetCategoriesResult.h
+	include/alibabacloud/vod/model/GetDNADBRequest.h
+	include/alibabacloud/vod/model/GetDNADBResult.h
 	include/alibabacloud/vod/model/GetDRMCertInfoRequest.h
 	include/alibabacloud/vod/model/GetDRMCertInfoResult.h
 	include/alibabacloud/vod/model/GetDRMLicenseRequest.h
@@ -211,6 +215,8 @@ set(vod_public_header_model
 	include/alibabacloud/vod/model/ListAppPoliciesForIdentityResult.h
 	include/alibabacloud/vod/model/ListAuditSecurityIpRequest.h
 	include/alibabacloud/vod/model/ListAuditSecurityIpResult.h
+	include/alibabacloud/vod/model/ListDNADBRequest.h
+	include/alibabacloud/vod/model/ListDNADBResult.h
 	include/alibabacloud/vod/model/ListDynamicImageRequest.h
 	include/alibabacloud/vod/model/ListDynamicImageResult.h
 	include/alibabacloud/vod/model/ListLiveRecordVideoRequest.h
@@ -259,6 +265,8 @@ set(vod_public_header_model
 	include/alibabacloud/vod/model/SetMessageCallbackResult.h
 	include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h
 	include/alibabacloud/vod/model/SetVodDomainCertificateResult.h
+	include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h
+	include/alibabacloud/vod/model/SubmitAIImageAuditJobResult.h
 	include/alibabacloud/vod/model/SubmitAIImageJobRequest.h
 	include/alibabacloud/vod/model/SubmitAIImageJobResult.h
 	include/alibabacloud/vod/model/SubmitAIJobRequest.h
@@ -336,6 +344,8 @@ set(vod_src
 	src/model/CreateAppInfoResult.cc
 	src/model/CreateAuditRequest.cc
 	src/model/CreateAuditResult.cc
+	src/model/CreateDNADBRequest.cc
+	src/model/CreateDNADBResult.cc
 	src/model/CreateMediaDNALibRequest.cc
 	src/model/CreateMediaDNALibResult.cc
 	src/model/CreateUploadAttachedMediaRequest.cc
@@ -438,6 +448,8 @@ set(vod_src
 	src/model/GetAuditHistoryResult.cc
 	src/model/GetCategoriesRequest.cc
 	src/model/GetCategoriesResult.cc
+	src/model/GetDNADBRequest.cc
+	src/model/GetDNADBResult.cc
 	src/model/GetDRMCertInfoRequest.cc
 	src/model/GetDRMCertInfoResult.cc
 	src/model/GetDRMLicenseRequest.cc
@@ -500,6 +512,8 @@ set(vod_src
 	src/model/ListAppPoliciesForIdentityResult.cc
 	src/model/ListAuditSecurityIpRequest.cc
 	src/model/ListAuditSecurityIpResult.cc
+	src/model/ListDNADBRequest.cc
+	src/model/ListDNADBResult.cc
 	src/model/ListDynamicImageRequest.cc
 	src/model/ListDynamicImageResult.cc
 	src/model/ListLiveRecordVideoRequest.cc
@@ -548,6 +562,8 @@ set(vod_src
 	src/model/SetMessageCallbackResult.cc
 	src/model/SetVodDomainCertificateRequest.cc
 	src/model/SetVodDomainCertificateResult.cc
+	src/model/SubmitAIImageAuditJobRequest.cc
+	src/model/SubmitAIImageAuditJobResult.cc
 	src/model/SubmitAIImageJobRequest.cc
 	src/model/SubmitAIImageJobResult.cc
 	src/model/SubmitAIJobRequest.cc

+ 32 - 0
vod/include/alibabacloud/vod/VodClient.h

@@ -48,6 +48,8 @@
 #include "model/CreateAppInfoResult.h"
 #include "model/CreateAuditRequest.h"
 #include "model/CreateAuditResult.h"
+#include "model/CreateDNADBRequest.h"
+#include "model/CreateDNADBResult.h"
 #include "model/CreateMediaDNALibRequest.h"
 #include "model/CreateMediaDNALibResult.h"
 #include "model/CreateUploadAttachedMediaRequest.h"
@@ -150,6 +152,8 @@
 #include "model/GetAuditHistoryResult.h"
 #include "model/GetCategoriesRequest.h"
 #include "model/GetCategoriesResult.h"
+#include "model/GetDNADBRequest.h"
+#include "model/GetDNADBResult.h"
 #include "model/GetDRMCertInfoRequest.h"
 #include "model/GetDRMCertInfoResult.h"
 #include "model/GetDRMLicenseRequest.h"
@@ -212,6 +216,8 @@
 #include "model/ListAppPoliciesForIdentityResult.h"
 #include "model/ListAuditSecurityIpRequest.h"
 #include "model/ListAuditSecurityIpResult.h"
+#include "model/ListDNADBRequest.h"
+#include "model/ListDNADBResult.h"
 #include "model/ListDynamicImageRequest.h"
 #include "model/ListDynamicImageResult.h"
 #include "model/ListLiveRecordVideoRequest.h"
@@ -260,6 +266,8 @@
 #include "model/SetMessageCallbackResult.h"
 #include "model/SetVodDomainCertificateRequest.h"
 #include "model/SetVodDomainCertificateResult.h"
+#include "model/SubmitAIImageAuditJobRequest.h"
+#include "model/SubmitAIImageAuditJobResult.h"
 #include "model/SubmitAIImageJobRequest.h"
 #include "model/SubmitAIImageJobResult.h"
 #include "model/SubmitAIJobRequest.h"
@@ -356,6 +364,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::CreateAuditResult> CreateAuditOutcome;
 			typedef std::future<CreateAuditOutcome> CreateAuditOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::CreateAuditRequest&, const CreateAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuditAsyncHandler;
+			typedef Outcome<Error, Model::CreateDNADBResult> CreateDNADBOutcome;
+			typedef std::future<CreateDNADBOutcome> CreateDNADBOutcomeCallable;
+			typedef std::function<void(const VodClient*, const Model::CreateDNADBRequest&, const CreateDNADBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDNADBAsyncHandler;
 			typedef Outcome<Error, Model::CreateMediaDNALibResult> CreateMediaDNALibOutcome;
 			typedef std::future<CreateMediaDNALibOutcome> CreateMediaDNALibOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::CreateMediaDNALibRequest&, const CreateMediaDNALibOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMediaDNALibAsyncHandler;
@@ -509,6 +520,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::GetCategoriesResult> GetCategoriesOutcome;
 			typedef std::future<GetCategoriesOutcome> GetCategoriesOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::GetCategoriesRequest&, const GetCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCategoriesAsyncHandler;
+			typedef Outcome<Error, Model::GetDNADBResult> GetDNADBOutcome;
+			typedef std::future<GetDNADBOutcome> GetDNADBOutcomeCallable;
+			typedef std::function<void(const VodClient*, const Model::GetDNADBRequest&, const GetDNADBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDNADBAsyncHandler;
 			typedef Outcome<Error, Model::GetDRMCertInfoResult> GetDRMCertInfoOutcome;
 			typedef std::future<GetDRMCertInfoOutcome> GetDRMCertInfoOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::GetDRMCertInfoRequest&, const GetDRMCertInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDRMCertInfoAsyncHandler;
@@ -602,6 +616,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ListAuditSecurityIpResult> ListAuditSecurityIpOutcome;
 			typedef std::future<ListAuditSecurityIpOutcome> ListAuditSecurityIpOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::ListAuditSecurityIpRequest&, const ListAuditSecurityIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAuditSecurityIpAsyncHandler;
+			typedef Outcome<Error, Model::ListDNADBResult> ListDNADBOutcome;
+			typedef std::future<ListDNADBOutcome> ListDNADBOutcomeCallable;
+			typedef std::function<void(const VodClient*, const Model::ListDNADBRequest&, const ListDNADBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDNADBAsyncHandler;
 			typedef Outcome<Error, Model::ListDynamicImageResult> ListDynamicImageOutcome;
 			typedef std::future<ListDynamicImageOutcome> ListDynamicImageOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::ListDynamicImageRequest&, const ListDynamicImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDynamicImageAsyncHandler;
@@ -674,6 +691,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::SetVodDomainCertificateResult> SetVodDomainCertificateOutcome;
 			typedef std::future<SetVodDomainCertificateOutcome> SetVodDomainCertificateOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::SetVodDomainCertificateRequest&, const SetVodDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVodDomainCertificateAsyncHandler;
+			typedef Outcome<Error, Model::SubmitAIImageAuditJobResult> SubmitAIImageAuditJobOutcome;
+			typedef std::future<SubmitAIImageAuditJobOutcome> SubmitAIImageAuditJobOutcomeCallable;
+			typedef std::function<void(const VodClient*, const Model::SubmitAIImageAuditJobRequest&, const SubmitAIImageAuditJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIImageAuditJobAsyncHandler;
 			typedef Outcome<Error, Model::SubmitAIImageJobResult> SubmitAIImageJobOutcome;
 			typedef std::future<SubmitAIImageJobOutcome> SubmitAIImageJobOutcomeCallable;
 			typedef std::function<void(const VodClient*, const Model::SubmitAIImageJobRequest&, const SubmitAIImageJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIImageJobAsyncHandler;
@@ -790,6 +810,9 @@ namespace AlibabaCloud
 			CreateAuditOutcome createAudit(const Model::CreateAuditRequest &request)const;
 			void createAuditAsync(const Model::CreateAuditRequest& request, const CreateAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateAuditOutcomeCallable createAuditCallable(const Model::CreateAuditRequest& request) const;
+			CreateDNADBOutcome createDNADB(const Model::CreateDNADBRequest &request)const;
+			void createDNADBAsync(const Model::CreateDNADBRequest& request, const CreateDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			CreateDNADBOutcomeCallable createDNADBCallable(const Model::CreateDNADBRequest& request) const;
 			CreateMediaDNALibOutcome createMediaDNALib(const Model::CreateMediaDNALibRequest &request)const;
 			void createMediaDNALibAsync(const Model::CreateMediaDNALibRequest& request, const CreateMediaDNALibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateMediaDNALibOutcomeCallable createMediaDNALibCallable(const Model::CreateMediaDNALibRequest& request) const;
@@ -943,6 +966,9 @@ namespace AlibabaCloud
 			GetCategoriesOutcome getCategories(const Model::GetCategoriesRequest &request)const;
 			void getCategoriesAsync(const Model::GetCategoriesRequest& request, const GetCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetCategoriesOutcomeCallable getCategoriesCallable(const Model::GetCategoriesRequest& request) const;
+			GetDNADBOutcome getDNADB(const Model::GetDNADBRequest &request)const;
+			void getDNADBAsync(const Model::GetDNADBRequest& request, const GetDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetDNADBOutcomeCallable getDNADBCallable(const Model::GetDNADBRequest& request) const;
 			GetDRMCertInfoOutcome getDRMCertInfo(const Model::GetDRMCertInfoRequest &request)const;
 			void getDRMCertInfoAsync(const Model::GetDRMCertInfoRequest& request, const GetDRMCertInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetDRMCertInfoOutcomeCallable getDRMCertInfoCallable(const Model::GetDRMCertInfoRequest& request) const;
@@ -1036,6 +1062,9 @@ namespace AlibabaCloud
 			ListAuditSecurityIpOutcome listAuditSecurityIp(const Model::ListAuditSecurityIpRequest &request)const;
 			void listAuditSecurityIpAsync(const Model::ListAuditSecurityIpRequest& request, const ListAuditSecurityIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListAuditSecurityIpOutcomeCallable listAuditSecurityIpCallable(const Model::ListAuditSecurityIpRequest& request) const;
+			ListDNADBOutcome listDNADB(const Model::ListDNADBRequest &request)const;
+			void listDNADBAsync(const Model::ListDNADBRequest& request, const ListDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ListDNADBOutcomeCallable listDNADBCallable(const Model::ListDNADBRequest& request) const;
 			ListDynamicImageOutcome listDynamicImage(const Model::ListDynamicImageRequest &request)const;
 			void listDynamicImageAsync(const Model::ListDynamicImageRequest& request, const ListDynamicImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListDynamicImageOutcomeCallable listDynamicImageCallable(const Model::ListDynamicImageRequest& request) const;
@@ -1108,6 +1137,9 @@ namespace AlibabaCloud
 			SetVodDomainCertificateOutcome setVodDomainCertificate(const Model::SetVodDomainCertificateRequest &request)const;
 			void setVodDomainCertificateAsync(const Model::SetVodDomainCertificateRequest& request, const SetVodDomainCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			SetVodDomainCertificateOutcomeCallable setVodDomainCertificateCallable(const Model::SetVodDomainCertificateRequest& request) const;
+			SubmitAIImageAuditJobOutcome submitAIImageAuditJob(const Model::SubmitAIImageAuditJobRequest &request)const;
+			void submitAIImageAuditJobAsync(const Model::SubmitAIImageAuditJobRequest& request, const SubmitAIImageAuditJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			SubmitAIImageAuditJobOutcomeCallable submitAIImageAuditJobCallable(const Model::SubmitAIImageAuditJobRequest& request) const;
 			SubmitAIImageJobOutcome submitAIImageJob(const Model::SubmitAIImageJobRequest &request)const;
 			void submitAIImageJobAsync(const Model::SubmitAIImageJobRequest& request, const SubmitAIImageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			SubmitAIImageJobOutcomeCallable submitAIImageJobCallable(const Model::SubmitAIImageJobRequest& request) const;

+ 3 - 0
vod/include/alibabacloud/vod/model/AddVodDomainRequest.h

@@ -41,6 +41,8 @@ namespace AlibabaCloud
 				void setSecurityToken(const std::string& securityToken);
 				std::string getScope()const;
 				void setScope(const std::string& scope);
+				std::string getTopLevelDomain()const;
+				void setTopLevelDomain(const std::string& topLevelDomain);
 				std::string getOwnerAccount()const;
 				void setOwnerAccount(const std::string& ownerAccount);
 				std::string getDomainName()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
 				std::string sources_;
 				std::string securityToken_;
 				std::string scope_;
+				std::string topLevelDomain_;
 				std::string ownerAccount_;
 				std::string domainName_;
 				long ownerId_;

+ 69 - 0
vod/include/alibabacloud/vod/model/CreateDNADBRequest.h

@@ -0,0 +1,69 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_VOD_MODEL_CREATEDNADBREQUEST_H_
+#define ALIBABACLOUD_VOD_MODEL_CREATEDNADBREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT CreateDNADBRequest : public RpcServiceRequest
+			{
+
+			public:
+				CreateDNADBRequest();
+				~CreateDNADBRequest();
+
+				long getResourceOwnerId()const;
+				void setResourceOwnerId(long resourceOwnerId);
+				std::string getClientToken()const;
+				void setClientToken(const std::string& clientToken);
+				std::string getDBRegion()const;
+				void setDBRegion(const std::string& dBRegion);
+				std::string getDBDescription()const;
+				void setDBDescription(const std::string& dBDescription);
+				std::string getResourceOwnerAccount()const;
+				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+				std::string getDBName()const;
+				void setDBName(const std::string& dBName);
+				std::string getDBType()const;
+				void setDBType(const std::string& dBType);
+
+            private:
+				long resourceOwnerId_;
+				std::string clientToken_;
+				std::string dBRegion_;
+				std::string dBDescription_;
+				std::string resourceOwnerAccount_;
+				long ownerId_;
+				std::string dBName_;
+				std::string dBType_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_CREATEDNADBREQUEST_H_

+ 51 - 0
vod/include/alibabacloud/vod/model/CreateDNADBResult.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_VOD_MODEL_CREATEDNADBRESULT_H_
+#define ALIBABACLOUD_VOD_MODEL_CREATEDNADBRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT CreateDNADBResult : public ServiceResult
+			{
+			public:
+
+
+				CreateDNADBResult();
+				explicit CreateDNADBResult(const std::string &payload);
+				~CreateDNADBResult();
+				std::string getDBId()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string dBId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_CREATEDNADBRESULT_H_

+ 63 - 0
vod/include/alibabacloud/vod/model/GetDNADBRequest.h

@@ -0,0 +1,63 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_VOD_MODEL_GETDNADBREQUEST_H_
+#define ALIBABACLOUD_VOD_MODEL_GETDNADBREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT GetDNADBRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetDNADBRequest();
+				~GetDNADBRequest();
+
+				std::string getResourceOwnerId()const;
+				void setResourceOwnerId(const std::string& resourceOwnerId);
+				std::string getResourceOwnerAccount()const;
+				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getOwnerAccount()const;
+				void setOwnerAccount(const std::string& ownerAccount);
+				std::string getOwnerId()const;
+				void setOwnerId(const std::string& ownerId);
+				std::string getAccessKeyId()const;
+				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getDBId()const;
+				void setDBId(const std::string& dBId);
+
+            private:
+				std::string resourceOwnerId_;
+				std::string resourceOwnerAccount_;
+				std::string ownerAccount_;
+				std::string ownerId_;
+				std::string accessKeyId_;
+				std::string dBId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_GETDNADBREQUEST_H_

+ 60 - 0
vod/include/alibabacloud/vod/model/GetDNADBResult.h

@@ -0,0 +1,60 @@
+/*
+ * 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_VOD_MODEL_GETDNADBRESULT_H_
+#define ALIBABACLOUD_VOD_MODEL_GETDNADBRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT GetDNADBResult : public ServiceResult
+			{
+			public:
+				struct DNADB
+				{
+					std::string status;
+					std::string dBId;
+					std::string dBDescription;
+					std::string dBName;
+					std::string dBRegion;
+					std::string dBType;
+				};
+
+
+				GetDNADBResult();
+				explicit GetDNADBResult(const std::string &payload);
+				~GetDNADBResult();
+				DNADB getDNADB()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				DNADB dNADB_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_GETDNADBRESULT_H_

+ 60 - 0
vod/include/alibabacloud/vod/model/ListDNADBRequest.h

@@ -0,0 +1,60 @@
+/*
+ * 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_VOD_MODEL_LISTDNADBREQUEST_H_
+#define ALIBABACLOUD_VOD_MODEL_LISTDNADBREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT ListDNADBRequest : public RpcServiceRequest
+			{
+
+			public:
+				ListDNADBRequest();
+				~ListDNADBRequest();
+
+				std::string getResourceOwnerId()const;
+				void setResourceOwnerId(const std::string& resourceOwnerId);
+				std::string getResourceOwnerAccount()const;
+				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getOwnerAccount()const;
+				void setOwnerAccount(const std::string& ownerAccount);
+				std::string getOwnerId()const;
+				void setOwnerId(const std::string& ownerId);
+				std::string getAccessKeyId()const;
+				void setAccessKeyId(const std::string& accessKeyId);
+
+            private:
+				std::string resourceOwnerId_;
+				std::string resourceOwnerAccount_;
+				std::string ownerAccount_;
+				std::string ownerId_;
+				std::string accessKeyId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_LISTDNADBREQUEST_H_

+ 60 - 0
vod/include/alibabacloud/vod/model/ListDNADBResult.h

@@ -0,0 +1,60 @@
+/*
+ * 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_VOD_MODEL_LISTDNADBRESULT_H_
+#define ALIBABACLOUD_VOD_MODEL_LISTDNADBRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT ListDNADBResult : public ServiceResult
+			{
+			public:
+				struct DNADB
+				{
+					std::string status;
+					std::string dBId;
+					std::string dBDescription;
+					std::string dBName;
+					std::string dBRegion;
+					std::string dBType;
+				};
+
+
+				ListDNADBResult();
+				explicit ListDNADBResult(const std::string &payload);
+				~ListDNADBResult();
+				std::vector<DNADB> getDNADBList()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<DNADB> dNADBList_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_LISTDNADBRESULT_H_

+ 69 - 0
vod/include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h

@@ -0,0 +1,69 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_
+#define ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT SubmitAIImageAuditJobRequest : public RpcServiceRequest
+			{
+
+			public:
+				SubmitAIImageAuditJobRequest();
+				~SubmitAIImageAuditJobRequest();
+
+				std::string getResourceOwnerId()const;
+				void setResourceOwnerId(const std::string& resourceOwnerId);
+				std::string getAccessKeyId()const;
+				void setAccessKeyId(const std::string& accessKeyId);
+				std::string getResourceOwnerAccount()const;
+				void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
+				std::string getOwnerAccount()const;
+				void setOwnerAccount(const std::string& ownerAccount);
+				std::string getOwnerId()const;
+				void setOwnerId(const std::string& ownerId);
+				std::string getMediaId()const;
+				void setMediaId(const std::string& mediaId);
+				std::string getTemplateId()const;
+				void setTemplateId(const std::string& templateId);
+				std::string getMediaAuditConfiguration()const;
+				void setMediaAuditConfiguration(const std::string& mediaAuditConfiguration);
+
+            private:
+				std::string resourceOwnerId_;
+				std::string accessKeyId_;
+				std::string resourceOwnerAccount_;
+				std::string ownerAccount_;
+				std::string ownerId_;
+				std::string mediaId_;
+				std::string templateId_;
+				std::string mediaAuditConfiguration_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_

+ 51 - 0
vod/include/alibabacloud/vod/model/SubmitAIImageAuditJobResult.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_VOD_MODEL_SUBMITAIIMAGEAUDITJOBRESULT_H_
+#define ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/vod/VodExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Vod
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_VOD_EXPORT SubmitAIImageAuditJobResult : public ServiceResult
+			{
+			public:
+
+
+				SubmitAIImageAuditJobResult();
+				explicit SubmitAIImageAuditJobResult(const std::string &payload);
+				~SubmitAIImageAuditJobResult();
+				std::string getJobId()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string jobId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBRESULT_H_

+ 144 - 0
vod/src/VodClient.cc

@@ -519,6 +519,42 @@ VodClient::CreateAuditOutcomeCallable VodClient::createAuditCallable(const Creat
 	return task->get_future();
 }
 
+VodClient::CreateDNADBOutcome VodClient::createDNADB(const CreateDNADBRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return CreateDNADBOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return CreateDNADBOutcome(CreateDNADBResult(outcome.result()));
+	else
+		return CreateDNADBOutcome(outcome.error());
+}
+
+void VodClient::createDNADBAsync(const CreateDNADBRequest& request, const CreateDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, createDNADB(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+VodClient::CreateDNADBOutcomeCallable VodClient::createDNADBCallable(const CreateDNADBRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<CreateDNADBOutcome()>>(
+			[this, request]()
+			{
+			return this->createDNADB(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 VodClient::CreateMediaDNALibOutcome VodClient::createMediaDNALib(const CreateMediaDNALibRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2355,6 +2391,42 @@ VodClient::GetCategoriesOutcomeCallable VodClient::getCategoriesCallable(const G
 	return task->get_future();
 }
 
+VodClient::GetDNADBOutcome VodClient::getDNADB(const GetDNADBRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetDNADBOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetDNADBOutcome(GetDNADBResult(outcome.result()));
+	else
+		return GetDNADBOutcome(outcome.error());
+}
+
+void VodClient::getDNADBAsync(const GetDNADBRequest& request, const GetDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getDNADB(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+VodClient::GetDNADBOutcomeCallable VodClient::getDNADBCallable(const GetDNADBRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetDNADBOutcome()>>(
+			[this, request]()
+			{
+			return this->getDNADB(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 VodClient::GetDRMCertInfoOutcome VodClient::getDRMCertInfo(const GetDRMCertInfoRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3471,6 +3543,42 @@ VodClient::ListAuditSecurityIpOutcomeCallable VodClient::listAuditSecurityIpCall
 	return task->get_future();
 }
 
+VodClient::ListDNADBOutcome VodClient::listDNADB(const ListDNADBRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ListDNADBOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ListDNADBOutcome(ListDNADBResult(outcome.result()));
+	else
+		return ListDNADBOutcome(outcome.error());
+}
+
+void VodClient::listDNADBAsync(const ListDNADBRequest& request, const ListDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, listDNADB(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+VodClient::ListDNADBOutcomeCallable VodClient::listDNADBCallable(const ListDNADBRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ListDNADBOutcome()>>(
+			[this, request]()
+			{
+			return this->listDNADB(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 VodClient::ListDynamicImageOutcome VodClient::listDynamicImage(const ListDynamicImageRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4335,6 +4443,42 @@ VodClient::SetVodDomainCertificateOutcomeCallable VodClient::setVodDomainCertifi
 	return task->get_future();
 }
 
+VodClient::SubmitAIImageAuditJobOutcome VodClient::submitAIImageAuditJob(const SubmitAIImageAuditJobRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return SubmitAIImageAuditJobOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return SubmitAIImageAuditJobOutcome(SubmitAIImageAuditJobResult(outcome.result()));
+	else
+		return SubmitAIImageAuditJobOutcome(outcome.error());
+}
+
+void VodClient::submitAIImageAuditJobAsync(const SubmitAIImageAuditJobRequest& request, const SubmitAIImageAuditJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, submitAIImageAuditJob(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+VodClient::SubmitAIImageAuditJobOutcomeCallable VodClient::submitAIImageAuditJobCallable(const SubmitAIImageAuditJobRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<SubmitAIImageAuditJobOutcome()>>(
+			[this, request]()
+			{
+			return this->submitAIImageAuditJob(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 VodClient::SubmitAIImageJobOutcome VodClient::submitAIImageJob(const SubmitAIImageJobRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 11 - 0
vod/src/model/AddVodDomainRequest.cc

@@ -60,6 +60,17 @@ void AddVodDomainRequest::setScope(const std::string& scope)
 	setParameter("Scope", scope);
 }
 
+std::string AddVodDomainRequest::getTopLevelDomain()const
+{
+	return topLevelDomain_;
+}
+
+void AddVodDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
+{
+	topLevelDomain_ = topLevelDomain;
+	setParameter("TopLevelDomain", topLevelDomain);
+}
+
 std::string AddVodDomainRequest::getOwnerAccount()const
 {
 	return ownerAccount_;

+ 117 - 0
vod/src/model/CreateDNADBRequest.cc

@@ -0,0 +1,117 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/vod/model/CreateDNADBRequest.h>
+
+using AlibabaCloud::Vod::Model::CreateDNADBRequest;
+
+CreateDNADBRequest::CreateDNADBRequest() :
+	RpcServiceRequest("vod", "2017-03-21", "CreateDNADB")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+CreateDNADBRequest::~CreateDNADBRequest()
+{}
+
+long CreateDNADBRequest::getResourceOwnerId()const
+{
+	return resourceOwnerId_;
+}
+
+void CreateDNADBRequest::setResourceOwnerId(long resourceOwnerId)
+{
+	resourceOwnerId_ = resourceOwnerId;
+	setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
+}
+
+std::string CreateDNADBRequest::getClientToken()const
+{
+	return clientToken_;
+}
+
+void CreateDNADBRequest::setClientToken(const std::string& clientToken)
+{
+	clientToken_ = clientToken;
+	setParameter("ClientToken", clientToken);
+}
+
+std::string CreateDNADBRequest::getDBRegion()const
+{
+	return dBRegion_;
+}
+
+void CreateDNADBRequest::setDBRegion(const std::string& dBRegion)
+{
+	dBRegion_ = dBRegion;
+	setParameter("DBRegion", dBRegion);
+}
+
+std::string CreateDNADBRequest::getDBDescription()const
+{
+	return dBDescription_;
+}
+
+void CreateDNADBRequest::setDBDescription(const std::string& dBDescription)
+{
+	dBDescription_ = dBDescription;
+	setParameter("DBDescription", dBDescription);
+}
+
+std::string CreateDNADBRequest::getResourceOwnerAccount()const
+{
+	return resourceOwnerAccount_;
+}
+
+void CreateDNADBRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
+{
+	resourceOwnerAccount_ = resourceOwnerAccount;
+	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
+}
+
+long CreateDNADBRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void CreateDNADBRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", std::to_string(ownerId));
+}
+
+std::string CreateDNADBRequest::getDBName()const
+{
+	return dBName_;
+}
+
+void CreateDNADBRequest::setDBName(const std::string& dBName)
+{
+	dBName_ = dBName;
+	setParameter("DBName", dBName);
+}
+
+std::string CreateDNADBRequest::getDBType()const
+{
+	return dBType_;
+}
+
+void CreateDNADBRequest::setDBType(const std::string& dBType)
+{
+	dBType_ = dBType;
+	setParameter("DBType", dBType);
+}
+

+ 51 - 0
vod/src/model/CreateDNADBResult.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/vod/model/CreateDNADBResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Vod;
+using namespace AlibabaCloud::Vod::Model;
+
+CreateDNADBResult::CreateDNADBResult() :
+	ServiceResult()
+{}
+
+CreateDNADBResult::CreateDNADBResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+CreateDNADBResult::~CreateDNADBResult()
+{}
+
+void CreateDNADBResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["DBId"].isNull())
+		dBId_ = value["DBId"].asString();
+
+}
+
+std::string CreateDNADBResult::getDBId()const
+{
+	return dBId_;
+}
+

+ 95 - 0
vod/src/model/GetDNADBRequest.cc

@@ -0,0 +1,95 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/vod/model/GetDNADBRequest.h>
+
+using AlibabaCloud::Vod::Model::GetDNADBRequest;
+
+GetDNADBRequest::GetDNADBRequest() :
+	RpcServiceRequest("vod", "2017-03-21", "GetDNADB")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+GetDNADBRequest::~GetDNADBRequest()
+{}
+
+std::string GetDNADBRequest::getResourceOwnerId()const
+{
+	return resourceOwnerId_;
+}
+
+void GetDNADBRequest::setResourceOwnerId(const std::string& resourceOwnerId)
+{
+	resourceOwnerId_ = resourceOwnerId;
+	setParameter("ResourceOwnerId", resourceOwnerId);
+}
+
+std::string GetDNADBRequest::getResourceOwnerAccount()const
+{
+	return resourceOwnerAccount_;
+}
+
+void GetDNADBRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
+{
+	resourceOwnerAccount_ = resourceOwnerAccount;
+	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
+}
+
+std::string GetDNADBRequest::getOwnerAccount()const
+{
+	return ownerAccount_;
+}
+
+void GetDNADBRequest::setOwnerAccount(const std::string& ownerAccount)
+{
+	ownerAccount_ = ownerAccount;
+	setParameter("OwnerAccount", ownerAccount);
+}
+
+std::string GetDNADBRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void GetDNADBRequest::setOwnerId(const std::string& ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", ownerId);
+}
+
+std::string GetDNADBRequest::getAccessKeyId()const
+{
+	return accessKeyId_;
+}
+
+void GetDNADBRequest::setAccessKeyId(const std::string& accessKeyId)
+{
+	accessKeyId_ = accessKeyId;
+	setParameter("AccessKeyId", accessKeyId);
+}
+
+std::string GetDNADBRequest::getDBId()const
+{
+	return dBId_;
+}
+
+void GetDNADBRequest::setDBId(const std::string& dBId)
+{
+	dBId_ = dBId;
+	setParameter("DBId", dBId);
+}
+

+ 62 - 0
vod/src/model/GetDNADBResult.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/vod/model/GetDNADBResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Vod;
+using namespace AlibabaCloud::Vod::Model;
+
+GetDNADBResult::GetDNADBResult() :
+	ServiceResult()
+{}
+
+GetDNADBResult::GetDNADBResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetDNADBResult::~GetDNADBResult()
+{}
+
+void GetDNADBResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto dNADBNode = value["DNADB"];
+	if(!dNADBNode["DBId"].isNull())
+		dNADB_.dBId = dNADBNode["DBId"].asString();
+	if(!dNADBNode["Status"].isNull())
+		dNADB_.status = dNADBNode["Status"].asString();
+	if(!dNADBNode["DBDescription"].isNull())
+		dNADB_.dBDescription = dNADBNode["DBDescription"].asString();
+	if(!dNADBNode["DBType"].isNull())
+		dNADB_.dBType = dNADBNode["DBType"].asString();
+	if(!dNADBNode["DBName"].isNull())
+		dNADB_.dBName = dNADBNode["DBName"].asString();
+	if(!dNADBNode["DBRegion"].isNull())
+		dNADB_.dBRegion = dNADBNode["DBRegion"].asString();
+
+}
+
+GetDNADBResult::DNADB GetDNADBResult::getDNADB()const
+{
+	return dNADB_;
+}
+

+ 84 - 0
vod/src/model/ListDNADBRequest.cc

@@ -0,0 +1,84 @@
+/*
+ * 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/vod/model/ListDNADBRequest.h>
+
+using AlibabaCloud::Vod::Model::ListDNADBRequest;
+
+ListDNADBRequest::ListDNADBRequest() :
+	RpcServiceRequest("vod", "2017-03-21", "ListDNADB")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+ListDNADBRequest::~ListDNADBRequest()
+{}
+
+std::string ListDNADBRequest::getResourceOwnerId()const
+{
+	return resourceOwnerId_;
+}
+
+void ListDNADBRequest::setResourceOwnerId(const std::string& resourceOwnerId)
+{
+	resourceOwnerId_ = resourceOwnerId;
+	setParameter("ResourceOwnerId", resourceOwnerId);
+}
+
+std::string ListDNADBRequest::getResourceOwnerAccount()const
+{
+	return resourceOwnerAccount_;
+}
+
+void ListDNADBRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
+{
+	resourceOwnerAccount_ = resourceOwnerAccount;
+	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
+}
+
+std::string ListDNADBRequest::getOwnerAccount()const
+{
+	return ownerAccount_;
+}
+
+void ListDNADBRequest::setOwnerAccount(const std::string& ownerAccount)
+{
+	ownerAccount_ = ownerAccount;
+	setParameter("OwnerAccount", ownerAccount);
+}
+
+std::string ListDNADBRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void ListDNADBRequest::setOwnerId(const std::string& ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", ownerId);
+}
+
+std::string ListDNADBRequest::getAccessKeyId()const
+{
+	return accessKeyId_;
+}
+
+void ListDNADBRequest::setAccessKeyId(const std::string& accessKeyId)
+{
+	accessKeyId_ = accessKeyId;
+	setParameter("AccessKeyId", accessKeyId);
+}
+

+ 67 - 0
vod/src/model/ListDNADBResult.cc

@@ -0,0 +1,67 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/vod/model/ListDNADBResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Vod;
+using namespace AlibabaCloud::Vod::Model;
+
+ListDNADBResult::ListDNADBResult() :
+	ServiceResult()
+{}
+
+ListDNADBResult::ListDNADBResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ListDNADBResult::~ListDNADBResult()
+{}
+
+void ListDNADBResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto allDNADBListNode = value["DNADBList"]["DNADB"];
+	for (auto valueDNADBListDNADB : allDNADBListNode)
+	{
+		DNADB dNADBListObject;
+		if(!valueDNADBListDNADB["DBId"].isNull())
+			dNADBListObject.dBId = valueDNADBListDNADB["DBId"].asString();
+		if(!valueDNADBListDNADB["Status"].isNull())
+			dNADBListObject.status = valueDNADBListDNADB["Status"].asString();
+		if(!valueDNADBListDNADB["DBDescription"].isNull())
+			dNADBListObject.dBDescription = valueDNADBListDNADB["DBDescription"].asString();
+		if(!valueDNADBListDNADB["DBType"].isNull())
+			dNADBListObject.dBType = valueDNADBListDNADB["DBType"].asString();
+		if(!valueDNADBListDNADB["DBName"].isNull())
+			dNADBListObject.dBName = valueDNADBListDNADB["DBName"].asString();
+		if(!valueDNADBListDNADB["DBRegion"].isNull())
+			dNADBListObject.dBRegion = valueDNADBListDNADB["DBRegion"].asString();
+		dNADBList_.push_back(dNADBListObject);
+	}
+
+}
+
+std::vector<ListDNADBResult::DNADB> ListDNADBResult::getDNADBList()const
+{
+	return dNADBList_;
+}
+

+ 117 - 0
vod/src/model/SubmitAIImageAuditJobRequest.cc

@@ -0,0 +1,117 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h>
+
+using AlibabaCloud::Vod::Model::SubmitAIImageAuditJobRequest;
+
+SubmitAIImageAuditJobRequest::SubmitAIImageAuditJobRequest() :
+	RpcServiceRequest("vod", "2017-03-21", "SubmitAIImageAuditJob")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+SubmitAIImageAuditJobRequest::~SubmitAIImageAuditJobRequest()
+{}
+
+std::string SubmitAIImageAuditJobRequest::getResourceOwnerId()const
+{
+	return resourceOwnerId_;
+}
+
+void SubmitAIImageAuditJobRequest::setResourceOwnerId(const std::string& resourceOwnerId)
+{
+	resourceOwnerId_ = resourceOwnerId;
+	setParameter("ResourceOwnerId", resourceOwnerId);
+}
+
+std::string SubmitAIImageAuditJobRequest::getAccessKeyId()const
+{
+	return accessKeyId_;
+}
+
+void SubmitAIImageAuditJobRequest::setAccessKeyId(const std::string& accessKeyId)
+{
+	accessKeyId_ = accessKeyId;
+	setParameter("AccessKeyId", accessKeyId);
+}
+
+std::string SubmitAIImageAuditJobRequest::getResourceOwnerAccount()const
+{
+	return resourceOwnerAccount_;
+}
+
+void SubmitAIImageAuditJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
+{
+	resourceOwnerAccount_ = resourceOwnerAccount;
+	setParameter("ResourceOwnerAccount", resourceOwnerAccount);
+}
+
+std::string SubmitAIImageAuditJobRequest::getOwnerAccount()const
+{
+	return ownerAccount_;
+}
+
+void SubmitAIImageAuditJobRequest::setOwnerAccount(const std::string& ownerAccount)
+{
+	ownerAccount_ = ownerAccount;
+	setParameter("OwnerAccount", ownerAccount);
+}
+
+std::string SubmitAIImageAuditJobRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void SubmitAIImageAuditJobRequest::setOwnerId(const std::string& ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", ownerId);
+}
+
+std::string SubmitAIImageAuditJobRequest::getMediaId()const
+{
+	return mediaId_;
+}
+
+void SubmitAIImageAuditJobRequest::setMediaId(const std::string& mediaId)
+{
+	mediaId_ = mediaId;
+	setParameter("MediaId", mediaId);
+}
+
+std::string SubmitAIImageAuditJobRequest::getTemplateId()const
+{
+	return templateId_;
+}
+
+void SubmitAIImageAuditJobRequest::setTemplateId(const std::string& templateId)
+{
+	templateId_ = templateId;
+	setParameter("TemplateId", templateId);
+}
+
+std::string SubmitAIImageAuditJobRequest::getMediaAuditConfiguration()const
+{
+	return mediaAuditConfiguration_;
+}
+
+void SubmitAIImageAuditJobRequest::setMediaAuditConfiguration(const std::string& mediaAuditConfiguration)
+{
+	mediaAuditConfiguration_ = mediaAuditConfiguration;
+	setParameter("MediaAuditConfiguration", mediaAuditConfiguration);
+}
+

+ 51 - 0
vod/src/model/SubmitAIImageAuditJobResult.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/vod/model/SubmitAIImageAuditJobResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Vod;
+using namespace AlibabaCloud::Vod::Model;
+
+SubmitAIImageAuditJobResult::SubmitAIImageAuditJobResult() :
+	ServiceResult()
+{}
+
+SubmitAIImageAuditJobResult::SubmitAIImageAuditJobResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+SubmitAIImageAuditJobResult::~SubmitAIImageAuditJobResult()
+{}
+
+void SubmitAIImageAuditJobResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["JobId"].isNull())
+		jobId_ = value["JobId"].asString();
+
+}
+
+std::string SubmitAIImageAuditJobResult::getJobId()const
+{
+	return jobId_;
+}
+