Update MakeSuperResolutionImage.

This commit is contained in:
sdk-team
2022-12-09 07:54:28 +00:00
parent e0dbc50d2f
commit d4e14749ca
39 changed files with 1307 additions and 1577 deletions

View File

@@ -1 +1 @@
1.36.1383 1.36.1384

View File

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

View File

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

View File

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

View File

@@ -1,54 +1,48 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT ChangeImageSizeRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT ChangeImageSizeRequest : public RpcServiceRequest ChangeImageSizeRequest();
{ ~ChangeImageSizeRequest();
int getHeight() const;
public: void setHeight(int height);
ChangeImageSizeRequest(); std::string getUrl() const;
~ChangeImageSizeRequest(); void setUrl(const std::string &url);
int getWidth() const;
int getHeight()const; void setWidth(int width);
void setHeight(int height);
std::string getUrl()const; private:
void setUrl(const std::string& url); int height_;
int getWidth()const; std::string url_;
void setWidth(int width); int width_;
};
private: } // namespace Model
int height_; } // namespace Imageenhan
std::string url_; } // namespace AlibabaCloud
int width_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_CHANGEIMAGESIZEREQUEST_H_

View File

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

View File

@@ -1,54 +1,48 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT EnhanceImageColorRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT EnhanceImageColorRequest : public RpcServiceRequest EnhanceImageColorRequest();
{ ~EnhanceImageColorRequest();
std::string getMode() const;
public: void setMode(const std::string &mode);
EnhanceImageColorRequest(); std::string getOutputFormat() const;
~EnhanceImageColorRequest(); void setOutputFormat(const std::string &outputFormat);
std::string getImageURL() const;
std::string getMode()const; void setImageURL(const std::string &imageURL);
void setMode(const std::string& mode);
std::string getOutputFormat()const; private:
void setOutputFormat(const std::string& outputFormat); std::string mode_;
std::string getImageURL()const; std::string outputFormat_;
void setImageURL(const std::string& imageURL); std::string imageURL_;
};
private: } // namespace Model
std::string mode_; } // namespace Imageenhan
std::string outputFormat_; } // namespace AlibabaCloud
std::string imageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ENHANCEIMAGECOLORREQUEST_H_

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT ErasePersonRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT ErasePersonRequest : public RpcServiceRequest ErasePersonRequest();
{ ~ErasePersonRequest();
std::string getUserMask() const;
public: void setUserMask(const std::string &userMask);
ErasePersonRequest(); std::string getImageURL() const;
~ErasePersonRequest(); void setImageURL(const std::string &imageURL);
std::string getUserMask()const; private:
void setUserMask(const std::string& userMask); std::string userMask_;
std::string getImageURL()const; std::string imageURL_;
void setImageURL(const std::string& imageURL); };
} // namespace Model
private: } // namespace Imageenhan
std::string userMask_; } // namespace AlibabaCloud
std::string imageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_ERASEPERSONREQUEST_H_

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT ExtendImageStyleRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT ExtendImageStyleRequest : public RpcServiceRequest ExtendImageStyleRequest();
{ ~ExtendImageStyleRequest();
std::string getMajorUrl() const;
public: void setMajorUrl(const std::string &majorUrl);
ExtendImageStyleRequest(); std::string getStyleUrl() const;
~ExtendImageStyleRequest(); void setStyleUrl(const std::string &styleUrl);
std::string getMajorUrl()const; private:
void setMajorUrl(const std::string& majorUrl); std::string majorUrl_;
std::string getStyleUrl()const; std::string styleUrl_;
void setStyleUrl(const std::string& styleUrl); };
} // namespace Model
private: } // namespace Imageenhan
std::string majorUrl_; } // namespace AlibabaCloud
std::string styleUrl_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_EXTENDIMAGESTYLEREQUEST_H_

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT GenerateDynamicImageRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT GenerateDynamicImageRequest : public RpcServiceRequest GenerateDynamicImageRequest();
{ ~GenerateDynamicImageRequest();
std::string getUrl() const;
public: void setUrl(const std::string &url);
GenerateDynamicImageRequest(); std::string getOperation() const;
~GenerateDynamicImageRequest(); void setOperation(const std::string &operation);
std::string getUrl()const; private:
void setUrl(const std::string& url); std::string url_;
std::string getOperation()const; std::string operation_;
void setOperation(const std::string& operation); };
} // namespace Model
private: } // namespace Imageenhan
std::string url_; } // namespace AlibabaCloud
std::string operation_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_GENERATEDYNAMICIMAGEREQUEST_H_

View File

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

View File

@@ -1,63 +1,57 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindCharacterWatermarkRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindCharacterWatermarkRequest : public RpcServiceRequest ImageBlindCharacterWatermarkRequest();
{ ~ImageBlindCharacterWatermarkRequest();
std::string getWatermarkImageURL() const;
public: void setWatermarkImageURL(const std::string &watermarkImageURL);
ImageBlindCharacterWatermarkRequest(); std::string getOutputFileType() const;
~ImageBlindCharacterWatermarkRequest(); void setOutputFileType(const std::string &outputFileType);
std::string getText() const;
std::string getWatermarkImageURL()const; void setText(const std::string &text);
void setWatermarkImageURL(const std::string& watermarkImageURL); int getQualityFactor() const;
std::string getOutputFileType()const; void setQualityFactor(int qualityFactor);
void setOutputFileType(const std::string& outputFileType); std::string getFunctionType() const;
std::string getText()const; void setFunctionType(const std::string &functionType);
void setText(const std::string& text); std::string getOriginImageURL() const;
int getQualityFactor()const; void setOriginImageURL(const std::string &originImageURL);
void setQualityFactor(int qualityFactor);
std::string getFunctionType()const; private:
void setFunctionType(const std::string& functionType); std::string watermarkImageURL_;
std::string getOriginImageURL()const; std::string outputFileType_;
void setOriginImageURL(const std::string& originImageURL); std::string text_;
int qualityFactor_;
private: std::string functionType_;
std::string watermarkImageURL_; std::string originImageURL_;
std::string outputFileType_; };
std::string text_; } // namespace Model
int qualityFactor_; } // namespace Imageenhan
std::string functionType_; } // namespace AlibabaCloud
std::string originImageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDCHARACTERWATERMARKREQUEST_H_

