Browse Source

GREEN SDK Auto Released By Alibaba Cloud,Version:1.15.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 8 years ago
parent
commit
b333d4f03c
45 changed files with 789 additions and 102 deletions
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 18 6
      green/CMakeLists.txt
  4. 32 8
      green/include/alibabacloud/green/GreenClient.h
  5. 48 0
      green/include/alibabacloud/green/model/AddSimilarityImageRequest.h
  6. 49 0
      green/include/alibabacloud/green/model/AddSimilarityImageResult.h
  7. 48 0
      green/include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
  8. 49 0
      green/include/alibabacloud/green/model/DeleteSimilarityImageResult.h
  9. 6 6
      green/include/alibabacloud/green/model/SearchPersonRequest.h
  10. 7 7
      green/include/alibabacloud/green/model/SearchPersonResult.h
  11. 48 0
      green/include/alibabacloud/green/model/VideoSyncScanRequest.h
  12. 49 0
      green/include/alibabacloud/green/model/VideoSyncScanResult.h
  13. 144 36
      green/src/GreenClient.cc
  14. 1 1
      green/src/model/AddFacesRequest.cc
  15. 1 1
      green/src/model/AddGroupsRequest.cc
  16. 1 1
      green/src/model/AddPersonRequest.cc
  17. 38 0
      green/src/model/AddSimilarityImageRequest.cc
  18. 45 0
      green/src/model/AddSimilarityImageResult.cc
  19. 1 1
      green/src/model/DeleteFacesRequest.cc
  20. 1 1
      green/src/model/DeleteGroupsRequest.cc
  21. 1 1
      green/src/model/DeletePersonRequest.cc
  22. 38 0
      green/src/model/DeleteSimilarityImageRequest.cc
  23. 45 0
      green/src/model/DeleteSimilarityImageResult.cc
  24. 1 1
      green/src/model/FileAsyncScanRequest.cc
  25. 1 1
      green/src/model/FileAsyncScanResultsRequest.cc
  26. 1 1
      green/src/model/GetFacesRequest.cc
  27. 1 1
      green/src/model/GetGroupsRequest.cc
  28. 1 1
      green/src/model/GetPersonRequest.cc
  29. 1 1
      green/src/model/GetPersonsRequest.cc
  30. 1 1
      green/src/model/ImageAsyncScanRequest.cc
  31. 1 1
      green/src/model/ImageAsyncScanResultsRequest.cc
  32. 1 1
      green/src/model/ImageScanFeedbackRequest.cc
  33. 1 1
      green/src/model/ImageSyncScanRequest.cc
  34. 9 9
      green/src/model/SearchPersonRequest.cc
  35. 5 5
      green/src/model/SearchPersonResult.cc
  36. 1 1
      green/src/model/SetPersonRequest.cc
  37. 1 1
      green/src/model/TextFeedbackRequest.cc
  38. 1 1
      green/src/model/TextScanRequest.cc
  39. 1 1
      green/src/model/VideoAsyncScanRequest.cc
  40. 1 1
      green/src/model/VideoAsyncScanResultsRequest.cc
  41. 1 1
      green/src/model/VideoFeedbackRequest.cc
  42. 38 0
      green/src/model/VideoSyncScanRequest.cc
  43. 45 0
      green/src/model/VideoSyncScanResult.cc
  44. 1 1
      green/src/model/VoiceAsyncScanRequest.cc
  45. 1 1
      green/src/model/VoiceAsyncScanResultsRequest.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2018-05-28 Version: 1.15.0
+1, Add face 1-N,1-1 scan interface.
+
 2018-05-28 Version: 1.14.0
 1, ValidateSecurityGroup API
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.14.0
+1.15.0

+ 18 - 6
green/CMakeLists.txt

