From d4e14749ca57c32dabe5660cf15f3c7e7790c4bf Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 9 Dec 2022 07:54:28 +0000 Subject: [PATCH] Update MakeSuperResolutionImage. --- VERSION | 2 +- .../model/AssessCompositionRequest.h | 68 +++++----- .../imageenhan/model/AssessExposureRequest.h | 68 +++++----- .../imageenhan/model/AssessSharpnessRequest.h | 68 +++++----- .../imageenhan/model/ChangeImageSizeRequest.h | 80 +++++------ .../imageenhan/model/ColorizeImageRequest.h | 68 +++++----- .../model/EnhanceImageColorRequest.h | 80 +++++------ .../imageenhan/model/ErasePersonRequest.h | 74 +++++----- .../model/ExtendImageStyleRequest.h | 74 +++++----- .../model/GenerateDynamicImageRequest.h | 74 +++++----- .../model/GetAsyncJobResultRequest.h | 74 +++++----- .../ImageBlindCharacterWatermarkRequest.h | 98 +++++++------- .../model/ImageBlindPicWatermarkRequest.h | 98 +++++++------- .../model/ImitatePhotoStyleRequest.h | 74 +++++----- .../model/IntelligentCompositionRequest.h | 74 +++++----- .../model/MakeSuperResolutionImageRequest.h | 92 ++++++------- .../imageenhan/model/RecolorHDImageRequest.h | 112 ++++++++-------- .../imageenhan/model/RecolorImageRequest.h | 100 +++++++------- .../model/RemoveImageSubtitlesRequest.h | 92 ++++++------- .../model/RemoveImageWatermarkRequest.h | 68 +++++----- .../src/model/AssessCompositionRequest.cc | 46 +++---- imageenhan/src/model/AssessExposureRequest.cc | 46 +++---- .../src/model/AssessSharpnessRequest.cc | 46 +++---- .../src/model/ChangeImageSizeRequest.cc | 70 +++++----- imageenhan/src/model/ColorizeImageRequest.cc | 46 +++---- .../src/model/EnhanceImageColorRequest.cc | 70 +++++----- imageenhan/src/model/ErasePersonRequest.cc | 58 ++++---- .../src/model/ExtendImageStyleRequest.cc | 58 ++++---- .../src/model/GenerateDynamicImageRequest.cc | 58 ++++---- .../src/model/GetAsyncJobResultRequest.cc | 58 ++++---- .../ImageBlindCharacterWatermarkRequest.cc | 106 +++++++-------- .../model/ImageBlindPicWatermarkRequest.cc | 106 +++++++-------- .../src/model/ImitatePhotoStyleRequest.cc | 58 ++++---- .../model/IntelligentCompositionRequest.cc | 58 ++++---- .../model/MakeSuperResolutionImageRequest.cc | 94 ++++++------- imageenhan/src/model/RecolorHDImageRequest.cc | 126 ++++++++---------- imageenhan/src/model/RecolorImageRequest.cc | 102 +++++++------- .../src/model/RemoveImageSubtitlesRequest.cc | 94 ++++++------- .../src/model/RemoveImageWatermarkRequest.cc | 46 +++---- 39 files changed, 1307 insertions(+), 1577 deletions(-) diff --git a/VERSION b/VERSION index 33acca1fa..b6399a76b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1383 \ No newline at end of file +1.36.1384 \ No newline at end of file diff --git a/imageenhan/include/alibabacloud/imageenhan/model/AssessCompositionRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/AssessCompositionRequest.h index 271d75b77..8b245c0cc 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/AssessCompositionRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSCOMPOSITIONREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/AssessExposureRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/AssessExposureRequest.h index 5ef939b9d..d9bc80168 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/AssessExposureRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSEXPOSUREREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/AssessSharpnessRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/AssessSharpnessRequest.h index 36ffb5627..f151a288c 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/AssessSharpnessRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_ASSESSSHARPNESSREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ChangeImageSizeRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ChangeImageSizeRequest.h index 70a7d184c..544f750f0 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ChangeImageSizeRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ColorizeImageRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ColorizeImageRequest.h index 2a9607614..18b7f939b 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ColorizeImageRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_COLORIZEIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/EnhanceImageColorRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/EnhanceImageColorRequest.h index ab23c1bd8..f60b3eca1 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/EnhanceImageColorRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ErasePersonRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ErasePersonRequest.h index 0c2570dc5..8210ef0fc 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ErasePersonRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ExtendImageStyleRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ExtendImageStyleRequest.h index 6be8fd85c..3d69902ae 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ExtendImageStyleRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h index c8f0fbf67..9d1d1720b 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h index 8a08048da..672b66d10 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_GETASYNCJOBRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h index 59b367168..7e129d394 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h index 1ebb67f63..f8a52f750 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h index acf084ef7..614d6176b 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/IntelligentCompositionRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/IntelligentCompositionRequest.h index 4c623008e..dd2577e73 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/IntelligentCompositionRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h index 91ca257b1..14e4d090f 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h +++ b/imageenhan/include/alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.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_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ -#define ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ - -#include -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/RecolorHDImageRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/RecolorHDImageRequest.h index cdbbbd449..2467d4865 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/RecolorHDImageRequest.h +++ b/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 -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageenhan - { - namespace Model - { - class ALIBABACLOUD_IMAGEENHAN_EXPORT RecolorHDImageRequest : public RpcServiceRequest - { - public: - struct ColorTemplate - { - std::string color; - }; - - public: - RecolorHDImageRequest(); - ~RecolorHDImageRequest(); - - std::string getMode()const; - void setMode(const std::string& mode); - int getColorCount()const; - void setColorCount(int colorCount); - std::vector getColorTemplate()const; - void setColorTemplate(const std::vector& 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_; - std::string degree_; - std::string url_; - bool async_; - std::string refUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +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 getColorTemplate() const; + void setColorTemplate(const std::vector &colorTemplate); + std::string getDegree() const; + void setDegree(const std::string °ree); + 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_; + std::string degree_; + std::string url_; + bool async_; + std::string refUrl_; +}; +} // namespace Model +} // namespace Imageenhan +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORHDIMAGEREQUEST_H_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/RecolorImageRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/RecolorImageRequest.h index 8ad79be4a..54f794c06 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/RecolorImageRequest.h +++ b/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 -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageenhan - { - namespace Model - { - class ALIBABACLOUD_IMAGEENHAN_EXPORT RecolorImageRequest : public RpcServiceRequest - { - public: - struct ColorTemplate - { - std::string color; - }; - - public: - RecolorImageRequest(); - ~RecolorImageRequest(); - - std::string getMode()const; - void setMode(const std::string& mode); - int getColorCount()const; - void setColorCount(int colorCount); - std::vector getColorTemplate()const; - void setColorTemplate(const std::vector& 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_; - std::string url_; - std::string refUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +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 getColorTemplate() const; + void setColorTemplate(const std::vector &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_; + std::string url_; + std::string refUrl_; +}; +} // namespace Model +} // namespace Imageenhan +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_RECOLORIMAGEREQUEST_H_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h index 6ed6b6284..1546000f0 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h +++ b/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 -#include -#include -#include - -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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/include/alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h b/imageenhan/include/alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h index 2021cda03..a07408574 100644 --- a/imageenhan/include/alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h +++ b/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 -#include -#include -#include - -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_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_ +#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGEWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +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_ diff --git a/imageenhan/src/model/AssessCompositionRequest.cc b/imageenhan/src/model/AssessCompositionRequest.cc index 5e9dc4348..0d2fdbdcc 100644 --- a/imageenhan/src/model/AssessCompositionRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest; + +AssessCompositionRequest::AssessCompositionRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition") { + setMethod(HttpRequest::Method::Post); } -void AssessCompositionRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +AssessCompositionRequest::~AssessCompositionRequest() {} + +std::string AssessCompositionRequest::getImageURL() const { + return imageURL_; +} + +void AssessCompositionRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/AssessExposureRequest.cc b/imageenhan/src/model/AssessExposureRequest.cc index 6edc12277..8fb0b68f3 100644 --- a/imageenhan/src/model/AssessExposureRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::AssessExposureRequest; + +AssessExposureRequest::AssessExposureRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure") { + setMethod(HttpRequest::Method::Post); } -void AssessExposureRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +AssessExposureRequest::~AssessExposureRequest() {} + +std::string AssessExposureRequest::getImageURL() const { + return imageURL_; +} + +void AssessExposureRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/AssessSharpnessRequest.cc b/imageenhan/src/model/AssessSharpnessRequest.cc index a2f638016..e6a7a1914 100644 --- a/imageenhan/src/model/AssessSharpnessRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest; + +AssessSharpnessRequest::AssessSharpnessRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness") { + setMethod(HttpRequest::Method::Post); } -void AssessSharpnessRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +AssessSharpnessRequest::~AssessSharpnessRequest() {} + +std::string AssessSharpnessRequest::getImageURL() const { + return imageURL_; +} + +void AssessSharpnessRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/ChangeImageSizeRequest.cc b/imageenhan/src/model/ChangeImageSizeRequest.cc index a79abdbd7..bebed91f4 100644 --- a/imageenhan/src/model/ChangeImageSizeRequest.cc +++ b/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 - -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_; + */ + +#include + +using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest; + +ChangeImageSizeRequest::ChangeImageSizeRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize") { + setMethod(HttpRequest::Method::Post); } -void ChangeImageSizeRequest::setHeight(int height) -{ - height_ = height; - setBodyParameter("Height", std::to_string(height)); +ChangeImageSizeRequest::~ChangeImageSizeRequest() {} + +int ChangeImageSizeRequest::getHeight() const { + return height_; } -std::string ChangeImageSizeRequest::getUrl()const -{ - return url_; +void ChangeImageSizeRequest::setHeight(int height) { + height_ = height; + setBodyParameter(std::string("Height"), std::to_string(height)); } -void ChangeImageSizeRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string ChangeImageSizeRequest::getUrl() const { + return url_; } -int ChangeImageSizeRequest::getWidth()const -{ - return width_; +void ChangeImageSizeRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void ChangeImageSizeRequest::setWidth(int width) -{ - width_ = width; - setBodyParameter("Width", std::to_string(width)); +int ChangeImageSizeRequest::getWidth() const { + return width_; +} + +void ChangeImageSizeRequest::setWidth(int width) { + width_ = width; + setBodyParameter(std::string("Width"), std::to_string(width)); } diff --git a/imageenhan/src/model/ColorizeImageRequest.cc b/imageenhan/src/model/ColorizeImageRequest.cc index b8d5e3cbc..5ab556d0c 100644 --- a/imageenhan/src/model/ColorizeImageRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest; + +ColorizeImageRequest::ColorizeImageRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage") { + setMethod(HttpRequest::Method::Post); } -void ColorizeImageRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +ColorizeImageRequest::~ColorizeImageRequest() {} + +std::string ColorizeImageRequest::getImageURL() const { + return imageURL_; +} + +void ColorizeImageRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/EnhanceImageColorRequest.cc b/imageenhan/src/model/EnhanceImageColorRequest.cc index 59316add8..23cfd5bbc 100644 --- a/imageenhan/src/model/EnhanceImageColorRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest; + +EnhanceImageColorRequest::EnhanceImageColorRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor") { + setMethod(HttpRequest::Method::Post); } -void EnhanceImageColorRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setBodyParameter("Mode", mode); +EnhanceImageColorRequest::~EnhanceImageColorRequest() {} + +std::string EnhanceImageColorRequest::getMode() const { + return mode_; } -std::string EnhanceImageColorRequest::getOutputFormat()const -{ - return outputFormat_; +void EnhanceImageColorRequest::setMode(const std::string &mode) { + mode_ = mode; + setBodyParameter(std::string("Mode"), mode); } -void EnhanceImageColorRequest::setOutputFormat(const std::string& outputFormat) -{ - outputFormat_ = outputFormat; - setBodyParameter("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(std::string("OutputFormat"), outputFormat); } -void EnhanceImageColorRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +std::string EnhanceImageColorRequest::getImageURL() const { + return imageURL_; +} + +void EnhanceImageColorRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/ErasePersonRequest.cc b/imageenhan/src/model/ErasePersonRequest.cc index 7bc3b54e6..c47cfc213 100644 --- a/imageenhan/src/model/ErasePersonRequest.cc +++ b/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 - -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_; + */ + +#include + +using AlibabaCloud::Imageenhan::Model::ErasePersonRequest; + +ErasePersonRequest::ErasePersonRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson") { + setMethod(HttpRequest::Method::Post); } -void ErasePersonRequest::setUserMask(const std::string& userMask) -{ - userMask_ = userMask; - setBodyParameter("UserMask", userMask); +ErasePersonRequest::~ErasePersonRequest() {} + +std::string ErasePersonRequest::getUserMask() const { + return userMask_; } -std::string ErasePersonRequest::getImageURL()const -{ - return imageURL_; +void ErasePersonRequest::setUserMask(const std::string &userMask) { + userMask_ = userMask; + setBodyParameter(std::string("UserMask"), userMask); } -void ErasePersonRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +std::string ErasePersonRequest::getImageURL() const { + return imageURL_; +} + +void ErasePersonRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/ExtendImageStyleRequest.cc b/imageenhan/src/model/ExtendImageStyleRequest.cc index c3431d51a..1594a3bc7 100644 --- a/imageenhan/src/model/ExtendImageStyleRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest; + +ExtendImageStyleRequest::ExtendImageStyleRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle") { + setMethod(HttpRequest::Method::Post); } -void ExtendImageStyleRequest::setMajorUrl(const std::string& majorUrl) -{ - majorUrl_ = majorUrl; - setBodyParameter("MajorUrl", majorUrl); +ExtendImageStyleRequest::~ExtendImageStyleRequest() {} + +std::string ExtendImageStyleRequest::getMajorUrl() const { + return majorUrl_; } -std::string ExtendImageStyleRequest::getStyleUrl()const -{ - return styleUrl_; +void ExtendImageStyleRequest::setMajorUrl(const std::string &majorUrl) { + majorUrl_ = majorUrl; + setBodyParameter(std::string("MajorUrl"), majorUrl); } -void ExtendImageStyleRequest::setStyleUrl(const std::string& styleUrl) -{ - styleUrl_ = styleUrl; - setBodyParameter("StyleUrl", styleUrl); +std::string ExtendImageStyleRequest::getStyleUrl() const { + return styleUrl_; +} + +void ExtendImageStyleRequest::setStyleUrl(const std::string &styleUrl) { + styleUrl_ = styleUrl; + setBodyParameter(std::string("StyleUrl"), styleUrl); } diff --git a/imageenhan/src/model/GenerateDynamicImageRequest.cc b/imageenhan/src/model/GenerateDynamicImageRequest.cc index b9c7b8979..e664bda67 100644 --- a/imageenhan/src/model/GenerateDynamicImageRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest; + +GenerateDynamicImageRequest::GenerateDynamicImageRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage") { + setMethod(HttpRequest::Method::Post); } -void GenerateDynamicImageRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +GenerateDynamicImageRequest::~GenerateDynamicImageRequest() {} + +std::string GenerateDynamicImageRequest::getUrl() const { + return url_; } -std::string GenerateDynamicImageRequest::getOperation()const -{ - return operation_; +void GenerateDynamicImageRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void GenerateDynamicImageRequest::setOperation(const std::string& operation) -{ - operation_ = operation; - setBodyParameter("Operation", operation); +std::string GenerateDynamicImageRequest::getOperation() const { + return operation_; +} + +void GenerateDynamicImageRequest::setOperation(const std::string &operation) { + operation_ = operation; + setBodyParameter(std::string("Operation"), operation); } diff --git a/imageenhan/src/model/GetAsyncJobResultRequest.cc b/imageenhan/src/model/GetAsyncJobResultRequest.cc index 64a5201d3..a31985577 100644 --- a/imageenhan/src/model/GetAsyncJobResultRequest.cc +++ b/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 - -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_; + */ + +#include + +using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest; + +GetAsyncJobResultRequest::GetAsyncJobResultRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult") { + setMethod(HttpRequest::Method::Post); } -void GetAsyncJobResultRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setBodyParameter("JobId", jobId); +GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {} + +std::string GetAsyncJobResultRequest::getJobId() const { + return jobId_; } -bool GetAsyncJobResultRequest::getAsync()const -{ - return async_; +void GetAsyncJobResultRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setBodyParameter(std::string("JobId"), jobId); } -void GetAsyncJobResultRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool GetAsyncJobResultRequest::getAsync() const { + return async_; +} + +void GetAsyncJobResultRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageenhan/src/model/ImageBlindCharacterWatermarkRequest.cc b/imageenhan/src/model/ImageBlindCharacterWatermarkRequest.cc index 220a70680..7527717dc 100644 --- a/imageenhan/src/model/ImageBlindCharacterWatermarkRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest; + +ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark") { + setMethod(HttpRequest::Method::Post); } -void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL) -{ - watermarkImageURL_ = watermarkImageURL; - setBodyParameter("WatermarkImageURL", watermarkImageURL); +ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest() {} + +std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL() const { + return watermarkImageURL_; } -std::string ImageBlindCharacterWatermarkRequest::getOutputFileType()const -{ - return outputFileType_; +void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) { + watermarkImageURL_ = watermarkImageURL; + setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL); } -void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string& outputFileType) -{ - outputFileType_ = outputFileType; - setBodyParameter("OutputFileType", outputFileType); +std::string ImageBlindCharacterWatermarkRequest::getOutputFileType() const { + return outputFileType_; } -std::string ImageBlindCharacterWatermarkRequest::getText()const -{ - return text_; +void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string &outputFileType) { + outputFileType_ = outputFileType; + setBodyParameter(std::string("OutputFileType"), outputFileType); } -void ImageBlindCharacterWatermarkRequest::setText(const std::string& text) -{ - text_ = text; - setBodyParameter("Text", text); +std::string ImageBlindCharacterWatermarkRequest::getText() const { + return text_; } -int ImageBlindCharacterWatermarkRequest::getQualityFactor()const -{ - return qualityFactor_; +void ImageBlindCharacterWatermarkRequest::setText(const std::string &text) { + text_ = text; + setBodyParameter(std::string("Text"), text); } -void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor) -{ - qualityFactor_ = qualityFactor; - setBodyParameter("QualityFactor", std::to_string(qualityFactor)); +int ImageBlindCharacterWatermarkRequest::getQualityFactor() const { + return qualityFactor_; } -std::string ImageBlindCharacterWatermarkRequest::getFunctionType()const -{ - return functionType_; +void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor) { + qualityFactor_ = qualityFactor; + setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor)); } -void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); +std::string ImageBlindCharacterWatermarkRequest::getFunctionType() const { + return functionType_; } -std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL()const -{ - return originImageURL_; +void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string &functionType) { + functionType_ = functionType; + setBodyParameter(std::string("FunctionType"), functionType); } -void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string& originImageURL) -{ - originImageURL_ = originImageURL; - setBodyParameter("OriginImageURL", originImageURL); +std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL() const { + return originImageURL_; +} + +void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string &originImageURL) { + originImageURL_ = originImageURL; + setBodyParameter(std::string("OriginImageURL"), originImageURL); } diff --git a/imageenhan/src/model/ImageBlindPicWatermarkRequest.cc b/imageenhan/src/model/ImageBlindPicWatermarkRequest.cc index adf787a84..5d27fd729 100644 --- a/imageenhan/src/model/ImageBlindPicWatermarkRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest; + +ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark") { + setMethod(HttpRequest::Method::Post); } -void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL) -{ - watermarkImageURL_ = watermarkImageURL; - setBodyParameter("WatermarkImageURL", watermarkImageURL); +ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest() {} + +std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL() const { + return watermarkImageURL_; } -std::string ImageBlindPicWatermarkRequest::getLogoURL()const -{ - return logoURL_; +void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) { + watermarkImageURL_ = watermarkImageURL; + setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL); } -void ImageBlindPicWatermarkRequest::setLogoURL(const std::string& logoURL) -{ - logoURL_ = logoURL; - setBodyParameter("LogoURL", logoURL); +std::string ImageBlindPicWatermarkRequest::getLogoURL() const { + return logoURL_; } -std::string ImageBlindPicWatermarkRequest::getOutputFileType()const -{ - return outputFileType_; +void ImageBlindPicWatermarkRequest::setLogoURL(const std::string &logoURL) { + logoURL_ = logoURL; + setBodyParameter(std::string("LogoURL"), logoURL); } -void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string& outputFileType) -{ - outputFileType_ = outputFileType; - setBodyParameter("OutputFileType", outputFileType); +std::string ImageBlindPicWatermarkRequest::getOutputFileType() const { + return outputFileType_; } -int ImageBlindPicWatermarkRequest::getQualityFactor()const -{ - return qualityFactor_; +void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string &outputFileType) { + outputFileType_ = outputFileType; + setBodyParameter(std::string("OutputFileType"), outputFileType); } -void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor) -{ - qualityFactor_ = qualityFactor; - setBodyParameter("QualityFactor", std::to_string(qualityFactor)); +int ImageBlindPicWatermarkRequest::getQualityFactor() const { + return qualityFactor_; } -std::string ImageBlindPicWatermarkRequest::getFunctionType()const -{ - return functionType_; +void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor) { + qualityFactor_ = qualityFactor; + setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor)); } -void ImageBlindPicWatermarkRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); +std::string ImageBlindPicWatermarkRequest::getFunctionType() const { + return functionType_; } -std::string ImageBlindPicWatermarkRequest::getOriginImageURL()const -{ - return originImageURL_; +void ImageBlindPicWatermarkRequest::setFunctionType(const std::string &functionType) { + functionType_ = functionType; + setBodyParameter(std::string("FunctionType"), functionType); } -void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string& originImageURL) -{ - originImageURL_ = originImageURL; - setBodyParameter("OriginImageURL", originImageURL); +std::string ImageBlindPicWatermarkRequest::getOriginImageURL() const { + return originImageURL_; +} + +void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string &originImageURL) { + originImageURL_ = originImageURL; + setBodyParameter(std::string("OriginImageURL"), originImageURL); } diff --git a/imageenhan/src/model/ImitatePhotoStyleRequest.cc b/imageenhan/src/model/ImitatePhotoStyleRequest.cc index be578f340..c791ba49a 100644 --- a/imageenhan/src/model/ImitatePhotoStyleRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest; + +ImitatePhotoStyleRequest::ImitatePhotoStyleRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle") { + setMethod(HttpRequest::Method::Post); } -void ImitatePhotoStyleRequest::setStyleUrl(const std::string& styleUrl) -{ - styleUrl_ = styleUrl; - setBodyParameter("StyleUrl", styleUrl); +ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest() {} + +std::string ImitatePhotoStyleRequest::getStyleUrl() const { + return styleUrl_; } -std::string ImitatePhotoStyleRequest::getImageURL()const -{ - return imageURL_; +void ImitatePhotoStyleRequest::setStyleUrl(const std::string &styleUrl) { + styleUrl_ = styleUrl; + setBodyParameter(std::string("StyleUrl"), styleUrl); } -void ImitatePhotoStyleRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +std::string ImitatePhotoStyleRequest::getImageURL() const { + return imageURL_; +} + +void ImitatePhotoStyleRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/IntelligentCompositionRequest.cc b/imageenhan/src/model/IntelligentCompositionRequest.cc index 4ffc44fce..7c24c5232 100644 --- a/imageenhan/src/model/IntelligentCompositionRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest; + +IntelligentCompositionRequest::IntelligentCompositionRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition") { + setMethod(HttpRequest::Method::Post); } -void IntelligentCompositionRequest::setNumBoxes(int numBoxes) -{ - numBoxes_ = numBoxes; - setBodyParameter("NumBoxes", std::to_string(numBoxes)); +IntelligentCompositionRequest::~IntelligentCompositionRequest() {} + +int IntelligentCompositionRequest::getNumBoxes() const { + return numBoxes_; } -std::string IntelligentCompositionRequest::getImageURL()const -{ - return imageURL_; +void IntelligentCompositionRequest::setNumBoxes(int numBoxes) { + numBoxes_ = numBoxes; + setBodyParameter(std::string("NumBoxes"), std::to_string(numBoxes)); } -void IntelligentCompositionRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +std::string IntelligentCompositionRequest::getImageURL() const { + return imageURL_; +} + +void IntelligentCompositionRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/MakeSuperResolutionImageRequest.cc b/imageenhan/src/model/MakeSuperResolutionImageRequest.cc index a2d865621..43c13c612 100644 --- a/imageenhan/src/model/MakeSuperResolutionImageRequest.cc +++ b/imageenhan/src/model/MakeSuperResolutionImageRequest.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 - -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_; + */ + +#include + +using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest; + +MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage") { + setMethod(HttpRequest::Method::Post); } -void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor) -{ - upscaleFactor_ = upscaleFactor; - setBodyParameter("UpscaleFactor", std::to_string(upscaleFactor)); +MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest() {} + +long MakeSuperResolutionImageRequest::getUpscaleFactor() const { + return upscaleFactor_; } -std::string MakeSuperResolutionImageRequest::getMode()const -{ - return mode_; +void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor) { + upscaleFactor_ = upscaleFactor; + setBodyParameter(std::string("UpscaleFactor"), std::to_string(upscaleFactor)); } -void MakeSuperResolutionImageRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setBodyParameter("Mode", mode); +std::string MakeSuperResolutionImageRequest::getMode() const { + return mode_; } -std::string MakeSuperResolutionImageRequest::getOutputFormat()const -{ - return outputFormat_; +void MakeSuperResolutionImageRequest::setMode(const std::string &mode) { + mode_ = mode; + setBodyParameter(std::string("Mode"), mode); } -void MakeSuperResolutionImageRequest::setOutputFormat(const std::string& outputFormat) -{ - outputFormat_ = outputFormat; - setBodyParameter("OutputFormat", outputFormat); +std::string MakeSuperResolutionImageRequest::getOutputFormat() const { + return outputFormat_; } -std::string MakeSuperResolutionImageRequest::getUrl()const -{ - return url_; +void MakeSuperResolutionImageRequest::setOutputFormat(const std::string &outputFormat) { + outputFormat_ = outputFormat; + setBodyParameter(std::string("OutputFormat"), outputFormat); } -void MakeSuperResolutionImageRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string MakeSuperResolutionImageRequest::getUrl() const { + return url_; } -long MakeSuperResolutionImageRequest::getOutputQuality()const -{ - return outputQuality_; +void MakeSuperResolutionImageRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality) -{ - outputQuality_ = outputQuality; - setBodyParameter("OutputQuality", std::to_string(outputQuality)); +long MakeSuperResolutionImageRequest::getOutputQuality() const { + return outputQuality_; +} + +void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality) { + outputQuality_ = outputQuality; + setBodyParameter(std::string("OutputQuality"), std::to_string(outputQuality)); } diff --git a/imageenhan/src/model/RecolorHDImageRequest.cc b/imageenhan/src/model/RecolorHDImageRequest.cc index 14da05779..08e53bced 100644 --- a/imageenhan/src/model/RecolorHDImageRequest.cc +++ b/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 - -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_; + */ + +#include + +using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest; + +RecolorHDImageRequest::RecolorHDImageRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage") { + setMethod(HttpRequest::Method::Post); } -void RecolorHDImageRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setBodyParameter("Mode", mode); +RecolorHDImageRequest::~RecolorHDImageRequest() {} + +std::string RecolorHDImageRequest::getMode() const { + return mode_; } -int RecolorHDImageRequest::getColorCount()const -{ - return colorCount_; +void RecolorHDImageRequest::setMode(const std::string &mode) { + mode_ = mode; + setBodyParameter(std::string("Mode"), mode); } -void RecolorHDImageRequest::setColorCount(int colorCount) -{ - colorCount_ = colorCount; - setBodyParameter("ColorCount", std::to_string(colorCount)); +int RecolorHDImageRequest::getColorCount() const { + return colorCount_; } -std::vector RecolorHDImageRequest::getColorTemplate()const -{ - return colorTemplate_; +void RecolorHDImageRequest::setColorCount(int colorCount) { + colorCount_ = colorCount; + setBodyParameter(std::string("ColorCount"), std::to_string(colorCount)); } -void RecolorHDImageRequest::setColorTemplate(const std::vector& 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); - } +std::vector RecolorHDImageRequest::getColorTemplate() const { + return colorTemplate_; } -std::string RecolorHDImageRequest::getDegree()const -{ - return degree_; +void RecolorHDImageRequest::setColorTemplate(const std::vector &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); + } } -void RecolorHDImageRequest::setDegree(const std::string& degree) -{ - degree_ = degree; - setBodyParameter("Degree", degree); +std::string RecolorHDImageRequest::getDegree() const { + return degree_; } -std::string RecolorHDImageRequest::getUrl()const -{ - return url_; +void RecolorHDImageRequest::setDegree(const std::string °ree) { + degree_ = degree; + setBodyParameter(std::string("Degree"), degree); } -void RecolorHDImageRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string RecolorHDImageRequest::getUrl() const { + return url_; } -bool RecolorHDImageRequest::getAsync()const -{ - return async_; +void RecolorHDImageRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void RecolorHDImageRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool RecolorHDImageRequest::getAsync() const { + return async_; } -std::string RecolorHDImageRequest::getRefUrl()const -{ - return refUrl_; +void RecolorHDImageRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } -void RecolorHDImageRequest::setRefUrl(const std::string& refUrl) -{ - refUrl_ = refUrl; - setBodyParameter("RefUrl", refUrl); +std::string RecolorHDImageRequest::getRefUrl() const { + return refUrl_; +} + +void RecolorHDImageRequest::setRefUrl(const std::string &refUrl) { + refUrl_ = refUrl; + setBodyParameter(std::string("RefUrl"), refUrl); } diff --git a/imageenhan/src/model/RecolorImageRequest.cc b/imageenhan/src/model/RecolorImageRequest.cc index a2bbb2fbe..2ec202a0d 100644 --- a/imageenhan/src/model/RecolorImageRequest.cc +++ b/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 - -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_; + */ + +#include + +using AlibabaCloud::Imageenhan::Model::RecolorImageRequest; + +RecolorImageRequest::RecolorImageRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage") { + setMethod(HttpRequest::Method::Post); } -void RecolorImageRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setBodyParameter("Mode", mode); +RecolorImageRequest::~RecolorImageRequest() {} + +std::string RecolorImageRequest::getMode() const { + return mode_; } -int RecolorImageRequest::getColorCount()const -{ - return colorCount_; +void RecolorImageRequest::setMode(const std::string &mode) { + mode_ = mode; + setBodyParameter(std::string("Mode"), mode); } -void RecolorImageRequest::setColorCount(int colorCount) -{ - colorCount_ = colorCount; - setBodyParameter("ColorCount", std::to_string(colorCount)); +int RecolorImageRequest::getColorCount() const { + return colorCount_; } -std::vector RecolorImageRequest::getColorTemplate()const -{ - return colorTemplate_; +void RecolorImageRequest::setColorCount(int colorCount) { + colorCount_ = colorCount; + setBodyParameter(std::string("ColorCount"), std::to_string(colorCount)); } -void RecolorImageRequest::setColorTemplate(const std::vector& 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); - } +std::vector RecolorImageRequest::getColorTemplate() const { + return colorTemplate_; } -std::string RecolorImageRequest::getUrl()const -{ - return url_; +void RecolorImageRequest::setColorTemplate(const std::vector &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); + } } -void RecolorImageRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string RecolorImageRequest::getUrl() const { + return url_; } -std::string RecolorImageRequest::getRefUrl()const -{ - return refUrl_; +void RecolorImageRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void RecolorImageRequest::setRefUrl(const std::string& refUrl) -{ - refUrl_ = refUrl; - setBodyParameter("RefUrl", refUrl); +std::string RecolorImageRequest::getRefUrl() const { + return refUrl_; +} + +void RecolorImageRequest::setRefUrl(const std::string &refUrl) { + refUrl_ = refUrl; + setBodyParameter(std::string("RefUrl"), refUrl); } diff --git a/imageenhan/src/model/RemoveImageSubtitlesRequest.cc b/imageenhan/src/model/RemoveImageSubtitlesRequest.cc index 931ebbb38..a16d6a874 100644 --- a/imageenhan/src/model/RemoveImageSubtitlesRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest; + +RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles") { + setMethod(HttpRequest::Method::Post); } -void RemoveImageSubtitlesRequest::setBH(float bH) -{ - bH_ = bH; - setBodyParameter("BH", std::to_string(bH)); +RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest() {} + +float RemoveImageSubtitlesRequest::getBH() const { + return bH_; } -float RemoveImageSubtitlesRequest::getBW()const -{ - return bW_; +void RemoveImageSubtitlesRequest::setBH(float bH) { + bH_ = bH; + setBodyParameter(std::string("BH"), std::to_string(bH)); } -void RemoveImageSubtitlesRequest::setBW(float bW) -{ - bW_ = bW; - setBodyParameter("BW", std::to_string(bW)); +float RemoveImageSubtitlesRequest::getBW() const { + return bW_; } -float RemoveImageSubtitlesRequest::getBX()const -{ - return bX_; +void RemoveImageSubtitlesRequest::setBW(float bW) { + bW_ = bW; + setBodyParameter(std::string("BW"), std::to_string(bW)); } -void RemoveImageSubtitlesRequest::setBX(float bX) -{ - bX_ = bX; - setBodyParameter("BX", std::to_string(bX)); +float RemoveImageSubtitlesRequest::getBX() const { + return bX_; } -float RemoveImageSubtitlesRequest::getBY()const -{ - return bY_; +void RemoveImageSubtitlesRequest::setBX(float bX) { + bX_ = bX; + setBodyParameter(std::string("BX"), std::to_string(bX)); } -void RemoveImageSubtitlesRequest::setBY(float bY) -{ - bY_ = bY; - setBodyParameter("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(std::string("BY"), std::to_string(bY)); } -void RemoveImageSubtitlesRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +std::string RemoveImageSubtitlesRequest::getImageURL() const { + return imageURL_; +} + +void RemoveImageSubtitlesRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/imageenhan/src/model/RemoveImageWatermarkRequest.cc b/imageenhan/src/model/RemoveImageWatermarkRequest.cc index dc361a678..6f74881b2 100644 --- a/imageenhan/src/model/RemoveImageWatermarkRequest.cc +++ b/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 - -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 + +using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest; + +RemoveImageWatermarkRequest::RemoveImageWatermarkRequest() + : RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark") { + setMethod(HttpRequest::Method::Post); } -void RemoveImageWatermarkRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest() {} + +std::string RemoveImageWatermarkRequest::getImageURL() const { + return imageURL_; +} + +void RemoveImageWatermarkRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); }