View File

@@ -1,63 +1,57 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindPicWatermarkRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT ImageBlindPicWatermarkRequest : public RpcServiceRequest ImageBlindPicWatermarkRequest();
{ ~ImageBlindPicWatermarkRequest();
std::string getWatermarkImageURL() const;
public: void setWatermarkImageURL(const std::string &watermarkImageURL);
ImageBlindPicWatermarkRequest(); std::string getLogoURL() const;
~ImageBlindPicWatermarkRequest(); void setLogoURL(const std::string &logoURL);
std::string getOutputFileType() const;
std::string getWatermarkImageURL()const; void setOutputFileType(const std::string &outputFileType);
void setWatermarkImageURL(const std::string& watermarkImageURL); int getQualityFactor() const;
std::string getLogoURL()const; void setQualityFactor(int qualityFactor);
void setLogoURL(const std::string& logoURL); std::string getFunctionType() const;
std::string getOutputFileType()const; void setFunctionType(const std::string &functionType);
void setOutputFileType(const std::string& outputFileType); std::string getOriginImageURL() const;
int getQualityFactor()const; void setOriginImageURL(const std::string &originImageURL);
void setQualityFactor(int qualityFactor);
std::string getFunctionType()const; private:
void setFunctionType(const std::string& functionType); std::string watermarkImageURL_;
std::string getOriginImageURL()const; std::string logoURL_;
void setOriginImageURL(const std::string& originImageURL); std::string outputFileType_;
int qualityFactor_;
private: std::string functionType_;
std::string watermarkImageURL_; std::string originImageURL_;
std::string logoURL_; };
std::string outputFileType_; } // namespace Model
int qualityFactor_; } // namespace Imageenhan
std::string functionType_; } // namespace AlibabaCloud
std::string originImageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMAGEBLINDPICWATERMARKREQUEST_H_

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT ImitatePhotoStyleRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT ImitatePhotoStyleRequest : public RpcServiceRequest ImitatePhotoStyleRequest();
{ ~ImitatePhotoStyleRequest();
std::string getStyleUrl() const;
public: void setStyleUrl(const std::string &styleUrl);
ImitatePhotoStyleRequest(); std::string getImageURL() const;
~ImitatePhotoStyleRequest(); void setImageURL(const std::string &imageURL);
std::string getStyleUrl()const; private:
void setStyleUrl(const std::string& styleUrl); std::string styleUrl_;
std::string getImageURL()const; std::string imageURL_;
void setImageURL(const std::string& imageURL); };
} // namespace Model
private: } // namespace Imageenhan
std::string styleUrl_; } // namespace AlibabaCloud
std::string imageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_IMITATEPHOTOSTYLEREQUEST_H_

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT IntelligentCompositionRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT IntelligentCompositionRequest : public RpcServiceRequest IntelligentCompositionRequest();
{ ~IntelligentCompositionRequest();
int getNumBoxes() const;
public: void setNumBoxes(int numBoxes);
IntelligentCompositionRequest(); std::string getImageURL() const;
~IntelligentCompositionRequest(); void setImageURL(const std::string &imageURL);
int getNumBoxes()const; private:
void setNumBoxes(int numBoxes); int numBoxes_;
std::string getImageURL()const; std::string imageURL_;
void setImageURL(const std::string& imageURL); };
} // namespace Model
private: } // namespace Imageenhan
int numBoxes_; } // namespace AlibabaCloud
std::string imageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_INTELLIGENTCOMPOSITIONREQUEST_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT MakeSuperResolutionImageRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT MakeSuperResolutionImageRequest : public RpcServiceRequest MakeSuperResolutionImageRequest();
{ ~MakeSuperResolutionImageRequest();
long getUpscaleFactor() const;
public: void setUpscaleFactor(long upscaleFactor);
MakeSuperResolutionImageRequest(); std::string getMode() const;
~MakeSuperResolutionImageRequest(); void setMode(const std::string &mode);
std::string getOutputFormat() const;
long getUpscaleFactor()const; void setOutputFormat(const std::string &outputFormat);
void setUpscaleFactor(long upscaleFactor); std::string getUrl() const;
std::string getMode()const; void setUrl(const std::string &url);
void setMode(const std::string& mode); long getOutputQuality() const;
std::string getOutputFormat()const; void setOutputQuality(long outputQuality);
void setOutputFormat(const std::string& outputFormat);
std::string getUrl()const; private:
void setUrl(const std::string& url); long upscaleFactor_;
long getOutputQuality()const; std::string mode_;
void setOutputQuality(long outputQuality); std::string outputFormat_;
std::string url_;
private: long outputQuality_;
long upscaleFactor_; };
std::string mode_; } // namespace Model
std::string outputFormat_; } // namespace Imageenhan
std::string url_; } // namespace AlibabaCloud
long outputQuality_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_MAKESUPERRESOLUTIONIMAGEREQUEST_H_

View File

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