@@ -33,6 +33,8 @@ set(green_public_header_model
 	include/alibabacloud/green/model/VideoFeedbackResult.h
 	include/alibabacloud/green/model/DeletePersonRequest.h
 	include/alibabacloud/green/model/DeletePersonResult.h
+	include/alibabacloud/green/model/VideoSyncScanRequest.h
+	include/alibabacloud/green/model/VideoSyncScanResult.h
 	include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
 	include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
 	include/alibabacloud/green/model/AddGroupsRequest.h
@@ -43,8 +45,6 @@ set(green_public_header_model
 	include/alibabacloud/green/model/SetPersonResult.h
 	include/alibabacloud/green/model/TextFeedbackRequest.h
 	include/alibabacloud/green/model/TextFeedbackResult.h
-	include/alibabacloud/green/model/SearchRequest.h
-	include/alibabacloud/green/model/SearchResult.h
 	include/alibabacloud/green/model/FileAsyncScanResultsRequest.h
 	include/alibabacloud/green/model/FileAsyncScanResultsResult.h
 	include/alibabacloud/green/model/DeleteGroupsRequest.h
@@ -67,10 +67,16 @@ set(green_public_header_model
 	include/alibabacloud/green/model/TextScanResult.h
 	include/alibabacloud/green/model/ImageScanFeedbackRequest.h
 	include/alibabacloud/green/model/ImageScanFeedbackResult.h
+	include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
+	include/alibabacloud/green/model/DeleteSimilarityImageResult.h
+	include/alibabacloud/green/model/SearchPersonRequest.h
+	include/alibabacloud/green/model/SearchPersonResult.h
 	include/alibabacloud/green/model/AddPersonRequest.h
 	include/alibabacloud/green/model/AddPersonResult.h
 	include/alibabacloud/green/model/AddFacesRequest.h
-	include/alibabacloud/green/model/AddFacesResult.h )
+	include/alibabacloud/green/model/AddFacesResult.h
+	include/alibabacloud/green/model/AddSimilarityImageRequest.h
+	include/alibabacloud/green/model/AddSimilarityImageResult.h )
 
 set(green_src 
 	src/GreenClient.cc
@@ -86,6 +92,8 @@ set(green_src
 	src/model/VideoFeedbackResult.cc
 	src/model/DeletePersonRequest.cc
 	src/model/DeletePersonResult.cc
+	src/model/VideoSyncScanRequest.cc
+	src/model/VideoSyncScanResult.cc
 	src/model/VideoAsyncScanResultsRequest.cc
 	src/model/VideoAsyncScanResultsResult.cc
 	src/model/AddGroupsRequest.cc
@@ -96,8 +104,6 @@ set(green_src
 	src/model/SetPersonResult.cc
 	src/model/TextFeedbackRequest.cc
 	src/model/TextFeedbackResult.cc
-	src/model/SearchRequest.cc
-	src/model/SearchResult.cc
 	src/model/FileAsyncScanResultsRequest.cc
 	src/model/FileAsyncScanResultsResult.cc
 	src/model/DeleteGroupsRequest.cc
@@ -120,10 +126,16 @@ set(green_src
 	src/model/TextScanResult.cc
 	src/model/ImageScanFeedbackRequest.cc
 	src/model/ImageScanFeedbackResult.cc
+	src/model/DeleteSimilarityImageRequest.cc
+	src/model/DeleteSimilarityImageResult.cc
+	src/model/SearchPersonRequest.cc
+	src/model/SearchPersonResult.cc
 	src/model/AddPersonRequest.cc
 	src/model/AddPersonResult.cc
 	src/model/AddFacesRequest.cc
-	src/model/AddFacesResult.cc )
+	src/model/AddFacesResult.cc
+	src/model/AddSimilarityImageRequest.cc
+	src/model/AddSimilarityImageResult.cc )
 
 add_library(green ${LIB_TYPE}
 	${green_public_header}

+ 32 - 8
green/include/alibabacloud/green/GreenClient.h

@@ -34,6 +34,8 @@
 #include "model/VideoFeedbackResult.h"
 #include "model/DeletePersonRequest.h"
 #include "model/DeletePersonResult.h"
+#include "model/VideoSyncScanRequest.h"
+#include "model/VideoSyncScanResult.h"
 #include "model/VideoAsyncScanResultsRequest.h"
 #include "model/VideoAsyncScanResultsResult.h"
 #include "model/AddGroupsRequest.h"
@@ -44,8 +46,6 @@
 #include "model/SetPersonResult.h"
 #include "model/TextFeedbackRequest.h"
 #include "model/TextFeedbackResult.h"
-#include "model/SearchRequest.h"
-#include "model/SearchResult.h"
 #include "model/FileAsyncScanResultsRequest.h"
 #include "model/FileAsyncScanResultsResult.h"
 #include "model/DeleteGroupsRequest.h"
@@ -68,10 +68,16 @@
 #include "model/TextScanResult.h"
 #include "model/ImageScanFeedbackRequest.h"
 #include "model/ImageScanFeedbackResult.h"
+#include "model/DeleteSimilarityImageRequest.h"
+#include "model/DeleteSimilarityImageResult.h"
+#include "model/SearchPersonRequest.h"
+#include "model/SearchPersonResult.h"
 #include "model/AddPersonRequest.h"
 #include "model/AddPersonResult.h"
 #include "model/AddFacesRequest.h"
 #include "model/AddFacesResult.h"
+#include "model/AddSimilarityImageRequest.h"
+#include "model/AddSimilarityImageResult.h"
 
 
 namespace AlibabaCloud
@@ -99,6 +105,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DeletePersonResult> DeletePersonOutcome;
 			typedef std::future<DeletePersonOutcome> DeletePersonOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::DeletePersonRequest&, const DeletePersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePersonAsyncHandler;
+			typedef Outcome<Error, Model::VideoSyncScanResult> VideoSyncScanOutcome;
+			typedef std::future<VideoSyncScanOutcome> VideoSyncScanOutcomeCallable;
+			typedef std::function<void(const GreenClient*, const Model::VideoSyncScanRequest&, const VideoSyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoSyncScanAsyncHandler;
 			typedef Outcome<Error, Model::VideoAsyncScanResultsResult> VideoAsyncScanResultsOutcome;
 			typedef std::future<VideoAsyncScanResultsOutcome> VideoAsyncScanResultsOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::VideoAsyncScanResultsRequest&, const VideoAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoAsyncScanResultsAsyncHandler;
@@ -114,9 +123,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::TextFeedbackResult> TextFeedbackOutcome;
 			typedef std::future<TextFeedbackOutcome> TextFeedbackOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::TextFeedbackRequest&, const TextFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextFeedbackAsyncHandler;
-			typedef Outcome<Error, Model::SearchResult> SearchOutcome;
-			typedef std::future<SearchOutcome> SearchOutcomeCallable;
-			typedef std::function<void(const GreenClient*, const Model::SearchRequest&, const SearchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAsyncHandler;
 			typedef Outcome<Error, Model::FileAsyncScanResultsResult> FileAsyncScanResultsOutcome;
 			typedef std::future<FileAsyncScanResultsOutcome> FileAsyncScanResultsOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::FileAsyncScanResultsRequest&, const FileAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FileAsyncScanResultsAsyncHandler;
@@ -150,12 +156,21 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ImageScanFeedbackResult> ImageScanFeedbackOutcome;
 			typedef std::future<ImageScanFeedbackOutcome> ImageScanFeedbackOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::ImageScanFeedbackRequest&, const ImageScanFeedbackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImageScanFeedbackAsyncHandler;
+			typedef Outcome<Error, Model::DeleteSimilarityImageResult> DeleteSimilarityImageOutcome;
+			typedef std::future<DeleteSimilarityImageOutcome> DeleteSimilarityImageOutcomeCallable;
+			typedef std::function<void(const GreenClient*, const Model::DeleteSimilarityImageRequest&, const DeleteSimilarityImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSimilarityImageAsyncHandler;
+			typedef Outcome<Error, Model::SearchPersonResult> SearchPersonOutcome;
+			typedef std::future<SearchPersonOutcome> SearchPersonOutcomeCallable;
+			typedef std::function<void(const GreenClient*, const Model::SearchPersonRequest&, const SearchPersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPersonAsyncHandler;
 			typedef Outcome<Error, Model::AddPersonResult> AddPersonOutcome;
 			typedef std::future<AddPersonOutcome> AddPersonOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::AddPersonRequest&, const AddPersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPersonAsyncHandler;
 			typedef Outcome<Error, Model::AddFacesResult> AddFacesOutcome;
 			typedef std::future<AddFacesOutcome> AddFacesOutcomeCallable;
 			typedef std::function<void(const GreenClient*, const Model::AddFacesRequest&, const AddFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddFacesAsyncHandler;
+			typedef Outcome<Error, Model::AddSimilarityImageResult> AddSimilarityImageOutcome;
+			typedef std::future<AddSimilarityImageOutcome> AddSimilarityImageOutcomeCallable;
+			typedef std::function<void(const GreenClient*, const Model::AddSimilarityImageRequest&, const AddSimilarityImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSimilarityImageAsyncHandler;
 
 			GreenClient(const Credentials &credentials, const ClientConfiguration &configuration);
 			GreenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -179,6 +194,9 @@ namespace AlibabaCloud
 			DeletePersonOutcome deletePerson(const Model::DeletePersonRequest &request)const;
 			void deletePersonAsync(const Model::DeletePersonRequest& request, const DeletePersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeletePersonOutcomeCallable deletePersonCallable(const Model::DeletePersonRequest& request) const;
+			VideoSyncScanOutcome videoSyncScan(const Model::VideoSyncScanRequest &request)const;
+			void videoSyncScanAsync(const Model::VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			VideoSyncScanOutcomeCallable videoSyncScanCallable(const Model::VideoSyncScanRequest& request) const;
 			VideoAsyncScanResultsOutcome videoAsyncScanResults(const Model::VideoAsyncScanResultsRequest &request)const;
 			void videoAsyncScanResultsAsync(const Model::VideoAsyncScanResultsRequest& request, const VideoAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			VideoAsyncScanResultsOutcomeCallable videoAsyncScanResultsCallable(const Model::VideoAsyncScanResultsRequest& request) const;
@@ -194,9 +212,6 @@ namespace AlibabaCloud
 			TextFeedbackOutcome textFeedback(const Model::TextFeedbackRequest &request)const;
 			void textFeedbackAsync(const Model::TextFeedbackRequest& request, const TextFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			TextFeedbackOutcomeCallable textFeedbackCallable(const Model::TextFeedbackRequest& request) const;
-			SearchOutcome search(const Model::SearchRequest &request)const;
-			void searchAsync(const Model::SearchRequest& request, const SearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			SearchOutcomeCallable searchCallable(const Model::SearchRequest& request) const;
 			FileAsyncScanResultsOutcome fileAsyncScanResults(const Model::FileAsyncScanResultsRequest &request)const;
 			void fileAsyncScanResultsAsync(const Model::FileAsyncScanResultsRequest& request, const FileAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			FileAsyncScanResultsOutcomeCallable fileAsyncScanResultsCallable(const Model::FileAsyncScanResultsRequest& request) const;
@@ -230,12 +245,21 @@ namespace AlibabaCloud
 			ImageScanFeedbackOutcome imageScanFeedback(const Model::ImageScanFeedbackRequest &request)const;
 			void imageScanFeedbackAsync(const Model::ImageScanFeedbackRequest& request, const ImageScanFeedbackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ImageScanFeedbackOutcomeCallable imageScanFeedbackCallable(const Model::ImageScanFeedbackRequest& request) const;
+			DeleteSimilarityImageOutcome deleteSimilarityImage(const Model::DeleteSimilarityImageRequest &request)const;
+			void deleteSimilarityImageAsync(const Model::DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DeleteSimilarityImageOutcomeCallable deleteSimilarityImageCallable(const Model::DeleteSimilarityImageRequest& request) const;
+			SearchPersonOutcome searchPerson(const Model::SearchPersonRequest &request)const;
+			void searchPersonAsync(const Model::SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			SearchPersonOutcomeCallable searchPersonCallable(const Model::SearchPersonRequest& request) const;
 			AddPersonOutcome addPerson(const Model::AddPersonRequest &request)const;
 			void addPersonAsync(const Model::AddPersonRequest& request, const AddPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			AddPersonOutcomeCallable addPersonCallable(const Model::AddPersonRequest& request) const;
 			AddFacesOutcome addFaces(const Model::AddFacesRequest &request)const;
 			void addFacesAsync(const Model::AddFacesRequest& request, const AddFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			AddFacesOutcomeCallable addFacesCallable(const Model::AddFacesRequest& request) const;
+			AddSimilarityImageOutcome addSimilarityImage(const Model::AddSimilarityImageRequest &request)const;
+			void addSimilarityImageAsync(const Model::AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			AddSimilarityImageOutcomeCallable addSimilarityImageCallable(const Model::AddSimilarityImageRequest& request) const;
 	
 		private:
 			std::shared_ptr<EndpointProvider> endpointProvider_;

+ 48 - 0
green/include/alibabacloud/green/model/AddSimilarityImageRequest.h

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

+ 49 - 0
green/include/alibabacloud/green/model/AddSimilarityImageResult.h

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

+ 48 - 0
green/include/alibabacloud/green/model/DeleteSimilarityImageRequest.h

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

+ 49 - 0
green/include/alibabacloud/green/model/DeleteSimilarityImageResult.h

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

+ 6 - 6
green/include/alibabacloud/green/model/SearchRequest.h → green/include/alibabacloud/green/model/SearchPersonRequest.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_GREEN_MODEL_SEARCHREQUEST_H_
-#define ALIBABACLOUD_GREEN_MODEL_SEARCHREQUEST_H_
+#ifndef ALIBABACLOUD_GREEN_MODEL_SEARCHPERSONREQUEST_H_
+#define ALIBABACLOUD_GREEN_MODEL_SEARCHPERSONREQUEST_H_
 
 #include <string>
 #include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_GREEN_EXPORT SearchRequest : public RoaServiceRequest
+			class ALIBABACLOUD_GREEN_EXPORT SearchPersonRequest : public RoaServiceRequest
 			{
 
 			public:
-				SearchRequest();
-				~SearchRequest();
+				SearchPersonRequest();
+				~SearchPersonRequest();
 
 				std::string getRegionId()const;
 				void setRegionId(const std::string& regionId);
@@ -48,4 +48,4 @@ namespace AlibabaCloud
 		}
 	}
 }
-#endif // !ALIBABACLOUD_GREEN_MODEL_SEARCHREQUEST_H_
+#endif // !ALIBABACLOUD_GREEN_MODEL_SEARCHPERSONREQUEST_H_

+ 7 - 7
green/include/alibabacloud/green/model/SearchResult.h → green/include/alibabacloud/green/model/SearchPersonResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_GREEN_MODEL_SEARCHRESULT_H_
-#define ALIBABACLOUD_GREEN_MODEL_SEARCHRESULT_H_
+#ifndef ALIBABACLOUD_GREEN_MODEL_SEARCHPERSONRESULT_H_
+#define ALIBABACLOUD_GREEN_MODEL_SEARCHPERSONRESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_GREEN_EXPORT SearchResult : public ServiceResult
+			class ALIBABACLOUD_GREEN_EXPORT SearchPersonResult : public ServiceResult
 			{
 			public:
 
 
-				SearchResult();
-				explicit SearchResult(const std::string &payload);
-				~SearchResult();
+				SearchPersonResult();
+				explicit SearchPersonResult(const std::string &payload);
+				~SearchPersonResult();
 
 			protected:
 				void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
 		}
 	}
 }
-#endif // !ALIBABACLOUD_GREEN_MODEL_SEARCHRESULT_H_
+#endif // !ALIBABACLOUD_GREEN_MODEL_SEARCHPERSONRESULT_H_

+ 48 - 0
green/include/alibabacloud/green/model/VideoSyncScanRequest.h

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

+ 49 - 0
green/include/alibabacloud/green/model/VideoSyncScanResult.h

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

+ 144 - 36
green/src/GreenClient.cc

@@ -267,6 +267,42 @@ GreenClient::DeletePersonOutcomeCallable GreenClient::deletePersonCallable(const
 	return task->get_future();
 }
 
+GreenClient::VideoSyncScanOutcome GreenClient::videoSyncScan(const VideoSyncScanRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return VideoSyncScanOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return VideoSyncScanOutcome(VideoSyncScanResult(outcome.result()));
+	else
+		return VideoSyncScanOutcome(outcome.error());
+}
+
+void GreenClient::videoSyncScanAsync(const VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, videoSyncScan(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+GreenClient::VideoSyncScanOutcomeCallable GreenClient::videoSyncScanCallable(const VideoSyncScanRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<VideoSyncScanOutcome()>>(
+			[this, request]()
+			{
+			return this->videoSyncScan(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 GreenClient::VideoAsyncScanResultsOutcome GreenClient::videoAsyncScanResults(const VideoAsyncScanResultsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,42 +483,6 @@ GreenClient::TextFeedbackOutcomeCallable GreenClient::textFeedbackCallable(const
 	return task->get_future();
 }
 
-GreenClient::SearchOutcome GreenClient::search(const SearchRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return SearchOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return SearchOutcome(SearchResult(outcome.result()));
-	else
-		return SearchOutcome(outcome.error());
-}
-
-void GreenClient::searchAsync(const SearchRequest& request, const SearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, search(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-GreenClient::SearchOutcomeCallable GreenClient::searchCallable(const SearchRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<SearchOutcome()>>(
-			[this, request]()
-			{
-			return this->search(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 GreenClient::FileAsyncScanResultsOutcome GreenClient::fileAsyncScanResults(const FileAsyncScanResultsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +879,78 @@ GreenClient::ImageScanFeedbackOutcomeCallable GreenClient::imageScanFeedbackCall
 	return task->get_future();
 }
 
+GreenClient::DeleteSimilarityImageOutcome GreenClient::deleteSimilarityImage(const DeleteSimilarityImageRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DeleteSimilarityImageOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DeleteSimilarityImageOutcome(DeleteSimilarityImageResult(outcome.result()));
+	else
+		return DeleteSimilarityImageOutcome(outcome.error());
+}
+
+void GreenClient::deleteSimilarityImageAsync(const DeleteSimilarityImageRequest& request, const DeleteSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, deleteSimilarityImage(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+GreenClient::DeleteSimilarityImageOutcomeCallable GreenClient::deleteSimilarityImageCallable(const DeleteSimilarityImageRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DeleteSimilarityImageOutcome()>>(
+			[this, request]()
+			{
+			return this->deleteSimilarityImage(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+GreenClient::SearchPersonOutcome GreenClient::searchPerson(const SearchPersonRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return SearchPersonOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return SearchPersonOutcome(SearchPersonResult(outcome.result()));
+	else
+		return SearchPersonOutcome(outcome.error());
+}
+
+void GreenClient::searchPersonAsync(const SearchPersonRequest& request, const SearchPersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, searchPerson(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+GreenClient::SearchPersonOutcomeCallable GreenClient::searchPersonCallable(const SearchPersonRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<SearchPersonOutcome()>>(
+			[this, request]()
+			{
+			return this->searchPerson(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 GreenClient::AddPersonOutcome GreenClient::addPerson(const AddPersonRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,3 +1023,39 @@ GreenClient::AddFacesOutcomeCallable GreenClient::addFacesCallable(const AddFace
 	return task->get_future();
 }
 
+GreenClient::AddSimilarityImageOutcome GreenClient::addSimilarityImage(const AddSimilarityImageRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return AddSimilarityImageOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return AddSimilarityImageOutcome(AddSimilarityImageResult(outcome.result()));
+	else
+		return AddSimilarityImageOutcome(outcome.error());
+}
+
+void GreenClient::addSimilarityImageAsync(const AddSimilarityImageRequest& request, const AddSimilarityImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, addSimilarityImage(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+GreenClient::AddSimilarityImageOutcomeCallable GreenClient::addSimilarityImageCallable(const AddSimilarityImageRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<AddSimilarityImageOutcome()>>(
+			[this, request]()
+			{
+			return this->addSimilarityImage(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+

+ 1 - 1
green/src/model/AddFacesRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::AddFacesRequest;
 
 AddFacesRequest::AddFacesRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 AddFacesRequest::~AddFacesRequest()

+ 1 - 1
green/src/model/AddGroupsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::AddGroupsRequest;
 
 AddGroupsRequest::AddGroupsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 AddGroupsRequest::~AddGroupsRequest()

+ 1 - 1
green/src/model/AddPersonRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::AddPersonRequest;
 
 AddPersonRequest::AddPersonRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 AddPersonRequest::~AddPersonRequest()

+ 38 - 0
green/src/model/AddSimilarityImageRequest.cc

@@ -0,0 +1,38 @@
+/*
+ * 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/green/model/AddSimilarityImageRequest.h>
+
+using AlibabaCloud::Green::Model::AddSimilarityImageRequest;
+
+AddSimilarityImageRequest::AddSimilarityImageRequest() :
+	RoaServiceRequest("green", "2018-05-09")
+{}
+
+AddSimilarityImageRequest::~AddSimilarityImageRequest()
+{}
+
+std::string AddSimilarityImageRequest::getClientInfo()const
+{
+	return clientInfo_;
+}
+
+void AddSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
+{
+	clientInfo_ = clientInfo;
+	setParameter("ClientInfo", clientInfo);
+}
+

+ 45 - 0
green/src/model/AddSimilarityImageResult.cc

@@ -0,0 +1,45 @@
+/*
+ * 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/green/model/AddSimilarityImageResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Green;
+using namespace AlibabaCloud::Green::Model;
+
+AddSimilarityImageResult::AddSimilarityImageResult() :
+	ServiceResult()
+{}
+
+AddSimilarityImageResult::AddSimilarityImageResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+AddSimilarityImageResult::~AddSimilarityImageResult()
+{}
+
+void AddSimilarityImageResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+
+}
+

+ 1 - 1
green/src/model/DeleteFacesRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::DeleteFacesRequest;
 
 DeleteFacesRequest::DeleteFacesRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 DeleteFacesRequest::~DeleteFacesRequest()

+ 1 - 1
green/src/model/DeleteGroupsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::DeleteGroupsRequest;
 
 DeleteGroupsRequest::DeleteGroupsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 DeleteGroupsRequest::~DeleteGroupsRequest()

+ 1 - 1
green/src/model/DeletePersonRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::DeletePersonRequest;
 
 DeletePersonRequest::DeletePersonRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 DeletePersonRequest::~DeletePersonRequest()

+ 38 - 0
green/src/model/DeleteSimilarityImageRequest.cc

@@ -0,0 +1,38 @@
+/*
+ * 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/green/model/DeleteSimilarityImageRequest.h>
+
+using AlibabaCloud::Green::Model::DeleteSimilarityImageRequest;
+
+DeleteSimilarityImageRequest::DeleteSimilarityImageRequest() :
+	RoaServiceRequest("green", "2018-05-09")
+{}
+
+DeleteSimilarityImageRequest::~DeleteSimilarityImageRequest()
+{}
+
+std::string DeleteSimilarityImageRequest::getClientInfo()const
+{
+	return clientInfo_;
+}
+
+void DeleteSimilarityImageRequest::setClientInfo(const std::string& clientInfo)
+{
+	clientInfo_ = clientInfo;
+	setParameter("ClientInfo", clientInfo);
+}
+

+ 45 - 0
green/src/model/DeleteSimilarityImageResult.cc

@@ -0,0 +1,45 @@
+/*
+ * 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/green/model/DeleteSimilarityImageResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Green;
+using namespace AlibabaCloud::Green::Model;
+
+DeleteSimilarityImageResult::DeleteSimilarityImageResult() :
+	ServiceResult()
+{}
+
+DeleteSimilarityImageResult::DeleteSimilarityImageResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DeleteSimilarityImageResult::~DeleteSimilarityImageResult()
+{}
+
+void DeleteSimilarityImageResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+
+}
+

+ 1 - 1
green/src/model/FileAsyncScanRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::FileAsyncScanRequest;
 
 FileAsyncScanRequest::FileAsyncScanRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 FileAsyncScanRequest::~FileAsyncScanRequest()

+ 1 - 1
green/src/model/FileAsyncScanResultsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::FileAsyncScanResultsRequest;
 
 FileAsyncScanResultsRequest::FileAsyncScanResultsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 FileAsyncScanResultsRequest::~FileAsyncScanResultsRequest()

+ 1 - 1
green/src/model/GetFacesRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::GetFacesRequest;
 
 GetFacesRequest::GetFacesRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 GetFacesRequest::~GetFacesRequest()

+ 1 - 1
green/src/model/GetGroupsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::GetGroupsRequest;
 
 GetGroupsRequest::GetGroupsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 GetGroupsRequest::~GetGroupsRequest()

+ 1 - 1
green/src/model/GetPersonRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::GetPersonRequest;
 
 GetPersonRequest::GetPersonRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 GetPersonRequest::~GetPersonRequest()

+ 1 - 1
green/src/model/GetPersonsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::GetPersonsRequest;
 
 GetPersonsRequest::GetPersonsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 GetPersonsRequest::~GetPersonsRequest()

+ 1 - 1
green/src/model/ImageAsyncScanRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::ImageAsyncScanRequest;
 
 ImageAsyncScanRequest::ImageAsyncScanRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 ImageAsyncScanRequest::~ImageAsyncScanRequest()

+ 1 - 1
green/src/model/ImageAsyncScanResultsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::ImageAsyncScanResultsRequest;
 
 ImageAsyncScanResultsRequest::ImageAsyncScanResultsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 ImageAsyncScanResultsRequest::~ImageAsyncScanResultsRequest()

+ 1 - 1
green/src/model/ImageScanFeedbackRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::ImageScanFeedbackRequest;
 
 ImageScanFeedbackRequest::ImageScanFeedbackRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 ImageScanFeedbackRequest::~ImageScanFeedbackRequest()

+ 1 - 1
green/src/model/ImageSyncScanRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::ImageSyncScanRequest;
 
 ImageSyncScanRequest::ImageSyncScanRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 ImageSyncScanRequest::~ImageSyncScanRequest()

+ 9 - 9
green/src/model/SearchRequest.cc → green/src/model/SearchPersonRequest.cc

@@ -14,34 +14,34 @@
  * limitations under the License.
  */
 
-#include <alibabacloud/green/model/SearchRequest.h>
+#include <alibabacloud/green/model/SearchPersonRequest.h>
 
-using AlibabaCloud::Green::Model::SearchRequest;
+using AlibabaCloud::Green::Model::SearchPersonRequest;
 
-SearchRequest::SearchRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+SearchPersonRequest::SearchPersonRequest() :
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
-SearchRequest::~SearchRequest()
+SearchPersonRequest::~SearchPersonRequest()
 {}
 
-std::string SearchRequest::getRegionId()const
+std::string SearchPersonRequest::getRegionId()const
 {
 	return regionId_;
 }
 
-void SearchRequest::setRegionId(const std::string& regionId)
+void SearchPersonRequest::setRegionId(const std::string& regionId)
 {
 	regionId_ = regionId;
 	setParameter("RegionId", regionId);
 }
 
-std::string SearchRequest::getClientInfo()const
+std::string SearchPersonRequest::getClientInfo()const
 {
 	return clientInfo_;
 }
 
-void SearchRequest::setClientInfo(const std::string& clientInfo)
+void SearchPersonRequest::setClientInfo(const std::string& clientInfo)
 {
 	clientInfo_ = clientInfo;
 	setParameter("ClientInfo", clientInfo);

+ 5 - 5
green/src/model/SearchResult.cc → green/src/model/SearchPersonResult.cc

@@ -14,26 +14,26 @@
  * limitations under the License.
  */
 
-#include <alibabacloud/green/model/SearchResult.h>
+#include <alibabacloud/green/model/SearchPersonResult.h>
 #include <json/json.h>
 
 using namespace AlibabaCloud::Green;
 using namespace AlibabaCloud::Green::Model;
 
-SearchResult::SearchResult() :
+SearchPersonResult::SearchPersonResult() :
 	ServiceResult()
 {}
 
-SearchResult::SearchResult(const std::string &payload) :
+SearchPersonResult::SearchPersonResult(const std::string &payload) :
 	ServiceResult()
 {
 	parse(payload);
 }
 
-SearchResult::~SearchResult()
+SearchPersonResult::~SearchPersonResult()
 {}
 
-void SearchResult::parse(const std::string &payload)
+void SearchPersonResult::parse(const std::string &payload)
 {
 	Json::Reader reader;
 	Json::Value value;

+ 1 - 1
green/src/model/SetPersonRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::SetPersonRequest;
 
 SetPersonRequest::SetPersonRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 SetPersonRequest::~SetPersonRequest()

+ 1 - 1
green/src/model/TextFeedbackRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::TextFeedbackRequest;
 
 TextFeedbackRequest::TextFeedbackRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 TextFeedbackRequest::~TextFeedbackRequest()

+ 1 - 1
green/src/model/TextScanRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::TextScanRequest;
 
 TextScanRequest::TextScanRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 TextScanRequest::~TextScanRequest()

+ 1 - 1
green/src/model/VideoAsyncScanRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::VideoAsyncScanRequest;
 
 VideoAsyncScanRequest::VideoAsyncScanRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 VideoAsyncScanRequest::~VideoAsyncScanRequest()

+ 1 - 1
green/src/model/VideoAsyncScanResultsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::VideoAsyncScanResultsRequest;
 
 VideoAsyncScanResultsRequest::VideoAsyncScanResultsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 VideoAsyncScanResultsRequest::~VideoAsyncScanResultsRequest()

+ 1 - 1
green/src/model/VideoFeedbackRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::VideoFeedbackRequest;
 
 VideoFeedbackRequest::VideoFeedbackRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 VideoFeedbackRequest::~VideoFeedbackRequest()

+ 38 - 0
green/src/model/VideoSyncScanRequest.cc

@@ -0,0 +1,38 @@
+/*
+ * 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/green/model/VideoSyncScanRequest.h>
+
+using AlibabaCloud::Green::Model::VideoSyncScanRequest;
+
+VideoSyncScanRequest::VideoSyncScanRequest() :
+	RoaServiceRequest("green", "2018-05-09")
+{}
+
+VideoSyncScanRequest::~VideoSyncScanRequest()
+{}
+
+std::string VideoSyncScanRequest::getClientInfo()const
+{
+	return clientInfo_;
+}
+
+void VideoSyncScanRequest::setClientInfo(const std::string& clientInfo)
+{
+	clientInfo_ = clientInfo;
+	setParameter("ClientInfo", clientInfo);
+}
+

+ 45 - 0
green/src/model/VideoSyncScanResult.cc

@@ -0,0 +1,45 @@
+/*
+ * 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/green/model/VideoSyncScanResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Green;
+using namespace AlibabaCloud::Green::Model;
+
+VideoSyncScanResult::VideoSyncScanResult() :
+	ServiceResult()
+{}
+
+VideoSyncScanResult::VideoSyncScanResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+VideoSyncScanResult::~VideoSyncScanResult()
+{}
+
+void VideoSyncScanResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+
+}
+

+ 1 - 1
green/src/model/VoiceAsyncScanRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::VoiceAsyncScanRequest;
 
 VoiceAsyncScanRequest::VoiceAsyncScanRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 VoiceAsyncScanRequest::~VoiceAsyncScanRequest()

+ 1 - 1
green/src/model/VoiceAsyncScanResultsRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Green::Model::VoiceAsyncScanResultsRequest;
 
 VoiceAsyncScanResultsRequest::VoiceAsyncScanResultsRequest() :
-	RoaServiceRequest("green", "2017-08-25")
+	RoaServiceRequest("green", "2018-05-09")
 {}
 
 VoiceAsyncScanResultsRequest::~VoiceAsyncScanResultsRequest()