Bläddra i källkod

Update MakeSuperResolutionImage.

sdk-team 4 år sedan
förälder
incheckning
36855118de
43 ändrade filer med 1342 tillägg och 1581 borttagningar
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 31 37
      imageenhan/include/alibabacloud/imageenhan/model/AssessCompositionRequest.h
  4. 31 37
      imageenhan/include/alibabacloud/imageenhan/model/AssessExposureRequest.h
  5. 31 37
      imageenhan/include/alibabacloud/imageenhan/model/AssessSharpnessRequest.h
  6. 37 43
      imageenhan/include/alibabacloud/imageenhan/model/ChangeImageSizeRequest.h
  7. 31 37
      imageenhan/include/alibabacloud/imageenhan/model/ColorizeImageRequest.h
  8. 37 43
      imageenhan/include/alibabacloud/imageenhan/model/EnhanceImageColorRequest.h
  9. 34 40
      imageenhan/include/alibabacloud/imageenhan/model/ErasePersonRequest.h
  10. 34 40
      imageenhan/include/alibabacloud/imageenhan/model/ExtendImageStyleRequest.h
  11. 34 40
      imageenhan/include/alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h
  12. 34 40
      imageenhan/include/alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h
  13. 46 52
      imageenhan/include/alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h
  14. 46 52
      imageenhan/include/alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h
  15. 34 40
      imageenhan/include/alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h
  16. 34 40
      imageenhan/include/alibabacloud/imageenhan/model/IntelligentCompositionRequest.h
  17. 43 43
      imageenhan/include/alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h
  18. 52 60
      imageenhan/include/alibabacloud/imageenhan/model/RecolorHDImageRequest.h
  19. 46 54
      imageenhan/include/alibabacloud/imageenhan/model/RecolorImageRequest.h
  20. 43 49
      imageenhan/include/alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h
  21. 31 37
      imageenhan/include/alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h
  22. 21 25
      imageenhan/src/model/AssessCompositionRequest.cc
  23. 21 25
      imageenhan/src/model/AssessExposureRequest.cc
  24. 21 25
      imageenhan/src/model/AssessSharpnessRequest.cc
  25. 31 39
      imageenhan/src/model/ChangeImageSizeRequest.cc
  26. 4 4
      imageenhan/src/model/ChangeImageSizeResult.cc
  27. 21 25
      imageenhan/src/model/ColorizeImageRequest.cc
  28. 31 39
      imageenhan/src/model/EnhanceImageColorRequest.cc
  29. 26 32
      imageenhan/src/model/ErasePersonRequest.cc
  30. 26 32
      imageenhan/src/model/ExtendImageStyleRequest.cc
  31. 26 32
      imageenhan/src/model/GenerateDynamicImageRequest.cc
  32. 26 32
      imageenhan/src/model/GetAsyncJobResultRequest.cc
  33. 4 4
      imageenhan/src/model/GetAsyncJobResultResult.cc
  34. 46 60
      imageenhan/src/model/ImageBlindCharacterWatermarkRequest.cc
  35. 46 60
      imageenhan/src/model/ImageBlindPicWatermarkRequest.cc
  36. 26 32
      imageenhan/src/model/ImitatePhotoStyleRequest.cc
  37. 26 32
      imageenhan/src/model/IntelligentCompositionRequest.cc
  38. 6 6
      imageenhan/src/model/IntelligentCompositionResult.cc
  39. 59 49
      imageenhan/src/model/MakeSuperResolutionImageRequest.cc
  40. 55 71
      imageenhan/src/model/RecolorHDImageRequest.cc
  41. 45 57
      imageenhan/src/model/RecolorImageRequest.cc
  42. 41 53
      imageenhan/src/model/RemoveImageSubtitlesRequest.cc
  43. 21 25
      imageenhan/src/model/RemoveImageWatermarkRequest.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2022-06-20 Version: 1.36.1150
+- Update MakeSuperResolutionImage.
+
 2022-06-20 Version: 1.36.1149
 - Support Easy Connect New API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1149
+1.36.1150

+ 31 - 37
imageenhan/include/alibabacloud/imageenhan/model/AssessCompositionRequest.h

@@ -1,48 +1,42 @@
 /*
  * 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_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT AssessCompositionRequest : public RpcServiceRequest
-			{
-
-			public:
-				AssessCompositionRequest();
-				~AssessCompositionRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT AssessCompositionRequest : public RpcServiceRequest {
+public:
+	AssessCompositionRequest();
+	~AssessCompositionRequest();
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_

+ 31 - 37
imageenhan/include/alibabacloud/imageenhan/model/AssessExposureRequest.h

@@ -1,48 +1,42 @@
 /*
  * 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_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT AssessExposureRequest : public RpcServiceRequest
-			{
-
-			public:
-				AssessExposureRequest();
-				~AssessExposureRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT AssessExposureRequest : public RpcServiceRequest {
+public:
+	AssessExposureRequest();
+	~AssessExposureRequest();
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_

+ 31 - 37
imageenhan/include/alibabacloud/imageenhan/model/AssessSharpnessRequest.h

@@ -1,48 +1,42 @@
 /*
  * 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_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT AssessSharpnessRequest : public RpcServiceRequest
-			{
-
-			public:
-				AssessSharpnessRequest();
-				~AssessSharpnessRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT AssessSharpnessRequest : public RpcServiceRequest {
+public:
+	AssessSharpnessRequest();
+	~AssessSharpnessRequest();
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_

+ 37 - 43
imageenhan/include/alibabacloud/imageenhan/model/ChangeImageSizeRequest.h

@@ -1,54 +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_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ChangeImageSizeRequest : public RpcServiceRequest
-			{
-
-			public:
-				ChangeImageSizeRequest();
-				~ChangeImageSizeRequest();
-
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-				int getWidth()const;
-				void setWidth(int width);
-				int getHeight()const;
-				void setHeight(int height);
-
-            private:
-				std::string url_;
-				int width_;
-				int height_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ChangeImageSizeRequest : public RpcServiceRequest {
+public:
+	ChangeImageSizeRequest();
+	~ChangeImageSizeRequest();
+	int getHeight() const;
+	void setHeight(int height);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+	int getWidth() const;
+	void setWidth(int width);
+
+private:
+	int height_;
+	std::string url_;
+	int width_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_

+ 31 - 37
imageenhan/include/alibabacloud/imageenhan/model/ColorizeImageRequest.h

@@ -1,48 +1,42 @@
 /*
  * 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_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ColorizeImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				ColorizeImageRequest();
-				~ColorizeImageRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ColorizeImageRequest : public RpcServiceRequest {
+public:
+	ColorizeImageRequest();
+	~ColorizeImageRequest();
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_

+ 37 - 43
imageenhan/include/alibabacloud/imageenhan/model/EnhanceImageColorRequest.h

@@ -1,54 +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_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT EnhanceImageColorRequest : public RpcServiceRequest
-			{
-
-			public:
-				EnhanceImageColorRequest();
-				~EnhanceImageColorRequest();
-
-				std::string getMode()const;
-				void setMode(const std::string& mode);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-				std::string getOutputFormat()const;
-				void setOutputFormat(const std::string& outputFormat);
-
-            private:
-				std::string mode_;
-				std::string imageURL_;
-				std::string outputFormat_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT EnhanceImageColorRequest : public RpcServiceRequest {
+public:
+	EnhanceImageColorRequest();
+	~EnhanceImageColorRequest();
+	std::string getMode() const;
+	void setMode(const std::string &mode);
+	std::string getOutputFormat() const;
+	void setOutputFormat(const std::string &outputFormat);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string mode_;
+	std::string outputFormat_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_

+ 34 - 40
imageenhan/include/alibabacloud/imageenhan/model/ErasePersonRequest.h

@@ -1,51 +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.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ErasePersonRequest : public RpcServiceRequest
-			{
-
-			public:
-				ErasePersonRequest();
-				~ErasePersonRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-				std::string getUserMask()const;
-				void setUserMask(const std::string& userMask);
-
-            private:
-				std::string imageURL_;
-				std::string userMask_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ErasePersonRequest : public RpcServiceRequest {
+public:
+	ErasePersonRequest();
+	~ErasePersonRequest();
+	std::string getUserMask() const;
+	void setUserMask(const std::string &userMask);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string userMask_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_

+ 34 - 40
imageenhan/include/alibabacloud/imageenhan/model/ExtendImageStyleRequest.h

@@ -1,51 +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.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ExtendImageStyleRequest : public RpcServiceRequest
-			{
-
-			public:
-				ExtendImageStyleRequest();
-				~ExtendImageStyleRequest();
-
-				std::string getMajorUrl()const;
-				void setMajorUrl(const std::string& majorUrl);
-				std::string getStyleUrl()const;
-				void setStyleUrl(const std::string& styleUrl);
-
-            private:
-				std::string majorUrl_;
-				std::string styleUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ExtendImageStyleRequest : public RpcServiceRequest {
+public:
+	ExtendImageStyleRequest();
+	~ExtendImageStyleRequest();
+	std::string getMajorUrl() const;
+	void setMajorUrl(const std::string &majorUrl);
+	std::string getStyleUrl() const;
+	void setStyleUrl(const std::string &styleUrl);
+
+private:
+	std::string majorUrl_;
+	std::string styleUrl_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_

+ 34 - 40
imageenhan/include/alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h

@@ -1,51 +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.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT GenerateDynamicImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				GenerateDynamicImageRequest();
-				~GenerateDynamicImageRequest();
-
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-				std::string getOperation()const;
-				void setOperation(const std::string& operation);
-
-            private:
-				std::string url_;
-				std::string operation_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT GenerateDynamicImageRequest : public RpcServiceRequest {
+public:
+	GenerateDynamicImageRequest();
+	~GenerateDynamicImageRequest();
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+	std::string getOperation() const;
+	void setOperation(const std::string &operation);
+
+private:
+	std::string url_;
+	std::string operation_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_

+ 34 - 40
imageenhan/include/alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h

@@ -1,51 +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.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest
-			{
-
-			public:
-				GetAsyncJobResultRequest();
-				~GetAsyncJobResultRequest();
-
-				bool getAsync()const;
-				void setAsync(bool async);
-				std::string getJobId()const;
-				void setJobId(const std::string& jobId);
-
-            private:
-				bool async_;
-				std::string jobId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest {
+public:
+	GetAsyncJobResultRequest();
+	~GetAsyncJobResultRequest();
+	std::string getJobId() const;
+	void setJobId(const std::string &jobId);
+	bool getAsync() const;
+	void setAsync(bool async);
+
+private:
+	std::string jobId_;
+	bool async_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_

+ 46 - 52
imageenhan/include/alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.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_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindCharacterWatermarkRequest : public RpcServiceRequest
-			{
-
-			public:
-				ImageBlindCharacterWatermarkRequest();
-				~ImageBlindCharacterWatermarkRequest();
-
-				std::string getWatermarkImageURL()const;
-				void setWatermarkImageURL(const std::string& watermarkImageURL);
-				int getQualityFactor()const;
-				void setQualityFactor(int qualityFactor);
-				std::string getFunctionType()const;
-				void setFunctionType(const std::string& functionType);
-				std::string getOutputFileType()const;
-				void setOutputFileType(const std::string& outputFileType);
-				std::string getOriginImageURL()const;
-				void setOriginImageURL(const std::string& originImageURL);
-				std::string getText()const;
-				void setText(const std::string& text);
-
-            private:
-				std::string watermarkImageURL_;
-				int qualityFactor_;
-				std::string functionType_;
-				std::string outputFileType_;
-				std::string originImageURL_;
-				std::string text_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindCharacterWatermarkRequest : public RpcServiceRequest {
+public:
+	ImageBlindCharacterWatermarkRequest();
+	~ImageBlindCharacterWatermarkRequest();
+	std::string getWatermarkImageURL() const;
+	void setWatermarkImageURL(const std::string &watermarkImageURL);
+	std::string getOutputFileType() const;
+	void setOutputFileType(const std::string &outputFileType);
+	std::string getText() const;
+	void setText(const std::string &text);
+	int getQualityFactor() const;
+	void setQualityFactor(int qualityFactor);
+	std::string getFunctionType() const;
+	void setFunctionType(const std::string &functionType);
+	std::string getOriginImageURL() const;
+	void setOriginImageURL(const std::string &originImageURL);
+
+private:
+	std::string watermarkImageURL_;
+	std::string outputFileType_;
+	std::string text_;
+	int qualityFactor_;
+	std::string functionType_;
+	std::string originImageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_

+ 46 - 52
imageenhan/include/alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.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_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindPicWatermarkRequest : public RpcServiceRequest
-			{
-
-			public:
-				ImageBlindPicWatermarkRequest();
-				~ImageBlindPicWatermarkRequest();
-
-				std::string getWatermarkImageURL()const;
-				void setWatermarkImageURL(const std::string& watermarkImageURL);
-				int getQualityFactor()const;
-				void setQualityFactor(int qualityFactor);
-				std::string getFunctionType()const;
-				void setFunctionType(const std::string& functionType);
-				std::string getLogoURL()const;
-				void setLogoURL(const std::string& logoURL);
-				std::string getOutputFileType()const;
-				void setOutputFileType(const std::string& outputFileType);
-				std::string getOriginImageURL()const;
-				void setOriginImageURL(const std::string& originImageURL);
-
-            private:
-				std::string watermarkImageURL_;
-				int qualityFactor_;
-				std::string functionType_;
-				std::string logoURL_;
-				std::string outputFileType_;
-				std::string originImageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindPicWatermarkRequest : public RpcServiceRequest {
+public:
+	ImageBlindPicWatermarkRequest();
+	~ImageBlindPicWatermarkRequest();
+	std::string getWatermarkImageURL() const;
+	void setWatermarkImageURL(const std::string &watermarkImageURL);
+	std::string getLogoURL() const;
+	void setLogoURL(const std::string &logoURL);
+	std::string getOutputFileType() const;
+	void setOutputFileType(const std::string &outputFileType);
+	int getQualityFactor() const;
+	void setQualityFactor(int qualityFactor);
+	std::string getFunctionType() const;
+	void setFunctionType(const std::string &functionType);
+	std::string getOriginImageURL() const;
+	void setOriginImageURL(const std::string &originImageURL);
+
+private:
+	std::string watermarkImageURL_;
+	std::string logoURL_;
+	std::string outputFileType_;
+	int qualityFactor_;
+	std::string functionType_;
+	std::string originImageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_

+ 34 - 40
imageenhan/include/alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h

@@ -1,51 +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.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT ImitatePhotoStyleRequest : public RpcServiceRequest
-			{
-
-			public:
-				ImitatePhotoStyleRequest();
-				~ImitatePhotoStyleRequest();
-
-				std::string getStyleUrl()const;
-				void setStyleUrl(const std::string& styleUrl);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string styleUrl_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT ImitatePhotoStyleRequest : public RpcServiceRequest {
+public:
+	ImitatePhotoStyleRequest();
+	~ImitatePhotoStyleRequest();
+	std::string getStyleUrl() const;
+	void setStyleUrl(const std::string &styleUrl);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string styleUrl_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_

+ 34 - 40
imageenhan/include/alibabacloud/imageenhan/model/IntelligentCompositionRequest.h

@@ -1,51 +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.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT IntelligentCompositionRequest : public RpcServiceRequest
-			{
-
-			public:
-				IntelligentCompositionRequest();
-				~IntelligentCompositionRequest();
-
-				int getNumBoxes()const;
-				void setNumBoxes(int numBoxes);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				int numBoxes_;
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT IntelligentCompositionRequest : public RpcServiceRequest {
+public:
+	IntelligentCompositionRequest();
+	~IntelligentCompositionRequest();
+	int getNumBoxes() const;
+	void setNumBoxes(int numBoxes);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	int numBoxes_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_

+ 43 - 43
imageenhan/include/alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h

@@ -1,54 +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_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT MakeSuperResolutionImageRequest : public RpcServiceRequest
-			{
-
-			public:
-				MakeSuperResolutionImageRequest();
-				~MakeSuperResolutionImageRequest();
-
-				long getUpscaleFactor()const;
-				void setUpscaleFactor(long upscaleFactor);
-				std::string getMode()const;
-				void setMode(const std::string& mode);
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-
-            private:
-				long upscaleFactor_;
-				std::string mode_;
-				std::string url_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT MakeSuperResolutionImageRequest : public RpcServiceRequest {
+public:
+	MakeSuperResolutionImageRequest();
+	~MakeSuperResolutionImageRequest();
+	long getUpscaleFactor() const;
+	void setUpscaleFactor(long upscaleFactor);
+	std::string getMode() const;
+	void setMode(const std::string &mode);
+	std::string getOutputFormat() const;
+	void setOutputFormat(const std::string &outputFormat);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+	long getOutputQuality() const;
+	void setOutputQuality(long outputQuality);
+
+private:
+	long upscaleFactor_;
+	std::string mode_;
+	std::string outputFormat_;
+	std::string url_;
+	long outputQuality_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_

+ 52 - 60
imageenhan/include/alibabacloud/imageenhan/model/RecolorHDImageRequest.h

@@ -1,71 +1,63 @@
 /*
  * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT RecolorHDImageRequest : public RpcServiceRequest
-			{
-			public:
-				struct ColorTemplate
-				{
-					std::string color;
-				};
-
-			public:
-				RecolorHDImageRequest();
-				~RecolorHDImageRequest();
-
-				std::vector<ColorTemplate> getColorTemplate()const;
-				void setColorTemplate(const std::vector<ColorTemplate>& colorTemplate);
-				std::string getDegree()const;
-				void setDegree(const std::string& degree);
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-				std::string getMode()const;
-				void setMode(const std::string& mode);
-				bool getAsync()const;
-				void setAsync(bool async);
-				int getColorCount()const;
-				void setColorCount(int colorCount);
-				std::string getRefUrl()const;
-				void setRefUrl(const std::string& refUrl);
-
-            private:
-				std::vector<ColorTemplate> colorTemplate_;
-				std::string degree_;
-				std::string url_;
-				std::string mode_;
-				bool async_;
-				int colorCount_;
-				std::string refUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT RecolorHDImageRequest : public RpcServiceRequest {
+public:
+	struct ColorTemplate {
+		std::string color;
+	};
+	RecolorHDImageRequest();
+	~RecolorHDImageRequest();
+	std::string getMode() const;
+	void setMode(const std::string &mode);
+	int getColorCount() const;
+	void setColorCount(int colorCount);
+	std::vector<ColorTemplate> getColorTemplate() const;
+	void setColorTemplate(const std::vector<ColorTemplate> &colorTemplate);
+	std::string getDegree() const;
+	void setDegree(const std::string &degree);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+	bool getAsync() const;
+	void setAsync(bool async);
+	std::string getRefUrl() const;
+	void setRefUrl(const std::string &refUrl);
+
+private:
+	std::string mode_;
+	int colorCount_;
+	std::vector<ColorTemplate> colorTemplate_;
+	std::string degree_;
+	std::string url_;
+	bool async_;
+	std::string refUrl_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_

+ 46 - 54
imageenhan/include/alibabacloud/imageenhan/model/RecolorImageRequest.h

@@ -1,65 +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_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT RecolorImageRequest : public RpcServiceRequest
-			{
-			public:
-				struct ColorTemplate
-				{
-					std::string color;
-				};
-
-			public:
-				RecolorImageRequest();
-				~RecolorImageRequest();
-
-				std::vector<ColorTemplate> getColorTemplate()const;
-				void setColorTemplate(const std::vector<ColorTemplate>& colorTemplate);
-				std::string getUrl()const;
-				void setUrl(const std::string& url);
-				std::string getMode()const;
-				void setMode(const std::string& mode);
-				int getColorCount()const;
-				void setColorCount(int colorCount);
-				std::string getRefUrl()const;
-				void setRefUrl(const std::string& refUrl);
-
-            private:
-				std::vector<ColorTemplate> colorTemplate_;
-				std::string url_;
-				std::string mode_;
-				int colorCount_;
-				std::string refUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT RecolorImageRequest : public RpcServiceRequest {
+public:
+	struct ColorTemplate {
+		std::string color;
+	};
+	RecolorImageRequest();
+	~RecolorImageRequest();
+	std::string getMode() const;
+	void setMode(const std::string &mode);
+	int getColorCount() const;
+	void setColorCount(int colorCount);
+	std::vector<ColorTemplate> getColorTemplate() const;
+	void setColorTemplate(const std::vector<ColorTemplate> &colorTemplate);
+	std::string getUrl() const;
+	void setUrl(const std::string &url);
+	std::string getRefUrl() const;
+	void setRefUrl(const std::string &refUrl);
+
+private:
+	std::string mode_;
+	int colorCount_;
+	std::vector<ColorTemplate> colorTemplate_;
+	std::string url_;
+	std::string refUrl_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_

+ 43 - 49
imageenhan/include/alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.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_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT RemoveImageSubtitlesRequest : public RpcServiceRequest
-			{
-
-			public:
-				RemoveImageSubtitlesRequest();
-				~RemoveImageSubtitlesRequest();
-
-				float getBH()const;
-				void setBH(float bH);
-				float getBW()const;
-				void setBW(float bW);
-				float getBX()const;
-				void setBX(float bX);
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-				float getBY()const;
-				void setBY(float bY);
-
-            private:
-				float bH_;
-				float bW_;
-				float bX_;
-				std::string imageURL_;
-				float bY_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT RemoveImageSubtitlesRequest : public RpcServiceRequest {
+public:
+	RemoveImageSubtitlesRequest();
+	~RemoveImageSubtitlesRequest();
+	float getBH() const;
+	void setBH(float bH);
+	float getBW() const;
+	void setBW(float bW);
+	float getBX() const;
+	void setBX(float bX);
+	float getBY() const;
+	void setBY(float bY);
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	float bH_;
+	float bW_;
+	float bX_;
+	float bY_;
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_

+ 31 - 37
imageenhan/include/alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h

@@ -1,48 +1,42 @@
 /*
  * 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_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_
-#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/imageenhan/ImageenhanExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Imageenhan
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_IMAGEENHAN_EXPORT RemoveImageWatermarkRequest : public RpcServiceRequest
-			{
-
-			public:
-				RemoveImageWatermarkRequest();
-				~RemoveImageWatermarkRequest();
-
-				std::string getImageURL()const;
-				void setImageURL(const std::string& imageURL);
-
-            private:
-				std::string imageURL_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_
+ */
+
+#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_
+#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_
+
+#include <alibabacloud/imageenhan/ImageenhanExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Imageenhan {
+namespace Model {
+class ALIBABACLOUD_IMAGEENHAN_EXPORT RemoveImageWatermarkRequest : public RpcServiceRequest {
+public:
+	RemoveImageWatermarkRequest();
+	~RemoveImageWatermarkRequest();
+	std::string getImageURL() const;
+	void setImageURL(const std::string &imageURL);
+
+private:
+	std::string imageURL_;
+};
+} // namespace Model
+} // namespace Imageenhan
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_