View File

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

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_ #ifndef ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
#define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_ #define ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
#include <string> #include <alibabacloud/imageenhan/ImageenhanExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/imageenhan/ImageenhanExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Imageenhan namespace Imageenhan {
{ namespace Model {
namespace Model class ALIBABACLOUD_IMAGEENHAN_EXPORT RemoveImageSubtitlesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_IMAGEENHAN_EXPORT RemoveImageSubtitlesRequest : public RpcServiceRequest RemoveImageSubtitlesRequest();
{ ~RemoveImageSubtitlesRequest();
float getBH() const;
public: void setBH(float bH);
RemoveImageSubtitlesRequest(); float getBW() const;
~RemoveImageSubtitlesRequest(); void setBW(float bW);
float getBX() const;
float getBH()const; void setBX(float bX);
void setBH(float bH); float getBY() const;
float getBW()const; void setBY(float bY);
void setBW(float bW); std::string getImageURL() const;
float getBX()const; void setImageURL(const std::string &imageURL);
void setBX(float bX);
float getBY()const; private:
void setBY(float bY); float bH_;
std::string getImageURL()const; float bW_;
void setImageURL(const std::string& imageURL); float bX_;
float bY_;
private: std::string imageURL_;
float bH_; };
float bW_; } // namespace Model
float bX_; } // namespace Imageenhan
float bY_; } // namespace AlibabaCloud
std::string imageURL_; #endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_IMAGEENHAN_MODEL_REMOVEIMAGESUBTITLESREQUEST_H_

View File

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

View File

@@ -1,40 +1,36 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/AssessCompositionRequest.h> #include <alibabacloud/imageenhan/model/AssessCompositionRequest.h>
using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest; using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest;
AssessCompositionRequest::AssessCompositionRequest() : AssessCompositionRequest::AssessCompositionRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition") : RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
AssessCompositionRequest::~AssessCompositionRequest()
{}
std::string AssessCompositionRequest::getImageURL()const
{
return imageURL_;
} }
void AssessCompositionRequest::setImageURL(const std::string& imageURL) AssessCompositionRequest::~AssessCompositionRequest() {}
{
imageURL_ = imageURL; std::string AssessCompositionRequest::getImageURL() const {
setBodyParameter("ImageURL", imageURL); return imageURL_;
}
void AssessCompositionRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,40 +1,36 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/AssessExposureRequest.h> #include <alibabacloud/imageenhan/model/AssessExposureRequest.h>
using AlibabaCloud::Imageenhan::Model::AssessExposureRequest; using AlibabaCloud::Imageenhan::Model::AssessExposureRequest;
AssessExposureRequest::AssessExposureRequest() : AssessExposureRequest::AssessExposureRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure") : RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
AssessExposureRequest::~AssessExposureRequest()
{}
std::string AssessExposureRequest::getImageURL()const
{
return imageURL_;
} }
void AssessExposureRequest::setImageURL(const std::string& imageURL) AssessExposureRequest::~AssessExposureRequest() {}
{
imageURL_ = imageURL; std::string AssessExposureRequest::getImageURL() const {
setBodyParameter("ImageURL", imageURL); return imageURL_;
}
void AssessExposureRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,40 +1,36 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/AssessSharpnessRequest.h> #include <alibabacloud/imageenhan/model/AssessSharpnessRequest.h>
using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest; using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest;
AssessSharpnessRequest::AssessSharpnessRequest() : AssessSharpnessRequest::AssessSharpnessRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness") : RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
AssessSharpnessRequest::~AssessSharpnessRequest()
{}
std::string AssessSharpnessRequest::getImageURL()const
{
return imageURL_;
} }
void AssessSharpnessRequest::setImageURL(const std::string& imageURL) AssessSharpnessRequest::~AssessSharpnessRequest() {}
{
imageURL_ = imageURL; std::string AssessSharpnessRequest::getImageURL() const {
setBodyParameter("ImageURL", imageURL); return imageURL_;
}
void AssessSharpnessRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,62 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ChangeImageSizeRequest.h> #include <alibabacloud/imageenhan/model/ChangeImageSizeRequest.h>
using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest; using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest;
ChangeImageSizeRequest::ChangeImageSizeRequest() : ChangeImageSizeRequest::ChangeImageSizeRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize") : RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ChangeImageSizeRequest::~ChangeImageSizeRequest()
{}
int ChangeImageSizeRequest::getHeight()const
{
return height_;
} }
void ChangeImageSizeRequest::setHeight(int height) ChangeImageSizeRequest::~ChangeImageSizeRequest() {}
{
height_ = height; int ChangeImageSizeRequest::getHeight() const {
setBodyParameter("Height", std::to_string(height)); return height_;
} }
std::string ChangeImageSizeRequest::getUrl()const void ChangeImageSizeRequest::setHeight(int height) {
{ height_ = height;
return url_; setBodyParameter(std::string("Height"), std::to_string(height));
} }
void ChangeImageSizeRequest::setUrl(const std::string& url) std::string ChangeImageSizeRequest::getUrl() const {
{ return url_;
url_ = url;
setBodyParameter("Url", url);
} }
int ChangeImageSizeRequest::getWidth()const void ChangeImageSizeRequest::setUrl(const std::string &url) {
{ url_ = url;
return width_; setBodyParameter(std::string("Url"), url);
} }
void ChangeImageSizeRequest::setWidth(int width) int ChangeImageSizeRequest::getWidth() const {
{ return width_;
width_ = width; }
setBodyParameter("Width", std::to_string(width));
void ChangeImageSizeRequest::setWidth(int width) {
width_ = width;
setBodyParameter(std::string("Width"), std::to_string(width));
} }

View File

@@ -1,40 +1,36 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ColorizeImageRequest.h> #include <alibabacloud/imageenhan/model/ColorizeImageRequest.h>
using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest; using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest;
ColorizeImageRequest::ColorizeImageRequest() : ColorizeImageRequest::ColorizeImageRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage") : RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ColorizeImageRequest::~ColorizeImageRequest()
{}
std::string ColorizeImageRequest::getImageURL()const
{
return imageURL_;
} }
void ColorizeImageRequest::setImageURL(const std::string& imageURL) ColorizeImageRequest::~ColorizeImageRequest() {}
{
imageURL_ = imageURL; std::string ColorizeImageRequest::getImageURL() const {
setBodyParameter("ImageURL", imageURL); return imageURL_;
}
void ColorizeImageRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,62 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/EnhanceImageColorRequest.h> #include <alibabacloud/imageenhan/model/EnhanceImageColorRequest.h>
using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest; using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest;
EnhanceImageColorRequest::EnhanceImageColorRequest() : EnhanceImageColorRequest::EnhanceImageColorRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor") : RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
EnhanceImageColorRequest::~EnhanceImageColorRequest()
{}
std::string EnhanceImageColorRequest::getMode()const
{
return mode_;
} }
void EnhanceImageColorRequest::setMode(const std::string& mode) EnhanceImageColorRequest::~EnhanceImageColorRequest() {}
{
mode_ = mode; std::string EnhanceImageColorRequest::getMode() const {
setBodyParameter("Mode", mode); return mode_;
} }
std::string EnhanceImageColorRequest::getOutputFormat()const void EnhanceImageColorRequest::setMode(const std::string &mode) {
{ mode_ = mode;
return outputFormat_; setBodyParameter(std::string("Mode"), mode);
} }
void EnhanceImageColorRequest::setOutputFormat(const std::string& outputFormat) std::string EnhanceImageColorRequest::getOutputFormat() const {
{ return outputFormat_;
outputFormat_ = outputFormat;
setBodyParameter("OutputFormat", outputFormat);
} }
std::string EnhanceImageColorRequest::getImageURL()const void EnhanceImageColorRequest::setOutputFormat(const std::string &outputFormat) {
{ outputFormat_ = outputFormat;
return imageURL_; setBodyParameter(std::string("OutputFormat"), outputFormat);
} }
void EnhanceImageColorRequest::setImageURL(const std::string& imageURL) std::string EnhanceImageColorRequest::getImageURL() const {
{ return imageURL_;
imageURL_ = imageURL; }
setBodyParameter("ImageURL", imageURL);
void EnhanceImageColorRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ErasePersonRequest.h> #include <alibabacloud/imageenhan/model/ErasePersonRequest.h>
using AlibabaCloud::Imageenhan::Model::ErasePersonRequest; using AlibabaCloud::Imageenhan::Model::ErasePersonRequest;
ErasePersonRequest::ErasePersonRequest() : ErasePersonRequest::ErasePersonRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson") : RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ErasePersonRequest::~ErasePersonRequest()
{}
std::string ErasePersonRequest::getUserMask()const
{
return userMask_;
} }
void ErasePersonRequest::setUserMask(const std::string& userMask) ErasePersonRequest::~ErasePersonRequest() {}
{
userMask_ = userMask; std::string ErasePersonRequest::getUserMask() const {
setBodyParameter("UserMask", userMask); return userMask_;
} }
std::string ErasePersonRequest::getImageURL()const void ErasePersonRequest::setUserMask(const std::string &userMask) {
{ userMask_ = userMask;
return imageURL_; setBodyParameter(std::string("UserMask"), userMask);
} }
void ErasePersonRequest::setImageURL(const std::string& imageURL) std::string ErasePersonRequest::getImageURL() const {
{ return imageURL_;
imageURL_ = imageURL; }
setBodyParameter("ImageURL", imageURL);
void ErasePersonRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ExtendImageStyleRequest.h> #include <alibabacloud/imageenhan/model/ExtendImageStyleRequest.h>
using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest; using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest;
ExtendImageStyleRequest::ExtendImageStyleRequest() : ExtendImageStyleRequest::ExtendImageStyleRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle") : RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ExtendImageStyleRequest::~ExtendImageStyleRequest()
{}
std::string ExtendImageStyleRequest::getMajorUrl()const
{
return majorUrl_;
} }
void ExtendImageStyleRequest::setMajorUrl(const std::string& majorUrl) ExtendImageStyleRequest::~ExtendImageStyleRequest() {}
{
majorUrl_ = majorUrl; std::string ExtendImageStyleRequest::getMajorUrl() const {
setBodyParameter("MajorUrl", majorUrl); return majorUrl_;
} }
std::string ExtendImageStyleRequest::getStyleUrl()const void ExtendImageStyleRequest::setMajorUrl(const std::string &majorUrl) {
{ majorUrl_ = majorUrl;
return styleUrl_; setBodyParameter(std::string("MajorUrl"), majorUrl);
} }
void ExtendImageStyleRequest::setStyleUrl(const std::string& styleUrl) std::string ExtendImageStyleRequest::getStyleUrl() const {
{ return styleUrl_;
styleUrl_ = styleUrl; }
setBodyParameter("StyleUrl", styleUrl);
void ExtendImageStyleRequest::setStyleUrl(const std::string &styleUrl) {
styleUrl_ = styleUrl;
setBodyParameter(std::string("StyleUrl"), styleUrl);
} }

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h> #include <alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h>
using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest; using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest;
GenerateDynamicImageRequest::GenerateDynamicImageRequest() : GenerateDynamicImageRequest::GenerateDynamicImageRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage") : RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
GenerateDynamicImageRequest::~GenerateDynamicImageRequest()
{}
std::string GenerateDynamicImageRequest::getUrl()const
{
return url_;
} }
void GenerateDynamicImageRequest::setUrl(const std::string& url) GenerateDynamicImageRequest::~GenerateDynamicImageRequest() {}
{
url_ = url; std::string GenerateDynamicImageRequest::getUrl() const {
setBodyParameter("Url", url); return url_;
} }
std::string GenerateDynamicImageRequest::getOperation()const void GenerateDynamicImageRequest::setUrl(const std::string &url) {
{ url_ = url;
return operation_; setBodyParameter(std::string("Url"), url);
} }
void GenerateDynamicImageRequest::setOperation(const std::string& operation) std::string GenerateDynamicImageRequest::getOperation() const {
{ return operation_;
operation_ = operation; }
setBodyParameter("Operation", operation);
void GenerateDynamicImageRequest::setOperation(const std::string &operation) {
operation_ = operation;
setBodyParameter(std::string("Operation"), operation);
} }

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h> #include <alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h>
using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest; using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest;
GetAsyncJobResultRequest::GetAsyncJobResultRequest() : GetAsyncJobResultRequest::GetAsyncJobResultRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult") : RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
{}
std::string GetAsyncJobResultRequest::getJobId()const
{
return jobId_;
} }
void GetAsyncJobResultRequest::setJobId(const std::string& jobId) GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
{
jobId_ = jobId; std::string GetAsyncJobResultRequest::getJobId() const {
setBodyParameter("JobId", jobId); return jobId_;
} }
bool GetAsyncJobResultRequest::getAsync()const void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
{ jobId_ = jobId;
return async_; setBodyParameter(std::string("JobId"), jobId);
} }
void GetAsyncJobResultRequest::setAsync(bool async) bool GetAsyncJobResultRequest::getAsync() const {
{ return async_;
async_ = async; }
setBodyParameter("Async", async ? "true" : "false");
void GetAsyncJobResultRequest::setAsync(bool async) {
async_ = async;
setBodyParameter(std::string("Async"), async ? "true" : "false");
} }

View File

@@ -1,95 +1,81 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h> #include <alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h>
using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest; using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest;
ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest() : ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark") : RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest()
{}
std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL()const
{
return watermarkImageURL_;
} }
void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL) ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest() {}
{
watermarkImageURL_ = watermarkImageURL; std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL() const {
setBodyParameter("WatermarkImageURL", watermarkImageURL); return watermarkImageURL_;
} }
std::string ImageBlindCharacterWatermarkRequest::getOutputFileType()const void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) {
{ watermarkImageURL_ = watermarkImageURL;
return outputFileType_; setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL);
} }
void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string& outputFileType) std::string ImageBlindCharacterWatermarkRequest::getOutputFileType() const {
{ return outputFileType_;
outputFileType_ = outputFileType;
setBodyParameter("OutputFileType", outputFileType);
} }
std::string ImageBlindCharacterWatermarkRequest::getText()const void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string &outputFileType) {
{ outputFileType_ = outputFileType;
return text_; setBodyParameter(std::string("OutputFileType"), outputFileType);
} }
void ImageBlindCharacterWatermarkRequest::setText(const std::string& text) std::string ImageBlindCharacterWatermarkRequest::getText() const {
{ return text_;
text_ = text;
setBodyParameter("Text", text);
} }
int ImageBlindCharacterWatermarkRequest::getQualityFactor()const void ImageBlindCharacterWatermarkRequest::setText(const std::string &text) {
{ text_ = text;
return qualityFactor_; setBodyParameter(std::string("Text"), text);
} }
void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor) int ImageBlindCharacterWatermarkRequest::getQualityFactor() const {
{ return qualityFactor_;
qualityFactor_ = qualityFactor;
setBodyParameter("QualityFactor", std::to_string(qualityFactor));
} }
std::string ImageBlindCharacterWatermarkRequest::getFunctionType()const void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor) {
{ qualityFactor_ = qualityFactor;
return functionType_; setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor));
} }
void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string& functionType) std::string ImageBlindCharacterWatermarkRequest::getFunctionType() const {
{ return functionType_;
functionType_ = functionType;
setBodyParameter("FunctionType", functionType);
} }
std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL()const void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string &functionType) {
{ functionType_ = functionType;
return originImageURL_; setBodyParameter(std::string("FunctionType"), functionType);
} }
void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string& originImageURL) std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL() const {
{ return originImageURL_;
originImageURL_ = originImageURL; }
setBodyParameter("OriginImageURL", originImageURL);
void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string &originImageURL) {
originImageURL_ = originImageURL;
setBodyParameter(std::string("OriginImageURL"), originImageURL);
} }

View File

