Browse Source

Update TaggingAdImage.

sdk-team 3 năm trước cách đây
mục cha
commit
6de92913f1
27 tập tin đã thay đổi với 1112 bổ sung1214 xóa
  1. 1 1
      VERSION
  2. 40 46
      imagerecog/include/alibabacloud/imagerecog/model/ClassifyingRubbishRequest.h
  3. 40 46
      imagerecog/include/alibabacloud/imagerecog/model/DetectFruitsRequest.h
  4. 40 46
      imagerecog/include/alibabacloud/imagerecog/model/DetectImageElementsRequest.h
  5. 43 49
      imagerecog/include/alibabacloud/imagerecog/model/EvaluateCertificateQualityRequest.h
  6. 43 49
      imagerecog/include/alibabacloud/imagerecog/model/GetAsyncJobResultRequest.h
  7. 40 46
      imagerecog/include/alibabacloud/imagerecog/model/RecognizeFoodRequest.h
  8. 43 49
      imagerecog/include/alibabacloud/imagerecog/model/RecognizeImageColorRequest.h
  9. 40 37
      imagerecog/include/alibabacloud/imagerecog/model/RecognizeImageStyleRequest.h
  10. 43 51
      imagerecog/include/alibabacloud/imagerecog/model/RecognizeLogoRequest.h
  11. 43 40
      imagerecog/include/alibabacloud/imagerecog/model/RecognizeSceneRequest.h
  12. 40 46
      imagerecog/include/alibabacloud/imagerecog/model/RecognizeVehicleTypeRequest.h
  13. 46 52
      imagerecog/include/alibabacloud/imagerecog/model/TaggingAdImageRequest.h
  14. 49 46
      imagerecog/include/alibabacloud/imagerecog/model/TaggingImageRequest.h
  15. 36 46
      imagerecog/src/model/ClassifyingRubbishRequest.cc
  16. 36 46
      imagerecog/src/model/DetectFruitsRequest.cc
  17. 36 46
      imagerecog/src/model/DetectImageElementsRequest.cc
  18. 41 53
      imagerecog/src/model/EvaluateCertificateQualityRequest.cc
  19. 41 53
      imagerecog/src/model/GetAsyncJobResultRequest.cc
  20. 36 46
      imagerecog/src/model/RecognizeFoodRequest.cc
  21. 41 53
      imagerecog/src/model/RecognizeImageColorRequest.cc
  22. 50 27
      imagerecog/src/model/RecognizeImageStyleRequest.cc
  23. 40 50
      imagerecog/src/model/RecognizeLogoRequest.cc
  24. 59 38
      imagerecog/src/model/RecognizeSceneRequest.cc
  25. 36 46
      imagerecog/src/model/RecognizeVehicleTypeRequest.cc
  26. 46 60
      imagerecog/src/model/TaggingAdImageRequest.cc
  27. 63 46
      imagerecog/src/model/TaggingImageRequest.cc

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1330
+1.36.1331

+ 40 - 46
imagerecog/include/alibabacloud/imagerecog/model/ClassifyingRubbishRequest.h

