From edcb0cd6627bd5892b2f796f9ed1d17d824af58e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 4 Nov 2022 06:44:35 +0000 Subject: [PATCH] Release ScreenEC. --- VERSION | 2 +- .../model/AnalyzeChestVesselRequest.h | 106 ++++++------ .../imageprocess/model/CalcCACSRequest.h | 106 ++++++------ .../imageprocess/model/ClassifyFNFRequest.h | 92 +++++------ .../model/DetectCovid19CadRequest.h | 100 ++++++------ .../model/DetectHipKeypointXRayRequest.h | 92 +++++------ .../model/DetectKneeKeypointXRayRequest.h | 92 +++++------ .../model/DetectKneeXRayRequest.h | 86 +++++----- .../model/DetectLungNoduleRequest.h | 106 ++++++------ .../imageprocess/model/DetectLymphRequest.h | 88 +++++----- .../imageprocess/model/DetectPancRequest.h | 88 +++++----- .../model/DetectRibFractureRequest.h | 106 ++++++------ .../model/DetectSkinDiseaseRequest.h | 80 +++++---- .../model/DetectSkinDiseaseResult.h | 4 + .../model/DetectSpineMRIRequest.h | 94 +++++------ .../model/FeedbackSessionRequest.h | 74 ++++----- .../model/GetAsyncJobResultRequest.h | 74 ++++----- .../model/RunCTRegistrationRequest.h | 119 +++++++------- .../imageprocess/model/RunMedQARequest.h | 132 +++++++-------- .../imageprocess/model/ScreenChestCTRequest.h | 112 ++++++------- .../imageprocess/model/ScreenECRequest.h | 88 +++++----- .../imageprocess/model/SegmentOARRequest.h | 118 +++++++------- .../imageprocess/model/TranslateMedRequest.h | 80 +++++---- .../src/model/AnalyzeChestVesselRequest.cc | 114 ++++++------- imageprocess/src/model/CalcCACSRequest.cc | 114 ++++++------- imageprocess/src/model/ClassifyFNFRequest.cc | 94 +++++------ .../src/model/DetectCovid19CadRequest.cc | 102 +++++------- .../src/model/DetectHipKeypointXRayRequest.cc | 94 +++++------ .../model/DetectKneeKeypointXRayRequest.cc | 94 +++++------ .../src/model/DetectKneeXRayRequest.cc | 82 ++++------ .../src/model/DetectLungNoduleRequest.cc | 114 ++++++------- imageprocess/src/model/DetectLymphRequest.cc | 78 ++++----- imageprocess/src/model/DetectPancRequest.cc | 78 ++++----- .../src/model/DetectRibFractureRequest.cc | 114 ++++++------- .../src/model/DetectSkinDiseaseRequest.cc | 70 ++++---- .../src/model/DetectSkinDiseaseResult.cc | 8 + .../src/model/DetectSpineMRIRequest.cc | 90 +++++----- .../src/model/FeedbackSessionRequest.cc | 58 +++---- .../src/model/GetAsyncJobResultRequest.cc | 58 +++---- .../src/model/RunCTRegistrationRequest.cc | 134 +++++++-------- imageprocess/src/model/RunMedQARequest.cc | 154 ++++++++---------- .../src/model/ScreenChestCTRequest.cc | 126 +++++++------- imageprocess/src/model/ScreenECRequest.cc | 78 ++++----- imageprocess/src/model/SegmentOARRequest.cc | 139 +++++++--------- imageprocess/src/model/TranslateMedRequest.cc | 70 ++++---- 45 files changed, 1856 insertions(+), 2246 deletions(-) diff --git a/VERSION b/VERSION index 8246ffa29..16bad1814 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1322 \ No newline at end of file +1.36.1323 \ No newline at end of file diff --git a/imageprocess/include/alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h index 49bc33e52..2cedcb8d1 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h @@ -1,68 +1,60 @@ /* * 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_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT AnalyzeChestVesselRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - AnalyzeChestVesselRequest(); - ~AnalyzeChestVesselRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string dataSourceType_; - std::string orgName_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT AnalyzeChestVesselRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + AnalyzeChestVesselRequest(); + ~AnalyzeChestVesselRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string dataSourceType_; + std::string orgName_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSRequest.h index 29bbbfa97..ddee5fa25 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSRequest.h @@ -1,68 +1,60 @@ /* * 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_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT CalcCACSRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - CalcCACSRequest(); - ~CalcCACSRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string dataSourceType_; - std::string orgName_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT CalcCACSRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + CalcCACSRequest(); + ~CalcCACSRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string dataSourceType_; + std::string orgName_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/ClassifyFNFRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/ClassifyFNFRequest.h index b7a5e93f2..29098fdd1 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/ClassifyFNFRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/ClassifyFNFRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT ClassifyFNFRequest : public RpcServiceRequest - { - - public: - ClassifyFNFRequest(); - ~ClassifyFNFRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getTracerId()const; - void setTracerId(const std::string& tracerId); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - - private: - std::string orgName_; - std::string tracerId_; - std::string dataFormat_; - std::string orgId_; - std::string imageUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT ClassifyFNFRequest : public RpcServiceRequest { +public: + ClassifyFNFRequest(); + ~ClassifyFNFRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getTracerId() const; + void setTracerId(const std::string &tracerId); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + +private: + std::string orgName_; + std::string tracerId_; + std::string dataFormat_; + std::string orgId_; + std::string imageUrl_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectCovid19CadRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectCovid19CadRequest.h index d6a1b1f57..8d1c31f88 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectCovid19CadRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectCovid19CadRequest.h @@ -1,65 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectCovid19CadRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - DetectCovid19CadRequest(); - ~DetectCovid19CadRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string orgName_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectCovid19CadRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + DetectCovid19CadRequest(); + ~DetectCovid19CadRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string orgName_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectHipKeypointXRayRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectHipKeypointXRayRequest.h index ee3aa3614..a2a131370 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectHipKeypointXRayRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectHipKeypointXRayRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectHipKeypointXRayRequest : public RpcServiceRequest - { - - public: - DetectHipKeypointXRayRequest(); - ~DetectHipKeypointXRayRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getTracerId()const; - void setTracerId(const std::string& tracerId); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - - private: - std::string orgName_; - std::string tracerId_; - std::string dataFormat_; - std::string orgId_; - std::string imageUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectHipKeypointXRayRequest : public RpcServiceRequest { +public: + DetectHipKeypointXRayRequest(); + ~DetectHipKeypointXRayRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getTracerId() const; + void setTracerId(const std::string &tracerId); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + +private: + std::string orgName_; + std::string tracerId_; + std::string dataFormat_; + std::string orgId_; + std::string imageUrl_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeKeypointXRayRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeKeypointXRayRequest.h index cd30aef62..bfb70bcc4 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeKeypointXRayRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeKeypointXRayRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectKneeKeypointXRayRequest : public RpcServiceRequest - { - - public: - DetectKneeKeypointXRayRequest(); - ~DetectKneeKeypointXRayRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getTracerId()const; - void setTracerId(const std::string& tracerId); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - - private: - std::string orgName_; - std::string tracerId_; - std::string dataFormat_; - std::string orgId_; - std::string imageUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectKneeKeypointXRayRequest : public RpcServiceRequest { +public: + DetectKneeKeypointXRayRequest(); + ~DetectKneeKeypointXRayRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getTracerId() const; + void setTracerId(const std::string &tracerId); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + +private: + std::string orgName_; + std::string tracerId_; + std::string dataFormat_; + std::string orgId_; + std::string imageUrl_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeXRayRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeXRayRequest.h index b18affb67..1270c953c 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeXRayRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectKneeXRayRequest.h @@ -1,57 +1,51 @@ /* * 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_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectKneeXRayRequest : public RpcServiceRequest - { - - public: - DetectKneeXRayRequest(); - ~DetectKneeXRayRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getUrl()const; - void setUrl(const std::string& url); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string orgName_; - std::string dataFormat_; - std::string url_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectKneeXRayRequest : public RpcServiceRequest { +public: + DetectKneeXRayRequest(); + ~DetectKneeXRayRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::string getUrl() const; + void setUrl(const std::string &url); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string orgName_; + std::string dataFormat_; + std::string url_; + std::string orgId_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectLungNoduleRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectLungNoduleRequest.h index 733e061cf..f5110f445 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectLungNoduleRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectLungNoduleRequest.h @@ -1,68 +1,60 @@ /* * 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_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLungNoduleRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - DetectLungNoduleRequest(); - ~DetectLungNoduleRequest(); - - float getThreshold()const; - void setThreshold(float threshold); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - - private: - float threshold_; - std::string orgName_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLungNoduleRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + DetectLungNoduleRequest(); + ~DetectLungNoduleRequest(); + float getThreshold() const; + void setThreshold(float threshold); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + +private: + float threshold_; + std::string orgName_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectLymphRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectLymphRequest.h index 16d521b59..52a276d72 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectLymphRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectLymphRequest.h @@ -1,59 +1,51 @@ /* * 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_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLymphRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - DetectLymphRequest(); - ~DetectLymphRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string dataSourceType_; - std::vector uRLList_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLymphRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + DetectLymphRequest(); + ~DetectLymphRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string dataSourceType_; + std::vector uRLList_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectPancRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectPancRequest.h index 84c6f5a9c..41581aa71 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectPancRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectPancRequest.h @@ -1,59 +1,51 @@ /* * 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_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectPancRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - DetectPancRequest(); - ~DetectPancRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string dataSourceType_; - std::vector uRLList_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectPancRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + DetectPancRequest(); + ~DetectPancRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string dataSourceType_; + std::vector uRLList_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectRibFractureRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectRibFractureRequest.h index 86a5464a8..35fd178da 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectRibFractureRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectRibFractureRequest.h @@ -1,68 +1,60 @@ /* * 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_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectRibFractureRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - DetectRibFractureRequest(); - ~DetectRibFractureRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string orgName_; - std::string sourceType_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectRibFractureRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + DetectRibFractureRequest(); + ~DetectRibFractureRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getSourceType() const; + void setSourceType(const std::string &sourceType); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string orgName_; + std::string sourceType_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.h index a8d9d3158..4d9ccdf8c 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.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_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectSkinDiseaseRequest : public RpcServiceRequest - { - - public: - DetectSkinDiseaseRequest(); - ~DetectSkinDiseaseRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getUrl()const; - void setUrl(const std::string& url); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string orgName_; - std::string url_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectSkinDiseaseRequest : public RpcServiceRequest { +public: + DetectSkinDiseaseRequest(); + ~DetectSkinDiseaseRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getUrl() const; + void setUrl(const std::string &url); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string orgName_; + std::string url_; + std::string orgId_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseResult.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseResult.h index 6264a9207..56955337c 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseResult.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectSkinDiseaseResult.h @@ -34,7 +34,11 @@ namespace AlibabaCloud public: struct Data { + float imageQuality; + std::string bodyPart; std::string results; + std::string resultsEnglish; + std::string imageType; }; diff --git a/imageprocess/include/alibabacloud/imageprocess/model/DetectSpineMRIRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectSpineMRIRequest.h index d511e1cda..fc647c99b 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/DetectSpineMRIRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/DetectSpineMRIRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectSpineMRIRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - DetectSpineMRIRequest(); - ~DetectSpineMRIRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string orgName_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectSpineMRIRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + DetectSpineMRIRequest(); + ~DetectSpineMRIRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string orgName_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/FeedbackSessionRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/FeedbackSessionRequest.h index 8a5b11c5d..e09471cc3 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/FeedbackSessionRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/FeedbackSessionRequest.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_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT FeedbackSessionRequest : public RpcServiceRequest - { - - public: - FeedbackSessionRequest(); - ~FeedbackSessionRequest(); - - std::string getSessionId()const; - void setSessionId(const std::string& sessionId); - std::string getFeedback()const; - void setFeedback(const std::string& feedback); - - private: - std::string sessionId_; - std::string feedback_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT FeedbackSessionRequest : public RpcServiceRequest { +public: + FeedbackSessionRequest(); + ~FeedbackSessionRequest(); + std::string getSessionId() const; + void setSessionId(const std::string &sessionId); + std::string getFeedback() const; + void setFeedback(const std::string &feedback); + +private: + std::string sessionId_; + std::string feedback_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/GetAsyncJobResultRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/GetAsyncJobResultRequest.h index 01c874824..bc66b2cf5 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/GetAsyncJobResultRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/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_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_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_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_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 Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/RunCTRegistrationRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/RunCTRegistrationRequest.h index c9aee53ec..1eb97dcef 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/RunCTRegistrationRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/RunCTRegistrationRequest.h @@ -1,75 +1,66 @@ /* * 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_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT RunCTRegistrationRequest : public RpcServiceRequest - { - public: - struct ReferenceList - { - std::string referenceURL; - }; - struct FloatingList - { - std::string floatingURL; - }; - - public: - RunCTRegistrationRequest(); - ~RunCTRegistrationRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::vector getReferenceList()const; - void setReferenceList(const std::vector& referenceList); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - std::vector getFloatingList()const; - void setFloatingList(const std::vector& floatingList); - - private: - std::string dataSourceType_; - std::string orgName_; - std::vector referenceList_; - std::string dataFormat_; - std::string orgId_; - bool async_; - std::vector floatingList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT RunCTRegistrationRequest : public RpcServiceRequest { +public: + struct ReferenceList { + std::string referenceURL; + }; + struct FloatingList { + std::string floatingURL; + }; + RunCTRegistrationRequest(); + ~RunCTRegistrationRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::vector getReferenceList() const; + void setReferenceList(const std::vector &referenceList); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + std::vector getFloatingList() const; + void setFloatingList(const std::vector &floatingList); + +private: + std::string dataSourceType_; + std::string orgName_; + std::vector referenceList_; + std::string dataFormat_; + std::string orgId_; + bool async_; + std::vector floatingList_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/RunMedQARequest.h b/imageprocess/include/alibabacloud/imageprocess/model/RunMedQARequest.h index 810195d0f..309bf78a4 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/RunMedQARequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/RunMedQARequest.h @@ -1,82 +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. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT RunMedQARequest : public RpcServiceRequest - { - public: - struct AnswerImageDataList - { - std::string answerImageData; - }; - struct AnswerTextList - { - std::string answerText; - }; - struct AnswerImageURLList - { - std::string answerImageURL; - }; - - public: - RunMedQARequest(); - ~RunMedQARequest(); - - std::string getSessionId()const; - void setSessionId(const std::string& sessionId); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::vector getAnswerImageDataList()const; - void setAnswerImageDataList(const std::vector& answerImageDataList); - std::vector getAnswerTextList()const; - void setAnswerTextList(const std::vector& answerTextList); - std::string getDepartment()const; - void setDepartment(const std::string& department); - std::vector getAnswerImageURLList()const; - void setAnswerImageURLList(const std::vector& answerImageURLList); - std::string getQuestionType()const; - void setQuestionType(const std::string& questionType); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - - private: - std::string sessionId_; - std::string orgName_; - std::vector answerImageDataList_; - std::vector answerTextList_; - std::string department_; - std::vector answerImageURLList_; - std::string questionType_; - std::string orgId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT RunMedQARequest : public RpcServiceRequest { +public: + struct AnswerImageDataList { + std::string answerImageData; + }; + struct AnswerTextList { + std::string answerText; + }; + struct AnswerImageURLList { + std::string answerImageURL; + }; + RunMedQARequest(); + ~RunMedQARequest(); + std::string getSessionId() const; + void setSessionId(const std::string &sessionId); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::vector getAnswerImageDataList() const; + void setAnswerImageDataList(const std::vector &answerImageDataList); + std::vector getAnswerTextList() const; + void setAnswerTextList(const std::vector &answerTextList); + std::string getDepartment() const; + void setDepartment(const std::string &department); + std::vector getAnswerImageURLList() const; + void setAnswerImageURLList(const std::vector &answerImageURLList); + std::string getQuestionType() const; + void setQuestionType(const std::string &questionType); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + +private: + std::string sessionId_; + std::string orgName_; + std::vector answerImageDataList_; + std::vector answerTextList_; + std::string department_; + std::vector answerImageURLList_; + std::string questionType_; + std::string orgId_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h index 3a2ac8917..806fccfa2 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h @@ -1,71 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenChestCTRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - ScreenChestCTRequest(); - ~ScreenChestCTRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - long getMask()const; - void setMask(long mask); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - long getVerbose()const; - void setVerbose(long verbose); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string orgName_; - long mask_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - long verbose_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenChestCTRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + ScreenChestCTRequest(); + ~ScreenChestCTRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + long getMask() const; + void setMask(long mask); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + long getVerbose() const; + void setVerbose(long verbose); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string orgName_; + long mask_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + long verbose_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/ScreenECRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/ScreenECRequest.h index 5b762de29..f7bfa17db 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/ScreenECRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/ScreenECRequest.h @@ -1,59 +1,51 @@ /* * 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_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenECRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - ScreenECRequest(); - ~ScreenECRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string dataSourceType_; - std::vector uRLList_; - bool async_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenECRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + ScreenECRequest(); + ~ScreenECRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string dataSourceType_; + std::vector uRLList_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/SegmentOARRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/SegmentOARRequest.h index a7937a859..b27cacad4 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/SegmentOARRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/SegmentOARRequest.h @@ -1,74 +1,66 @@ /* * 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_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT SegmentOARRequest : public RpcServiceRequest - { - public: - struct URLList - { - std::string uRL; - }; - - public: - SegmentOARRequest(); - ~SegmentOARRequest(); - - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getBodyPart()const; - void setBodyPart(const std::string& bodyPart); - std::string getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::vector getURLList()const; - void setURLList(const std::vector& uRLList); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - bool getAsync()const; - void setAsync(bool async); - bool getContrast()const; - void setContrast(bool contrast); - std::vector getMaskList()const; - void setMaskList(const std::vector& maskList); - - private: - std::string orgName_; - std::string bodyPart_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - bool contrast_; - std::vector maskList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT SegmentOARRequest : public RpcServiceRequest { +public: + struct URLList { + std::string uRL; + }; + SegmentOARRequest(); + ~SegmentOARRequest(); + std::string getOrgName() const; + void setOrgName(const std::string &orgName); + std::string getBodyPart() const; + void setBodyPart(const std::string &bodyPart); + std::string getDataFormat() const; + void setDataFormat(const std::string &dataFormat); + std::vector getURLList() const; + void setURLList(const std::vector &uRLList); + std::string getOrgId() const; + void setOrgId(const std::string &orgId); + bool getAsync() const; + void setAsync(bool async); + bool getContrast() const; + void setContrast(bool contrast); + std::vector getMaskList() const; + void setMaskList(const std::vector &maskList); + +private: + std::string orgName_; + std::string bodyPart_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; + bool contrast_; + std::vector maskList_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/TranslateMedRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/TranslateMedRequest.h index add2b856f..49daa56aa 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/TranslateMedRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/TranslateMedRequest.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_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_ -#define ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imageprocess - { - namespace Model - { - class ALIBABACLOUD_IMAGEPROCESS_EXPORT TranslateMedRequest : public RpcServiceRequest - { - - public: - TranslateMedRequest(); - ~TranslateMedRequest(); - - std::string getToLanguage()const; - void setToLanguage(const std::string& toLanguage); - std::string getText()const; - void setText(const std::string& text); - std::string getFromLanguage()const; - void setFromLanguage(const std::string& fromLanguage); - - private: - std::string toLanguage_; - std::string text_; - std::string fromLanguage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_ +#define ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Imageprocess { +namespace Model { +class ALIBABACLOUD_IMAGEPROCESS_EXPORT TranslateMedRequest : public RpcServiceRequest { +public: + TranslateMedRequest(); + ~TranslateMedRequest(); + std::string getToLanguage() const; + void setToLanguage(const std::string &toLanguage); + std::string getText() const; + void setText(const std::string &text); + std::string getFromLanguage() const; + void setFromLanguage(const std::string &fromLanguage); + +private: + std::string toLanguage_; + std::string text_; + std::string fromLanguage_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_ diff --git a/imageprocess/src/model/AnalyzeChestVesselRequest.cc b/imageprocess/src/model/AnalyzeChestVesselRequest.cc index 153e3d34e..49f15527b 100644 --- a/imageprocess/src/model/AnalyzeChestVesselRequest.cc +++ b/imageprocess/src/model/AnalyzeChestVesselRequest.cc @@ -1,99 +1,85 @@ /* * 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::Imageprocess::Model::AnalyzeChestVesselRequest; - -AnalyzeChestVesselRequest::AnalyzeChestVesselRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "AnalyzeChestVessel") -{ - setMethod(HttpRequest::Method::Post); -} - -AnalyzeChestVesselRequest::~AnalyzeChestVesselRequest() -{} - -std::string AnalyzeChestVesselRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::AnalyzeChestVesselRequest; + +AnalyzeChestVesselRequest::AnalyzeChestVesselRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "AnalyzeChestVessel") { + setMethod(HttpRequest::Method::Post); } -void AnalyzeChestVesselRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setBodyParameter("DataSourceType", dataSourceType); +AnalyzeChestVesselRequest::~AnalyzeChestVesselRequest() {} + +std::string AnalyzeChestVesselRequest::getDataSourceType() const { + return dataSourceType_; } -std::string AnalyzeChestVesselRequest::getOrgName()const -{ - return orgName_; +void AnalyzeChestVesselRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void AnalyzeChestVesselRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string AnalyzeChestVesselRequest::getOrgName() const { + return orgName_; } -std::string AnalyzeChestVesselRequest::getDataFormat()const -{ - return dataFormat_; +void AnalyzeChestVesselRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void AnalyzeChestVesselRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string AnalyzeChestVesselRequest::getDataFormat() const { + return dataFormat_; } -std::vector AnalyzeChestVesselRequest::getURLList()const -{ - return uRLList_; +void AnalyzeChestVesselRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void AnalyzeChestVesselRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector AnalyzeChestVesselRequest::getURLList() const { + return uRLList_; } -std::string AnalyzeChestVesselRequest::getOrgId()const -{ - return orgId_; +void AnalyzeChestVesselRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void AnalyzeChestVesselRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string AnalyzeChestVesselRequest::getOrgId() const { + return orgId_; } -bool AnalyzeChestVesselRequest::getAsync()const -{ - return async_; +void AnalyzeChestVesselRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void AnalyzeChestVesselRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool AnalyzeChestVesselRequest::getAsync() const { + return async_; +} + +void AnalyzeChestVesselRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/CalcCACSRequest.cc b/imageprocess/src/model/CalcCACSRequest.cc index fc61083bd..48cc3dec2 100644 --- a/imageprocess/src/model/CalcCACSRequest.cc +++ b/imageprocess/src/model/CalcCACSRequest.cc @@ -1,99 +1,85 @@ /* * 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::Imageprocess::Model::CalcCACSRequest; - -CalcCACSRequest::CalcCACSRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "CalcCACS") -{ - setMethod(HttpRequest::Method::Post); -} - -CalcCACSRequest::~CalcCACSRequest() -{} - -std::string CalcCACSRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::CalcCACSRequest; + +CalcCACSRequest::CalcCACSRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "CalcCACS") { + setMethod(HttpRequest::Method::Post); } -void CalcCACSRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setBodyParameter("DataSourceType", dataSourceType); +CalcCACSRequest::~CalcCACSRequest() {} + +std::string CalcCACSRequest::getDataSourceType() const { + return dataSourceType_; } -std::string CalcCACSRequest::getOrgName()const -{ - return orgName_; +void CalcCACSRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void CalcCACSRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string CalcCACSRequest::getOrgName() const { + return orgName_; } -std::string CalcCACSRequest::getDataFormat()const -{ - return dataFormat_; +void CalcCACSRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void CalcCACSRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string CalcCACSRequest::getDataFormat() const { + return dataFormat_; } -std::vector CalcCACSRequest::getURLList()const -{ - return uRLList_; +void CalcCACSRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void CalcCACSRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector CalcCACSRequest::getURLList() const { + return uRLList_; } -std::string CalcCACSRequest::getOrgId()const -{ - return orgId_; +void CalcCACSRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void CalcCACSRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string CalcCACSRequest::getOrgId() const { + return orgId_; } -bool CalcCACSRequest::getAsync()const -{ - return async_; +void CalcCACSRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void CalcCACSRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool CalcCACSRequest::getAsync() const { + return async_; +} + +void CalcCACSRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/ClassifyFNFRequest.cc b/imageprocess/src/model/ClassifyFNFRequest.cc index 25256a08c..ab5b640a4 100644 --- a/imageprocess/src/model/ClassifyFNFRequest.cc +++ b/imageprocess/src/model/ClassifyFNFRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Imageprocess::Model::ClassifyFNFRequest; - -ClassifyFNFRequest::ClassifyFNFRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "ClassifyFNF") -{ - setMethod(HttpRequest::Method::Post); -} - -ClassifyFNFRequest::~ClassifyFNFRequest() -{} - -std::string ClassifyFNFRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::ClassifyFNFRequest; + +ClassifyFNFRequest::ClassifyFNFRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "ClassifyFNF") { + setMethod(HttpRequest::Method::Post); } -void ClassifyFNFRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +ClassifyFNFRequest::~ClassifyFNFRequest() {} + +std::string ClassifyFNFRequest::getOrgName() const { + return orgName_; } -std::string ClassifyFNFRequest::getTracerId()const -{ - return tracerId_; +void ClassifyFNFRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void ClassifyFNFRequest::setTracerId(const std::string& tracerId) -{ - tracerId_ = tracerId; - setBodyParameter("TracerId", tracerId); +std::string ClassifyFNFRequest::getTracerId() const { + return tracerId_; } -std::string ClassifyFNFRequest::getDataFormat()const -{ - return dataFormat_; +void ClassifyFNFRequest::setTracerId(const std::string &tracerId) { + tracerId_ = tracerId; + setBodyParameter(std::string("TracerId"), tracerId); } -void ClassifyFNFRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string ClassifyFNFRequest::getDataFormat() const { + return dataFormat_; } -std::string ClassifyFNFRequest::getOrgId()const -{ - return orgId_; +void ClassifyFNFRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void ClassifyFNFRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ClassifyFNFRequest::getOrgId() const { + return orgId_; } -std::string ClassifyFNFRequest::getImageUrl()const -{ - return imageUrl_; +void ClassifyFNFRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void ClassifyFNFRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setBodyParameter("ImageUrl", imageUrl); +std::string ClassifyFNFRequest::getImageUrl() const { + return imageUrl_; +} + +void ClassifyFNFRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setBodyParameter(std::string("ImageUrl"), imageUrl); } diff --git a/imageprocess/src/model/DetectCovid19CadRequest.cc b/imageprocess/src/model/DetectCovid19CadRequest.cc index 8cfa0d0c3..e36b0b0ca 100644 --- a/imageprocess/src/model/DetectCovid19CadRequest.cc +++ b/imageprocess/src/model/DetectCovid19CadRequest.cc @@ -1,88 +1,76 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Imageprocess::Model::DetectCovid19CadRequest; - -DetectCovid19CadRequest::DetectCovid19CadRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectCovid19Cad") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectCovid19CadRequest::~DetectCovid19CadRequest() -{} - -std::string DetectCovid19CadRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectCovid19CadRequest; + +DetectCovid19CadRequest::DetectCovid19CadRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectCovid19Cad") { + setMethod(HttpRequest::Method::Post); } -void DetectCovid19CadRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectCovid19CadRequest::~DetectCovid19CadRequest() {} + +std::string DetectCovid19CadRequest::getOrgName() const { + return orgName_; } -std::string DetectCovid19CadRequest::getDataFormat()const -{ - return dataFormat_; +void DetectCovid19CadRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectCovid19CadRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectCovid19CadRequest::getDataFormat() const { + return dataFormat_; } -std::vector DetectCovid19CadRequest::getURLList()const -{ - return uRLList_; +void DetectCovid19CadRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectCovid19CadRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector DetectCovid19CadRequest::getURLList() const { + return uRLList_; } -std::string DetectCovid19CadRequest::getOrgId()const -{ - return orgId_; +void DetectCovid19CadRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void DetectCovid19CadRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectCovid19CadRequest::getOrgId() const { + return orgId_; } -bool DetectCovid19CadRequest::getAsync()const -{ - return async_; +void DetectCovid19CadRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectCovid19CadRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool DetectCovid19CadRequest::getAsync() const { + return async_; +} + +void DetectCovid19CadRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/DetectHipKeypointXRayRequest.cc b/imageprocess/src/model/DetectHipKeypointXRayRequest.cc index daa56c70f..c78eea18d 100644 --- a/imageprocess/src/model/DetectHipKeypointXRayRequest.cc +++ b/imageprocess/src/model/DetectHipKeypointXRayRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Imageprocess::Model::DetectHipKeypointXRayRequest; - -DetectHipKeypointXRayRequest::DetectHipKeypointXRayRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectHipKeypointXRay") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectHipKeypointXRayRequest::~DetectHipKeypointXRayRequest() -{} - -std::string DetectHipKeypointXRayRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectHipKeypointXRayRequest; + +DetectHipKeypointXRayRequest::DetectHipKeypointXRayRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectHipKeypointXRay") { + setMethod(HttpRequest::Method::Post); } -void DetectHipKeypointXRayRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectHipKeypointXRayRequest::~DetectHipKeypointXRayRequest() {} + +std::string DetectHipKeypointXRayRequest::getOrgName() const { + return orgName_; } -std::string DetectHipKeypointXRayRequest::getTracerId()const -{ - return tracerId_; +void DetectHipKeypointXRayRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectHipKeypointXRayRequest::setTracerId(const std::string& tracerId) -{ - tracerId_ = tracerId; - setBodyParameter("TracerId", tracerId); +std::string DetectHipKeypointXRayRequest::getTracerId() const { + return tracerId_; } -std::string DetectHipKeypointXRayRequest::getDataFormat()const -{ - return dataFormat_; +void DetectHipKeypointXRayRequest::setTracerId(const std::string &tracerId) { + tracerId_ = tracerId; + setBodyParameter(std::string("TracerId"), tracerId); } -void DetectHipKeypointXRayRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectHipKeypointXRayRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectHipKeypointXRayRequest::getOrgId()const -{ - return orgId_; +void DetectHipKeypointXRayRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectHipKeypointXRayRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectHipKeypointXRayRequest::getOrgId() const { + return orgId_; } -std::string DetectHipKeypointXRayRequest::getImageUrl()const -{ - return imageUrl_; +void DetectHipKeypointXRayRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectHipKeypointXRayRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setBodyParameter("ImageUrl", imageUrl); +std::string DetectHipKeypointXRayRequest::getImageUrl() const { + return imageUrl_; +} + +void DetectHipKeypointXRayRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setBodyParameter(std::string("ImageUrl"), imageUrl); } diff --git a/imageprocess/src/model/DetectKneeKeypointXRayRequest.cc b/imageprocess/src/model/DetectKneeKeypointXRayRequest.cc index 8962935ae..f1a0fe1ef 100644 --- a/imageprocess/src/model/DetectKneeKeypointXRayRequest.cc +++ b/imageprocess/src/model/DetectKneeKeypointXRayRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Imageprocess::Model::DetectKneeKeypointXRayRequest; - -DetectKneeKeypointXRayRequest::DetectKneeKeypointXRayRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeKeypointXRay") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectKneeKeypointXRayRequest::~DetectKneeKeypointXRayRequest() -{} - -std::string DetectKneeKeypointXRayRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectKneeKeypointXRayRequest; + +DetectKneeKeypointXRayRequest::DetectKneeKeypointXRayRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeKeypointXRay") { + setMethod(HttpRequest::Method::Post); } -void DetectKneeKeypointXRayRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectKneeKeypointXRayRequest::~DetectKneeKeypointXRayRequest() {} + +std::string DetectKneeKeypointXRayRequest::getOrgName() const { + return orgName_; } -std::string DetectKneeKeypointXRayRequest::getTracerId()const -{ - return tracerId_; +void DetectKneeKeypointXRayRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectKneeKeypointXRayRequest::setTracerId(const std::string& tracerId) -{ - tracerId_ = tracerId; - setBodyParameter("TracerId", tracerId); +std::string DetectKneeKeypointXRayRequest::getTracerId() const { + return tracerId_; } -std::string DetectKneeKeypointXRayRequest::getDataFormat()const -{ - return dataFormat_; +void DetectKneeKeypointXRayRequest::setTracerId(const std::string &tracerId) { + tracerId_ = tracerId; + setBodyParameter(std::string("TracerId"), tracerId); } -void DetectKneeKeypointXRayRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectKneeKeypointXRayRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectKneeKeypointXRayRequest::getOrgId()const -{ - return orgId_; +void DetectKneeKeypointXRayRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectKneeKeypointXRayRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectKneeKeypointXRayRequest::getOrgId() const { + return orgId_; } -std::string DetectKneeKeypointXRayRequest::getImageUrl()const -{ - return imageUrl_; +void DetectKneeKeypointXRayRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectKneeKeypointXRayRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setBodyParameter("ImageUrl", imageUrl); +std::string DetectKneeKeypointXRayRequest::getImageUrl() const { + return imageUrl_; +} + +void DetectKneeKeypointXRayRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setBodyParameter(std::string("ImageUrl"), imageUrl); } diff --git a/imageprocess/src/model/DetectKneeXRayRequest.cc b/imageprocess/src/model/DetectKneeXRayRequest.cc index d19b8854c..574895012 100644 --- a/imageprocess/src/model/DetectKneeXRayRequest.cc +++ b/imageprocess/src/model/DetectKneeXRayRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Imageprocess::Model::DetectKneeXRayRequest; - -DetectKneeXRayRequest::DetectKneeXRayRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeXRay") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectKneeXRayRequest::~DetectKneeXRayRequest() -{} - -std::string DetectKneeXRayRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectKneeXRayRequest; + +DetectKneeXRayRequest::DetectKneeXRayRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeXRay") { + setMethod(HttpRequest::Method::Post); } -void DetectKneeXRayRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectKneeXRayRequest::~DetectKneeXRayRequest() {} + +std::string DetectKneeXRayRequest::getOrgName() const { + return orgName_; } -std::string DetectKneeXRayRequest::getDataFormat()const -{ - return dataFormat_; +void DetectKneeXRayRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectKneeXRayRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectKneeXRayRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectKneeXRayRequest::getUrl()const -{ - return url_; +void DetectKneeXRayRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectKneeXRayRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string DetectKneeXRayRequest::getUrl() const { + return url_; } -std::string DetectKneeXRayRequest::getOrgId()const -{ - return orgId_; +void DetectKneeXRayRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void DetectKneeXRayRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectKneeXRayRequest::getOrgId() const { + return orgId_; +} + +void DetectKneeXRayRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/imageprocess/src/model/DetectLungNoduleRequest.cc b/imageprocess/src/model/DetectLungNoduleRequest.cc index b0eedb1a7..56c2b7b61 100644 --- a/imageprocess/src/model/DetectLungNoduleRequest.cc +++ b/imageprocess/src/model/DetectLungNoduleRequest.cc @@ -1,99 +1,85 @@ /* * 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::Imageprocess::Model::DetectLungNoduleRequest; - -DetectLungNoduleRequest::DetectLungNoduleRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectLungNodule") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectLungNoduleRequest::~DetectLungNoduleRequest() -{} - -float DetectLungNoduleRequest::getThreshold()const -{ - return threshold_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectLungNoduleRequest; + +DetectLungNoduleRequest::DetectLungNoduleRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectLungNodule") { + setMethod(HttpRequest::Method::Post); } -void DetectLungNoduleRequest::setThreshold(float threshold) -{ - threshold_ = threshold; - setBodyParameter("Threshold", std::to_string(threshold)); +DetectLungNoduleRequest::~DetectLungNoduleRequest() {} + +float DetectLungNoduleRequest::getThreshold() const { + return threshold_; } -std::string DetectLungNoduleRequest::getOrgName()const -{ - return orgName_; +void DetectLungNoduleRequest::setThreshold(float threshold) { + threshold_ = threshold; + setBodyParameter(std::string("Threshold"), std::to_string(threshold)); } -void DetectLungNoduleRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string DetectLungNoduleRequest::getOrgName() const { + return orgName_; } -std::string DetectLungNoduleRequest::getDataFormat()const -{ - return dataFormat_; +void DetectLungNoduleRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectLungNoduleRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectLungNoduleRequest::getDataFormat() const { + return dataFormat_; } -std::vector DetectLungNoduleRequest::getURLList()const -{ - return uRLList_; +void DetectLungNoduleRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectLungNoduleRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector DetectLungNoduleRequest::getURLList() const { + return uRLList_; } -std::string DetectLungNoduleRequest::getOrgId()const -{ - return orgId_; +void DetectLungNoduleRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void DetectLungNoduleRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectLungNoduleRequest::getOrgId() const { + return orgId_; } -bool DetectLungNoduleRequest::getAsync()const -{ - return async_; +void DetectLungNoduleRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectLungNoduleRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool DetectLungNoduleRequest::getAsync() const { + return async_; +} + +void DetectLungNoduleRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/DetectLymphRequest.cc b/imageprocess/src/model/DetectLymphRequest.cc index c99ed2199..23ff5df06 100644 --- a/imageprocess/src/model/DetectLymphRequest.cc +++ b/imageprocess/src/model/DetectLymphRequest.cc @@ -1,66 +1,58 @@ /* * 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::Imageprocess::Model::DetectLymphRequest; - -DetectLymphRequest::DetectLymphRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectLymph") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectLymphRequest::~DetectLymphRequest() -{} - -std::string DetectLymphRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectLymphRequest; + +DetectLymphRequest::DetectLymphRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectLymph") { + setMethod(HttpRequest::Method::Post); } -void DetectLymphRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setBodyParameter("DataSourceType", dataSourceType); +DetectLymphRequest::~DetectLymphRequest() {} + +std::string DetectLymphRequest::getDataSourceType() const { + return dataSourceType_; } -std::vector DetectLymphRequest::getURLList()const -{ - return uRLList_; +void DetectLymphRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void DetectLymphRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector DetectLymphRequest::getURLList() const { + return uRLList_; } -bool DetectLymphRequest::getAsync()const -{ - return async_; +void DetectLymphRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void DetectLymphRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool DetectLymphRequest::getAsync() const { + return async_; +} + +void DetectLymphRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/DetectPancRequest.cc b/imageprocess/src/model/DetectPancRequest.cc index 6ad8e64f5..44f95348a 100644 --- a/imageprocess/src/model/DetectPancRequest.cc +++ b/imageprocess/src/model/DetectPancRequest.cc @@ -1,66 +1,58 @@ /* * 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::Imageprocess::Model::DetectPancRequest; - -DetectPancRequest::DetectPancRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectPanc") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectPancRequest::~DetectPancRequest() -{} - -std::string DetectPancRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectPancRequest; + +DetectPancRequest::DetectPancRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectPanc") { + setMethod(HttpRequest::Method::Post); } -void DetectPancRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setBodyParameter("DataSourceType", dataSourceType); +DetectPancRequest::~DetectPancRequest() {} + +std::string DetectPancRequest::getDataSourceType() const { + return dataSourceType_; } -std::vector DetectPancRequest::getURLList()const -{ - return uRLList_; +void DetectPancRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void DetectPancRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector DetectPancRequest::getURLList() const { + return uRLList_; } -bool DetectPancRequest::getAsync()const -{ - return async_; +void DetectPancRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void DetectPancRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool DetectPancRequest::getAsync() const { + return async_; +} + +void DetectPancRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/DetectRibFractureRequest.cc b/imageprocess/src/model/DetectRibFractureRequest.cc index 8df43a6d8..f695d0793 100644 --- a/imageprocess/src/model/DetectRibFractureRequest.cc +++ b/imageprocess/src/model/DetectRibFractureRequest.cc @@ -1,99 +1,85 @@ /* * 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::Imageprocess::Model::DetectRibFractureRequest; - -DetectRibFractureRequest::DetectRibFractureRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectRibFracture") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectRibFractureRequest::~DetectRibFractureRequest() -{} - -std::string DetectRibFractureRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectRibFractureRequest; + +DetectRibFractureRequest::DetectRibFractureRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectRibFracture") { + setMethod(HttpRequest::Method::Post); } -void DetectRibFractureRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectRibFractureRequest::~DetectRibFractureRequest() {} + +std::string DetectRibFractureRequest::getOrgName() const { + return orgName_; } -std::string DetectRibFractureRequest::getSourceType()const -{ - return sourceType_; +void DetectRibFractureRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectRibFractureRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setBodyParameter("SourceType", sourceType); +std::string DetectRibFractureRequest::getSourceType() const { + return sourceType_; } -std::string DetectRibFractureRequest::getDataFormat()const -{ - return dataFormat_; +void DetectRibFractureRequest::setSourceType(const std::string &sourceType) { + sourceType_ = sourceType; + setBodyParameter(std::string("SourceType"), sourceType); } -void DetectRibFractureRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectRibFractureRequest::getDataFormat() const { + return dataFormat_; } -std::vector DetectRibFractureRequest::getURLList()const -{ - return uRLList_; +void DetectRibFractureRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectRibFractureRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector DetectRibFractureRequest::getURLList() const { + return uRLList_; } -std::string DetectRibFractureRequest::getOrgId()const -{ - return orgId_; +void DetectRibFractureRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void DetectRibFractureRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectRibFractureRequest::getOrgId() const { + return orgId_; } -bool DetectRibFractureRequest::getAsync()const -{ - return async_; +void DetectRibFractureRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectRibFractureRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool DetectRibFractureRequest::getAsync() const { + return async_; +} + +void DetectRibFractureRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/DetectSkinDiseaseRequest.cc b/imageprocess/src/model/DetectSkinDiseaseRequest.cc index 769d7b4a5..3d621ed64 100644 --- a/imageprocess/src/model/DetectSkinDiseaseRequest.cc +++ b/imageprocess/src/model/DetectSkinDiseaseRequest.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::Imageprocess::Model::DetectSkinDiseaseRequest; - -DetectSkinDiseaseRequest::DetectSkinDiseaseRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectSkinDisease") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectSkinDiseaseRequest::~DetectSkinDiseaseRequest() -{} - -std::string DetectSkinDiseaseRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectSkinDiseaseRequest; + +DetectSkinDiseaseRequest::DetectSkinDiseaseRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectSkinDisease") { + setMethod(HttpRequest::Method::Post); } -void DetectSkinDiseaseRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectSkinDiseaseRequest::~DetectSkinDiseaseRequest() {} + +std::string DetectSkinDiseaseRequest::getOrgName() const { + return orgName_; } -std::string DetectSkinDiseaseRequest::getUrl()const -{ - return url_; +void DetectSkinDiseaseRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectSkinDiseaseRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string DetectSkinDiseaseRequest::getUrl() const { + return url_; } -std::string DetectSkinDiseaseRequest::getOrgId()const -{ - return orgId_; +void DetectSkinDiseaseRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void DetectSkinDiseaseRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectSkinDiseaseRequest::getOrgId() const { + return orgId_; +} + +void DetectSkinDiseaseRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/imageprocess/src/model/DetectSkinDiseaseResult.cc b/imageprocess/src/model/DetectSkinDiseaseResult.cc index 4ef79fe45..158256159 100644 --- a/imageprocess/src/model/DetectSkinDiseaseResult.cc +++ b/imageprocess/src/model/DetectSkinDiseaseResult.cc @@ -42,6 +42,14 @@ void DetectSkinDiseaseResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["Results"].isNull()) data_.results = dataNode["Results"].asString(); + if(!dataNode["ResultsEnglish"].isNull()) + data_.resultsEnglish = dataNode["ResultsEnglish"].asString(); + if(!dataNode["BodyPart"].isNull()) + data_.bodyPart = dataNode["BodyPart"].asString(); + if(!dataNode["ImageQuality"].isNull()) + data_.imageQuality = std::stof(dataNode["ImageQuality"].asString()); + if(!dataNode["ImageType"].isNull()) + data_.imageType = dataNode["ImageType"].asString(); } diff --git a/imageprocess/src/model/DetectSpineMRIRequest.cc b/imageprocess/src/model/DetectSpineMRIRequest.cc index 753f22361..278e11e63 100644 --- a/imageprocess/src/model/DetectSpineMRIRequest.cc +++ b/imageprocess/src/model/DetectSpineMRIRequest.cc @@ -1,77 +1,67 @@ /* * 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::Imageprocess::Model::DetectSpineMRIRequest; - -DetectSpineMRIRequest::DetectSpineMRIRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "DetectSpineMRI") -{ - setMethod(HttpRequest::Method::Post); -} - -DetectSpineMRIRequest::~DetectSpineMRIRequest() -{} - -std::string DetectSpineMRIRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectSpineMRIRequest; + +DetectSpineMRIRequest::DetectSpineMRIRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectSpineMRI") { + setMethod(HttpRequest::Method::Post); } -void DetectSpineMRIRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +DetectSpineMRIRequest::~DetectSpineMRIRequest() {} + +std::string DetectSpineMRIRequest::getOrgName() const { + return orgName_; } -std::string DetectSpineMRIRequest::getDataFormat()const -{ - return dataFormat_; +void DetectSpineMRIRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectSpineMRIRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string DetectSpineMRIRequest::getDataFormat() const { + return dataFormat_; } -std::vector DetectSpineMRIRequest::getURLList()const -{ - return uRLList_; +void DetectSpineMRIRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectSpineMRIRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector DetectSpineMRIRequest::getURLList() const { + return uRLList_; } -std::string DetectSpineMRIRequest::getOrgId()const -{ - return orgId_; +void DetectSpineMRIRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void DetectSpineMRIRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectSpineMRIRequest::getOrgId() const { + return orgId_; +} + +void DetectSpineMRIRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/imageprocess/src/model/FeedbackSessionRequest.cc b/imageprocess/src/model/FeedbackSessionRequest.cc index eab73a2ee..22e8adea1 100644 --- a/imageprocess/src/model/FeedbackSessionRequest.cc +++ b/imageprocess/src/model/FeedbackSessionRequest.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::Imageprocess::Model::FeedbackSessionRequest; - -FeedbackSessionRequest::FeedbackSessionRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "FeedbackSession") -{ - setMethod(HttpRequest::Method::Post); -} - -FeedbackSessionRequest::~FeedbackSessionRequest() -{} - -std::string FeedbackSessionRequest::getSessionId()const -{ - return sessionId_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::FeedbackSessionRequest; + +FeedbackSessionRequest::FeedbackSessionRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "FeedbackSession") { + setMethod(HttpRequest::Method::Post); } -void FeedbackSessionRequest::setSessionId(const std::string& sessionId) -{ - sessionId_ = sessionId; - setBodyParameter("SessionId", sessionId); +FeedbackSessionRequest::~FeedbackSessionRequest() {} + +std::string FeedbackSessionRequest::getSessionId() const { + return sessionId_; } -std::string FeedbackSessionRequest::getFeedback()const -{ - return feedback_; +void FeedbackSessionRequest::setSessionId(const std::string &sessionId) { + sessionId_ = sessionId; + setBodyParameter(std::string("SessionId"), sessionId); } -void FeedbackSessionRequest::setFeedback(const std::string& feedback) -{ - feedback_ = feedback; - setBodyParameter("Feedback", feedback); +std::string FeedbackSessionRequest::getFeedback() const { + return feedback_; +} + +void FeedbackSessionRequest::setFeedback(const std::string &feedback) { + feedback_ = feedback; + setBodyParameter(std::string("Feedback"), feedback); } diff --git a/imageprocess/src/model/GetAsyncJobResultRequest.cc b/imageprocess/src/model/GetAsyncJobResultRequest.cc index c7d16b7d1..5aca5e2b7 100644 --- a/imageprocess/src/model/GetAsyncJobResultRequest.cc +++ b/imageprocess/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::Imageprocess::Model::GetAsyncJobResultRequest; - -GetAsyncJobResultRequest::GetAsyncJobResultRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "GetAsyncJobResult") -{ - setMethod(HttpRequest::Method::Post); -} - -GetAsyncJobResultRequest::~GetAsyncJobResultRequest() -{} - -std::string GetAsyncJobResultRequest::getJobId()const -{ - return jobId_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::GetAsyncJobResultRequest; + +GetAsyncJobResultRequest::GetAsyncJobResultRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "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/imageprocess/src/model/RunCTRegistrationRequest.cc b/imageprocess/src/model/RunCTRegistrationRequest.cc index cea6afb21..b6f9b7d0b 100644 --- a/imageprocess/src/model/RunCTRegistrationRequest.cc +++ b/imageprocess/src/model/RunCTRegistrationRequest.cc @@ -1,114 +1,98 @@ /* * 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::Imageprocess::Model::RunCTRegistrationRequest; - -RunCTRegistrationRequest::RunCTRegistrationRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "RunCTRegistration") -{ - setMethod(HttpRequest::Method::Post); -} - -RunCTRegistrationRequest::~RunCTRegistrationRequest() -{} - -std::string RunCTRegistrationRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::RunCTRegistrationRequest; + +RunCTRegistrationRequest::RunCTRegistrationRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "RunCTRegistration") { + setMethod(HttpRequest::Method::Post); } -void RunCTRegistrationRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setBodyParameter("DataSourceType", dataSourceType); +RunCTRegistrationRequest::~RunCTRegistrationRequest() {} + +std::string RunCTRegistrationRequest::getDataSourceType() const { + return dataSourceType_; } -std::string RunCTRegistrationRequest::getOrgName()const -{ - return orgName_; +void RunCTRegistrationRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void RunCTRegistrationRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string RunCTRegistrationRequest::getOrgName() const { + return orgName_; } -std::vector RunCTRegistrationRequest::getReferenceList()const -{ - return referenceList_; +void RunCTRegistrationRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void RunCTRegistrationRequest::setReferenceList(const std::vector& referenceList) -{ - referenceList_ = referenceList; - for(int dep1 = 0; dep1!= referenceList.size(); dep1++) { - auto referenceListObj = referenceList.at(dep1); - std::string referenceListObjStr = "ReferenceList." + std::to_string(dep1 + 1); - setParameter(referenceListObjStr + ".ReferenceURL", referenceListObj.referenceURL); - } +std::vector RunCTRegistrationRequest::getReferenceList() const { + return referenceList_; } -std::string RunCTRegistrationRequest::getDataFormat()const -{ - return dataFormat_; +void RunCTRegistrationRequest::setReferenceList(const std::vector &referenceList) { + referenceList_ = referenceList; + for(int dep1 = 0; dep1 != referenceList.size(); dep1++) { + auto referenceListObj = referenceList.at(dep1); + std::string referenceListObjStr = std::string("ReferenceList") + "." + std::to_string(dep1 + 1); + setBodyParameter(referenceListObjStr + ".ReferenceURL", referenceListObj.referenceURL); + } } -void RunCTRegistrationRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string RunCTRegistrationRequest::getDataFormat() const { + return dataFormat_; } -std::string RunCTRegistrationRequest::getOrgId()const -{ - return orgId_; +void RunCTRegistrationRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void RunCTRegistrationRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string RunCTRegistrationRequest::getOrgId() const { + return orgId_; } -bool RunCTRegistrationRequest::getAsync()const -{ - return async_; +void RunCTRegistrationRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void RunCTRegistrationRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool RunCTRegistrationRequest::getAsync() const { + return async_; } -std::vector RunCTRegistrationRequest::getFloatingList()const -{ - return floatingList_; +void RunCTRegistrationRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } -void RunCTRegistrationRequest::setFloatingList(const std::vector& floatingList) -{ - floatingList_ = floatingList; - for(int dep1 = 0; dep1!= floatingList.size(); dep1++) { - auto floatingListObj = floatingList.at(dep1); - std::string floatingListObjStr = "FloatingList." + std::to_string(dep1 + 1); - setParameter(floatingListObjStr + ".FloatingURL", floatingListObj.floatingURL); - } +std::vector RunCTRegistrationRequest::getFloatingList() const { + return floatingList_; +} + +void RunCTRegistrationRequest::setFloatingList(const std::vector &floatingList) { + floatingList_ = floatingList; + for(int dep1 = 0; dep1 != floatingList.size(); dep1++) { + auto floatingListObj = floatingList.at(dep1); + std::string floatingListObjStr = std::string("FloatingList") + "." + std::to_string(dep1 + 1); + setBodyParameter(floatingListObjStr + ".FloatingURL", floatingListObj.floatingURL); + } } diff --git a/imageprocess/src/model/RunMedQARequest.cc b/imageprocess/src/model/RunMedQARequest.cc index 20b9472d4..9bef0efd6 100644 --- a/imageprocess/src/model/RunMedQARequest.cc +++ b/imageprocess/src/model/RunMedQARequest.cc @@ -1,129 +1,111 @@ /* * 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::Imageprocess::Model::RunMedQARequest; - -RunMedQARequest::RunMedQARequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "RunMedQA") -{ - setMethod(HttpRequest::Method::Post); -} - -RunMedQARequest::~RunMedQARequest() -{} - -std::string RunMedQARequest::getSessionId()const -{ - return sessionId_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::RunMedQARequest; + +RunMedQARequest::RunMedQARequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "RunMedQA") { + setMethod(HttpRequest::Method::Post); } -void RunMedQARequest::setSessionId(const std::string& sessionId) -{ - sessionId_ = sessionId; - setBodyParameter("SessionId", sessionId); +RunMedQARequest::~RunMedQARequest() {} + +std::string RunMedQARequest::getSessionId() const { + return sessionId_; } -std::string RunMedQARequest::getOrgName()const -{ - return orgName_; +void RunMedQARequest::setSessionId(const std::string &sessionId) { + sessionId_ = sessionId; + setBodyParameter(std::string("SessionId"), sessionId); } -void RunMedQARequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string RunMedQARequest::getOrgName() const { + return orgName_; } -std::vector RunMedQARequest::getAnswerImageDataList()const -{ - return answerImageDataList_; +void RunMedQARequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void RunMedQARequest::setAnswerImageDataList(const std::vector& answerImageDataList) -{ - answerImageDataList_ = answerImageDataList; - for(int dep1 = 0; dep1!= answerImageDataList.size(); dep1++) { - auto answerImageDataListObj = answerImageDataList.at(dep1); - std::string answerImageDataListObjStr = "AnswerImageDataList." + std::to_string(dep1 + 1); - setParameter(answerImageDataListObjStr + ".AnswerImageData", answerImageDataListObj.answerImageData); - } +std::vector RunMedQARequest::getAnswerImageDataList() const { + return answerImageDataList_; } -std::vector RunMedQARequest::getAnswerTextList()const -{ - return answerTextList_; +void RunMedQARequest::setAnswerImageDataList(const std::vector &answerImageDataList) { + answerImageDataList_ = answerImageDataList; + for(int dep1 = 0; dep1 != answerImageDataList.size(); dep1++) { + auto answerImageDataListObj = answerImageDataList.at(dep1); + std::string answerImageDataListObjStr = std::string("AnswerImageDataList") + "." + std::to_string(dep1 + 1); + setBodyParameter(answerImageDataListObjStr + ".AnswerImageData", answerImageDataListObj.answerImageData); + } } -void RunMedQARequest::setAnswerTextList(const std::vector& answerTextList) -{ - answerTextList_ = answerTextList; - for(int dep1 = 0; dep1!= answerTextList.size(); dep1++) { - auto answerTextListObj = answerTextList.at(dep1); - std::string answerTextListObjStr = "AnswerTextList." + std::to_string(dep1 + 1); - setParameter(answerTextListObjStr + ".AnswerText", answerTextListObj.answerText); - } +std::vector RunMedQARequest::getAnswerTextList() const { + return answerTextList_; } -std::string RunMedQARequest::getDepartment()const -{ - return department_; +void RunMedQARequest::setAnswerTextList(const std::vector &answerTextList) { + answerTextList_ = answerTextList; + for(int dep1 = 0; dep1 != answerTextList.size(); dep1++) { + auto answerTextListObj = answerTextList.at(dep1); + std::string answerTextListObjStr = std::string("AnswerTextList") + "." + std::to_string(dep1 + 1); + setBodyParameter(answerTextListObjStr + ".AnswerText", answerTextListObj.answerText); + } } -void RunMedQARequest::setDepartment(const std::string& department) -{ - department_ = department; - setBodyParameter("Department", department); +std::string RunMedQARequest::getDepartment() const { + return department_; } -std::vector RunMedQARequest::getAnswerImageURLList()const -{ - return answerImageURLList_; +void RunMedQARequest::setDepartment(const std::string &department) { + department_ = department; + setBodyParameter(std::string("Department"), department); } -void RunMedQARequest::setAnswerImageURLList(const std::vector& answerImageURLList) -{ - answerImageURLList_ = answerImageURLList; - for(int dep1 = 0; dep1!= answerImageURLList.size(); dep1++) { - auto answerImageURLListObj = answerImageURLList.at(dep1); - std::string answerImageURLListObjStr = "AnswerImageURLList." + std::to_string(dep1 + 1); - setParameter(answerImageURLListObjStr + ".AnswerImageURL", answerImageURLListObj.answerImageURL); - } +std::vector RunMedQARequest::getAnswerImageURLList() const { + return answerImageURLList_; } -std::string RunMedQARequest::getQuestionType()const -{ - return questionType_; +void RunMedQARequest::setAnswerImageURLList(const std::vector &answerImageURLList) { + answerImageURLList_ = answerImageURLList; + for(int dep1 = 0; dep1 != answerImageURLList.size(); dep1++) { + auto answerImageURLListObj = answerImageURLList.at(dep1); + std::string answerImageURLListObjStr = std::string("AnswerImageURLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(answerImageURLListObjStr + ".AnswerImageURL", answerImageURLListObj.answerImageURL); + } } -void RunMedQARequest::setQuestionType(const std::string& questionType) -{ - questionType_ = questionType; - setBodyParameter("QuestionType", questionType); +std::string RunMedQARequest::getQuestionType() const { + return questionType_; } -std::string RunMedQARequest::getOrgId()const -{ - return orgId_; +void RunMedQARequest::setQuestionType(const std::string &questionType) { + questionType_ = questionType; + setBodyParameter(std::string("QuestionType"), questionType); } -void RunMedQARequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string RunMedQARequest::getOrgId() const { + return orgId_; +} + +void RunMedQARequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } diff --git a/imageprocess/src/model/ScreenChestCTRequest.cc b/imageprocess/src/model/ScreenChestCTRequest.cc index a94345ed5..490f95cff 100644 --- a/imageprocess/src/model/ScreenChestCTRequest.cc +++ b/imageprocess/src/model/ScreenChestCTRequest.cc @@ -1,110 +1,94 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Imageprocess::Model::ScreenChestCTRequest; - -ScreenChestCTRequest::ScreenChestCTRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "ScreenChestCT") -{ - setMethod(HttpRequest::Method::Post); -} - -ScreenChestCTRequest::~ScreenChestCTRequest() -{} - -std::string ScreenChestCTRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::ScreenChestCTRequest; + +ScreenChestCTRequest::ScreenChestCTRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "ScreenChestCT") { + setMethod(HttpRequest::Method::Post); } -void ScreenChestCTRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +ScreenChestCTRequest::~ScreenChestCTRequest() {} + +std::string ScreenChestCTRequest::getOrgName() const { + return orgName_; } -long ScreenChestCTRequest::getMask()const -{ - return mask_; +void ScreenChestCTRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void ScreenChestCTRequest::setMask(long mask) -{ - mask_ = mask; - setBodyParameter("Mask", std::to_string(mask)); +long ScreenChestCTRequest::getMask() const { + return mask_; } -std::string ScreenChestCTRequest::getDataFormat()const -{ - return dataFormat_; +void ScreenChestCTRequest::setMask(long mask) { + mask_ = mask; + setBodyParameter(std::string("Mask"), std::to_string(mask)); } -void ScreenChestCTRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string ScreenChestCTRequest::getDataFormat() const { + return dataFormat_; } -std::vector ScreenChestCTRequest::getURLList()const -{ - return uRLList_; +void ScreenChestCTRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void ScreenChestCTRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector ScreenChestCTRequest::getURLList() const { + return uRLList_; } -std::string ScreenChestCTRequest::getOrgId()const -{ - return orgId_; +void ScreenChestCTRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void ScreenChestCTRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ScreenChestCTRequest::getOrgId() const { + return orgId_; } -long ScreenChestCTRequest::getVerbose()const -{ - return verbose_; +void ScreenChestCTRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void ScreenChestCTRequest::setVerbose(long verbose) -{ - verbose_ = verbose; - setBodyParameter("Verbose", std::to_string(verbose)); +long ScreenChestCTRequest::getVerbose() const { + return verbose_; } -bool ScreenChestCTRequest::getAsync()const -{ - return async_; +void ScreenChestCTRequest::setVerbose(long verbose) { + verbose_ = verbose; + setBodyParameter(std::string("Verbose"), std::to_string(verbose)); } -void ScreenChestCTRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool ScreenChestCTRequest::getAsync() const { + return async_; +} + +void ScreenChestCTRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/ScreenECRequest.cc b/imageprocess/src/model/ScreenECRequest.cc index 05746cd6c..8f61930f7 100644 --- a/imageprocess/src/model/ScreenECRequest.cc +++ b/imageprocess/src/model/ScreenECRequest.cc @@ -1,66 +1,58 @@ /* * 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::Imageprocess::Model::ScreenECRequest; - -ScreenECRequest::ScreenECRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "ScreenEC") -{ - setMethod(HttpRequest::Method::Post); -} - -ScreenECRequest::~ScreenECRequest() -{} - -std::string ScreenECRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::ScreenECRequest; + +ScreenECRequest::ScreenECRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "ScreenEC") { + setMethod(HttpRequest::Method::Post); } -void ScreenECRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setBodyParameter("DataSourceType", dataSourceType); +ScreenECRequest::~ScreenECRequest() {} + +std::string ScreenECRequest::getDataSourceType() const { + return dataSourceType_; } -std::vector ScreenECRequest::getURLList()const -{ - return uRLList_; +void ScreenECRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void ScreenECRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector ScreenECRequest::getURLList() const { + return uRLList_; } -bool ScreenECRequest::getAsync()const -{ - return async_; +void ScreenECRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void ScreenECRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool ScreenECRequest::getAsync() const { + return async_; +} + +void ScreenECRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } diff --git a/imageprocess/src/model/SegmentOARRequest.cc b/imageprocess/src/model/SegmentOARRequest.cc index e9e730932..c152969bb 100644 --- a/imageprocess/src/model/SegmentOARRequest.cc +++ b/imageprocess/src/model/SegmentOARRequest.cc @@ -1,123 +1,102 @@ /* * 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::Imageprocess::Model::SegmentOARRequest; - -SegmentOARRequest::SegmentOARRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "SegmentOAR") -{ - setMethod(HttpRequest::Method::Post); -} - -SegmentOARRequest::~SegmentOARRequest() -{} - -std::string SegmentOARRequest::getOrgName()const -{ - return orgName_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::SegmentOARRequest; + +SegmentOARRequest::SegmentOARRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "SegmentOAR") { + setMethod(HttpRequest::Method::Post); } -void SegmentOARRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +SegmentOARRequest::~SegmentOARRequest() {} + +std::string SegmentOARRequest::getOrgName() const { + return orgName_; } -std::string SegmentOARRequest::getBodyPart()const -{ - return bodyPart_; +void SegmentOARRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void SegmentOARRequest::setBodyPart(const std::string& bodyPart) -{ - bodyPart_ = bodyPart; - setBodyParameter("BodyPart", bodyPart); +std::string SegmentOARRequest::getBodyPart() const { + return bodyPart_; } -std::string SegmentOARRequest::getDataFormat()const -{ - return dataFormat_; +void SegmentOARRequest::setBodyPart(const std::string &bodyPart) { + bodyPart_ = bodyPart; + setBodyParameter(std::string("BodyPart"), bodyPart); } -void SegmentOARRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string SegmentOARRequest::getDataFormat() const { + return dataFormat_; } -std::vector SegmentOARRequest::getURLList()const -{ - return uRLList_; +void SegmentOARRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void SegmentOARRequest::setURLList(const std::vector& uRLList) -{ - uRLList_ = uRLList; - for(int dep1 = 0; dep1!= uRLList.size(); dep1++) { - auto uRLListObj = uRLList.at(dep1); - std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1); - setParameter(uRLListObjStr + ".URL", uRLListObj.uRL); - } +std::vector SegmentOARRequest::getURLList() const { + return uRLList_; } -std::string SegmentOARRequest::getOrgId()const -{ - return orgId_; +void SegmentOARRequest::setURLList(const std::vector &uRLList) { + uRLList_ = uRLList; + for(int dep1 = 0; dep1 != uRLList.size(); dep1++) { + auto uRLListObj = uRLList.at(dep1); + std::string uRLListObjStr = std::string("URLList") + "." + std::to_string(dep1 + 1); + setBodyParameter(uRLListObjStr + ".URL", uRLListObj.uRL); + } } -void SegmentOARRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string SegmentOARRequest::getOrgId() const { + return orgId_; } -bool SegmentOARRequest::getAsync()const -{ - return async_; +void SegmentOARRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void SegmentOARRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +bool SegmentOARRequest::getAsync() const { + return async_; } -bool SegmentOARRequest::getContrast()const -{ - return contrast_; +void SegmentOARRequest::setAsync(bool async) { + async_ = async; + setBodyParameter(std::string("Async"), async ? "true" : "false"); } -void SegmentOARRequest::setContrast(bool contrast) -{ - contrast_ = contrast; - setBodyParameter("Contrast", contrast ? "true" : "false"); +bool SegmentOARRequest::getContrast() const { + return contrast_; } -std::vector SegmentOARRequest::getMaskList()const -{ - return maskList_; +void SegmentOARRequest::setContrast(bool contrast) { + contrast_ = contrast; + setBodyParameter(std::string("Contrast"), contrast ? "true" : "false"); } -void SegmentOARRequest::setMaskList(const std::vector& maskList) -{ - maskList_ = maskList; - for(int dep1 = 0; dep1!= maskList.size(); dep1++) { - setBodyParameter("MaskList."+ std::to_string(dep1), std::to_string(maskList.at(dep1))); - } +std::vector SegmentOARRequest::getMaskList() const { + return maskList_; +} + +void SegmentOARRequest::setMaskList(const std::vector &maskList) { + maskList_ = maskList; } diff --git a/imageprocess/src/model/TranslateMedRequest.cc b/imageprocess/src/model/TranslateMedRequest.cc index 54d70e671..930cbfae0 100644 --- a/imageprocess/src/model/TranslateMedRequest.cc +++ b/imageprocess/src/model/TranslateMedRequest.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::Imageprocess::Model::TranslateMedRequest; - -TranslateMedRequest::TranslateMedRequest() : - RpcServiceRequest("imageprocess", "2020-03-20", "TranslateMed") -{ - setMethod(HttpRequest::Method::Post); -} - -TranslateMedRequest::~TranslateMedRequest() -{} - -std::string TranslateMedRequest::getToLanguage()const -{ - return toLanguage_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::TranslateMedRequest; + +TranslateMedRequest::TranslateMedRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "TranslateMed") { + setMethod(HttpRequest::Method::Post); } -void TranslateMedRequest::setToLanguage(const std::string& toLanguage) -{ - toLanguage_ = toLanguage; - setBodyParameter("ToLanguage", toLanguage); +TranslateMedRequest::~TranslateMedRequest() {} + +std::string TranslateMedRequest::getToLanguage() const { + return toLanguage_; } -std::string TranslateMedRequest::getText()const -{ - return text_; +void TranslateMedRequest::setToLanguage(const std::string &toLanguage) { + toLanguage_ = toLanguage; + setBodyParameter(std::string("ToLanguage"), toLanguage); } -void TranslateMedRequest::setText(const std::string& text) -{ - text_ = text; - setBodyParameter("Text", text); +std::string TranslateMedRequest::getText() const { + return text_; } -std::string TranslateMedRequest::getFromLanguage()const -{ - return fromLanguage_; +void TranslateMedRequest::setText(const std::string &text) { + text_ = text; + setBodyParameter(std::string("Text"), text); } -void TranslateMedRequest::setFromLanguage(const std::string& fromLanguage) -{ - fromLanguage_ = fromLanguage; - setBodyParameter("FromLanguage", fromLanguage); +std::string TranslateMedRequest::getFromLanguage() const { + return fromLanguage_; +} + +void TranslateMedRequest::setFromLanguage(const std::string &fromLanguage) { + fromLanguage_ = fromLanguage; + setBodyParameter(std::string("FromLanguage"), fromLanguage); }