From dce3c275472d28b644b0b4538084883df11e59a2 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 9 Nov 2022 06:40:47 +0000 Subject: [PATCH] Release EstimateMonocularVideoDepth. --- VERSION | 2 +- .../EstimateMonocularImageDepthRequest.h | 68 +++++++--------- .../EstimateMonocularVideoDepthRequest.h | 80 +++++++++---------- .../model/EstimateStereoImageDepthRequest.h | 74 ++++++++--------- .../model/GetAsyncJobResultRequest.h | 74 ++++++++--------- .../ReconstructBodyBySingleImageRequest.h | 68 +++++++--------- .../model/ReconstructThreeDMultiViewRequest.h | 80 +++++++++---------- .../EstimateMonocularImageDepthRequest.cc | 46 +++++------ .../EstimateMonocularVideoDepthRequest.cc | 70 +++++++--------- .../model/EstimateStereoImageDepthRequest.cc | 58 ++++++-------- .../src/model/GetAsyncJobResultRequest.cc | 58 ++++++-------- .../ReconstructBodyBySingleImageRequest.cc | 46 +++++------ .../ReconstructThreeDMultiViewRequest.cc | 70 +++++++--------- 13 files changed, 361 insertions(+), 433 deletions(-) diff --git a/VERSION b/VERSION index f1d75d371..20d2bc210 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1327 \ No newline at end of file +1.36.1328 \ No newline at end of file diff --git a/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularImageDepthRequest.h b/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularImageDepthRequest.h index a4ee79a27..96898d782 100644 --- a/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularImageDepthRequest.h +++ b/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularImageDepthRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARIMAGEDEPTHREQUEST_H_ -#define ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARIMAGEDEPTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Threedvision - { - namespace Model - { - class ALIBABACLOUD_THREEDVISION_EXPORT EstimateMonocularImageDepthRequest : public RpcServiceRequest - { - - public: - EstimateMonocularImageDepthRequest(); - ~EstimateMonocularImageDepthRequest(); - - std::string getImageURL()const; - void setImageURL(const std::string& imageURL); - - private: - std::string imageURL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARIMAGEDEPTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARIMAGEDEPTHREQUEST_H_ +#define ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARIMAGEDEPTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Threedvision { +namespace Model { +class ALIBABACLOUD_THREEDVISION_EXPORT EstimateMonocularImageDepthRequest : public RpcServiceRequest { +public: + EstimateMonocularImageDepthRequest(); + ~EstimateMonocularImageDepthRequest(); + std::string getImageURL() const; + void setImageURL(const std::string &imageURL); + +private: + std::string imageURL_; +}; +} // namespace Model +} // namespace Threedvision +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARIMAGEDEPTHREQUEST_H_ diff --git a/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularVideoDepthRequest.h b/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularVideoDepthRequest.h index 37f600469..aa87bd1a2 100644 --- a/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularVideoDepthRequest.h +++ b/threedvision/include/alibabacloud/threedvision/model/EstimateMonocularVideoDepthRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARVIDEODEPTHREQUEST_H_ -#define ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARVIDEODEPTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Threedvision - { - namespace Model - { - class ALIBABACLOUD_THREEDVISION_EXPORT EstimateMonocularVideoDepthRequest : public RpcServiceRequest - { - - public: - EstimateMonocularVideoDepthRequest(); - ~EstimateMonocularVideoDepthRequest(); - - std::string getSampleRate()const; - void setSampleRate(const std::string& sampleRate); - bool getAsync()const; - void setAsync(bool async); - std::string getVideoURL()const; - void setVideoURL(const std::string& videoURL); - - private: - std::string sampleRate_; - bool async_; - std::string videoURL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARVIDEODEPTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARVIDEODEPTHREQUEST_H_ +#define ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARVIDEODEPTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Threedvision { +namespace Model { +class ALIBABACLOUD_THREEDVISION_EXPORT EstimateMonocularVideoDepthRequest : public RpcServiceRequest { +public: + EstimateMonocularVideoDepthRequest(); + ~EstimateMonocularVideoDepthRequest(); + std::string getSampleRate() const; + void setSampleRate(const std::string &sampleRate); + bool getAsync() const; + void setAsync(bool async); + std::string getVideoURL() const; + void setVideoURL(const std::string &videoURL); + +private: + std::string sampleRate_; + bool async_; + std::string videoURL_; +}; +} // namespace Model +} // namespace Threedvision +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATEMONOCULARVIDEODEPTHREQUEST_H_ diff --git a/threedvision/include/alibabacloud/threedvision/model/EstimateStereoImageDepthRequest.h b/threedvision/include/alibabacloud/threedvision/model/EstimateStereoImageDepthRequest.h index 5dd554573..32e922d23 100644 --- a/threedvision/include/alibabacloud/threedvision/model/EstimateStereoImageDepthRequest.h +++ b/threedvision/include/alibabacloud/threedvision/model/EstimateStereoImageDepthRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATESTEREOIMAGEDEPTHREQUEST_H_ -#define ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATESTEREOIMAGEDEPTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Threedvision - { - namespace Model - { - class ALIBABACLOUD_THREEDVISION_EXPORT EstimateStereoImageDepthRequest : public RpcServiceRequest - { - - public: - EstimateStereoImageDepthRequest(); - ~EstimateStereoImageDepthRequest(); - - std::string getRightImageURL()const; - void setRightImageURL(const std::string& rightImageURL); - std::string getLeftImageURL()const; - void setLeftImageURL(const std::string& leftImageURL); - - private: - std::string rightImageURL_; - std::string leftImageURL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATESTEREOIMAGEDEPTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATESTEREOIMAGEDEPTHREQUEST_H_ +#define ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATESTEREOIMAGEDEPTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Threedvision { +namespace Model { +class ALIBABACLOUD_THREEDVISION_EXPORT EstimateStereoImageDepthRequest : public RpcServiceRequest { +public: + EstimateStereoImageDepthRequest(); + ~EstimateStereoImageDepthRequest(); + std::string getRightImageURL() const; + void setRightImageURL(const std::string &rightImageURL); + std::string getLeftImageURL() const; + void setLeftImageURL(const std::string &leftImageURL); + +private: + std::string rightImageURL_; + std::string leftImageURL_; +}; +} // namespace Model +} // namespace Threedvision +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_THREEDVISION_MODEL_ESTIMATESTEREOIMAGEDEPTHREQUEST_H_ diff --git a/threedvision/include/alibabacloud/threedvision/model/GetAsyncJobResultRequest.h b/threedvision/include/alibabacloud/threedvision/model/GetAsyncJobResultRequest.h index 2acea1438..e49fa28f7 100644 --- a/threedvision/include/alibabacloud/threedvision/model/GetAsyncJobResultRequest.h +++ b/threedvision/include/alibabacloud/threedvision/model/GetAsyncJobResultRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_THREEDVISION_MODEL_GETASYNCJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_THREEDVISION_MODEL_GETASYNCJOBRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Threedvision - { - namespace Model - { - class ALIBABACLOUD_THREEDVISION_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest - { - - public: - GetAsyncJobResultRequest(); - ~GetAsyncJobResultRequest(); - - std::string getJobId()const; - void setJobId(const std::string& jobId); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string jobId_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_THREEDVISION_MODEL_GETASYNCJOBRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_THREEDVISION_MODEL_GETASYNCJOBRESULTREQUEST_H_ +#define ALIBABACLOUD_THREEDVISION_MODEL_GETASYNCJOBRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Threedvision { +namespace Model { +class ALIBABACLOUD_THREEDVISION_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest { +public: + GetAsyncJobResultRequest(); + ~GetAsyncJobResultRequest(); + std::string getJobId() const; + void setJobId(const std::string &jobId); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string jobId_; + bool async_; +}; +} // namespace Model +} // namespace Threedvision +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_THREEDVISION_MODEL_GETASYNCJOBRESULTREQUEST_H_ diff --git a/threedvision/include/alibabacloud/threedvision/model/ReconstructBodyBySingleImageRequest.h b/threedvision/include/alibabacloud/threedvision/model/ReconstructBodyBySingleImageRequest.h index fb015bcba..e61121917 100644 --- a/threedvision/include/alibabacloud/threedvision/model/ReconstructBodyBySingleImageRequest.h +++ b/threedvision/include/alibabacloud/threedvision/model/ReconstructBodyBySingleImageRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTBODYBYSINGLEIMAGEREQUEST_H_ -#define ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTBODYBYSINGLEIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Threedvision - { - namespace Model - { - class ALIBABACLOUD_THREEDVISION_EXPORT ReconstructBodyBySingleImageRequest : public RpcServiceRequest - { - - public: - ReconstructBodyBySingleImageRequest(); - ~ReconstructBodyBySingleImageRequest(); - - std::string getImageURL()const; - void setImageURL(const std::string& imageURL); - - private: - std::string imageURL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTBODYBYSINGLEIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTBODYBYSINGLEIMAGEREQUEST_H_ +#define ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTBODYBYSINGLEIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Threedvision { +namespace Model { +class ALIBABACLOUD_THREEDVISION_EXPORT ReconstructBodyBySingleImageRequest : public RpcServiceRequest { +public: + ReconstructBodyBySingleImageRequest(); + ~ReconstructBodyBySingleImageRequest(); + std::string getImageURL() const; + void setImageURL(const std::string &imageURL); + +private: + std::string imageURL_; +}; +} // namespace Model +} // namespace Threedvision +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTBODYBYSINGLEIMAGEREQUEST_H_ diff --git a/threedvision/include/alibabacloud/threedvision/model/ReconstructThreeDMultiViewRequest.h b/threedvision/include/alibabacloud/threedvision/model/ReconstructThreeDMultiViewRequest.h index 026034c1b..e30ad3eff 100644 --- a/threedvision/include/alibabacloud/threedvision/model/ReconstructThreeDMultiViewRequest.h +++ b/threedvision/include/alibabacloud/threedvision/model/ReconstructThreeDMultiViewRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTTHREEDMULTIVIEWREQUEST_H_ -#define ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTTHREEDMULTIVIEWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Threedvision - { - namespace Model - { - class ALIBABACLOUD_THREEDVISION_EXPORT ReconstructThreeDMultiViewRequest : public RpcServiceRequest - { - - public: - ReconstructThreeDMultiViewRequest(); - ~ReconstructThreeDMultiViewRequest(); - - std::string getMode()const; - void setMode(const std::string& mode); - std::string getZipFileUrl()const; - void setZipFileUrl(const std::string& zipFileUrl); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string mode_; - std::string zipFileUrl_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTTHREEDMULTIVIEWREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTTHREEDMULTIVIEWREQUEST_H_ +#define ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTTHREEDMULTIVIEWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Threedvision { +namespace Model { +class ALIBABACLOUD_THREEDVISION_EXPORT ReconstructThreeDMultiViewRequest : public RpcServiceRequest { +public: + ReconstructThreeDMultiViewRequest(); + ~ReconstructThreeDMultiViewRequest(); + std::string getMode() const; + void setMode(const std::string &mode); + std::string getZipFileUrl() const; + void setZipFileUrl(const std::string &zipFileUrl); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string mode_; + std::string zipFileUrl_; + bool async_; +}; +} // namespace Model +} // namespace Threedvision +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_THREEDVISION_MODEL_RECONSTRUCTTHREEDMULTIVIEWREQUEST_H_ diff --git a/threedvision/src/model/EstimateMonocularImageDepthRequest.cc b/threedvision/src/model/EstimateMonocularImageDepthRequest.cc index 2e95e8b27..33c73d8d3 100644 --- a/threedvision/src/model/EstimateMonocularImageDepthRequest.cc +++ b/threedvision/src/model/EstimateMonocularImageDepthRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Threedvision::Model::EstimateMonocularImageDepthRequest; - -EstimateMonocularImageDepthRequest::EstimateMonocularImageDepthRequest() : - RpcServiceRequest("threedvision", "2021-01-31", "EstimateMonocularImageDepth") -{ - setMethod(HttpRequest::Method::Post); -} - -EstimateMonocularImageDepthRequest::~EstimateMonocularImageDepthRequest() -{} - -std::string EstimateMonocularImageDepthRequest::getImageURL()const -{ - return imageURL_; + */ + +#include + +using AlibabaCloud::Threedvision::Model::EstimateMonocularImageDepthRequest; + +EstimateMonocularImageDepthRequest::EstimateMonocularImageDepthRequest() + : RpcServiceRequest("threedvision", "2021-01-31", "EstimateMonocularImageDepth") { + setMethod(HttpRequest::Method::Post); } -void EstimateMonocularImageDepthRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +EstimateMonocularImageDepthRequest::~EstimateMonocularImageDepthRequest() {} + +std::string EstimateMonocularImageDepthRequest::getImageURL() const { + return imageURL_; +} + +void EstimateMonocularImageDepthRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/threedvision/src/model/EstimateMonocularVideoDepthRequest.cc b/threedvision/src/model/EstimateMonocularVideoDepthRequest.cc index b389d668f..385c11555 100644 --- a/threedvision/src/model/EstimateMonocularVideoDepthRequest.cc +++ b/threedvision/src/model/EstimateMonocularVideoDepthRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Threedvision::Model::EstimateMonocularVideoDepthRequest; - -EstimateMonocularVideoDepthRequest::EstimateMonocularVideoDepthRequest() : - RpcServiceRequest("threedvision", "2021-01-31", "EstimateMonocularVideoDepth") -{ - setMethod(HttpRequest::Method::Post); -} - -EstimateMonocularVideoDepthRequest::~EstimateMonocularVideoDepthRequest() -{} - -std::string EstimateMonocularVideoDepthRequest::getSampleRate()const -{ - return sampleRate_; + */ + +#include + +using AlibabaCloud::Threedvision::Model::EstimateMonocularVideoDepthRequest; + +EstimateMonocularVideoDepthRequest::EstimateMonocularVideoDepthRequest() + : RpcServiceRequest("threedvision", "2021-01-31", "EstimateMonocularVideoDepth") { + setMethod(HttpRequest::Method::Post); } -void EstimateMonocularVideoDepthRequest::setSampleRate(const std::string& sampleRate) -{ - sampleRate_ = sampleRate; - setBodyParameter("SampleRate", sampleRate); +EstimateMonocularVideoDepthRequest::~EstimateMonocularVideoDepthRequest() {} + +std::string EstimateMonocularVideoDepthRequest::getSampleRate() const { + return sampleRate_; } -bool EstimateMonocularVideoDepthRequest::getAsync()const -{ - return async_; +void EstimateMonocularVideoDepthRequest::setSampleRate(const std::string &sampleRate) { + sampleRate_ = sampleRate; + setBodyParameter(std::string("SampleRate"), sampleRate); } -void EstimateMonocularVideoDepthRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool EstimateMonocularVideoDepthRequest::getAsync() const { + return async_; } -std::string EstimateMonocularVideoDepthRequest::getVideoURL()const -{ - return videoURL_; +void EstimateMonocularVideoDepthRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } -void EstimateMonocularVideoDepthRequest::setVideoURL(const std::string& videoURL) -{ - videoURL_ = videoURL; - setBodyParameter("VideoURL", videoURL); +std::string EstimateMonocularVideoDepthRequest::getVideoURL() const { + return videoURL_; +} + +void EstimateMonocularVideoDepthRequest::setVideoURL(const std::string &videoURL) { + videoURL_ = videoURL; + setBodyParameter(std::string("VideoURL"), videoURL); } diff --git a/threedvision/src/model/EstimateStereoImageDepthRequest.cc b/threedvision/src/model/EstimateStereoImageDepthRequest.cc index 5022e1e8b..9be5bf00d 100644 --- a/threedvision/src/model/EstimateStereoImageDepthRequest.cc +++ b/threedvision/src/model/EstimateStereoImageDepthRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Threedvision::Model::EstimateStereoImageDepthRequest; - -EstimateStereoImageDepthRequest::EstimateStereoImageDepthRequest() : - RpcServiceRequest("threedvision", "2021-01-31", "EstimateStereoImageDepth") -{ - setMethod(HttpRequest::Method::Post); -} - -EstimateStereoImageDepthRequest::~EstimateStereoImageDepthRequest() -{} - -std::string EstimateStereoImageDepthRequest::getRightImageURL()const -{ - return rightImageURL_; + */ + +#include + +using AlibabaCloud::Threedvision::Model::EstimateStereoImageDepthRequest; + +EstimateStereoImageDepthRequest::EstimateStereoImageDepthRequest() + : RpcServiceRequest("threedvision", "2021-01-31", "EstimateStereoImageDepth") { + setMethod(HttpRequest::Method::Post); } -void EstimateStereoImageDepthRequest::setRightImageURL(const std::string& rightImageURL) -{ - rightImageURL_ = rightImageURL; - setBodyParameter("RightImageURL", rightImageURL); +EstimateStereoImageDepthRequest::~EstimateStereoImageDepthRequest() {} + +std::string EstimateStereoImageDepthRequest::getRightImageURL() const { + return rightImageURL_; } -std::string EstimateStereoImageDepthRequest::getLeftImageURL()const -{ - return leftImageURL_; +void EstimateStereoImageDepthRequest::setRightImageURL(const std::string &rightImageURL) { + rightImageURL_ = rightImageURL; + setBodyParameter(std::string("RightImageURL"), rightImageURL); } -void EstimateStereoImageDepthRequest::setLeftImageURL(const std::string& leftImageURL) -{ - leftImageURL_ = leftImageURL; - setBodyParameter("LeftImageURL", leftImageURL); +std::string EstimateStereoImageDepthRequest::getLeftImageURL() const { + return leftImageURL_; +} + +void EstimateStereoImageDepthRequest::setLeftImageURL(const std::string &leftImageURL) { + leftImageURL_ = leftImageURL; + setBodyParameter(std::string("LeftImageURL"), leftImageURL); } diff --git a/threedvision/src/model/GetAsyncJobResultRequest.cc b/threedvision/src/model/GetAsyncJobResultRequest.cc index ec4ddac56..5ec3f0985 100644 --- a/threedvision/src/model/GetAsyncJobResultRequest.cc +++ b/threedvision/src/model/GetAsyncJobResultRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Threedvision::Model::GetAsyncJobResultRequest; - -GetAsyncJobResultRequest::GetAsyncJobResultRequest() : - RpcServiceRequest("threedvision", "2021-01-31", "GetAsyncJobResult") -{ - setMethod(HttpRequest::Method::Post); -} - -GetAsyncJobResultRequest::~GetAsyncJobResultRequest() -{} - -std::string GetAsyncJobResultRequest::getJobId()const -{ - return jobId_; + */ + +#include + +using AlibabaCloud::Threedvision::Model::GetAsyncJobResultRequest; + +GetAsyncJobResultRequest::GetAsyncJobResultRequest() + : RpcServiceRequest("threedvision", "2021-01-31", "GetAsyncJobResult") { + setMethod(HttpRequest::Method::Post); } -void GetAsyncJobResultRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setBodyParameter("JobId", jobId); +GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {} + +std::string GetAsyncJobResultRequest::getJobId() const { + return jobId_; } -bool GetAsyncJobResultRequest::getAsync()const -{ - return async_; +void GetAsyncJobResultRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setBodyParameter(std::string("JobId"), jobId); } -void GetAsyncJobResultRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool GetAsyncJobResultRequest::getAsync() const { + return async_; +} + +void GetAsyncJobResultRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/threedvision/src/model/ReconstructBodyBySingleImageRequest.cc b/threedvision/src/model/ReconstructBodyBySingleImageRequest.cc index 0e3cbd99a..1216769ff 100644 --- a/threedvision/src/model/ReconstructBodyBySingleImageRequest.cc +++ b/threedvision/src/model/ReconstructBodyBySingleImageRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Threedvision::Model::ReconstructBodyBySingleImageRequest; - -ReconstructBodyBySingleImageRequest::ReconstructBodyBySingleImageRequest() : - RpcServiceRequest("threedvision", "2021-01-31", "ReconstructBodyBySingleImage") -{ - setMethod(HttpRequest::Method::Post); -} - -ReconstructBodyBySingleImageRequest::~ReconstructBodyBySingleImageRequest() -{} - -std::string ReconstructBodyBySingleImageRequest::getImageURL()const -{ - return imageURL_; + */ + +#include + +using AlibabaCloud::Threedvision::Model::ReconstructBodyBySingleImageRequest; + +ReconstructBodyBySingleImageRequest::ReconstructBodyBySingleImageRequest() + : RpcServiceRequest("threedvision", "2021-01-31", "ReconstructBodyBySingleImage") { + setMethod(HttpRequest::Method::Post); } -void ReconstructBodyBySingleImageRequest::setImageURL(const std::string& imageURL) -{ - imageURL_ = imageURL; - setBodyParameter("ImageURL", imageURL); +ReconstructBodyBySingleImageRequest::~ReconstructBodyBySingleImageRequest() {} + +std::string ReconstructBodyBySingleImageRequest::getImageURL() const { + return imageURL_; +} + +void ReconstructBodyBySingleImageRequest::setImageURL(const std::string &imageURL) { + imageURL_ = imageURL; + setBodyParameter(std::string("ImageURL"), imageURL); } diff --git a/threedvision/src/model/ReconstructThreeDMultiViewRequest.cc b/threedvision/src/model/ReconstructThreeDMultiViewRequest.cc index 346ee0b00..38da8444b 100644 --- a/threedvision/src/model/ReconstructThreeDMultiViewRequest.cc +++ b/threedvision/src/model/ReconstructThreeDMultiViewRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Threedvision::Model::ReconstructThreeDMultiViewRequest; - -ReconstructThreeDMultiViewRequest::ReconstructThreeDMultiViewRequest() : - RpcServiceRequest("threedvision", "2021-01-31", "ReconstructThreeDMultiView") -{ - setMethod(HttpRequest::Method::Post); -} - -ReconstructThreeDMultiViewRequest::~ReconstructThreeDMultiViewRequest() -{} - -std::string ReconstructThreeDMultiViewRequest::getMode()const -{ - return mode_; + */ + +#include + +using AlibabaCloud::Threedvision::Model::ReconstructThreeDMultiViewRequest; + +ReconstructThreeDMultiViewRequest::ReconstructThreeDMultiViewRequest() + : RpcServiceRequest("threedvision", "2021-01-31", "ReconstructThreeDMultiView") { + setMethod(HttpRequest::Method::Post); } -void ReconstructThreeDMultiViewRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setBodyParameter("Mode", mode); +ReconstructThreeDMultiViewRequest::~ReconstructThreeDMultiViewRequest() {} + +std::string ReconstructThreeDMultiViewRequest::getMode() const { + return mode_; } -std::string ReconstructThreeDMultiViewRequest::getZipFileUrl()const -{ - return zipFileUrl_; +void ReconstructThreeDMultiViewRequest::setMode(const std::string &mode) { + mode_ = mode; + setBodyParameter(std::string("Mode"), mode); } -void ReconstructThreeDMultiViewRequest::setZipFileUrl(const std::string& zipFileUrl) -{ - zipFileUrl_ = zipFileUrl; - setBodyParameter("ZipFileUrl", zipFileUrl); +std::string ReconstructThreeDMultiViewRequest::getZipFileUrl() const { + return zipFileUrl_; } -bool ReconstructThreeDMultiViewRequest::getAsync()const -{ - return async_; +void ReconstructThreeDMultiViewRequest::setZipFileUrl(const std::string &zipFileUrl) { + zipFileUrl_ = zipFileUrl; + setBodyParameter(std::string("ZipFileUrl"), zipFileUrl); } -void ReconstructThreeDMultiViewRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool ReconstructThreeDMultiViewRequest::getAsync() const { + return async_; +} + +void ReconstructThreeDMultiViewRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); }