Update MakeSuperResolutionImage.
This commit is contained in:
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/AssessCompositionRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest;
|
||||
|
||||
AssessCompositionRequest::AssessCompositionRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssessCompositionRequest::~AssessCompositionRequest()
|
||||
{}
|
||||
|
||||
std::string AssessCompositionRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/AssessCompositionRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::AssessCompositionRequest;
|
||||
|
||||
AssessCompositionRequest::AssessCompositionRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "AssessComposition") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AssessCompositionRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
AssessCompositionRequest::~AssessCompositionRequest() {}
|
||||
|
||||
std::string AssessCompositionRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void AssessCompositionRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/AssessExposureRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::AssessExposureRequest;
|
||||
|
||||
AssessExposureRequest::AssessExposureRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssessExposureRequest::~AssessExposureRequest()
|
||||
{}
|
||||
|
||||
std::string AssessExposureRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/AssessExposureRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::AssessExposureRequest;
|
||||
|
||||
AssessExposureRequest::AssessExposureRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "AssessExposure") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AssessExposureRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
AssessExposureRequest::~AssessExposureRequest() {}
|
||||
|
||||
std::string AssessExposureRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void AssessExposureRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/AssessSharpnessRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest;
|
||||
|
||||
AssessSharpnessRequest::AssessSharpnessRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssessSharpnessRequest::~AssessSharpnessRequest()
|
||||
{}
|
||||
|
||||
std::string AssessSharpnessRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/AssessSharpnessRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::AssessSharpnessRequest;
|
||||
|
||||
AssessSharpnessRequest::AssessSharpnessRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "AssessSharpness") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AssessSharpnessRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
AssessSharpnessRequest::~AssessSharpnessRequest() {}
|
||||
|
||||
std::string AssessSharpnessRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void AssessSharpnessRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ChangeImageSizeRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest;
|
||||
|
||||
ChangeImageSizeRequest::ChangeImageSizeRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeImageSizeRequest::~ChangeImageSizeRequest()
|
||||
{}
|
||||
|
||||
int ChangeImageSizeRequest::getHeight()const
|
||||
{
|
||||
return height_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ChangeImageSizeRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ChangeImageSizeRequest;
|
||||
|
||||
ChangeImageSizeRequest::ChangeImageSizeRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ChangeImageSize") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ChangeImageSizeRequest::setHeight(int height)
|
||||
{
|
||||
height_ = height;
|
||||
setBodyParameter("Height", std::to_string(height));
|
||||
ChangeImageSizeRequest::~ChangeImageSizeRequest() {}
|
||||
|
||||
int ChangeImageSizeRequest::getHeight() const {
|
||||
return height_;
|
||||
}
|
||||
|
||||
std::string ChangeImageSizeRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
void ChangeImageSizeRequest::setHeight(int height) {
|
||||
height_ = height;
|
||||
setBodyParameter(std::string("Height"), std::to_string(height));
|
||||
}
|
||||
|
||||
void ChangeImageSizeRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
std::string ChangeImageSizeRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
int ChangeImageSizeRequest::getWidth()const
|
||||
{
|
||||
return width_;
|
||||
void ChangeImageSizeRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void ChangeImageSizeRequest::setWidth(int width)
|
||||
{
|
||||
width_ = width;
|
||||
setBodyParameter("Width", std::to_string(width));
|
||||
int ChangeImageSizeRequest::getWidth() const {
|
||||
return width_;
|
||||
}
|
||||
|
||||
void ChangeImageSizeRequest::setWidth(int width) {
|
||||
width_ = width;
|
||||
setBodyParameter(std::string("Width"), std::to_string(width));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ColorizeImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest;
|
||||
|
||||
ColorizeImageRequest::ColorizeImageRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ColorizeImageRequest::~ColorizeImageRequest()
|
||||
{}
|
||||
|
||||
std::string ColorizeImageRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ColorizeImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ColorizeImageRequest;
|
||||
|
||||
ColorizeImageRequest::ColorizeImageRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ColorizeImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ColorizeImageRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
ColorizeImageRequest::~ColorizeImageRequest() {}
|
||||
|
||||
std::string ColorizeImageRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void ColorizeImageRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/EnhanceImageColorRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest;
|
||||
|
||||
EnhanceImageColorRequest::EnhanceImageColorRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnhanceImageColorRequest::~EnhanceImageColorRequest()
|
||||
{}
|
||||
|
||||
std::string EnhanceImageColorRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/EnhanceImageColorRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::EnhanceImageColorRequest;
|
||||
|
||||
EnhanceImageColorRequest::EnhanceImageColorRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "EnhanceImageColor") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void EnhanceImageColorRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setBodyParameter("Mode", mode);
|
||||
EnhanceImageColorRequest::~EnhanceImageColorRequest() {}
|
||||
|
||||
std::string EnhanceImageColorRequest::getMode() const {
|
||||
return mode_;
|
||||
}
|
||||
|
||||
std::string EnhanceImageColorRequest::getOutputFormat()const
|
||||
{
|
||||
return outputFormat_;
|
||||
void EnhanceImageColorRequest::setMode(const std::string &mode) {
|
||||
mode_ = mode;
|
||||
setBodyParameter(std::string("Mode"), mode);
|
||||
}
|
||||
|
||||
void EnhanceImageColorRequest::setOutputFormat(const std::string& outputFormat)
|
||||
{
|
||||
outputFormat_ = outputFormat;
|
||||
setBodyParameter("OutputFormat", outputFormat);
|
||||
std::string EnhanceImageColorRequest::getOutputFormat() const {
|
||||
return outputFormat_;
|
||||
}
|
||||
|
||||
std::string EnhanceImageColorRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
void EnhanceImageColorRequest::setOutputFormat(const std::string &outputFormat) {
|
||||
outputFormat_ = outputFormat;
|
||||
setBodyParameter(std::string("OutputFormat"), outputFormat);
|
||||
}
|
||||
|
||||
void EnhanceImageColorRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
std::string EnhanceImageColorRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void EnhanceImageColorRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ErasePersonRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ErasePersonRequest;
|
||||
|
||||
ErasePersonRequest::ErasePersonRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ErasePersonRequest::~ErasePersonRequest()
|
||||
{}
|
||||
|
||||
std::string ErasePersonRequest::getUserMask()const
|
||||
{
|
||||
return userMask_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ErasePersonRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ErasePersonRequest;
|
||||
|
||||
ErasePersonRequest::ErasePersonRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ErasePerson") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ErasePersonRequest::setUserMask(const std::string& userMask)
|
||||
{
|
||||
userMask_ = userMask;
|
||||
setBodyParameter("UserMask", userMask);
|
||||
ErasePersonRequest::~ErasePersonRequest() {}
|
||||
|
||||
std::string ErasePersonRequest::getUserMask() const {
|
||||
return userMask_;
|
||||
}
|
||||
|
||||
std::string ErasePersonRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
void ErasePersonRequest::setUserMask(const std::string &userMask) {
|
||||
userMask_ = userMask;
|
||||
setBodyParameter(std::string("UserMask"), userMask);
|
||||
}
|
||||
|
||||
void ErasePersonRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
std::string ErasePersonRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void ErasePersonRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ExtendImageStyleRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest;
|
||||
|
||||
ExtendImageStyleRequest::ExtendImageStyleRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExtendImageStyleRequest::~ExtendImageStyleRequest()
|
||||
{}
|
||||
|
||||
std::string ExtendImageStyleRequest::getMajorUrl()const
|
||||
{
|
||||
return majorUrl_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ExtendImageStyleRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ExtendImageStyleRequest;
|
||||
|
||||
ExtendImageStyleRequest::ExtendImageStyleRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ExtendImageStyle") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ExtendImageStyleRequest::setMajorUrl(const std::string& majorUrl)
|
||||
{
|
||||
majorUrl_ = majorUrl;
|
||||
setBodyParameter("MajorUrl", majorUrl);
|
||||
ExtendImageStyleRequest::~ExtendImageStyleRequest() {}
|
||||
|
||||
std::string ExtendImageStyleRequest::getMajorUrl() const {
|
||||
return majorUrl_;
|
||||
}
|
||||
|
||||
std::string ExtendImageStyleRequest::getStyleUrl()const
|
||||
{
|
||||
return styleUrl_;
|
||||
void ExtendImageStyleRequest::setMajorUrl(const std::string &majorUrl) {
|
||||
majorUrl_ = majorUrl;
|
||||
setBodyParameter(std::string("MajorUrl"), majorUrl);
|
||||
}
|
||||
|
||||
void ExtendImageStyleRequest::setStyleUrl(const std::string& styleUrl)
|
||||
{
|
||||
styleUrl_ = styleUrl;
|
||||
setBodyParameter("StyleUrl", styleUrl);
|
||||
std::string ExtendImageStyleRequest::getStyleUrl() const {
|
||||
return styleUrl_;
|
||||
}
|
||||
|
||||
void ExtendImageStyleRequest::setStyleUrl(const std::string &styleUrl) {
|
||||
styleUrl_ = styleUrl;
|
||||
setBodyParameter(std::string("StyleUrl"), styleUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest;
|
||||
|
||||
GenerateDynamicImageRequest::GenerateDynamicImageRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GenerateDynamicImageRequest::~GenerateDynamicImageRequest()
|
||||
{}
|
||||
|
||||
std::string GenerateDynamicImageRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/GenerateDynamicImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::GenerateDynamicImageRequest;
|
||||
|
||||
GenerateDynamicImageRequest::GenerateDynamicImageRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "GenerateDynamicImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GenerateDynamicImageRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
GenerateDynamicImageRequest::~GenerateDynamicImageRequest() {}
|
||||
|
||||
std::string GenerateDynamicImageRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
std::string GenerateDynamicImageRequest::getOperation()const
|
||||
{
|
||||
return operation_;
|
||||
void GenerateDynamicImageRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void GenerateDynamicImageRequest::setOperation(const std::string& operation)
|
||||
{
|
||||
operation_ = operation;
|
||||
setBodyParameter("Operation", operation);
|
||||
std::string GenerateDynamicImageRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GenerateDynamicImageRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setBodyParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest;
|
||||
|
||||
GetAsyncJobResultRequest::GetAsyncJobResultRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
|
||||
{}
|
||||
|
||||
std::string GetAsyncJobResultRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/GetAsyncJobResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::GetAsyncJobResultRequest;
|
||||
|
||||
GetAsyncJobResultRequest::GetAsyncJobResultRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "GetAsyncJobResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAsyncJobResultRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setBodyParameter("JobId", jobId);
|
||||
GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
|
||||
|
||||
std::string GetAsyncJobResultRequest::getJobId() const {
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
bool GetAsyncJobResultRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
|
||||
jobId_ = jobId;
|
||||
setBodyParameter(std::string("JobId"), jobId);
|
||||
}
|
||||
|
||||
void GetAsyncJobResultRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
bool GetAsyncJobResultRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void GetAsyncJobResultRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest;
|
||||
|
||||
ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest()
|
||||
{}
|
||||
|
||||
std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL()const
|
||||
{
|
||||
return watermarkImageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ImageBlindCharacterWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ImageBlindCharacterWatermarkRequest;
|
||||
|
||||
ImageBlindCharacterWatermarkRequest::ImageBlindCharacterWatermarkRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindCharacterWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL)
|
||||
{
|
||||
watermarkImageURL_ = watermarkImageURL;
|
||||
setBodyParameter("WatermarkImageURL", watermarkImageURL);
|
||||
ImageBlindCharacterWatermarkRequest::~ImageBlindCharacterWatermarkRequest() {}
|
||||
|
||||
std::string ImageBlindCharacterWatermarkRequest::getWatermarkImageURL() const {
|
||||
return watermarkImageURL_;
|
||||
}
|
||||
|
||||
std::string ImageBlindCharacterWatermarkRequest::getOutputFileType()const
|
||||
{
|
||||
return outputFileType_;
|
||||
void ImageBlindCharacterWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) {
|
||||
watermarkImageURL_ = watermarkImageURL;
|
||||
setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL);
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string& outputFileType)
|
||||
{
|
||||
outputFileType_ = outputFileType;
|
||||
setBodyParameter("OutputFileType", outputFileType);
|
||||
std::string ImageBlindCharacterWatermarkRequest::getOutputFileType() const {
|
||||
return outputFileType_;
|
||||
}
|
||||
|
||||
std::string ImageBlindCharacterWatermarkRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void ImageBlindCharacterWatermarkRequest::setOutputFileType(const std::string &outputFileType) {
|
||||
outputFileType_ = outputFileType;
|
||||
setBodyParameter(std::string("OutputFileType"), outputFileType);
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string ImageBlindCharacterWatermarkRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
int ImageBlindCharacterWatermarkRequest::getQualityFactor()const
|
||||
{
|
||||
return qualityFactor_;
|
||||
void ImageBlindCharacterWatermarkRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor)
|
||||
{
|
||||
qualityFactor_ = qualityFactor;
|
||||
setBodyParameter("QualityFactor", std::to_string(qualityFactor));
|
||||
int ImageBlindCharacterWatermarkRequest::getQualityFactor() const {
|
||||
return qualityFactor_;
|
||||
}
|
||||
|
||||
std::string ImageBlindCharacterWatermarkRequest::getFunctionType()const
|
||||
{
|
||||
return functionType_;
|
||||
void ImageBlindCharacterWatermarkRequest::setQualityFactor(int qualityFactor) {
|
||||
qualityFactor_ = qualityFactor;
|
||||
setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor));
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string& functionType)
|
||||
{
|
||||
functionType_ = functionType;
|
||||
setBodyParameter("FunctionType", functionType);
|
||||
std::string ImageBlindCharacterWatermarkRequest::getFunctionType() const {
|
||||
return functionType_;
|
||||
}
|
||||
|
||||
std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL()const
|
||||
{
|
||||
return originImageURL_;
|
||||
void ImageBlindCharacterWatermarkRequest::setFunctionType(const std::string &functionType) {
|
||||
functionType_ = functionType;
|
||||
setBodyParameter(std::string("FunctionType"), functionType);
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string& originImageURL)
|
||||
{
|
||||
originImageURL_ = originImageURL;
|
||||
setBodyParameter("OriginImageURL", originImageURL);
|
||||
std::string ImageBlindCharacterWatermarkRequest::getOriginImageURL() const {
|
||||
return originImageURL_;
|
||||
}
|
||||
|
||||
void ImageBlindCharacterWatermarkRequest::setOriginImageURL(const std::string &originImageURL) {
|
||||
originImageURL_ = originImageURL;
|
||||
setBodyParameter(std::string("OriginImageURL"), originImageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest;
|
||||
|
||||
ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest()
|
||||
{}
|
||||
|
||||
std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL()const
|
||||
{
|
||||
return watermarkImageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ImageBlindPicWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ImageBlindPicWatermarkRequest;
|
||||
|
||||
ImageBlindPicWatermarkRequest::ImageBlindPicWatermarkRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ImageBlindPicWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string& watermarkImageURL)
|
||||
{
|
||||
watermarkImageURL_ = watermarkImageURL;
|
||||
setBodyParameter("WatermarkImageURL", watermarkImageURL);
|
||||
ImageBlindPicWatermarkRequest::~ImageBlindPicWatermarkRequest() {}
|
||||
|
||||
std::string ImageBlindPicWatermarkRequest::getWatermarkImageURL() const {
|
||||
return watermarkImageURL_;
|
||||
}
|
||||
|
||||
std::string ImageBlindPicWatermarkRequest::getLogoURL()const
|
||||
{
|
||||
return logoURL_;
|
||||
void ImageBlindPicWatermarkRequest::setWatermarkImageURL(const std::string &watermarkImageURL) {
|
||||
watermarkImageURL_ = watermarkImageURL;
|
||||
setBodyParameter(std::string("WatermarkImageURL"), watermarkImageURL);
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setLogoURL(const std::string& logoURL)
|
||||
{
|
||||
logoURL_ = logoURL;
|
||||
setBodyParameter("LogoURL", logoURL);
|
||||
std::string ImageBlindPicWatermarkRequest::getLogoURL() const {
|
||||
return logoURL_;
|
||||
}
|
||||
|
||||
std::string ImageBlindPicWatermarkRequest::getOutputFileType()const
|
||||
{
|
||||
return outputFileType_;
|
||||
void ImageBlindPicWatermarkRequest::setLogoURL(const std::string &logoURL) {
|
||||
logoURL_ = logoURL;
|
||||
setBodyParameter(std::string("LogoURL"), logoURL);
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string& outputFileType)
|
||||
{
|
||||
outputFileType_ = outputFileType;
|
||||
setBodyParameter("OutputFileType", outputFileType);
|
||||
std::string ImageBlindPicWatermarkRequest::getOutputFileType() const {
|
||||
return outputFileType_;
|
||||
}
|
||||
|
||||
int ImageBlindPicWatermarkRequest::getQualityFactor()const
|
||||
{
|
||||
return qualityFactor_;
|
||||
void ImageBlindPicWatermarkRequest::setOutputFileType(const std::string &outputFileType) {
|
||||
outputFileType_ = outputFileType;
|
||||
setBodyParameter(std::string("OutputFileType"), outputFileType);
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor)
|
||||
{
|
||||
qualityFactor_ = qualityFactor;
|
||||
setBodyParameter("QualityFactor", std::to_string(qualityFactor));
|
||||
int ImageBlindPicWatermarkRequest::getQualityFactor() const {
|
||||
return qualityFactor_;
|
||||
}
|
||||
|
||||
std::string ImageBlindPicWatermarkRequest::getFunctionType()const
|
||||
{
|
||||
return functionType_;
|
||||
void ImageBlindPicWatermarkRequest::setQualityFactor(int qualityFactor) {
|
||||
qualityFactor_ = qualityFactor;
|
||||
setBodyParameter(std::string("QualityFactor"), std::to_string(qualityFactor));
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setFunctionType(const std::string& functionType)
|
||||
{
|
||||
functionType_ = functionType;
|
||||
setBodyParameter("FunctionType", functionType);
|
||||
std::string ImageBlindPicWatermarkRequest::getFunctionType() const {
|
||||
return functionType_;
|
||||
}
|
||||
|
||||
std::string ImageBlindPicWatermarkRequest::getOriginImageURL()const
|
||||
{
|
||||
return originImageURL_;
|
||||
void ImageBlindPicWatermarkRequest::setFunctionType(const std::string &functionType) {
|
||||
functionType_ = functionType;
|
||||
setBodyParameter(std::string("FunctionType"), functionType);
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string& originImageURL)
|
||||
{
|
||||
originImageURL_ = originImageURL;
|
||||
setBodyParameter("OriginImageURL", originImageURL);
|
||||
std::string ImageBlindPicWatermarkRequest::getOriginImageURL() const {
|
||||
return originImageURL_;
|
||||
}
|
||||
|
||||
void ImageBlindPicWatermarkRequest::setOriginImageURL(const std::string &originImageURL) {
|
||||
originImageURL_ = originImageURL;
|
||||
setBodyParameter(std::string("OriginImageURL"), originImageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest;
|
||||
|
||||
ImitatePhotoStyleRequest::ImitatePhotoStyleRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest()
|
||||
{}
|
||||
|
||||
std::string ImitatePhotoStyleRequest::getStyleUrl()const
|
||||
{
|
||||
return styleUrl_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/ImitatePhotoStyleRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::ImitatePhotoStyleRequest;
|
||||
|
||||
ImitatePhotoStyleRequest::ImitatePhotoStyleRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "ImitatePhotoStyle") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ImitatePhotoStyleRequest::setStyleUrl(const std::string& styleUrl)
|
||||
{
|
||||
styleUrl_ = styleUrl;
|
||||
setBodyParameter("StyleUrl", styleUrl);
|
||||
ImitatePhotoStyleRequest::~ImitatePhotoStyleRequest() {}
|
||||
|
||||
std::string ImitatePhotoStyleRequest::getStyleUrl() const {
|
||||
return styleUrl_;
|
||||
}
|
||||
|
||||
std::string ImitatePhotoStyleRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
void ImitatePhotoStyleRequest::setStyleUrl(const std::string &styleUrl) {
|
||||
styleUrl_ = styleUrl;
|
||||
setBodyParameter(std::string("StyleUrl"), styleUrl);
|
||||
}
|
||||
|
||||
void ImitatePhotoStyleRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
std::string ImitatePhotoStyleRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void ImitatePhotoStyleRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/IntelligentCompositionRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest;
|
||||
|
||||
IntelligentCompositionRequest::IntelligentCompositionRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
IntelligentCompositionRequest::~IntelligentCompositionRequest()
|
||||
{}
|
||||
|
||||
int IntelligentCompositionRequest::getNumBoxes()const
|
||||
{
|
||||
return numBoxes_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/IntelligentCompositionRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::IntelligentCompositionRequest;
|
||||
|
||||
IntelligentCompositionRequest::IntelligentCompositionRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "IntelligentComposition") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void IntelligentCompositionRequest::setNumBoxes(int numBoxes)
|
||||
{
|
||||
numBoxes_ = numBoxes;
|
||||
setBodyParameter("NumBoxes", std::to_string(numBoxes));
|
||||
IntelligentCompositionRequest::~IntelligentCompositionRequest() {}
|
||||
|
||||
int IntelligentCompositionRequest::getNumBoxes() const {
|
||||
return numBoxes_;
|
||||
}
|
||||
|
||||
std::string IntelligentCompositionRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
void IntelligentCompositionRequest::setNumBoxes(int numBoxes) {
|
||||
numBoxes_ = numBoxes;
|
||||
setBodyParameter(std::string("NumBoxes"), std::to_string(numBoxes));
|
||||
}
|
||||
|
||||
void IntelligentCompositionRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
std::string IntelligentCompositionRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void IntelligentCompositionRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest;
|
||||
|
||||
MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest()
|
||||
{}
|
||||
|
||||
long MakeSuperResolutionImageRequest::getUpscaleFactor()const
|
||||
{
|
||||
return upscaleFactor_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/MakeSuperResolutionImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::MakeSuperResolutionImageRequest;
|
||||
|
||||
MakeSuperResolutionImageRequest::MakeSuperResolutionImageRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "MakeSuperResolutionImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor)
|
||||
{
|
||||
upscaleFactor_ = upscaleFactor;
|
||||
setBodyParameter("UpscaleFactor", std::to_string(upscaleFactor));
|
||||
MakeSuperResolutionImageRequest::~MakeSuperResolutionImageRequest() {}
|
||||
|
||||
long MakeSuperResolutionImageRequest::getUpscaleFactor() const {
|
||||
return upscaleFactor_;
|
||||
}
|
||||
|
||||
std::string MakeSuperResolutionImageRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
void MakeSuperResolutionImageRequest::setUpscaleFactor(long upscaleFactor) {
|
||||
upscaleFactor_ = upscaleFactor;
|
||||
setBodyParameter(std::string("UpscaleFactor"), std::to_string(upscaleFactor));
|
||||
}
|
||||
|
||||
void MakeSuperResolutionImageRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setBodyParameter("Mode", mode);
|
||||
std::string MakeSuperResolutionImageRequest::getMode() const {
|
||||
return mode_;
|
||||
}
|
||||
|
||||
std::string MakeSuperResolutionImageRequest::getOutputFormat()const
|
||||
{
|
||||
return outputFormat_;
|
||||
void MakeSuperResolutionImageRequest::setMode(const std::string &mode) {
|
||||
mode_ = mode;
|
||||
setBodyParameter(std::string("Mode"), mode);
|
||||
}
|
||||
|
||||
void MakeSuperResolutionImageRequest::setOutputFormat(const std::string& outputFormat)
|
||||
{
|
||||
outputFormat_ = outputFormat;
|
||||
setBodyParameter("OutputFormat", outputFormat);
|
||||
std::string MakeSuperResolutionImageRequest::getOutputFormat() const {
|
||||
return outputFormat_;
|
||||
}
|
||||
|
||||
std::string MakeSuperResolutionImageRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
void MakeSuperResolutionImageRequest::setOutputFormat(const std::string &outputFormat) {
|
||||
outputFormat_ = outputFormat;
|
||||
setBodyParameter(std::string("OutputFormat"), outputFormat);
|
||||
}
|
||||
|
||||
void MakeSuperResolutionImageRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
std::string MakeSuperResolutionImageRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
long MakeSuperResolutionImageRequest::getOutputQuality()const
|
||||
{
|
||||
return outputQuality_;
|
||||
void MakeSuperResolutionImageRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality)
|
||||
{
|
||||
outputQuality_ = outputQuality;
|
||||
setBodyParameter("OutputQuality", std::to_string(outputQuality));
|
||||
long MakeSuperResolutionImageRequest::getOutputQuality() const {
|
||||
return outputQuality_;
|
||||
}
|
||||
|
||||
void MakeSuperResolutionImageRequest::setOutputQuality(long outputQuality) {
|
||||
outputQuality_ = outputQuality;
|
||||
setBodyParameter(std::string("OutputQuality"), std::to_string(outputQuality));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,110 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RecolorHDImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest;
|
||||
|
||||
RecolorHDImageRequest::RecolorHDImageRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RecolorHDImageRequest::~RecolorHDImageRequest()
|
||||
{}
|
||||
|
||||
std::string RecolorHDImageRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RecolorHDImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RecolorHDImageRequest;
|
||||
|
||||
RecolorHDImageRequest::RecolorHDImageRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "RecolorHDImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setBodyParameter("Mode", mode);
|
||||
RecolorHDImageRequest::~RecolorHDImageRequest() {}
|
||||
|
||||
std::string RecolorHDImageRequest::getMode() const {
|
||||
return mode_;
|
||||
}
|
||||
|
||||
int RecolorHDImageRequest::getColorCount()const
|
||||
{
|
||||
return colorCount_;
|
||||
void RecolorHDImageRequest::setMode(const std::string &mode) {
|
||||
mode_ = mode;
|
||||
setBodyParameter(std::string("Mode"), mode);
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setColorCount(int colorCount)
|
||||
{
|
||||
colorCount_ = colorCount;
|
||||
setBodyParameter("ColorCount", std::to_string(colorCount));
|
||||
int RecolorHDImageRequest::getColorCount() const {
|
||||
return colorCount_;
|
||||
}
|
||||
|
||||
std::vector<RecolorHDImageRequest::ColorTemplate> RecolorHDImageRequest::getColorTemplate()const
|
||||
{
|
||||
return colorTemplate_;
|
||||
void RecolorHDImageRequest::setColorCount(int colorCount) {
|
||||
colorCount_ = colorCount;
|
||||
setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setColorTemplate(const std::vector<ColorTemplate>& colorTemplate)
|
||||
{
|
||||
colorTemplate_ = colorTemplate;
|
||||
for(int dep1 = 0; dep1!= colorTemplate.size(); dep1++) {
|
||||
auto colorTemplateObj = colorTemplate.at(dep1);
|
||||
std::string colorTemplateObjStr = "ColorTemplate." + std::to_string(dep1 + 1);
|
||||
setParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
|
||||
}
|
||||
std::vector<RecolorHDImageRequest::ColorTemplate> RecolorHDImageRequest::getColorTemplate() const {
|
||||
return colorTemplate_;
|
||||
}
|
||||
|
||||
std::string RecolorHDImageRequest::getDegree()const
|
||||
{
|
||||
return degree_;
|
||||
void RecolorHDImageRequest::setColorTemplate(const std::vector<RecolorHDImageRequest::ColorTemplate> &colorTemplate) {
|
||||
colorTemplate_ = colorTemplate;
|
||||
for(int dep1 = 0; dep1 != colorTemplate.size(); dep1++) {
|
||||
auto colorTemplateObj = colorTemplate.at(dep1);
|
||||
std::string colorTemplateObjStr = std::string("ColorTemplate") + "." + std::to_string(dep1 + 1);
|
||||
setBodyParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
|
||||
}
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setDegree(const std::string& degree)
|
||||
{
|
||||
degree_ = degree;
|
||||
setBodyParameter("Degree", degree);
|
||||
std::string RecolorHDImageRequest::getDegree() const {
|
||||
return degree_;
|
||||
}
|
||||
|
||||
std::string RecolorHDImageRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
void RecolorHDImageRequest::setDegree(const std::string °ree) {
|
||||
degree_ = degree;
|
||||
setBodyParameter(std::string("Degree"), degree);
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
std::string RecolorHDImageRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
bool RecolorHDImageRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
void RecolorHDImageRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
bool RecolorHDImageRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
std::string RecolorHDImageRequest::getRefUrl()const
|
||||
{
|
||||
return refUrl_;
|
||||
void RecolorHDImageRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setRefUrl(const std::string& refUrl)
|
||||
{
|
||||
refUrl_ = refUrl;
|
||||
setBodyParameter("RefUrl", refUrl);
|
||||
std::string RecolorHDImageRequest::getRefUrl() const {
|
||||
return refUrl_;
|
||||
}
|
||||
|
||||
void RecolorHDImageRequest::setRefUrl(const std::string &refUrl) {
|
||||
refUrl_ = refUrl;
|
||||
setBodyParameter(std::string("RefUrl"), refUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,88 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RecolorImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RecolorImageRequest;
|
||||
|
||||
RecolorImageRequest::RecolorImageRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RecolorImageRequest::~RecolorImageRequest()
|
||||
{}
|
||||
|
||||
std::string RecolorImageRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RecolorImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RecolorImageRequest;
|
||||
|
||||
RecolorImageRequest::RecolorImageRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "RecolorImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void RecolorImageRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setBodyParameter("Mode", mode);
|
||||
RecolorImageRequest::~RecolorImageRequest() {}
|
||||
|
||||
std::string RecolorImageRequest::getMode() const {
|
||||
return mode_;
|
||||
}
|
||||
|
||||
int RecolorImageRequest::getColorCount()const
|
||||
{
|
||||
return colorCount_;
|
||||
void RecolorImageRequest::setMode(const std::string &mode) {
|
||||
mode_ = mode;
|
||||
setBodyParameter(std::string("Mode"), mode);
|
||||
}
|
||||
|
||||
void RecolorImageRequest::setColorCount(int colorCount)
|
||||
{
|
||||
colorCount_ = colorCount;
|
||||
setBodyParameter("ColorCount", std::to_string(colorCount));
|
||||
int RecolorImageRequest::getColorCount() const {
|
||||
return colorCount_;
|
||||
}
|
||||
|
||||
std::vector<RecolorImageRequest::ColorTemplate> RecolorImageRequest::getColorTemplate()const
|
||||
{
|
||||
return colorTemplate_;
|
||||
void RecolorImageRequest::setColorCount(int colorCount) {
|
||||
colorCount_ = colorCount;
|
||||
setBodyParameter(std::string("ColorCount"), std::to_string(colorCount));
|
||||
}
|
||||
|
||||
void RecolorImageRequest::setColorTemplate(const std::vector<ColorTemplate>& colorTemplate)
|
||||
{
|
||||
colorTemplate_ = colorTemplate;
|
||||
for(int dep1 = 0; dep1!= colorTemplate.size(); dep1++) {
|
||||
auto colorTemplateObj = colorTemplate.at(dep1);
|
||||
std::string colorTemplateObjStr = "ColorTemplate." + std::to_string(dep1 + 1);
|
||||
setParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
|
||||
}
|
||||
std::vector<RecolorImageRequest::ColorTemplate> RecolorImageRequest::getColorTemplate() const {
|
||||
return colorTemplate_;
|
||||
}
|
||||
|
||||
std::string RecolorImageRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
void RecolorImageRequest::setColorTemplate(const std::vector<RecolorImageRequest::ColorTemplate> &colorTemplate) {
|
||||
colorTemplate_ = colorTemplate;
|
||||
for(int dep1 = 0; dep1 != colorTemplate.size(); dep1++) {
|
||||
auto colorTemplateObj = colorTemplate.at(dep1);
|
||||
std::string colorTemplateObjStr = std::string("ColorTemplate") + "." + std::to_string(dep1 + 1);
|
||||
setBodyParameter(colorTemplateObjStr + ".Color", colorTemplateObj.color);
|
||||
}
|
||||
}
|
||||
|
||||
void RecolorImageRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
std::string RecolorImageRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
|
||||
std::string RecolorImageRequest::getRefUrl()const
|
||||
{
|
||||
return refUrl_;
|
||||
void RecolorImageRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
void RecolorImageRequest::setRefUrl(const std::string& refUrl)
|
||||
{
|
||||
refUrl_ = refUrl;
|
||||
setBodyParameter("RefUrl", refUrl);
|
||||
std::string RecolorImageRequest::getRefUrl() const {
|
||||
return refUrl_;
|
||||
}
|
||||
|
||||
void RecolorImageRequest::setRefUrl(const std::string &refUrl) {
|
||||
refUrl_ = refUrl;
|
||||
setBodyParameter(std::string("RefUrl"), refUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest;
|
||||
|
||||
RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest()
|
||||
{}
|
||||
|
||||
float RemoveImageSubtitlesRequest::getBH()const
|
||||
{
|
||||
return bH_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RemoveImageSubtitlesRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RemoveImageSubtitlesRequest;
|
||||
|
||||
RemoveImageSubtitlesRequest::RemoveImageSubtitlesRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageSubtitles") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void RemoveImageSubtitlesRequest::setBH(float bH)
|
||||
{
|
||||
bH_ = bH;
|
||||
setBodyParameter("BH", std::to_string(bH));
|
||||
RemoveImageSubtitlesRequest::~RemoveImageSubtitlesRequest() {}
|
||||
|
||||
float RemoveImageSubtitlesRequest::getBH() const {
|
||||
return bH_;
|
||||
}
|
||||
|
||||
float RemoveImageSubtitlesRequest::getBW()const
|
||||
{
|
||||
return bW_;
|
||||
void RemoveImageSubtitlesRequest::setBH(float bH) {
|
||||
bH_ = bH;
|
||||
setBodyParameter(std::string("BH"), std::to_string(bH));
|
||||
}
|
||||
|
||||
void RemoveImageSubtitlesRequest::setBW(float bW)
|
||||
{
|
||||
bW_ = bW;
|
||||
setBodyParameter("BW", std::to_string(bW));
|
||||
float RemoveImageSubtitlesRequest::getBW() const {
|
||||
return bW_;
|
||||
}
|
||||
|
||||
float RemoveImageSubtitlesRequest::getBX()const
|
||||
{
|
||||
return bX_;
|
||||
void RemoveImageSubtitlesRequest::setBW(float bW) {
|
||||
bW_ = bW;
|
||||
setBodyParameter(std::string("BW"), std::to_string(bW));
|
||||
}
|
||||
|
||||
void RemoveImageSubtitlesRequest::setBX(float bX)
|
||||
{
|
||||
bX_ = bX;
|
||||
setBodyParameter("BX", std::to_string(bX));
|
||||
float RemoveImageSubtitlesRequest::getBX() const {
|
||||
return bX_;
|
||||
}
|
||||
|
||||
float RemoveImageSubtitlesRequest::getBY()const
|
||||
{
|
||||
return bY_;
|
||||
void RemoveImageSubtitlesRequest::setBX(float bX) {
|
||||
bX_ = bX;
|
||||
setBodyParameter(std::string("BX"), std::to_string(bX));
|
||||
}
|
||||
|
||||
void RemoveImageSubtitlesRequest::setBY(float bY)
|
||||
{
|
||||
bY_ = bY;
|
||||
setBodyParameter("BY", std::to_string(bY));
|
||||
float RemoveImageSubtitlesRequest::getBY() const {
|
||||
return bY_;
|
||||
}
|
||||
|
||||
std::string RemoveImageSubtitlesRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
void RemoveImageSubtitlesRequest::setBY(float bY) {
|
||||
bY_ = bY;
|
||||
setBodyParameter(std::string("BY"), std::to_string(bY));
|
||||
}
|
||||
|
||||
void RemoveImageSubtitlesRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
std::string RemoveImageSubtitlesRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void RemoveImageSubtitlesRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest;
|
||||
|
||||
RemoveImageWatermarkRequest::RemoveImageWatermarkRequest() :
|
||||
RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveImageWatermarkRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageenhan/model/RemoveImageWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageenhan::Model::RemoveImageWatermarkRequest;
|
||||
|
||||
RemoveImageWatermarkRequest::RemoveImageWatermarkRequest()
|
||||
: RpcServiceRequest("imageenhan", "2019-09-30", "RemoveImageWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void RemoveImageWatermarkRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
RemoveImageWatermarkRequest::~RemoveImageWatermarkRequest() {}
|
||||
|
||||
std::string RemoveImageWatermarkRequest::getImageURL() const {
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void RemoveImageWatermarkRequest::setImageURL(const std::string &imageURL) {
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter(std::string("ImageURL"), imageURL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user