+ 21 - 25
imageenhan/src/model/AssessCompositionRequest.cc

@@ -1,40 +1,36 @@
 /*
  * 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/imageenhan/model/AssessCompositionRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest;
-
-AssessCompositionRequest::AssessCompositionRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-AssessCompositionRequest::~AssessCompositionRequest()
-{}
-
-std::string AssessCompositionRequest::getImageURL()const
-{
-	return imageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/AssessCompositionRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest;
+
+AssessCompositionRequest::AssessCompositionRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+AssessCompositionRequest::~AssessCompositionRequest() {}
+
+std::string AssessCompositionRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void AssessCompositionRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void AssessCompositionRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 21 - 25
imageenhan/src/model/AssessExposureRequest.cc

@@ -1,40 +1,36 @@
 /*
  * 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/imageenhan/model/AssessExposureRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::AssessExposureRequest;
-
-AssessExposureRequest::AssessExposureRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-AssessExposureRequest::~AssessExposureRequest()
-{}
-
-std::string AssessExposureRequest::getImageURL()const
-{
-	return imageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/AssessExposureRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::AssessExposureRequest;
+
+AssessExposureRequest::AssessExposureRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+AssessExposureRequest::~AssessExposureRequest() {}
+
+std::string AssessExposureRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void AssessExposureRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void AssessExposureRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 21 - 25
imageenhan/src/model/AssessSharpnessRequest.cc

@@ -1,40 +1,36 @@
 /*
  * 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/imageenhan/model/AssessSharpnessRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest;
-
-AssessSharpnessRequest::AssessSharpnessRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-AssessSharpnessRequest::~AssessSharpnessRequest()
-{}
-
-std::string AssessSharpnessRequest::getImageURL()const
-{
-	return imageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/AssessSharpnessRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest;
+
+AssessSharpnessRequest::AssessSharpnessRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+AssessSharpnessRequest::~AssessSharpnessRequest() {}
+
+std::string AssessSharpnessRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void AssessSharpnessRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void AssessSharpnessRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 31 - 39
imageenhan/src/model/ChangeImageSizeRequest.cc

@@ -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.
- */
-
-#include <alibabacloud/imageenhan/model/ChangeImageSizeRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest;
-
-ChangeImageSizeRequest::ChangeImageSizeRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ChangeImageSizeRequest::~ChangeImageSizeRequest()
-{}
-
-std::string ChangeImageSizeRequest::getUrl()const
-{
-	return url_;
+ */
+
+#include <alibabacloud/imageenhan/model/ChangeImageSizeRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest;
+
+ChangeImageSizeRequest::ChangeImageSizeRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ChangeImageSizeRequest::~ChangeImageSizeRequest() {}
+
+int ChangeImageSizeRequest::getHeight() const {
+  return height_;
 }
 
-void ChangeImageSizeRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+void ChangeImageSizeRequest::setHeight(int height) {
+  height_ = height;
+  setBodyParameter(std::string("Height"), std::to_string(height));
 }
 
-int ChangeImageSizeRequest::getWidth()const
-{
-	return width_;
+std::string ChangeImageSizeRequest::getUrl() const {
+  return url_;
 }
 
-void ChangeImageSizeRequest::setWidth(int width)
-{
-	width_ = width;
-	setBodyParameter("Width", std::to_string(width));
+void ChangeImageSizeRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 
-int ChangeImageSizeRequest::getHeight()const
-{
-	return height_;
+int ChangeImageSizeRequest::getWidth() const {
+  return width_;
 }
 
-void ChangeImageSizeRequest::setHeight(int height)
-{
-	height_ = height;
-	setBodyParameter("Height", std::to_string(height));
+void ChangeImageSizeRequest::setWidth(int width) {
+  width_ = width;
+  setBodyParameter(std::string("Width"), std::to_string(width));
 }
 

+ 4 - 4
imageenhan/src/model/ChangeImageSizeResult.cc

@@ -43,14 +43,14 @@ void ChangeImageSizeResult::parse(const std::string &payload)
 	if(!dataNode["Url"].isNull())
 		data_.url = dataNode["Url"].asString();
 	auto retainLocationNode = dataNode["RetainLocation"];
-	if(!retainLocationNode["X"].isNull())
-		data_.retainLocation.x = std::stoi(retainLocationNode["X"].asString());
-	if(!retainLocationNode["Y"].isNull())
-		data_.retainLocation.y = std::stoi(retainLocationNode["Y"].asString());
 	if(!retainLocationNode["Width"].isNull())
 		data_.retainLocation.width = std::stoi(retainLocationNode["Width"].asString());
 	if(!retainLocationNode["Height"].isNull())
 		data_.retainLocation.height = std::stoi(retainLocationNode["Height"].asString());
+	if(!retainLocationNode["Y"].isNull())
+		data_.retainLocation.y = std::stoi(retainLocationNode["Y"].asString());
+	if(!retainLocationNode["X"].isNull())
+		data_.retainLocation.x = std::stoi(retainLocationNode["X"].asString());
 
 }
 

+ 21 - 25
imageenhan/src/model/ColorizeImageRequest.cc

@@ -1,40 +1,36 @@
 /*
  * 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/imageenhan/model/ColorizeImageRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest;
-
-ColorizeImageRequest::ColorizeImageRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ColorizeImageRequest::~ColorizeImageRequest()
-{}
-
-std::string ColorizeImageRequest::getImageURL()const
-{
-	return imageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/ColorizeImageRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest;
+
+ColorizeImageRequest::ColorizeImageRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ColorizeImageRequest::~ColorizeImageRequest() {}
+
+std::string ColorizeImageRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void ColorizeImageRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void ColorizeImageRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 31 - 39
imageenhan/src/model/EnhanceImageColorRequest.cc

@@ -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.
- */
-
-#include <alibabacloud/imageenhan/model/EnhanceImageColorRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest;
-
-EnhanceImageColorRequest::EnhanceImageColorRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-EnhanceImageColorRequest::~EnhanceImageColorRequest()
-{}
-
-std::string EnhanceImageColorRequest::getMode()const
-{
-	return mode_;
+ */
+
+#include <alibabacloud/imageenhan/model/EnhanceImageColorRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest;
+
+EnhanceImageColorRequest::EnhanceImageColorRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+EnhanceImageColorRequest::~EnhanceImageColorRequest() {}
+
+std::string EnhanceImageColorRequest::getMode() const {
+  return mode_;
 }
 
-void EnhanceImageColorRequest::setMode(const std::string& mode)
-{
-	mode_ = mode;
-	setBodyParameter("Mode", mode);
+void EnhanceImageColorRequest::setMode(const std::string &mode) {
+  mode_ = mode;
+  setBodyParameter(std::string("Mode"), mode);
 }
 
-std::string EnhanceImageColorRequest::getImageURL()const
-{
-	return imageURL_;
+std::string EnhanceImageColorRequest::getOutputFormat() const {
+  return outputFormat_;
 }
 
-void EnhanceImageColorRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void EnhanceImageColorRequest::setOutputFormat(const std::string &outputFormat) {
+  outputFormat_ = outputFormat;
+  setBodyParameter(std::string("OutputFormat"), outputFormat);
 }
 
-std::string EnhanceImageColorRequest::getOutputFormat()const
-{
-	return outputFormat_;
+std::string EnhanceImageColorRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void EnhanceImageColorRequest::setOutputFormat(const std::string& outputFormat)
-{
-	outputFormat_ = outputFormat;
-	setBodyParameter("OutputFormat", outputFormat);
+void EnhanceImageColorRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 26 - 32
imageenhan/src/model/ErasePersonRequest.cc

@@ -1,51 +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/imageenhan/model/ErasePersonRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ErasePersonRequest;
-
-ErasePersonRequest::ErasePersonRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ErasePersonRequest::~ErasePersonRequest()
-{}
-
-std::string ErasePersonRequest::getImageURL()const
-{
-	return imageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/ErasePersonRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ErasePersonRequest;
+
+ErasePersonRequest::ErasePersonRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ErasePersonRequest::~ErasePersonRequest() {}
+
+std::string ErasePersonRequest::getUserMask() const {
+  return userMask_;
 }
 
-void ErasePersonRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void ErasePersonRequest::setUserMask(const std::string &userMask) {
+  userMask_ = userMask;
+  setBodyParameter(std::string("UserMask"), userMask);
 }
 
-std::string ErasePersonRequest::getUserMask()const
-{
-	return userMask_;
+std::string ErasePersonRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void ErasePersonRequest::setUserMask(const std::string& userMask)
-{
-	userMask_ = userMask;
-	setBodyParameter("UserMask", userMask);
+void ErasePersonRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 26 - 32
imageenhan/src/model/ExtendImageStyleRequest.cc

@@ -1,51 +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/imageenhan/model/ExtendImageStyleRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest;
-
-ExtendImageStyleRequest::ExtendImageStyleRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ExtendImageStyleRequest::~ExtendImageStyleRequest()
-{}
-
-std::string ExtendImageStyleRequest::getMajorUrl()const
-{
-	return majorUrl_;
+ */
+
+#include <alibabacloud/imageenhan/model/ExtendImageStyleRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest;
+
+ExtendImageStyleRequest::ExtendImageStyleRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ExtendImageStyleRequest::~ExtendImageStyleRequest() {}
+
+std::string ExtendImageStyleRequest::getMajorUrl() const {
+  return majorUrl_;
 }
 
-void ExtendImageStyleRequest::setMajorUrl(const std::string& majorUrl)
-{
-	majorUrl_ = majorUrl;
-	setBodyParameter("MajorUrl", majorUrl);
+void ExtendImageStyleRequest::setMajorUrl(const std::string &majorUrl) {
+  majorUrl_ = majorUrl;
+  setBodyParameter(std::string("MajorUrl"), majorUrl);
 }
 
-std::string ExtendImageStyleRequest::getStyleUrl()const
-{
-	return styleUrl_;
+std::string ExtendImageStyleRequest::getStyleUrl() const {
+  return styleUrl_;
 }
 
-void ExtendImageStyleRequest::setStyleUrl(const std::string& styleUrl)
-{
-	styleUrl_ = styleUrl;
-	setBodyParameter("StyleUrl", styleUrl);
+void ExtendImageStyleRequest::setStyleUrl(const std::string &styleUrl) {
+  styleUrl_ = styleUrl;
+  setBodyParameter(std::string("StyleUrl"), styleUrl);
 }
 

+ 26 - 32
imageenhan/src/model/GenerateDynamicImageRequest.cc

@@ -1,51 +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/imageenhan/model/GenerateDynamicImageRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest;
-
-GenerateDynamicImageRequest::GenerateDynamicImageRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-GenerateDynamicImageRequest::~GenerateDynamicImageRequest()
-{}
-
-std::string GenerateDynamicImageRequest::getUrl()const
-{
-	return url_;
+ */
+
+#include <alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest;
+
+GenerateDynamicImageRequest::GenerateDynamicImageRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+GenerateDynamicImageRequest::~GenerateDynamicImageRequest() {}
+
+std::string GenerateDynamicImageRequest::getUrl() const {
+  return url_;
 }
 
-void GenerateDynamicImageRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+void GenerateDynamicImageRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 
-std::string GenerateDynamicImageRequest::getOperation()const
-{
-	return operation_;
+std::string GenerateDynamicImageRequest::getOperation() const {
+  return operation_;
 }
 
-void GenerateDynamicImageRequest::setOperation(const std::string& operation)
-{
-	operation_ = operation;
-	setBodyParameter("Operation", operation);
+void GenerateDynamicImageRequest::setOperation(const std::string &operation) {
+  operation_ = operation;
+  setBodyParameter(std::string("Operation"), operation);
 }
 

+ 26 - 32
imageenhan/src/model/GetAsyncJobResultRequest.cc

@@ -1,51 +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/imageenhan/model/GetAsyncJobResultRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest;
-
-GetAsyncJobResultRequest::GetAsyncJobResultRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
-{}
-
-bool GetAsyncJobResultRequest::getAsync()const
-{
-	return async_;
+ */
+
+#include <alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest;
+
+GetAsyncJobResultRequest::GetAsyncJobResultRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
+
+std::string GetAsyncJobResultRequest::getJobId() const {
+  return jobId_;
 }
 
-void GetAsyncJobResultRequest::setAsync(bool async)
-{
-	async_ = async;
-	setBodyParameter("Async", async ? "true" : "false");
+void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
+  jobId_ = jobId;
+  setBodyParameter(std::string("JobId"), jobId);
 }
 
-std::string GetAsyncJobResultRequest::getJobId()const
-{
-	return jobId_;
+bool GetAsyncJobResultRequest::getAsync() const {
+  return async_;
 }
 
-void GetAsyncJobResultRequest::setJobId(const std::string& jobId)
-{
-	jobId_ = jobId;
-	setBodyParameter("JobId", jobId);
+void GetAsyncJobResultRequest::setAsync(bool async) {
+  async_ = async;
+  setBodyParameter(std::string("Async"), async ? "true" : "false");
 }
 

+ 4 - 4
imageenhan/src/model/GetAsyncJobResultResult.cc

@@ -40,16 +40,16 @@ void GetAsyncJobResultResult::parse(const std::string &payload)
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
 	auto dataNode = value["Data"];
-	if(!dataNode["JobId"].isNull())
-		data_.jobId = dataNode["JobId"].asString();
 	if(!dataNode["Status"].isNull())
 		data_.status = dataNode["Status"].asString();
+	if(!dataNode["ErrorMessage"].isNull())
+		data_.errorMessage = dataNode["ErrorMessage"].asString();
 	if(!dataNode["Result"].isNull())
 		data_.result = dataNode["Result"].asString();
 	if(!dataNode["ErrorCode"].isNull())
 		data_.errorCode = dataNode["ErrorCode"].asString();
-	if(!dataNode["ErrorMessage"].isNull())
-		data_.errorMessage = dataNode["ErrorMessage"].asString();
+	if(!dataNode["JobId"].isNull())
+		data_.jobId = dataNode["JobId"].asString();
 
 }
 

+ 46 - 60
imageenhan/src/model/ImageBlindCharacterWatermarkRequest.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/imageenhan/model/ImageBlindCharacterWatermarkRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest;
-
-ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest()
-{}
-
-std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL()const
-{
-	return watermarkImageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest;
+
+ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest() {}
+
+std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL() const {
+  return watermarkImageURL_;
 }
 
-void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL)
-{
-	watermarkImageURL_ = watermarkImageURL;
-	setBodyParameter("WatermarkImageURL", watermarkImageURL);
+void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) {
+  watermarkImageURL_ = watermarkImageURL;
+  setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL);
 }
 
-int ImageBlindCharacterWatermarkRequest::getQualityFactor()const
-{
-	return qualityFactor_;
+std::string ImageBlindCharacterWatermarkRequest::getOutputFileType() const {
+  return outputFileType_;
 }
 
-void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor)
-{
-	qualityFactor_ = qualityFactor;
-	setBodyParameter("QualityFactor", std::to_string(qualityFactor));
+void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string &outputFileType) {
+  outputFileType_ = outputFileType;
+  setBodyParameter(std::string("OutputFileType"), outputFileType);
 }
 
-std::string ImageBlindCharacterWatermarkRequest::getFunctionType()const
-{
-	return functionType_;
+std::string ImageBlindCharacterWatermarkRequest::getText() const {
+  return text_;
 }
 
-void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string& functionType)
-{
-	functionType_ = functionType;
-	setBodyParameter("FunctionType", functionType);
+void ImageBlindCharacterWatermarkRequest::setText(const std::string &text) {
+  text_ = text;
+  setBodyParameter(std::string("Text"), text);
 }
 
-std::string ImageBlindCharacterWatermarkRequest::getOutputFileType()const
-{
-	return outputFileType_;
+int ImageBlindCharacterWatermarkRequest::getQualityFactor() const {
+  return qualityFactor_;
 }
 
-void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string& outputFileType)
-{
-	outputFileType_ = outputFileType;
-	setBodyParameter("OutputFileType", outputFileType);
+void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor) {
+  qualityFactor_ = qualityFactor;
+  setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor));
 }
 
-std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL()const
-{
-	return originImageURL_;
+std::string ImageBlindCharacterWatermarkRequest::getFunctionType() const {
+  return functionType_;
 }
 
-void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string& originImageURL)
-{
-	originImageURL_ = originImageURL;
-	setBodyParameter("OriginImageURL", originImageURL);
+void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string &functionType) {
+  functionType_ = functionType;
+  setBodyParameter(std::string("FunctionType"), functionType);
 }
 
-std::string ImageBlindCharacterWatermarkRequest::getText()const
-{
-	return text_;
+std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL() const {
+  return originImageURL_;
 }
 
-void ImageBlindCharacterWatermarkRequest::setText(const std::string& text)
-{
-	text_ = text;
-	setBodyParameter("Text", text);
+void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string &originImageURL) {
+  originImageURL_ = originImageURL;
+  setBodyParameter(std::string("OriginImageURL"), originImageURL);
 }
 

+ 46 - 60
imageenhan/src/model/ImageBlindPicWatermarkRequest.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/imageenhan/model/ImageBlindPicWatermarkRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest;
-
-ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest()
-{}
-
-std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL()const
-{
-	return watermarkImageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest;
+
+ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest() {}
+
+std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL() const {
+  return watermarkImageURL_;
 }
 
-void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL)
-{
-	watermarkImageURL_ = watermarkImageURL;
-	setBodyParameter("WatermarkImageURL", watermarkImageURL);
+void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) {
+  watermarkImageURL_ = watermarkImageURL;
+  setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL);
 }
 
-int ImageBlindPicWatermarkRequest::getQualityFactor()const
-{
-	return qualityFactor_;
+std::string ImageBlindPicWatermarkRequest::getLogoURL() const {
+  return logoURL_;
 }
 
-void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor)
-{
-	qualityFactor_ = qualityFactor;
-	setBodyParameter("QualityFactor", std::to_string(qualityFactor));
+void ImageBlindPicWatermarkRequest::setLogoURL(const std::string &logoURL) {
+  logoURL_ = logoURL;
+  setBodyParameter(std::string("LogoURL"), logoURL);
 }
 
-std::string ImageBlindPicWatermarkRequest::getFunctionType()const
-{
-	return functionType_;
+std::string ImageBlindPicWatermarkRequest::getOutputFileType() const {
+  return outputFileType_;
 }
 
-void ImageBlindPicWatermarkRequest::setFunctionType(const std::string& functionType)
-{
-	functionType_ = functionType;
-	setBodyParameter("FunctionType", functionType);
+void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string &outputFileType) {
+  outputFileType_ = outputFileType;
+  setBodyParameter(std::string("OutputFileType"), outputFileType);
 }
 
-std::string ImageBlindPicWatermarkRequest::getLogoURL()const
-{
-	return logoURL_;
+int ImageBlindPicWatermarkRequest::getQualityFactor() const {
+  return qualityFactor_;
 }
 
-void ImageBlindPicWatermarkRequest::setLogoURL(const std::string& logoURL)
-{
-	logoURL_ = logoURL;
-	setBodyParameter("LogoURL", logoURL);
+void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor) {
+  qualityFactor_ = qualityFactor;
+  setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor));
 }
 
-std::string ImageBlindPicWatermarkRequest::getOutputFileType()const
-{
-	return outputFileType_;
+std::string ImageBlindPicWatermarkRequest::getFunctionType() const {
+  return functionType_;
 }
 
-void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string& outputFileType)
-{
-	outputFileType_ = outputFileType;
-	setBodyParameter("OutputFileType", outputFileType);
+void ImageBlindPicWatermarkRequest::setFunctionType(const std::string &functionType) {
+  functionType_ = functionType;
+  setBodyParameter(std::string("FunctionType"), functionType);
 }
 
-std::string ImageBlindPicWatermarkRequest::getOriginImageURL()const
-{
-	return originImageURL_;
+std::string ImageBlindPicWatermarkRequest::getOriginImageURL() const {
+  return originImageURL_;
 }
 
-void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string& originImageURL)
-{
-	originImageURL_ = originImageURL;
-	setBodyParameter("OriginImageURL", originImageURL);
+void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string &originImageURL) {
+  originImageURL_ = originImageURL;
+  setBodyParameter(std::string("OriginImageURL"), originImageURL);
 }
 

+ 26 - 32
imageenhan/src/model/ImitatePhotoStyleRequest.cc

@@ -1,51 +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/imageenhan/model/ImitatePhotoStyleRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest;
-
-ImitatePhotoStyleRequest::ImitatePhotoStyleRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest()
-{}
-
-std::string ImitatePhotoStyleRequest::getStyleUrl()const
-{
-	return styleUrl_;
+ */
+
+#include <alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest;
+
+ImitatePhotoStyleRequest::ImitatePhotoStyleRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest() {}
+
+std::string ImitatePhotoStyleRequest::getStyleUrl() const {
+  return styleUrl_;
 }
 
-void ImitatePhotoStyleRequest::setStyleUrl(const std::string& styleUrl)
-{
-	styleUrl_ = styleUrl;
-	setBodyParameter("StyleUrl", styleUrl);
+void ImitatePhotoStyleRequest::setStyleUrl(const std::string &styleUrl) {
+  styleUrl_ = styleUrl;
+  setBodyParameter(std::string("StyleUrl"), styleUrl);
 }
 
-std::string ImitatePhotoStyleRequest::getImageURL()const
-{
-	return imageURL_;
+std::string ImitatePhotoStyleRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void ImitatePhotoStyleRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void ImitatePhotoStyleRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 26 - 32
imageenhan/src/model/IntelligentCompositionRequest.cc

@@ -1,51 +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/imageenhan/model/IntelligentCompositionRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest;
-
-IntelligentCompositionRequest::IntelligentCompositionRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-IntelligentCompositionRequest::~IntelligentCompositionRequest()
-{}
-
-int IntelligentCompositionRequest::getNumBoxes()const
-{
-	return numBoxes_;
+ */
+
+#include <alibabacloud/imageenhan/model/IntelligentCompositionRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest;
+
+IntelligentCompositionRequest::IntelligentCompositionRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+IntelligentCompositionRequest::~IntelligentCompositionRequest() {}
+
+int IntelligentCompositionRequest::getNumBoxes() const {
+  return numBoxes_;
 }
 
-void IntelligentCompositionRequest::setNumBoxes(int numBoxes)
-{
-	numBoxes_ = numBoxes;
-	setBodyParameter("NumBoxes", std::to_string(numBoxes));
+void IntelligentCompositionRequest::setNumBoxes(int numBoxes) {
+  numBoxes_ = numBoxes;
+  setBodyParameter(std::string("NumBoxes"), std::to_string(numBoxes));
 }
 
-std::string IntelligentCompositionRequest::getImageURL()const
-{
-	return imageURL_;
+std::string IntelligentCompositionRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void IntelligentCompositionRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void IntelligentCompositionRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 6 - 6
imageenhan/src/model/IntelligentCompositionResult.cc

@@ -46,14 +46,14 @@ void IntelligentCompositionResult::parse(const std::string &payload)
 		Data::Element elementObject;
 		if(!dataNodeElementsElement["MinX"].isNull())
 			elementObject.minX = std::stoi(dataNodeElementsElement["MinX"].asString());
-		if(!dataNodeElementsElement["MinY"].isNull())
-			elementObject.minY = std::stoi(dataNodeElementsElement["MinY"].asString());
-		if(!dataNodeElementsElement["MaxX"].isNull())
-			elementObject.maxX = std::stoi(dataNodeElementsElement["MaxX"].asString());
-		if(!dataNodeElementsElement["MaxY"].isNull())
-			elementObject.maxY = std::stoi(dataNodeElementsElement["MaxY"].asString());
 		if(!dataNodeElementsElement["Score"].isNull())
 			elementObject.score = std::stof(dataNodeElementsElement["Score"].asString());
+		if(!dataNodeElementsElement["MaxY"].isNull())
+			elementObject.maxY = std::stoi(dataNodeElementsElement["MaxY"].asString());
+		if(!dataNodeElementsElement["MaxX"].isNull())
+			elementObject.maxX = std::stoi(dataNodeElementsElement["MaxX"].asString());
+		if(!dataNodeElementsElement["MinY"].isNull())
+			elementObject.minY = std::stoi(dataNodeElementsElement["MinY"].asString());
 		data_.elements.push_back(elementObject);
 	}
 

+ 59 - 49
imageenhan/src/model/MakeSuperResolutionImageRequest.cc

@@ -1,62 +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/imageenhan/model/MakeSuperResolutionImageRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest;
-
-MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest()
-{}
-
-long MakeSuperResolutionImageRequest::getUpscaleFactor()const
-{
-	return upscaleFactor_;
-}
-
-void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor)
-{
-	upscaleFactor_ = upscaleFactor;
-	setBodyParameter("UpscaleFactor", std::to_string(upscaleFactor));
-}
-
-std::string MakeSuperResolutionImageRequest::getMode()const
-{
-	return mode_;
-}
-
-void MakeSuperResolutionImageRequest::setMode(const std::string& mode)
-{
-	mode_ = mode;
-	setBodyParameter("Mode", mode);
-}
-
-std::string MakeSuperResolutionImageRequest::getUrl()const
-{
-	return url_;
-}
-
-void MakeSuperResolutionImageRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+ */
+
+#include <alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest;
+
+MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest() {}
+
+long MakeSuperResolutionImageRequest::getUpscaleFactor() const {
+  return upscaleFactor_;
+}
+
+void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor) {
+  upscaleFactor_ = upscaleFactor;
+  setBodyParameter(std::string("UpscaleFactor"), std::to_string(upscaleFactor));
+}
+
+std::string MakeSuperResolutionImageRequest::getMode() const {
+  return mode_;
+}
+
+void MakeSuperResolutionImageRequest::setMode(const std::string &mode) {
+  mode_ = mode;
+  setBodyParameter(std::string("Mode"), mode);
+}
+
+std::string MakeSuperResolutionImageRequest::getOutputFormat() const {
+  return outputFormat_;
+}
+
+void MakeSuperResolutionImageRequest::setOutputFormat(const std::string &outputFormat) {
+  outputFormat_ = outputFormat;
+  setBodyParameter(std::string("OutputFormat"), outputFormat);
+}
+
+std::string MakeSuperResolutionImageRequest::getUrl() const {
+  return url_;
+}
+
+void MakeSuperResolutionImageRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
+}
+
+long MakeSuperResolutionImageRequest::getOutputQuality() const {
+  return outputQuality_;
+}
+
+void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality) {
+  outputQuality_ = outputQuality;
+  setBodyParameter(std::string("OutputQuality"), std::to_string(outputQuality));
 }
 

+ 55 - 71
imageenhan/src/model/RecolorHDImageRequest.cc

@@ -1,110 +1,94 @@
 /*
  * 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/imageenhan/model/RecolorHDImageRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest;
-
-RecolorHDImageRequest::RecolorHDImageRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecolorHDImageRequest::~RecolorHDImageRequest()
-{}
-
-std::vector<RecolorHDImageRequest::ColorTemplate> RecolorHDImageRequest::getColorTemplate()const
-{
-	return colorTemplate_;
+ */
+
+#include <alibabacloud/imageenhan/model/RecolorHDImageRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest;
+
+RecolorHDImageRequest::RecolorHDImageRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecolorHDImageRequest::~RecolorHDImageRequest() {}
+
+std::string RecolorHDImageRequest::getMode() const {
+  return mode_;
 }
 
-void RecolorHDImageRequest::setColorTemplate(const std::vector<ColorTemplate>& colorTemplate)
-{
-	colorTemplate_ = colorTemplate;
-	for(int dep1 = 0; dep1!= colorTemplate.size(); dep1++) {
-		auto colorTemplateObj = colorTemplate.at(dep1);
-		std::string colorTemplateObjStr = "ColorTemplate." + std::to_string(dep1 + 1);
-		setParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
-	}
+void RecolorHDImageRequest::setMode(const std::string &mode) {
+  mode_ = mode;
+  setBodyParameter(std::string("Mode"), mode);
 }
 
-std::string RecolorHDImageRequest::getDegree()const
-{
-	return degree_;
+int RecolorHDImageRequest::getColorCount() const {
+  return colorCount_;
 }
 
-void RecolorHDImageRequest::setDegree(const std::string& degree)
-{
-	degree_ = degree;
-	setBodyParameter("Degree", degree);
+void RecolorHDImageRequest::setColorCount(int colorCount) {
+  colorCount_ = colorCount;
+  setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
 }
 
-std::string RecolorHDImageRequest::getUrl()const
-{
-	return url_;
+std::vector<RecolorHDImageRequest::ColorTemplate> RecolorHDImageRequest::getColorTemplate() const {
+  return colorTemplate_;
 }
 
-void RecolorHDImageRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+void RecolorHDImageRequest::setColorTemplate(const std::vector<RecolorHDImageRequest::ColorTemplate> &colorTemplate) {
+  colorTemplate_ = colorTemplate;
+  for(int dep1 = 0; dep1 != colorTemplate.size(); dep1++) {
+  auto colorTemplateObj = colorTemplate.at(dep1);
+  std::string colorTemplateObjStr = std::string("ColorTemplate") + "." + std::to_string(dep1 + 1);
+    setBodyParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
+  }
 }
 
-std::string RecolorHDImageRequest::getMode()const
-{
-	return mode_;
+std::string RecolorHDImageRequest::getDegree() const {
+  return degree_;
 }
 
-void RecolorHDImageRequest::setMode(const std::string& mode)
-{
-	mode_ = mode;
-	setBodyParameter("Mode", mode);
+void RecolorHDImageRequest::setDegree(const std::string &degree) {
+  degree_ = degree;
+  setBodyParameter(std::string("Degree"), degree);
 }
 
-bool RecolorHDImageRequest::getAsync()const
-{
-	return async_;
+std::string RecolorHDImageRequest::getUrl() const {
+  return url_;
 }
 
-void RecolorHDImageRequest::setAsync(bool async)
-{
-	async_ = async;
-	setBodyParameter("Async", async ? "true" : "false");
+void RecolorHDImageRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 
-int RecolorHDImageRequest::getColorCount()const
-{
-	return colorCount_;
+bool RecolorHDImageRequest::getAsync() const {
+  return async_;
 }
 
-void RecolorHDImageRequest::setColorCount(int colorCount)
-{
-	colorCount_ = colorCount;
-	setBodyParameter("ColorCount", std::to_string(colorCount));
+void RecolorHDImageRequest::setAsync(bool async) {
+  async_ = async;
+  setBodyParameter(std::string("Async"), async ? "true" : "false");
 }
 
-std::string RecolorHDImageRequest::getRefUrl()const
-{
-	return refUrl_;
+std::string RecolorHDImageRequest::getRefUrl() const {
+  return refUrl_;
 }
 
-void RecolorHDImageRequest::setRefUrl(const std::string& refUrl)
-{
-	refUrl_ = refUrl;
-	setBodyParameter("RefUrl", refUrl);
+void RecolorHDImageRequest::setRefUrl(const std::string &refUrl) {
+  refUrl_ = refUrl;
+  setBodyParameter(std::string("RefUrl"), refUrl);
 }
 

+ 45 - 57
imageenhan/src/model/RecolorImageRequest.cc

@@ -1,88 +1,76 @@
 /*
  * 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/imageenhan/model/RecolorImageRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::RecolorImageRequest;
-
-RecolorImageRequest::RecolorImageRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RecolorImageRequest::~RecolorImageRequest()
-{}
-
-std::vector<RecolorImageRequest::ColorTemplate> RecolorImageRequest::getColorTemplate()const
-{
-	return colorTemplate_;
+ */
+
+#include <alibabacloud/imageenhan/model/RecolorImageRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::RecolorImageRequest;
+
+RecolorImageRequest::RecolorImageRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RecolorImageRequest::~RecolorImageRequest() {}
+
+std::string RecolorImageRequest::getMode() const {
+  return mode_;
 }
 
-void RecolorImageRequest::setColorTemplate(const std::vector<ColorTemplate>& colorTemplate)
-{
-	colorTemplate_ = colorTemplate;
-	for(int dep1 = 0; dep1!= colorTemplate.size(); dep1++) {
-		auto colorTemplateObj = colorTemplate.at(dep1);
-		std::string colorTemplateObjStr = "ColorTemplate." + std::to_string(dep1 + 1);
-		setParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
-	}
+void RecolorImageRequest::setMode(const std::string &mode) {
+  mode_ = mode;
+  setBodyParameter(std::string("Mode"), mode);
 }
 
-std::string RecolorImageRequest::getUrl()const
-{
-	return url_;
+int RecolorImageRequest::getColorCount() const {
+  return colorCount_;
 }
 
-void RecolorImageRequest::setUrl(const std::string& url)
-{
-	url_ = url;
-	setBodyParameter("Url", url);
+void RecolorImageRequest::setColorCount(int colorCount) {
+  colorCount_ = colorCount;
+  setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
 }
 
-std::string RecolorImageRequest::getMode()const
-{
-	return mode_;
+std::vector<RecolorImageRequest::ColorTemplate> RecolorImageRequest::getColorTemplate() const {
+  return colorTemplate_;
 }
 
-void RecolorImageRequest::setMode(const std::string& mode)
-{
-	mode_ = mode;
-	setBodyParameter("Mode", mode);
+void RecolorImageRequest::setColorTemplate(const std::vector<RecolorImageRequest::ColorTemplate> &colorTemplate) {
+  colorTemplate_ = colorTemplate;
+  for(int dep1 = 0; dep1 != colorTemplate.size(); dep1++) {
+  auto colorTemplateObj = colorTemplate.at(dep1);
+  std::string colorTemplateObjStr = std::string("ColorTemplate") + "." + std::to_string(dep1 + 1);
+    setBodyParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
+  }
 }
 
-int RecolorImageRequest::getColorCount()const
-{
-	return colorCount_;
+std::string RecolorImageRequest::getUrl() const {
+  return url_;
 }
 
-void RecolorImageRequest::setColorCount(int colorCount)
-{
-	colorCount_ = colorCount;
-	setBodyParameter("ColorCount", std::to_string(colorCount));
+void RecolorImageRequest::setUrl(const std::string &url) {
+  url_ = url;
+  setBodyParameter(std::string("Url"), url);
 }
 
-std::string RecolorImageRequest::getRefUrl()const
-{
-	return refUrl_;
+std::string RecolorImageRequest::getRefUrl() const {
+  return refUrl_;
 }
 
-void RecolorImageRequest::setRefUrl(const std::string& refUrl)
-{
-	refUrl_ = refUrl;
-	setBodyParameter("RefUrl", refUrl);
+void RecolorImageRequest::setRefUrl(const std::string &refUrl) {
+  refUrl_ = refUrl;
+  setBodyParameter(std::string("RefUrl"), refUrl);
 }
 

+ 41 - 53
imageenhan/src/model/RemoveImageSubtitlesRequest.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/imageenhan/model/RemoveImageSubtitlesRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest;
-
-RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest()
-{}
-
-float RemoveImageSubtitlesRequest::getBH()const
-{
-	return bH_;
+ */
+
+#include <alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest;
+
+RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest() {}
+
+float RemoveImageSubtitlesRequest::getBH() const {
+  return bH_;
 }
 
-void RemoveImageSubtitlesRequest::setBH(float bH)
-{
-	bH_ = bH;
-	setBodyParameter("BH", std::to_string(bH));
+void RemoveImageSubtitlesRequest::setBH(float bH) {
+  bH_ = bH;
+  setBodyParameter(std::string("BH"), std::to_string(bH));
 }
 
-float RemoveImageSubtitlesRequest::getBW()const
-{
-	return bW_;
+float RemoveImageSubtitlesRequest::getBW() const {
+  return bW_;
 }
 
-void RemoveImageSubtitlesRequest::setBW(float bW)
-{
-	bW_ = bW;
-	setBodyParameter("BW", std::to_string(bW));
+void RemoveImageSubtitlesRequest::setBW(float bW) {
+  bW_ = bW;
+  setBodyParameter(std::string("BW"), std::to_string(bW));
 }
 
-float RemoveImageSubtitlesRequest::getBX()const
-{
-	return bX_;
+float RemoveImageSubtitlesRequest::getBX() const {
+  return bX_;
 }
 
-void RemoveImageSubtitlesRequest::setBX(float bX)
-{
-	bX_ = bX;
-	setBodyParameter("BX", std::to_string(bX));
+void RemoveImageSubtitlesRequest::setBX(float bX) {
+  bX_ = bX;
+  setBodyParameter(std::string("BX"), std::to_string(bX));
 }
 
-std::string RemoveImageSubtitlesRequest::getImageURL()const
-{
-	return imageURL_;
+float RemoveImageSubtitlesRequest::getBY() const {
+  return bY_;
 }
 
-void RemoveImageSubtitlesRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void RemoveImageSubtitlesRequest::setBY(float bY) {
+  bY_ = bY;
+  setBodyParameter(std::string("BY"), std::to_string(bY));
 }
 
-float RemoveImageSubtitlesRequest::getBY()const
-{
-	return bY_;
+std::string RemoveImageSubtitlesRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void RemoveImageSubtitlesRequest::setBY(float bY)
-{
-	bY_ = bY;
-	setBodyParameter("BY", std::to_string(bY));
+void RemoveImageSubtitlesRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }
 

+ 21 - 25
imageenhan/src/model/RemoveImageWatermarkRequest.cc

@@ -1,40 +1,36 @@
 /*
  * 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/imageenhan/model/RemoveImageWatermarkRequest.h>
-
-using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest;
-
-RemoveImageWatermarkRequest::RemoveImageWatermarkRequest() :
-	RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest()
-{}
-
-std::string RemoveImageWatermarkRequest::getImageURL()const
-{
-	return imageURL_;
+ */
+
+#include <alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h>
+
+using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest;
+
+RemoveImageWatermarkRequest::RemoveImageWatermarkRequest()
+    : RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest() {}
+
+std::string RemoveImageWatermarkRequest::getImageURL() const {
+  return imageURL_;
 }
 
-void RemoveImageWatermarkRequest::setImageURL(const std::string& imageURL)
-{
-	imageURL_ = imageURL;
-	setBodyParameter("ImageURL", imageURL);
+void RemoveImageWatermarkRequest::setImageURL(const std::string &imageURL) {
+  imageURL_ = imageURL;
+  setBodyParameter(std::string("ImageURL"), imageURL);
 }