@@ -1,95 +1,81 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h> #include <alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h>
using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest; using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest;
ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest() : ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark") : RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest()
{}
std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL()const
{
return watermarkImageURL_;
} }
void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL) ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest() {}
{
watermarkImageURL_ = watermarkImageURL; std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL() const {
setBodyParameter("WatermarkImageURL", watermarkImageURL); return watermarkImageURL_;
} }
std::string ImageBlindPicWatermarkRequest::getLogoURL()const void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) {
{ watermarkImageURL_ = watermarkImageURL;
return logoURL_; setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL);
} }
void ImageBlindPicWatermarkRequest::setLogoURL(const std::string& logoURL) std::string ImageBlindPicWatermarkRequest::getLogoURL() const {
{ return logoURL_;
logoURL_ = logoURL;
setBodyParameter("LogoURL", logoURL);
} }
std::string ImageBlindPicWatermarkRequest::getOutputFileType()const void ImageBlindPicWatermarkRequest::setLogoURL(const std::string &logoURL) {
{ logoURL_ = logoURL;
return outputFileType_; setBodyParameter(std::string("LogoURL"), logoURL);
} }
void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string& outputFileType) std::string ImageBlindPicWatermarkRequest::getOutputFileType() const {
{ return outputFileType_;
outputFileType_ = outputFileType;
setBodyParameter("OutputFileType", outputFileType);
} }
int ImageBlindPicWatermarkRequest::getQualityFactor()const void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string &outputFileType) {
{ outputFileType_ = outputFileType;
return qualityFactor_; setBodyParameter(std::string("OutputFileType"), outputFileType);
} }
void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor) int ImageBlindPicWatermarkRequest::getQualityFactor() const {
{ return qualityFactor_;
qualityFactor_ = qualityFactor;
setBodyParameter("QualityFactor", std::to_string(qualityFactor));
} }
std::string ImageBlindPicWatermarkRequest::getFunctionType()const void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor) {
{ qualityFactor_ = qualityFactor;
return functionType_; setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor));
} }
void ImageBlindPicWatermarkRequest::setFunctionType(const std::string& functionType) std::string ImageBlindPicWatermarkRequest::getFunctionType() const {
{ return functionType_;
functionType_ = functionType;
setBodyParameter("FunctionType", functionType);
} }
std::string ImageBlindPicWatermarkRequest::getOriginImageURL()const void ImageBlindPicWatermarkRequest::setFunctionType(const std::string &functionType) {
{ functionType_ = functionType;
return originImageURL_; setBodyParameter(std::string("FunctionType"), functionType);
} }
void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string& originImageURL) std::string ImageBlindPicWatermarkRequest::getOriginImageURL() const {
{ return originImageURL_;
originImageURL_ = originImageURL; }
setBodyParameter("OriginImageURL", originImageURL);
void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string &originImageURL) {
originImageURL_ = originImageURL;
setBodyParameter(std::string("OriginImageURL"), originImageURL);
} }

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h> #include <alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h>
using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest; using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest;
ImitatePhotoStyleRequest::ImitatePhotoStyleRequest() : ImitatePhotoStyleRequest::ImitatePhotoStyleRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle") : RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest()
{}
std::string ImitatePhotoStyleRequest::getStyleUrl()const
{
return styleUrl_;
} }
void ImitatePhotoStyleRequest::setStyleUrl(const std::string& styleUrl) ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest() {}
{
styleUrl_ = styleUrl; std::string ImitatePhotoStyleRequest::getStyleUrl() const {
setBodyParameter("StyleUrl", styleUrl); return styleUrl_;
} }
std::string ImitatePhotoStyleRequest::getImageURL()const void ImitatePhotoStyleRequest::setStyleUrl(const std::string &styleUrl) {
{ styleUrl_ = styleUrl;
return imageURL_; setBodyParameter(std::string("StyleUrl"), styleUrl);
} }
void ImitatePhotoStyleRequest::setImageURL(const std::string& imageURL) std::string ImitatePhotoStyleRequest::getImageURL() const {
{ return imageURL_;
imageURL_ = imageURL; }
setBodyParameter("ImageURL", imageURL);
void ImitatePhotoStyleRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,51 +1,45 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/IntelligentCompositionRequest.h> #include <alibabacloud/imageenhan/model/IntelligentCompositionRequest.h>
using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest; using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest;
IntelligentCompositionRequest::IntelligentCompositionRequest() : IntelligentCompositionRequest::IntelligentCompositionRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition") : RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
IntelligentCompositionRequest::~IntelligentCompositionRequest()
{}
int IntelligentCompositionRequest::getNumBoxes()const
{
return numBoxes_;
} }
void IntelligentCompositionRequest::setNumBoxes(int numBoxes) IntelligentCompositionRequest::~IntelligentCompositionRequest() {}
{
numBoxes_ = numBoxes; int IntelligentCompositionRequest::getNumBoxes() const {
setBodyParameter("NumBoxes", std::to_string(numBoxes)); return numBoxes_;
} }
std::string IntelligentCompositionRequest::getImageURL()const void IntelligentCompositionRequest::setNumBoxes(int numBoxes) {
{ numBoxes_ = numBoxes;
return imageURL_; setBodyParameter(std::string("NumBoxes"), std::to_string(numBoxes));
} }
void IntelligentCompositionRequest::setImageURL(const std::string& imageURL) std::string IntelligentCompositionRequest::getImageURL() const {
{ return imageURL_;
imageURL_ = imageURL; }
setBodyParameter("ImageURL", imageURL);
void IntelligentCompositionRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,84 +1,72 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h> #include <alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h>
using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest; using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest;
MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest() : MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage") : RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest()
{}
long MakeSuperResolutionImageRequest::getUpscaleFactor()const
{
return upscaleFactor_;
} }
void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor) MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest() {}
{
upscaleFactor_ = upscaleFactor; long MakeSuperResolutionImageRequest::getUpscaleFactor() const {
setBodyParameter("UpscaleFactor", std::to_string(upscaleFactor)); return upscaleFactor_;
} }
std::string MakeSuperResolutionImageRequest::getMode()const void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor) {
{ upscaleFactor_ = upscaleFactor;
return mode_; setBodyParameter(std::string("UpscaleFactor"), std::to_string(upscaleFactor));
} }
void MakeSuperResolutionImageRequest::setMode(const std::string& mode) std::string MakeSuperResolutionImageRequest::getMode() const {
{ return mode_;
mode_ = mode;
setBodyParameter("Mode", mode);
} }
std::string MakeSuperResolutionImageRequest::getOutputFormat()const void MakeSuperResolutionImageRequest::setMode(const std::string &mode) {
{ mode_ = mode;
return outputFormat_; setBodyParameter(std::string("Mode"), mode);
} }
void MakeSuperResolutionImageRequest::setOutputFormat(const std::string& outputFormat) std::string MakeSuperResolutionImageRequest::getOutputFormat() const {
{ return outputFormat_;
outputFormat_ = outputFormat;
setBodyParameter("OutputFormat", outputFormat);
} }
std::string MakeSuperResolutionImageRequest::getUrl()const void MakeSuperResolutionImageRequest::setOutputFormat(const std::string &outputFormat) {
{ outputFormat_ = outputFormat;
return url_; setBodyParameter(std::string("OutputFormat"), outputFormat);
} }
void MakeSuperResolutionImageRequest::setUrl(const std::string& url) std::string MakeSuperResolutionImageRequest::getUrl() const {
{ return url_;
url_ = url;
setBodyParameter("Url", url);
} }
long MakeSuperResolutionImageRequest::getOutputQuality()const void MakeSuperResolutionImageRequest::setUrl(const std::string &url) {
{ url_ = url;
return outputQuality_; setBodyParameter(std::string("Url"), url);
} }
void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality) long MakeSuperResolutionImageRequest::getOutputQuality() const {
{ return outputQuality_;
outputQuality_ = outputQuality; }
setBodyParameter("OutputQuality", std::to_string(outputQuality));
void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality) {
outputQuality_ = outputQuality;
setBodyParameter(std::string("OutputQuality"), std::to_string(outputQuality));
} }