@@ -1,57 +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_IMAGERECOG_MODEL_CLASSIFYINGRUBBISHREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_CLASSIFYINGRUBBISHREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT ClassifyingRubbishRequest : public RpcServiceRequest
-			{
-
-			public:
-				ClassifyingRubbishRequest();
-				~ClassifyingRubbishRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_CLASSIFYINGRUBBISHREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_CLASSIFYINGRUBBISHREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_CLASSIFYINGRUBBISHREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT ClassifyingRubbishRequest : public RpcServiceRequest {
+public:
+	ClassifyingRubbishRequest();
+	~ClassifyingRubbishRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_CLASSIFYINGRUBBISHREQUEST_H_

+ 40 - 46
imagerecog/include/alibabacloud/imagerecog/model/DetectFruitsRequest.h

@@ -1,57 +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_IMAGERECOG_MODEL_DETECTFRUITSREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_DETECTFRUITSREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT DetectFruitsRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectFruitsRequest();
-				~DetectFruitsRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_DETECTFRUITSREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_DETECTFRUITSREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_DETECTFRUITSREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT DetectFruitsRequest : public RpcServiceRequest {
+public:
+	DetectFruitsRequest();
+	~DetectFruitsRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_DETECTFRUITSREQUEST_H_

+ 40 - 46
imagerecog/include/alibabacloud/imagerecog/model/DetectImageElementsRequest.h

@@ -1,57 +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_IMAGERECOG_MODEL_DETECTIMAGEELEMENTSREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_DETECTIMAGEELEMENTSREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT DetectImageElementsRequest : public RpcServiceRequest
-			{
-
-			public:
-				DetectImageElementsRequest();
-				~DetectImageElementsRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string url_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_DETECTIMAGEELEMENTSREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_DETECTIMAGEELEMENTSREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_DETECTIMAGEELEMENTSREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT DetectImageElementsRequest : public RpcServiceRequest {
+public:
+	DetectImageElementsRequest();
+	~DetectImageElementsRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string url_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_DETECTIMAGEELEMENTSREQUEST_H_

+ 43 - 49
imagerecog/include/alibabacloud/imagerecog/model/EvaluateCertificateQualityRequest.h

@@ -1,60 +1,54 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT EvaluateCertificateQualityRequest : public RpcServiceRequest
-			{
-
-			public:
-				EvaluateCertificateQualityRequest();
-				~EvaluateCertificateQualityRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getType()const;
-				void setType(const std::string& type);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				std::string type_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT EvaluateCertificateQualityRequest : public RpcServiceRequest {
+public:
+	EvaluateCertificateQualityRequest();
+	~EvaluateCertificateQualityRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getType() const;
+	void setType(const std::string &type);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string type_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_EVALUATECERTIFICATEQUALITYREQUEST_H_

+ 43 - 49
imagerecog/include/alibabacloud/imagerecog/model/GetAsyncJobResultRequest.h

@@ -1,60 +1,54 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest
-			{
-
-			public:
-				GetAsyncJobResultRequest();
-				~GetAsyncJobResultRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getJobId()const;
-				void setJobId(const std::string& jobId);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getAsync()const;
-				void setAsync(const std::string& async);
-
-            private:
-				bool formatResultToJson_;
-				std::string jobId_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string async_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest {
+public:
+	GetAsyncJobResultRequest();
+	~GetAsyncJobResultRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getJobId() const;
+	void setJobId(const std::string &jobId);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getAsync() const;
+	void setAsync(const std::string &async);
+
+private:
+	bool formatResultToJson_;
+	std::string jobId_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string async_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_

+ 40 - 46
imagerecog/include/alibabacloud/imagerecog/model/RecognizeFoodRequest.h

@@ -1,57 +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_IMAGERECOG_MODEL_RECOGNIZEFOODREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEFOODREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeFoodRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeFoodRequest();
-				~RecognizeFoodRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEFOODREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEFOODREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEFOODREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeFoodRequest : public RpcServiceRequest {
+public:
+	RecognizeFoodRequest();
+	~RecognizeFoodRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEFOODREQUEST_H_

+ 43 - 49
imagerecog/include/alibabacloud/imagerecog/model/RecognizeImageColorRequest.h

@@ -1,60 +1,54 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGECOLORREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGECOLORREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeImageColorRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeImageColorRequest();
-				~RecognizeImageColorRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				int getColorCount()const;
-				void setColorCount(int colorCount);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-
-            private:
-				bool formatResultToJson_;
-				int colorCount_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string url_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGECOLORREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGECOLORREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGECOLORREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeImageColorRequest : public RpcServiceRequest {
+public:
+	RecognizeImageColorRequest();
+	~RecognizeImageColorRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	int getColorCount() const;
+	void setColorCount(int colorCount);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+
+private:
+	bool formatResultToJson_;
+	int colorCount_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string url_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGECOLORREQUEST_H_

+ 40 - 37
imagerecog/include/alibabacloud/imagerecog/model/RecognizeImageStyleRequest.h

@@ -1,48 +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_IMAGERECOG_MODEL_RECOGNIZEIMAGESTYLEREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGESTYLEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeImageStyleRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeImageStyleRequest();
-				~RecognizeImageStyleRequest();
-
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-
-            private:
-				std::string url_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGESTYLEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGESTYLEREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGESTYLEREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeImageStyleRequest : public RpcServiceRequest {
+public:
+	RecognizeImageStyleRequest();
+	~RecognizeImageStyleRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string url_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEIMAGESTYLEREQUEST_H_

+ 43 - 51
imagerecog/include/alibabacloud/imagerecog/model/RecognizeLogoRequest.h

@@ -1,62 +1,54 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZELOGOREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZELOGOREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeLogoRequest : public RpcServiceRequest
-			{
-			public:
-				struct Tasks
-				{
-					std::string imageURL;
-				};
-
-			public:
-				RecognizeLogoRequest();
-				~RecognizeLogoRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::vector<Tasks> getTasks()const;
-				void setTasks(const std::vector<Tasks>& tasks);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::vector<Tasks> tasks_;
-				std::string requestProxyBy_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZELOGOREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZELOGOREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZELOGOREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeLogoRequest : public RpcServiceRequest {
+public:
+	struct Tasks {
+		std::string imageURL;
+	};
+	RecognizeLogoRequest();
+	~RecognizeLogoRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::vector<Tasks> getTasks() const;
+	void setTasks(const std::vector<Tasks> &tasks);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::vector<Tasks> tasks_;
+	std::string requestProxyBy_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZELOGOREQUEST_H_

+ 43 - 40
imagerecog/include/alibabacloud/imagerecog/model/RecognizeSceneRequest.h

@@ -1,51 +1,54 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZESCENEREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZESCENEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeSceneRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeSceneRequest();
-				~RecognizeSceneRequest();
-
-				int getImageType()const;
-				void setImageType(int imageType);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				int imageType_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZESCENEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZESCENEREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZESCENEREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeSceneRequest : public RpcServiceRequest {
+public:
+	RecognizeSceneRequest();
+	~RecognizeSceneRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	int getImageType() const;
+	void setImageType(int imageType);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	int imageType_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZESCENEREQUEST_H_

+ 40 - 46
imagerecog/include/alibabacloud/imagerecog/model/RecognizeVehicleTypeRequest.h

@@ -1,57 +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_IMAGERECOG_MODEL_RECOGNIZEVEHICLETYPEREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEVEHICLETYPEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeVehicleTypeRequest : public RpcServiceRequest
-			{
-
-			public:
-				RecognizeVehicleTypeRequest();
-				~RecognizeVehicleTypeRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				std::string requestProxyBy_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEVEHICLETYPEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEVEHICLETYPEREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEVEHICLETYPEREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT RecognizeVehicleTypeRequest : public RpcServiceRequest {
+public:
+	RecognizeVehicleTypeRequest();
+	~RecognizeVehicleTypeRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	std::string requestProxyBy_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_RECOGNIZEVEHICLETYPEREQUEST_H_

+ 46 - 52
imagerecog/include/alibabacloud/imagerecog/model/TaggingAdImageRequest.h

@@ -1,63 +1,57 @@
 /*
  * 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_IMAGERECOG_MODEL_TAGGINGADIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGADIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT TaggingAdImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				TaggingAdImageRequest();
-				~TaggingAdImageRequest();
-
-				bool getFormatResultToJson()const;
-				void setFormatResultToJson(bool formatResultToJson);
-				std::string getOssFile()const;
-				void setOssFile(const std::string& ossFile);
-				int getImageType()const;
-				void setImageType(int imageType);
-				std::string getRequestProxyBy()const;
-				void setRequestProxyBy(const std::string& requestProxyBy);
-				bool getAsync()const;
-				void setAsync(bool async);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				bool formatResultToJson_;
-				std::string ossFile_;
-				int imageType_;
-				std::string requestProxyBy_;
-				bool async_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGADIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGADIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGADIMAGEREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT TaggingAdImageRequest : public RpcServiceRequest {
+public:
+	TaggingAdImageRequest();
+	~TaggingAdImageRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	int getImageType() const;
+	void setImageType(int imageType);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	bool getAsync() const;
+	void setAsync(bool async);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string ossFile_;
+	int imageType_;
+	std::string requestProxyBy_;
+	bool async_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGADIMAGEREQUEST_H_

+ 49 - 46
imagerecog/include/alibabacloud/imagerecog/model/TaggingImageRequest.h

@@ -1,57 +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_IMAGERECOG_MODEL_TAGGINGIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imagerecog/ImagerecogExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imagerecog
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGERECOG_EXPORT TaggingImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				TaggingImageRequest();
-				~TaggingImageRequest();
-
-				std::string getMode()const;
-				void setMode(const std::string& mode);
-				int getImageType()const;
-				void setImageType(int imageType);
-				bool getAsync()const;
-				void setAsync(bool async);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string mode_;
-				int imageType_;
-				bool async_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGIMAGEREQUEST_H_
+
+#include <alibabacloud/imagerecog/ImagerecogExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imagerecog {
+namespace Model {
+class ALIBABACLOUD_IMAGERECOG_EXPORT TaggingImageRequest : public RpcServiceRequest {
+public:
+	TaggingImageRequest();
+	~TaggingImageRequest();
+	bool getFormatResultToJson() const;
+	void setFormatResultToJson(bool formatResultToJson);
+	std::string getMode() const;
+	void setMode(const std::string &mode);
+	std::string getOssFile() const;
+	void setOssFile(const std::string &ossFile);
+	int getImageType() const;
+	void setImageType(int imageType);
+	std::string getRequestProxyBy() const;
+	void setRequestProxyBy(const std::string &requestProxyBy);
+	bool getAsync() const;
+	void setAsync(bool async);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	bool formatResultToJson_;
+	std::string mode_;
+	std::string ossFile_;
+	int imageType_;
+	std::string requestProxyBy_;
+	bool async_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imagerecog
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGERECOG_MODEL_TAGGINGIMAGEREQUEST_H_

+ 36 - 46
imagerecog/src/model/ClassifyingRubbishRequest.cc

@@ -1,73 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/imagerecog/model/ClassifyingRubbishRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::ClassifyingRubbishRequest;
-
-ClassifyingRubbishRequest::ClassifyingRubbishRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "ClassifyingRubbish")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ClassifyingRubbishRequest::~ClassifyingRubbishRequest()
-{}
-
-bool ClassifyingRubbishRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/ClassifyingRubbishRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::ClassifyingRubbishRequest;
+
+ClassifyingRubbishRequest::ClassifyingRubbishRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "ClassifyingRubbish") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ClassifyingRubbishRequest::~ClassifyingRubbishRequest() {}
+
+bool ClassifyingRubbishRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void ClassifyingRubbishRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void ClassifyingRubbishRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string ClassifyingRubbishRequest::getOssFile()const
-{
-	return ossFile_;
+std::string ClassifyingRubbishRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void ClassifyingRubbishRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void ClassifyingRubbishRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string ClassifyingRubbishRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string ClassifyingRubbishRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void ClassifyingRubbishRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void ClassifyingRubbishRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string ClassifyingRubbishRequest::getImageURL()const
-{
-	return imageURL_;
+std::string ClassifyingRubbishRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void ClassifyingRubbishRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void ClassifyingRubbishRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 36 - 46
imagerecog/src/model/DetectFruitsRequest.cc

@@ -1,73 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/imagerecog/model/DetectFruitsRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::DetectFruitsRequest;
-
-DetectFruitsRequest::DetectFruitsRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "DetectFruits")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectFruitsRequest::~DetectFruitsRequest()
-{}
-
-bool DetectFruitsRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/DetectFruitsRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::DetectFruitsRequest;
+
+DetectFruitsRequest::DetectFruitsRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "DetectFruits") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectFruitsRequest::~DetectFruitsRequest() {}
+
+bool DetectFruitsRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void DetectFruitsRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void DetectFruitsRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string DetectFruitsRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectFruitsRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectFruitsRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectFruitsRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string DetectFruitsRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectFruitsRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectFruitsRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectFruitsRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string DetectFruitsRequest::getImageURL()const
-{
-	return imageURL_;
+std::string DetectFruitsRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void DetectFruitsRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void DetectFruitsRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 36 - 46
imagerecog/src/model/DetectImageElementsRequest.cc

@@ -1,73 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/imagerecog/model/DetectImageElementsRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::DetectImageElementsRequest;
-
-DetectImageElementsRequest::DetectImageElementsRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "DetectImageElements")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-DetectImageElementsRequest::~DetectImageElementsRequest()
-{}
-
-bool DetectImageElementsRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/DetectImageElementsRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::DetectImageElementsRequest;
+
+DetectImageElementsRequest::DetectImageElementsRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "DetectImageElements") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DetectImageElementsRequest::~DetectImageElementsRequest() {}
+
+bool DetectImageElementsRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void DetectImageElementsRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void DetectImageElementsRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string DetectImageElementsRequest::getOssFile()const
-{
-	return ossFile_;
+std::string DetectImageElementsRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void DetectImageElementsRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void DetectImageElementsRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string DetectImageElementsRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string DetectImageElementsRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void DetectImageElementsRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void DetectImageElementsRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string DetectImageElementsRequest::getUrl()const
-{
-	return url_;
+std::string DetectImageElementsRequest::getUrl() const {
+  return url_;
 }
 
-void DetectImageElementsRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+void DetectImageElementsRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 

+ 41 - 53
imagerecog/src/model/EvaluateCertificateQualityRequest.cc

@@ -1,84 +1,72 @@
 /*
  * 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/imagerecog/model/EvaluateCertificateQualityRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::EvaluateCertificateQualityRequest;
-
-EvaluateCertificateQualityRequest::EvaluateCertificateQualityRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "EvaluateCertificateQuality")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-EvaluateCertificateQualityRequest::~EvaluateCertificateQualityRequest()
-{}
-
-bool EvaluateCertificateQualityRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/EvaluateCertificateQualityRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::EvaluateCertificateQualityRequest;
+
+EvaluateCertificateQualityRequest::EvaluateCertificateQualityRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "EvaluateCertificateQuality") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+EvaluateCertificateQualityRequest::~EvaluateCertificateQualityRequest() {}
+
+bool EvaluateCertificateQualityRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void EvaluateCertificateQualityRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void EvaluateCertificateQualityRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string EvaluateCertificateQualityRequest::getType()const
-{
-	return type_;
+std::string EvaluateCertificateQualityRequest::getType() const {
+  return type_;
 }
 
-void EvaluateCertificateQualityRequest::setType(const std::string& type)
-{
-	type_ = type;
-	setBodyParameter("Type", type);
+void EvaluateCertificateQualityRequest::setType(const std::string &type) {
+  type_ = type;
+  setBodyParameter(std::string("Type"), type);
 }
 
-std::string EvaluateCertificateQualityRequest::getOssFile()const
-{
-	return ossFile_;
+std::string EvaluateCertificateQualityRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void EvaluateCertificateQualityRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void EvaluateCertificateQualityRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string EvaluateCertificateQualityRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string EvaluateCertificateQualityRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void EvaluateCertificateQualityRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void EvaluateCertificateQualityRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string EvaluateCertificateQualityRequest::getImageURL()const
-{
-	return imageURL_;
+std::string EvaluateCertificateQualityRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void EvaluateCertificateQualityRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void EvaluateCertificateQualityRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 41 - 53
imagerecog/src/model/GetAsyncJobResultRequest.cc

@@ -1,84 +1,72 @@
 /*
  * 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/imagerecog/model/GetAsyncJobResultRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::GetAsyncJobResultRequest;
-
-GetAsyncJobResultRequest::GetAsyncJobResultRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "GetAsyncJobResult")
-{
-	setMethod(HttpRequest::Method::Get);
-}
-
-GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
-{}
-
-bool GetAsyncJobResultRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/GetAsyncJobResultRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::GetAsyncJobResultRequest;
+
+GetAsyncJobResultRequest::GetAsyncJobResultRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "GetAsyncJobResult") {
+  setMethod(HttpRequest::Method::Get);
+}
+
+GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
+
+bool GetAsyncJobResultRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void GetAsyncJobResultRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void GetAsyncJobResultRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string GetAsyncJobResultRequest::getJobId()const
-{
-	return jobId_;
+std::string GetAsyncJobResultRequest::getJobId() const {
+  return jobId_;
 }
 
-void GetAsyncJobResultRequest::setJobId(const std::string& jobId)
-{
-	jobId_ = jobId;
-	setParameter("JobId", jobId);
+void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
+  jobId_ = jobId;
+  setParameter(std::string("JobId"), jobId);
 }
 
-std::string GetAsyncJobResultRequest::getOssFile()const
-{
-	return ossFile_;
+std::string GetAsyncJobResultRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void GetAsyncJobResultRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void GetAsyncJobResultRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string GetAsyncJobResultRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string GetAsyncJobResultRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void GetAsyncJobResultRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void GetAsyncJobResultRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string GetAsyncJobResultRequest::getAsync()const
-{
-	return async_;
+std::string GetAsyncJobResultRequest::getAsync() const {
+  return async_;
 }
 
-void GetAsyncJobResultRequest::setAsync(const std::string& async)
-{
-	async_ = async;
-	setParameter("Async", async);
+void GetAsyncJobResultRequest::setAsync(const std::string &async) {
+  async_ = async;
+  setParameter(std::string("Async"), async);
 }
 

+ 36 - 46
imagerecog/src/model/RecognizeFoodRequest.cc

@@ -1,73 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/imagerecog/model/RecognizeFoodRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::RecognizeFoodRequest;
-
-RecognizeFoodRequest::RecognizeFoodRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeFood")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeFoodRequest::~RecognizeFoodRequest()
-{}
-
-bool RecognizeFoodRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/RecognizeFoodRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::RecognizeFoodRequest;
+
+RecognizeFoodRequest::RecognizeFoodRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeFood") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeFoodRequest::~RecognizeFoodRequest() {}
+
+bool RecognizeFoodRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void RecognizeFoodRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void RecognizeFoodRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string RecognizeFoodRequest::getOssFile()const
-{
-	return ossFile_;
+std::string RecognizeFoodRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void RecognizeFoodRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void RecognizeFoodRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string RecognizeFoodRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string RecognizeFoodRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void RecognizeFoodRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void RecognizeFoodRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string RecognizeFoodRequest::getImageURL()const
-{
-	return imageURL_;
+std::string RecognizeFoodRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void RecognizeFoodRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void RecognizeFoodRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 41 - 53
imagerecog/src/model/RecognizeImageColorRequest.cc

@@ -1,84 +1,72 @@
 /*
  * 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/imagerecog/model/RecognizeImageColorRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::RecognizeImageColorRequest;
-
-RecognizeImageColorRequest::RecognizeImageColorRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeImageColor")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeImageColorRequest::~RecognizeImageColorRequest()
-{}
-
-bool RecognizeImageColorRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/RecognizeImageColorRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::RecognizeImageColorRequest;
+
+RecognizeImageColorRequest::RecognizeImageColorRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeImageColor") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeImageColorRequest::~RecognizeImageColorRequest() {}
+
+bool RecognizeImageColorRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void RecognizeImageColorRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void RecognizeImageColorRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-int RecognizeImageColorRequest::getColorCount()const
-{
-	return colorCount_;
+int RecognizeImageColorRequest::getColorCount() const {
+  return colorCount_;
 }
 
-void RecognizeImageColorRequest::setColorCount(int colorCount)
-{
-	colorCount_ = colorCount;
-	setBodyParameter("ColorCount", std::to_string(colorCount));
+void RecognizeImageColorRequest::setColorCount(int colorCount) {
+  colorCount_ = colorCount;
+  setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
 }
 
-std::string RecognizeImageColorRequest::getOssFile()const
-{
-	return ossFile_;
+std::string RecognizeImageColorRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void RecognizeImageColorRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void RecognizeImageColorRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string RecognizeImageColorRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string RecognizeImageColorRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void RecognizeImageColorRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void RecognizeImageColorRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string RecognizeImageColorRequest::getUrl()const
-{
-	return url_;
+std::string RecognizeImageColorRequest::getUrl() const {
+  return url_;
 }
 
-void RecognizeImageColorRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+void RecognizeImageColorRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 

+ 50 - 27
imagerecog/src/model/RecognizeImageStyleRequest.cc

@@ -1,40 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/imagerecog/model/RecognizeImageStyleRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::RecognizeImageStyleRequest;
-
-RecognizeImageStyleRequest::RecognizeImageStyleRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeImageStyle")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeImageStyleRequest::~RecognizeImageStyleRequest()
-{}
-
-std::string RecognizeImageStyleRequest::getUrl()const
-{
-	return url_;
-}
-
-void RecognizeImageStyleRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+ */
+
+#include <alibabacloud/imagerecog/model/RecognizeImageStyleRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::RecognizeImageStyleRequest;
+
+RecognizeImageStyleRequest::RecognizeImageStyleRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeImageStyle") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeImageStyleRequest::~RecognizeImageStyleRequest() {}
+
+bool RecognizeImageStyleRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void RecognizeImageStyleRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string RecognizeImageStyleRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void RecognizeImageStyleRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+std::string RecognizeImageStyleRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void RecognizeImageStyleRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string RecognizeImageStyleRequest::getUrl() const {
+  return url_;
+}
+
+void RecognizeImageStyleRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 

+ 40 - 50
imagerecog/src/model/RecognizeLogoRequest.cc

@@ -1,77 +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/imagerecog/model/RecognizeLogoRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::RecognizeLogoRequest;
-
-RecognizeLogoRequest::RecognizeLogoRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeLogo")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeLogoRequest::~RecognizeLogoRequest()
-{}
-
-bool RecognizeLogoRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/RecognizeLogoRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::RecognizeLogoRequest;
+
+RecognizeLogoRequest::RecognizeLogoRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeLogo") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeLogoRequest::~RecognizeLogoRequest() {}
+
+bool RecognizeLogoRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void RecognizeLogoRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void RecognizeLogoRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string RecognizeLogoRequest::getOssFile()const
-{
-	return ossFile_;
+std::string RecognizeLogoRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void RecognizeLogoRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void RecognizeLogoRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::vector<RecognizeLogoRequest::Tasks> RecognizeLogoRequest::getTasks()const
-{
-	return tasks_;
+std::vector<RecognizeLogoRequest::Tasks> RecognizeLogoRequest::getTasks() const {
+  return tasks_;
 }
 
-void RecognizeLogoRequest::setTasks(const std::vector<Tasks>& tasks)
-{
-	tasks_ = tasks;
-	for(int dep1 = 0; dep1!= tasks.size(); dep1++) {
-		auto tasksObj = tasks.at(dep1);
-		std::string tasksObjStr = "Tasks." + std::to_string(dep1 + 1);
-		setParameter(tasksObjStr + ".ImageURL", tasksObj.imageURL);
-	}
+void RecognizeLogoRequest::setTasks(const std::vector<RecognizeLogoRequest::Tasks> &tasks) {
+  tasks_ = tasks;
+  for(int dep1 = 0; dep1 != tasks.size(); dep1++) {
+  auto tasksObj = tasks.at(dep1);
+  std::string tasksObjStr = std::string("Tasks") + "." + std::to_string(dep1 + 1);
+    setBodyParameter(tasksObjStr + ".ImageURL", tasksObj.imageURL);
+  }
 }
 
-std::string RecognizeLogoRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string RecognizeLogoRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void RecognizeLogoRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void RecognizeLogoRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 

+ 59 - 38
imagerecog/src/model/RecognizeSceneRequest.cc

@@ -1,51 +1,72 @@
 /*
  * 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/imagerecog/model/RecognizeSceneRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::RecognizeSceneRequest;
-
-RecognizeSceneRequest::RecognizeSceneRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeScene")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeSceneRequest::~RecognizeSceneRequest()
-{}
-
-int RecognizeSceneRequest::getImageType()const
-{
-	return imageType_;
-}
-
-void RecognizeSceneRequest::setImageType(int imageType)
-{
-	imageType_ = imageType;
-	setBodyParameter("ImageType", std::to_string(imageType));
-}
-
-std::string RecognizeSceneRequest::getImageURL()const
-{
-	return imageURL_;
-}
-
-void RecognizeSceneRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+ */
+
+#include <alibabacloud/imagerecog/model/RecognizeSceneRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::RecognizeSceneRequest;
+
+RecognizeSceneRequest::RecognizeSceneRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeScene") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeSceneRequest::~RecognizeSceneRequest() {}
+
+bool RecognizeSceneRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void RecognizeSceneRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string RecognizeSceneRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void RecognizeSceneRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+int RecognizeSceneRequest::getImageType() const {
+  return imageType_;
+}
+
+void RecognizeSceneRequest::setImageType(int imageType) {
+  imageType_ = imageType;
+  setBodyParameter(std::string("ImageType"), std::to_string(imageType));
+}
+
+std::string RecognizeSceneRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
+}
+
+void RecognizeSceneRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
+}
+
+std::string RecognizeSceneRequest::getImageURL() const {
+  return imageURL_;
+}
+
+void RecognizeSceneRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 36 - 46
imagerecog/src/model/RecognizeVehicleTypeRequest.cc

@@ -1,73 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#include <alibabacloud/imagerecog/model/RecognizeVehicleTypeRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::RecognizeVehicleTypeRequest;
-
-RecognizeVehicleTypeRequest::RecognizeVehicleTypeRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeVehicleType")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecognizeVehicleTypeRequest::~RecognizeVehicleTypeRequest()
-{}
-
-bool RecognizeVehicleTypeRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/RecognizeVehicleTypeRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::RecognizeVehicleTypeRequest;
+
+RecognizeVehicleTypeRequest::RecognizeVehicleTypeRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "RecognizeVehicleType") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecognizeVehicleTypeRequest::~RecognizeVehicleTypeRequest() {}
+
+bool RecognizeVehicleTypeRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void RecognizeVehicleTypeRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void RecognizeVehicleTypeRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string RecognizeVehicleTypeRequest::getOssFile()const
-{
-	return ossFile_;
+std::string RecognizeVehicleTypeRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void RecognizeVehicleTypeRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void RecognizeVehicleTypeRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-std::string RecognizeVehicleTypeRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string RecognizeVehicleTypeRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void RecognizeVehicleTypeRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void RecognizeVehicleTypeRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-std::string RecognizeVehicleTypeRequest::getImageURL()const
-{
-	return imageURL_;
+std::string RecognizeVehicleTypeRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void RecognizeVehicleTypeRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void RecognizeVehicleTypeRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 46 - 60
imagerecog/src/model/TaggingAdImageRequest.cc

@@ -1,95 +1,81 @@
 /*
  * 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/imagerecog/model/TaggingAdImageRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::TaggingAdImageRequest;
-
-TaggingAdImageRequest::TaggingAdImageRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "TaggingAdImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-TaggingAdImageRequest::~TaggingAdImageRequest()
-{}
-
-bool TaggingAdImageRequest::getFormatResultToJson()const
-{
-	return formatResultToJson_;
+ */
+
+#include <alibabacloud/imagerecog/model/TaggingAdImageRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::TaggingAdImageRequest;
+
+TaggingAdImageRequest::TaggingAdImageRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "TaggingAdImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+TaggingAdImageRequest::~TaggingAdImageRequest() {}
+
+bool TaggingAdImageRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
 }
 
-void TaggingAdImageRequest::setFormatResultToJson(bool formatResultToJson)
-{
-	formatResultToJson_ = formatResultToJson;
-	setParameter("FormatResultToJson", formatResultToJson ? "true" : "false");
+void TaggingAdImageRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
 }
 
-std::string TaggingAdImageRequest::getOssFile()const
-{
-	return ossFile_;
+std::string TaggingAdImageRequest::getOssFile() const {
+  return ossFile_;
 }
 
-void TaggingAdImageRequest::setOssFile(const std::string& ossFile)
-{
-	ossFile_ = ossFile;
-	setParameter("OssFile", ossFile);
+void TaggingAdImageRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
 }
 
-int TaggingAdImageRequest::getImageType()const
-{
-	return imageType_;
+int TaggingAdImageRequest::getImageType() const {
+  return imageType_;
 }
 
-void TaggingAdImageRequest::setImageType(int imageType)
-{
-	imageType_ = imageType;
-	setBodyParameter("ImageType", std::to_string(imageType));
+void TaggingAdImageRequest::setImageType(int imageType) {
+  imageType_ = imageType;
+  setBodyParameter(std::string("ImageType"), std::to_string(imageType));
 }
 
-std::string TaggingAdImageRequest::getRequestProxyBy()const
-{
-	return requestProxyBy_;
+std::string TaggingAdImageRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void TaggingAdImageRequest::setRequestProxyBy(const std::string& requestProxyBy)
-{
-	requestProxyBy_ = requestProxyBy;
-	setParameter("RequestProxyBy", requestProxyBy);
+void TaggingAdImageRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-bool TaggingAdImageRequest::getAsync()const
-{
-	return async_;
+bool TaggingAdImageRequest::getAsync() const {
+  return async_;
 }
 
-void TaggingAdImageRequest::setAsync(bool async)
-{
-	async_ = async;
-	setBodyParameter("Async", async ? "true" : "false");
+void TaggingAdImageRequest::setAsync(bool async) {
+  async_ = async;
+  setBodyParameter(std::string("Async"), async ? "true" : "false");
 }
 
-std::string TaggingAdImageRequest::getImageURL()const
-{
-	return imageURL_;
+std::string TaggingAdImageRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void TaggingAdImageRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void TaggingAdImageRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 63 - 46
imagerecog/src/model/TaggingImageRequest.cc

@@ -1,73 +1,90 @@
 /*
  * 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/imagerecog/model/TaggingImageRequest.h>
-
-using AlibabaCloud::Imagerecog::Model::TaggingImageRequest;
-
-TaggingImageRequest::TaggingImageRequest() :
-	RpcServiceRequest("imagerecog", "2019-09-30", "TaggingImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-TaggingImageRequest::~TaggingImageRequest()
-{}
-
-std::string TaggingImageRequest::getMode()const
-{
-	return mode_;
+ */
+
+#include <alibabacloud/imagerecog/model/TaggingImageRequest.h>
+
+using AlibabaCloud::Imagerecog::Model::TaggingImageRequest;
+
+TaggingImageRequest::TaggingImageRequest()
+    : RpcServiceRequest("imagerecog", "2019-09-30", "TaggingImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+TaggingImageRequest::~TaggingImageRequest() {}
+
+bool TaggingImageRequest::getFormatResultToJson() const {
+  return formatResultToJson_;
+}
+
+void TaggingImageRequest::setFormatResultToJson(bool formatResultToJson) {
+  formatResultToJson_ = formatResultToJson;
+  setParameter(std::string("FormatResultToJson"), formatResultToJson ? "true" : "false");
+}
+
+std::string TaggingImageRequest::getMode() const {
+  return mode_;
+}
+
+void TaggingImageRequest::setMode(const std::string &mode) {
+  mode_ = mode;
+  setBodyParameter(std::string("Mode"), mode);
+}
+
+std::string TaggingImageRequest::getOssFile() const {
+  return ossFile_;
+}
+
+void TaggingImageRequest::setOssFile(const std::string &ossFile) {
+  ossFile_ = ossFile;
+  setParameter(std::string("OssFile"), ossFile);
+}
+
+int TaggingImageRequest::getImageType() const {
+  return imageType_;
 }
 
-void TaggingImageRequest::setMode(const std::string& mode)
-{
-	mode_ = mode;
-	setBodyParameter("Mode", mode);
+void TaggingImageRequest::setImageType(int imageType) {
+  imageType_ = imageType;
+  setBodyParameter(std::string("ImageType"), std::to_string(imageType));
 }
 
-int TaggingImageRequest::getImageType()const
-{
-	return imageType_;
+std::string TaggingImageRequest::getRequestProxyBy() const {
+  return requestProxyBy_;
 }
 
-void TaggingImageRequest::setImageType(int imageType)
-{
-	imageType_ = imageType;
-	setBodyParameter("ImageType", std::to_string(imageType));
+void TaggingImageRequest::setRequestProxyBy(const std::string &requestProxyBy) {
+  requestProxyBy_ = requestProxyBy;
+  setParameter(std::string("RequestProxyBy"), requestProxyBy);
 }
 
-bool TaggingImageRequest::getAsync()const
-{
-	return async_;
+bool TaggingImageRequest::getAsync() const {
+  return async_;
 }
 
-void TaggingImageRequest::setAsync(bool async)
-{
-	async_ = async;
-	setBodyParameter("Async", async ? "true" : "false");
+void TaggingImageRequest::setAsync(bool async) {
+  async_ = async;
+  setBodyParameter(std::string("Async"), async ? "true" : "false");
 }
 
-std::string TaggingImageRequest::getImageURL()const
-{
-	return imageURL_;
+std::string TaggingImageRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void TaggingImageRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void TaggingImageRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }