diff --git a/CHANGELOG b/CHANGELOG index c16cb8102..e018d2b96 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-04-06 Version: 1.36.1099 +- Release FeedbackSession. + 2022-04-06 Version: 1.36.1098 - Create App Group Support Schedule Busy Workers. diff --git a/VERSION b/VERSION index 6628318c5..68d57b21e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1098 \ No newline at end of file +1.36.1099 \ 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 c97ac0446..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 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); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - - private: - std::string dataSourceType_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - std::string orgName_; - - }; - } - } -} -#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 f63926158..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 getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - std::string getTracerId()const; - void setTracerId(const std::string& tracerId); - - private: - std::string dataFormat_; - std::string orgId_; - std::string orgName_; - std::string imageUrl_; - std::string tracerId_; - - }; - } - } -} -#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 0159a1fa4..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 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); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - - private: - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - bool async_; - std::string orgName_; - - }; - } - } -} -#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 5364869fd..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 getDataFormat()const; - void setDataFormat(const std::string& dataFormat); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - std::string getTracerId()const; - void setTracerId(const std::string& tracerId); - - private: - std::string dataFormat_; - std::string orgId_; - std::string orgName_; - std::string imageUrl_; - std::string tracerId_; - - }; - } - } -} -#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 9b4c1125d..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 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); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - - private: - std::string dataFormat_; - std::string url_; - std::string orgId_; - std::string orgName_; - - }; - } - } -} -#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/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 c989f5b87..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 getUrl()const; - void setUrl(const std::string& url); - std::string getOrgId()const; - void setOrgId(const std::string& orgId); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - - private: - std::string url_; - std::string orgId_; - std::string orgName_; - - }; - } - } -} -#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/DetectSpineMRIRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/DetectSpineMRIRequest.h index 37c2233fd..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 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); - std::string getOrgName()const; - void setOrgName(const std::string& orgName); - - private: - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - std::string orgName_; - - }; - } - } -} -#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/GetAsyncJobResultRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/GetAsyncJobResultRequest.h index 8b0f56d50..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(); - - bool getAsync()const; - void setAsync(bool async); - std::string getJobId()const; - void setJobId(const std::string& jobId); - - private: - bool async_; - std::string jobId_; - - }; - } - } -} -#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/RunMedQAResult.h b/imageprocess/include/alibabacloud/imageprocess/model/RunMedQAResult.h index 5c6ef6474..30d1dcdde 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/RunMedQAResult.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/RunMedQAResult.h @@ -35,10 +35,10 @@ namespace AlibabaCloud struct Data { std::vector options; - std::string reports; std::string questionType; - std::string answerType; + std::string reports; std::string question; + std::string answerType; std::string sessionId; }; diff --git a/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h index f0c5ce2f1..a2e903928 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/ScreenChestCTRequest.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_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); - bool getAsync()const; - void setAsync(bool async); - - private: - std::string orgName_; - long mask_; - std::string dataFormat_; - std::vector uRLList_; - std::string orgId_; - 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); + bool getAsync() const; + void setAsync(bool async); + +private: + std::string orgName_; + long mask_; + std::string dataFormat_; + std::vector uRLList_; + std::string orgId_; + bool async_; +}; +} // namespace Model +} // namespace Imageprocess +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_ diff --git a/imageprocess/include/alibabacloud/imageprocess/model/TranslateMedRequest.h b/imageprocess/include/alibabacloud/imageprocess/model/TranslateMedRequest.h index 13a850845..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 getFromLanguage()const; - void setFromLanguage(const std::string& fromLanguage); - std::string getToLanguage()const; - void setToLanguage(const std::string& toLanguage); - std::string getText()const; - void setText(const std::string& text); - - private: - std::string fromLanguage_; - std::string toLanguage_; - std::string text_; - - }; - } - } -} -#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 cf1935429..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::getDataFormat()const -{ - return dataFormat_; +void CalcCACSRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setBodyParameter(std::string("DataSourceType"), dataSourceType); } -void CalcCACSRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +std::string CalcCACSRequest::getOrgName() const { + return orgName_; } -std::vector CalcCACSRequest::getURLList()const -{ - return uRLList_; +void CalcCACSRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -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::string CalcCACSRequest::getDataFormat() const { + return dataFormat_; } -std::string CalcCACSRequest::getOrgId()const -{ - return orgId_; +void CalcCACSRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void CalcCACSRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::vector CalcCACSRequest::getURLList() const { + return uRLList_; } -bool CalcCACSRequest::getAsync()const -{ - return async_; +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::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +std::string CalcCACSRequest::getOrgId() const { + return orgId_; } -std::string CalcCACSRequest::getOrgName()const -{ - return orgName_; +void CalcCACSRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void CalcCACSRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +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/CalcCACSResult.cc b/imageprocess/src/model/CalcCACSResult.cc index 289e31349..3c263cdce 100644 --- a/imageprocess/src/model/CalcCACSResult.cc +++ b/imageprocess/src/model/CalcCACSResult.cc @@ -40,10 +40,10 @@ void CalcCACSResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["Score"].isNull()) - data_.score = dataNode["Score"].asString(); if(!dataNode["ResultUrl"].isNull()) data_.resultUrl = dataNode["ResultUrl"].asString(); + if(!dataNode["Score"].isNull()) + data_.score = dataNode["Score"].asString(); } diff --git a/imageprocess/src/model/ClassifyFNFRequest.cc b/imageprocess/src/model/ClassifyFNFRequest.cc index 2c3420e72..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::getDataFormat()const -{ - return dataFormat_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::ClassifyFNFRequest; + +ClassifyFNFRequest::ClassifyFNFRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "ClassifyFNF") { + setMethod(HttpRequest::Method::Post); } -void ClassifyFNFRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +ClassifyFNFRequest::~ClassifyFNFRequest() {} + +std::string ClassifyFNFRequest::getOrgName() const { + return orgName_; } -std::string ClassifyFNFRequest::getOrgId()const -{ - return orgId_; +void ClassifyFNFRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void ClassifyFNFRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string ClassifyFNFRequest::getTracerId() const { + return tracerId_; } -std::string ClassifyFNFRequest::getOrgName()const -{ - return orgName_; +void ClassifyFNFRequest::setTracerId(const std::string &tracerId) { + tracerId_ = tracerId; + setBodyParameter(std::string("TracerId"), tracerId); } -void ClassifyFNFRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string ClassifyFNFRequest::getDataFormat() const { + return dataFormat_; } -std::string ClassifyFNFRequest::getImageUrl()const -{ - return imageUrl_; +void ClassifyFNFRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void ClassifyFNFRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setBodyParameter("ImageUrl", imageUrl); +std::string ClassifyFNFRequest::getOrgId() const { + return orgId_; } -std::string ClassifyFNFRequest::getTracerId()const -{ - return tracerId_; +void ClassifyFNFRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void ClassifyFNFRequest::setTracerId(const std::string& tracerId) -{ - tracerId_ = tracerId; - setBodyParameter("TracerId", tracerId); +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 33ea640d7..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::getDataFormat()const -{ - return dataFormat_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectCovid19CadRequest; + +DetectCovid19CadRequest::DetectCovid19CadRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectCovid19Cad") { + setMethod(HttpRequest::Method::Post); } -void DetectCovid19CadRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +DetectCovid19CadRequest::~DetectCovid19CadRequest() {} + +std::string DetectCovid19CadRequest::getOrgName() const { + return orgName_; } -std::vector DetectCovid19CadRequest::getURLList()const -{ - return uRLList_; +void DetectCovid19CadRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -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::string DetectCovid19CadRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectCovid19CadRequest::getOrgId()const -{ - return orgId_; +void DetectCovid19CadRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectCovid19CadRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::vector DetectCovid19CadRequest::getURLList() const { + return uRLList_; } -bool DetectCovid19CadRequest::getAsync()const -{ - return async_; +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::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +std::string DetectCovid19CadRequest::getOrgId() const { + return orgId_; } -std::string DetectCovid19CadRequest::getOrgName()const -{ - return orgName_; +void DetectCovid19CadRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectCovid19CadRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +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/DetectCovid19CadResult.cc b/imageprocess/src/model/DetectCovid19CadResult.cc index ccfc64695..420d18f00 100644 --- a/imageprocess/src/model/DetectCovid19CadResult.cc +++ b/imageprocess/src/model/DetectCovid19CadResult.cc @@ -40,14 +40,14 @@ void DetectCovid19CadResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["NewProbability"].isNull()) - data_.newProbability = dataNode["NewProbability"].asString(); if(!dataNode["NormalProbability"].isNull()) data_.normalProbability = dataNode["NormalProbability"].asString(); - if(!dataNode["OtherProbability"].isNull()) - data_.otherProbability = dataNode["OtherProbability"].asString(); + if(!dataNode["NewProbability"].isNull()) + data_.newProbability = dataNode["NewProbability"].asString(); if(!dataNode["LesionRatio"].isNull()) data_.lesionRatio = dataNode["LesionRatio"].asString(); + if(!dataNode["OtherProbability"].isNull()) + data_.otherProbability = dataNode["OtherProbability"].asString(); if(!dataNode["Mask"].isNull()) data_.mask = dataNode["Mask"].asString(); 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/DetectHipKeypointXRayResult.cc b/imageprocess/src/model/DetectHipKeypointXRayResult.cc index c752781ec..e0155931e 100644 --- a/imageprocess/src/model/DetectHipKeypointXRayResult.cc +++ b/imageprocess/src/model/DetectHipKeypointXRayResult.cc @@ -40,10 +40,10 @@ void DetectHipKeypointXRayResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["OrgId"].isNull()) - data_.orgId = dataNode["OrgId"].asString(); if(!dataNode["ImageUrl"].isNull()) data_.imageUrl = dataNode["ImageUrl"].asString(); + if(!dataNode["OrgId"].isNull()) + data_.orgId = dataNode["OrgId"].asString(); if(!dataNode["OrgName"].isNull()) data_.orgName = dataNode["OrgName"].asString(); auto allKeyPointsNode = dataNode["KeyPoints"]["KeyPointsItem"]; @@ -53,10 +53,10 @@ void DetectHipKeypointXRayResult::parse(const std::string &payload) if(!dataNodeKeyPointsKeyPointsItem["Value"].isNull()) keyPointsItemObject.value = std::stof(dataNodeKeyPointsKeyPointsItem["Value"].asString()); auto tagNode = value["Tag"]; - if(!tagNode["Label"].isNull()) - keyPointsItemObject.tag.label = tagNode["Label"].asString(); if(!tagNode["Direction"].isNull()) keyPointsItemObject.tag.direction = tagNode["Direction"].asString(); + if(!tagNode["Label"].isNull()) + keyPointsItemObject.tag.label = tagNode["Label"].asString(); auto allCoordinates = value["Coordinates"]["Coordinate"]; for (auto value : allCoordinates) keyPointsItemObject.coordinates.push_back(value.asString()); diff --git a/imageprocess/src/model/DetectKneeKeypointXRayRequest.cc b/imageprocess/src/model/DetectKneeKeypointXRayRequest.cc index da09fbdbf..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::getDataFormat()const -{ - return dataFormat_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectKneeKeypointXRayRequest; + +DetectKneeKeypointXRayRequest::DetectKneeKeypointXRayRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeKeypointXRay") { + setMethod(HttpRequest::Method::Post); } -void DetectKneeKeypointXRayRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +DetectKneeKeypointXRayRequest::~DetectKneeKeypointXRayRequest() {} + +std::string DetectKneeKeypointXRayRequest::getOrgName() const { + return orgName_; } -std::string DetectKneeKeypointXRayRequest::getOrgId()const -{ - return orgId_; +void DetectKneeKeypointXRayRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectKneeKeypointXRayRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectKneeKeypointXRayRequest::getTracerId() const { + return tracerId_; } -std::string DetectKneeKeypointXRayRequest::getOrgName()const -{ - return orgName_; +void DetectKneeKeypointXRayRequest::setTracerId(const std::string &tracerId) { + tracerId_ = tracerId; + setBodyParameter(std::string("TracerId"), tracerId); } -void DetectKneeKeypointXRayRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +std::string DetectKneeKeypointXRayRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectKneeKeypointXRayRequest::getImageUrl()const -{ - return imageUrl_; +void DetectKneeKeypointXRayRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectKneeKeypointXRayRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setBodyParameter("ImageUrl", imageUrl); +std::string DetectKneeKeypointXRayRequest::getOrgId() const { + return orgId_; } -std::string DetectKneeKeypointXRayRequest::getTracerId()const -{ - return tracerId_; +void DetectKneeKeypointXRayRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -void DetectKneeKeypointXRayRequest::setTracerId(const std::string& tracerId) -{ - tracerId_ = tracerId; - setBodyParameter("TracerId", tracerId); +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 ff4f0fed0..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::getDataFormat()const -{ - return dataFormat_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectKneeXRayRequest; + +DetectKneeXRayRequest::DetectKneeXRayRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeXRay") { + setMethod(HttpRequest::Method::Post); } -void DetectKneeXRayRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +DetectKneeXRayRequest::~DetectKneeXRayRequest() {} + +std::string DetectKneeXRayRequest::getOrgName() const { + return orgName_; } -std::string DetectKneeXRayRequest::getUrl()const -{ - return url_; +void DetectKneeXRayRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectKneeXRayRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +std::string DetectKneeXRayRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectKneeXRayRequest::getOrgId()const -{ - return orgId_; +void DetectKneeXRayRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectKneeXRayRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectKneeXRayRequest::getUrl() const { + return url_; } -std::string DetectKneeXRayRequest::getOrgName()const -{ - return orgName_; +void DetectKneeXRayRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void DetectKneeXRayRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +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/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 f4586b1e4..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::getUrl()const -{ - return url_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectSkinDiseaseRequest; + +DetectSkinDiseaseRequest::DetectSkinDiseaseRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectSkinDisease") { + setMethod(HttpRequest::Method::Post); } -void DetectSkinDiseaseRequest::setUrl(const std::string& url) -{ - url_ = url; - setBodyParameter("Url", url); +DetectSkinDiseaseRequest::~DetectSkinDiseaseRequest() {} + +std::string DetectSkinDiseaseRequest::getOrgName() const { + return orgName_; } -std::string DetectSkinDiseaseRequest::getOrgId()const -{ - return orgId_; +void DetectSkinDiseaseRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -void DetectSkinDiseaseRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::string DetectSkinDiseaseRequest::getUrl() const { + return url_; } -std::string DetectSkinDiseaseRequest::getOrgName()const -{ - return orgName_; +void DetectSkinDiseaseRequest::setUrl(const std::string &url) { + url_ = url; + setBodyParameter(std::string("Url"), url); } -void DetectSkinDiseaseRequest::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +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/DetectSpineMRIRequest.cc b/imageprocess/src/model/DetectSpineMRIRequest.cc index 1a8eff48b..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::getDataFormat()const -{ - return dataFormat_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::DetectSpineMRIRequest; + +DetectSpineMRIRequest::DetectSpineMRIRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "DetectSpineMRI") { + setMethod(HttpRequest::Method::Post); } -void DetectSpineMRIRequest::setDataFormat(const std::string& dataFormat) -{ - dataFormat_ = dataFormat; - setBodyParameter("DataFormat", dataFormat); +DetectSpineMRIRequest::~DetectSpineMRIRequest() {} + +std::string DetectSpineMRIRequest::getOrgName() const { + return orgName_; } -std::vector DetectSpineMRIRequest::getURLList()const -{ - return uRLList_; +void DetectSpineMRIRequest::setOrgName(const std::string &orgName) { + orgName_ = orgName; + setBodyParameter(std::string("OrgName"), orgName); } -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::string DetectSpineMRIRequest::getDataFormat() const { + return dataFormat_; } -std::string DetectSpineMRIRequest::getOrgId()const -{ - return orgId_; +void DetectSpineMRIRequest::setDataFormat(const std::string &dataFormat) { + dataFormat_ = dataFormat; + setBodyParameter(std::string("DataFormat"), dataFormat); } -void DetectSpineMRIRequest::setOrgId(const std::string& orgId) -{ - orgId_ = orgId; - setBodyParameter("OrgId", orgId); +std::vector DetectSpineMRIRequest::getURLList() const { + return uRLList_; } -std::string DetectSpineMRIRequest::getOrgName()const -{ - return orgName_; +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::setOrgName(const std::string& orgName) -{ - orgName_ = orgName; - setBodyParameter("OrgName", orgName); +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/DetectSpineMRIResult.cc b/imageprocess/src/model/DetectSpineMRIResult.cc index a4bde71b1..6125be700 100644 --- a/imageprocess/src/model/DetectSpineMRIResult.cc +++ b/imageprocess/src/model/DetectSpineMRIResult.cc @@ -44,10 +44,10 @@ void DetectSpineMRIResult::parse(const std::string &payload) for (auto dataNodeDiscsDisc : allDiscsNode) { Data::Disc discObject; - if(!dataNodeDiscsDisc["Disease"].isNull()) - discObject.disease = dataNodeDiscsDisc["Disease"].asString(); if(!dataNodeDiscsDisc["Identification"].isNull()) discObject.identification = dataNodeDiscsDisc["Identification"].asString(); + if(!dataNodeDiscsDisc["Disease"].isNull()) + discObject.disease = dataNodeDiscsDisc["Disease"].asString(); auto allLocation = value["Location"]["Location"]; for (auto value : allLocation) discObject.location.push_back(value.asString()); @@ -57,10 +57,10 @@ void DetectSpineMRIResult::parse(const std::string &payload) for (auto dataNodeVertebrasVertebra : allVertebrasNode) { Data::Vertebra vertebraObject; - if(!dataNodeVertebrasVertebra["Disease"].isNull()) - vertebraObject.disease = dataNodeVertebrasVertebra["Disease"].asString(); if(!dataNodeVertebrasVertebra["Identification"].isNull()) vertebraObject.identification = dataNodeVertebrasVertebra["Identification"].asString(); + if(!dataNodeVertebrasVertebra["Disease"].isNull()) + vertebraObject.disease = dataNodeVertebrasVertebra["Disease"].asString(); auto allLocation1 = value["Location"]["Location"]; for (auto value : allLocation1) vertebraObject.location1.push_back(value.asString()); diff --git a/imageprocess/src/model/GetAsyncJobResultRequest.cc b/imageprocess/src/model/GetAsyncJobResultRequest.cc index 19b3c325f..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() -{} - -bool GetAsyncJobResultRequest::getAsync()const -{ - return async_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::GetAsyncJobResultRequest; + +GetAsyncJobResultRequest::GetAsyncJobResultRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "GetAsyncJobResult") { + setMethod(HttpRequest::Method::Post); } -void GetAsyncJobResultRequest::setAsync(bool async) -{ - async_ = async; - setBodyParameter("Async", async ? "true" : "false"); +GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {} + +std::string GetAsyncJobResultRequest::getJobId() const { + return jobId_; } -std::string GetAsyncJobResultRequest::getJobId()const -{ - return jobId_; +void GetAsyncJobResultRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setBodyParameter(std::string("JobId"), jobId); } -void GetAsyncJobResultRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setBodyParameter("JobId", jobId); +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/GetAsyncJobResultResult.cc b/imageprocess/src/model/GetAsyncJobResultResult.cc index 7b6387ebf..e1f0cc2c5 100644 --- a/imageprocess/src/model/GetAsyncJobResultResult.cc +++ b/imageprocess/src/model/GetAsyncJobResultResult.cc @@ -40,16 +40,16 @@ void GetAsyncJobResultResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["JobId"].isNull()) - data_.jobId = dataNode["JobId"].asString(); if(!dataNode["Status"].isNull()) data_.status = dataNode["Status"].asString(); + if(!dataNode["ErrorMessage"].isNull()) + data_.errorMessage = dataNode["ErrorMessage"].asString(); if(!dataNode["Result"].isNull()) data_.result = dataNode["Result"].asString(); if(!dataNode["ErrorCode"].isNull()) data_.errorCode = dataNode["ErrorCode"].asString(); - if(!dataNode["ErrorMessage"].isNull()) - data_.errorMessage = dataNode["ErrorMessage"].asString(); + if(!dataNode["JobId"].isNull()) + data_.jobId = dataNode["JobId"].asString(); } 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/RunMedQAResult.cc b/imageprocess/src/model/RunMedQAResult.cc index 908666624..bc4ccede0 100644 --- a/imageprocess/src/model/RunMedQAResult.cc +++ b/imageprocess/src/model/RunMedQAResult.cc @@ -40,23 +40,23 @@ void RunMedQAResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["Reports"].isNull()) - data_.reports = dataNode["Reports"].asString(); - if(!dataNode["QuestionType"].isNull()) - data_.questionType = dataNode["QuestionType"].asString(); - if(!dataNode["AnswerType"].isNull()) - data_.answerType = dataNode["AnswerType"].asString(); - if(!dataNode["Question"].isNull()) - data_.question = dataNode["Question"].asString(); if(!dataNode["SessionId"].isNull()) data_.sessionId = dataNode["SessionId"].asString(); + if(!dataNode["QuestionType"].isNull()) + data_.questionType = dataNode["QuestionType"].asString(); + if(!dataNode["Question"].isNull()) + data_.question = dataNode["Question"].asString(); + if(!dataNode["AnswerType"].isNull()) + data_.answerType = dataNode["AnswerType"].asString(); + if(!dataNode["Reports"].isNull()) + data_.reports = dataNode["Reports"].asString(); auto allOptions = dataNode["Options"]["options"]; for (auto value : allOptions) data_.options.push_back(value.asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } diff --git a/imageprocess/src/model/ScreenChestCTRequest.cc b/imageprocess/src/model/ScreenChestCTRequest.cc index 10848608b..e737abb53 100644 --- a/imageprocess/src/model/ScreenChestCTRequest.cc +++ b/imageprocess/src/model/ScreenChestCTRequest.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::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_; } -bool ScreenChestCTRequest::getAsync()const -{ - return async_; +void ScreenChestCTRequest::setOrgId(const std::string &orgId) { + orgId_ = orgId; + setBodyParameter(std::string("OrgId"), orgId); } -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/ScreenChestCTResult.cc b/imageprocess/src/model/ScreenChestCTResult.cc index c50f35b8c..8a8f30cc8 100644 --- a/imageprocess/src/model/ScreenChestCTResult.cc +++ b/imageprocess/src/model/ScreenChestCTResult.cc @@ -126,7 +126,7 @@ void ScreenChestCTResult::parse(const std::string &payload) detectionsItemObject.fractureLocation = detectRibFractureNodeDetectionsDetectionsItem["FractureLocation"].asString(); if(!detectRibFractureNodeDetectionsDetectionsItem["FractureSegment"].isNull()) detectionsItemObject.fractureSegment = std::stol(detectRibFractureNodeDetectionsDetectionsItem["FractureSegment"].asString()); - auto allCoordinates = value["Coordinates"]["coordinates"]; + auto allCoordinates = value["Coordinates"]["Coordinates"]; for (auto value : allCoordinates) detectionsItemObject.coordinates.push_back(value.asString()); auto allCoordinateImage = value["CoordinateImage"]["CoordinateImage"]; diff --git a/imageprocess/src/model/TranslateMedRequest.cc b/imageprocess/src/model/TranslateMedRequest.cc index 6a60a8417..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::getFromLanguage()const -{ - return fromLanguage_; + */ + +#include + +using AlibabaCloud::Imageprocess::Model::TranslateMedRequest; + +TranslateMedRequest::TranslateMedRequest() + : RpcServiceRequest("imageprocess", "2020-03-20", "TranslateMed") { + setMethod(HttpRequest::Method::Post); } -void TranslateMedRequest::setFromLanguage(const std::string& fromLanguage) -{ - fromLanguage_ = fromLanguage; - setBodyParameter("FromLanguage", fromLanguage); +TranslateMedRequest::~TranslateMedRequest() {} + +std::string TranslateMedRequest::getToLanguage() const { + return toLanguage_; } -std::string TranslateMedRequest::getToLanguage()const -{ - return toLanguage_; +void TranslateMedRequest::setToLanguage(const std::string &toLanguage) { + toLanguage_ = toLanguage; + setBodyParameter(std::string("ToLanguage"), toLanguage); } -void TranslateMedRequest::setToLanguage(const std::string& toLanguage) -{ - toLanguage_ = toLanguage; - setBodyParameter("ToLanguage", toLanguage); +std::string TranslateMedRequest::getText() const { + return text_; } -std::string TranslateMedRequest::getText()const -{ - return text_; +void TranslateMedRequest::setText(const std::string &text) { + text_ = text; + setBodyParameter(std::string("Text"), text); } -void TranslateMedRequest::setText(const std::string& text) -{ - text_ = text; - setBodyParameter("Text", text); +std::string TranslateMedRequest::getFromLanguage() const { + return fromLanguage_; +} + +void TranslateMedRequest::setFromLanguage(const std::string &fromLanguage) { + fromLanguage_ = fromLanguage; + setBodyParameter(std::string("FromLanguage"), fromLanguage); } diff --git a/imageprocess/src/model/TranslateMedResult.cc b/imageprocess/src/model/TranslateMedResult.cc index 85e629b91..4b79efb9f 100644 --- a/imageprocess/src/model/TranslateMedResult.cc +++ b/imageprocess/src/model/TranslateMedResult.cc @@ -40,10 +40,10 @@ void TranslateMedResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["Text"].isNull()) - data_.text = dataNode["Text"].asString(); if(!dataNode["Words"].isNull()) data_.words = std::stol(dataNode["Words"].asString()); + if(!dataNode["Text"].isNull()) + data_.text = dataNode["Text"].asString(); }