View File

@@ -1,110 +1,94 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/RecolorHDImageRequest.h> #include <alibabacloud/imageenhan/model/RecolorHDImageRequest.h>
using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest; using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest;
RecolorHDImageRequest::RecolorHDImageRequest() : RecolorHDImageRequest::RecolorHDImageRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage") : RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
RecolorHDImageRequest::~RecolorHDImageRequest()
{}
std::string RecolorHDImageRequest::getMode()const
{
return mode_;
} }
void RecolorHDImageRequest::setMode(const std::string& mode) RecolorHDImageRequest::~RecolorHDImageRequest() {}
{
mode_ = mode; std::string RecolorHDImageRequest::getMode() const {
setBodyParameter("Mode", mode); return mode_;
} }
int RecolorHDImageRequest::getColorCount()const void RecolorHDImageRequest::setMode(const std::string &mode) {
{ mode_ = mode;
return colorCount_; setBodyParameter(std::string("Mode"), mode);
} }
void RecolorHDImageRequest::setColorCount(int colorCount) int RecolorHDImageRequest::getColorCount() const {
{ return colorCount_;
colorCount_ = colorCount;
setBodyParameter("ColorCount", std::to_string(colorCount));
} }
std::vector<RecolorHDImageRequest::ColorTemplate> RecolorHDImageRequest::getColorTemplate()const void RecolorHDImageRequest::setColorCount(int colorCount) {
{ colorCount_ = colorCount;
return colorTemplate_; setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
} }
void RecolorHDImageRequest::setColorTemplate(const std::vector<ColorTemplate>& colorTemplate) std::vector<RecolorHDImageRequest::ColorTemplate> RecolorHDImageRequest::getColorTemplate() const {
{ return 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::string RecolorHDImageRequest::getDegree()const void RecolorHDImageRequest::setColorTemplate(const std::vector<RecolorHDImageRequest::ColorTemplate> &colorTemplate) {
{ colorTemplate_ = colorTemplate;
return degree_; 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) std::string RecolorHDImageRequest::getDegree() const {
{ return degree_;
degree_ = degree;
setBodyParameter("Degree", degree);
} }
std::string RecolorHDImageRequest::getUrl()const void RecolorHDImageRequest::setDegree(const std::string &degree) {
{ degree_ = degree;
return url_; setBodyParameter(std::string("Degree"), degree);
} }
void RecolorHDImageRequest::setUrl(const std::string& url) std::string RecolorHDImageRequest::getUrl() const {
{ return url_;
url_ = url;
setBodyParameter("Url", url);
} }
bool RecolorHDImageRequest::getAsync()const void RecolorHDImageRequest::setUrl(const std::string &url) {
{ url_ = url;
return async_; setBodyParameter(std::string("Url"), url);
} }
void RecolorHDImageRequest::setAsync(bool async) bool RecolorHDImageRequest::getAsync() const {
{ return async_;
async_ = async;
setBodyParameter("Async", async ? "true" : "false");
} }
std::string RecolorHDImageRequest::getRefUrl()const void RecolorHDImageRequest::setAsync(bool async) {
{ async_ = async;
return refUrl_; setBodyParameter(std::string("Async"), async ? "true" : "false");
} }
void RecolorHDImageRequest::setRefUrl(const std::string& refUrl) std::string RecolorHDImageRequest::getRefUrl() const {
{ return refUrl_;
refUrl_ = refUrl; }
setBodyParameter("RefUrl", refUrl);
void RecolorHDImageRequest::setRefUrl(const std::string &refUrl) {
refUrl_ = refUrl;
setBodyParameter(std::string("RefUrl"), refUrl);
} }

View File

@@ -1,88 +1,76 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/RecolorImageRequest.h> #include <alibabacloud/imageenhan/model/RecolorImageRequest.h>
using AlibabaCloud::Imageenhan::Model::RecolorImageRequest; using AlibabaCloud::Imageenhan::Model::RecolorImageRequest;
RecolorImageRequest::RecolorImageRequest() : RecolorImageRequest::RecolorImageRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage") : RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
RecolorImageRequest::~RecolorImageRequest()
{}
std::string RecolorImageRequest::getMode()const
{
return mode_;
} }
void RecolorImageRequest::setMode(const std::string& mode) RecolorImageRequest::~RecolorImageRequest() {}
{
mode_ = mode; std::string RecolorImageRequest::getMode() const {
setBodyParameter("Mode", mode); return mode_;
} }
int RecolorImageRequest::getColorCount()const void RecolorImageRequest::setMode(const std::string &mode) {
{ mode_ = mode;
return colorCount_; setBodyParameter(std::string("Mode"), mode);
} }
void RecolorImageRequest::setColorCount(int colorCount) int RecolorImageRequest::getColorCount() const {
{ return colorCount_;
colorCount_ = colorCount;
setBodyParameter("ColorCount", std::to_string(colorCount));
} }
std::vector<RecolorImageRequest::ColorTemplate> RecolorImageRequest::getColorTemplate()const void RecolorImageRequest::setColorCount(int colorCount) {
{ colorCount_ = colorCount;
return colorTemplate_; setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
} }
void RecolorImageRequest::setColorTemplate(const std::vector<ColorTemplate>& colorTemplate) std::vector<RecolorImageRequest::ColorTemplate> RecolorImageRequest::getColorTemplate() const {
{ return 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::string RecolorImageRequest::getUrl()const void RecolorImageRequest::setColorTemplate(const std::vector<RecolorImageRequest::ColorTemplate> &colorTemplate) {
{ colorTemplate_ = colorTemplate;
return url_; 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) std::string RecolorImageRequest::getUrl() const {
{ return url_;
url_ = url;
setBodyParameter("Url", url);
} }
std::string RecolorImageRequest::getRefUrl()const void RecolorImageRequest::setUrl(const std::string &url) {
{ url_ = url;
return refUrl_; setBodyParameter(std::string("Url"), url);
} }
void RecolorImageRequest::setRefUrl(const std::string& refUrl) std::string RecolorImageRequest::getRefUrl() const {
{ return refUrl_;
refUrl_ = refUrl; }
setBodyParameter("RefUrl", refUrl);
void RecolorImageRequest::setRefUrl(const std::string &refUrl) {
refUrl_ = refUrl;
setBodyParameter(std::string("RefUrl"), refUrl);
} }

View File

@@ -1,84 +1,72 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h> #include <alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h>
using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest; using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest;
RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest() : RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles") : RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest()
{}
float RemoveImageSubtitlesRequest::getBH()const
{
return bH_;
} }
void RemoveImageSubtitlesRequest::setBH(float bH) RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest() {}
{
bH_ = bH; float RemoveImageSubtitlesRequest::getBH() const {
setBodyParameter("BH", std::to_string(bH)); return bH_;
} }
float RemoveImageSubtitlesRequest::getBW()const void RemoveImageSubtitlesRequest::setBH(float bH) {
{ bH_ = bH;
return bW_; setBodyParameter(std::string("BH"), std::to_string(bH));
} }
void RemoveImageSubtitlesRequest::setBW(float bW) float RemoveImageSubtitlesRequest::getBW() const {
{ return bW_;
bW_ = bW;
setBodyParameter("BW", std::to_string(bW));
} }
float RemoveImageSubtitlesRequest::getBX()const void RemoveImageSubtitlesRequest::setBW(float bW) {
{ bW_ = bW;
return bX_; setBodyParameter(std::string("BW"), std::to_string(bW));
} }
void RemoveImageSubtitlesRequest::setBX(float bX) float RemoveImageSubtitlesRequest::getBX() const {
{ return bX_;
bX_ = bX;
setBodyParameter("BX", std::to_string(bX));
} }
float RemoveImageSubtitlesRequest::getBY()const void RemoveImageSubtitlesRequest::setBX(float bX) {
{ bX_ = bX;
return bY_; setBodyParameter(std::string("BX"), std::to_string(bX));
} }
void RemoveImageSubtitlesRequest::setBY(float bY) float RemoveImageSubtitlesRequest::getBY() const {
{ return bY_;
bY_ = bY;
setBodyParameter("BY", std::to_string(bY));
} }
std::string RemoveImageSubtitlesRequest::getImageURL()const void RemoveImageSubtitlesRequest::setBY(float bY) {
{ bY_ = bY;
return imageURL_; setBodyParameter(std::string("BY"), std::to_string(bY));
} }
void RemoveImageSubtitlesRequest::setImageURL(const std::string& imageURL) std::string RemoveImageSubtitlesRequest::getImageURL() const {
{ return imageURL_;
imageURL_ = imageURL; }
setBodyParameter("ImageURL", imageURL);
void RemoveImageSubtitlesRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }

View File

@@ -1,40 +1,36 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include <alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h> #include <alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h>
using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest; using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest;
RemoveImageWatermarkRequest::RemoveImageWatermarkRequest() : RemoveImageWatermarkRequest::RemoveImageWatermarkRequest()
RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark") : RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark") {
{ setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::Post);
}
RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest()
{}
std::string RemoveImageWatermarkRequest::getImageURL()const
{
return imageURL_;
} }
void RemoveImageWatermarkRequest::setImageURL(const std::string& imageURL) RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest() {}
{
imageURL_ = imageURL; std::string RemoveImageWatermarkRequest::getImageURL() const {
setBodyParameter("ImageURL", imageURL); return imageURL_;
}
void RemoveImageWatermarkRequest::setImageURL(const std::string &imageURL) {
imageURL_ = imageURL;
setBodyParameter(std::string("ImageURL"), imageURL);
} }