Release ScreenEC.
This commit is contained in:
@@ -1,60 +1,68 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& 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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_ANALYZECHESTVESSELREQUEST_H_
|
||||
@@ -32,46 +32,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT AnalyzeChestVesselResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct AortaInfo
|
||||
{
|
||||
float maxArea;
|
||||
std::vector<std::string> area;
|
||||
float maxDiameter;
|
||||
long labelValue;
|
||||
std::vector<std::string> coordinates;
|
||||
long maxAreaIndex;
|
||||
};
|
||||
struct PulmonaryInfo
|
||||
{
|
||||
float maxArea;
|
||||
float maxDiameter;
|
||||
long labelValue;
|
||||
std::vector<std::string> coordinates1;
|
||||
long maxAreaIndex;
|
||||
std::vector<std::string> area2;
|
||||
float nearestAortaArea;
|
||||
};
|
||||
PulmonaryInfo pulmonaryInfo;
|
||||
AortaInfo aortaInfo;
|
||||
std::string resultURL;
|
||||
};
|
||||
|
||||
|
||||
AnalyzeChestVesselResult();
|
||||
explicit AnalyzeChestVesselResult(const std::string &payload);
|
||||
~AnalyzeChestVesselResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,60 +1,68 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT CalcCACSRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
CalcCACSRequest();
|
||||
~CalcCACSRequest();
|
||||
|
||||
std::string getDataSourceType()const;
|
||||
void setDataSourceType(const std::string& dataSourceType);
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& 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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CALCCACSREQUEST_H_
|
||||
@@ -1,54 +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_CLASSIFYFNFREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ClassifyFNFRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ClassifyFNFRequest();
|
||||
~ClassifyFNFRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getTracerId()const;
|
||||
void setTracerId(const std::string& tracerId);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string tracerId_;
|
||||
std::string dataFormat_;
|
||||
std::string orgId_;
|
||||
std::string imageUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_CLASSIFYFNFREQUEST_H_
|
||||
@@ -1,57 +1,65 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectCovid19CadRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
DetectCovid19CadRequest();
|
||||
~DetectCovid19CadRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& 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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTCOVID19CADREQUEST_H_
|
||||
@@ -45,12 +45,16 @@ namespace AlibabaCloud
|
||||
DetectCovid19CadResult();
|
||||
explicit DetectCovid19CadResult(const std::string &payload);
|
||||
~DetectCovid19CadResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,54 +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_DETECTHIPKEYPOINTXRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTHIPKEYPOINTXRAYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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_
|
||||
@@ -1,54 +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_DETECTKNEEKEYPOINTXRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectKneeKeypointXRayRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectKneeKeypointXRayRequest();
|
||||
~DetectKneeKeypointXRayRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getTracerId()const;
|
||||
void setTracerId(const std::string& tracerId);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string tracerId_;
|
||||
std::string dataFormat_;
|
||||
std::string orgId_;
|
||||
std::string imageUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEKEYPOINTXRAYREQUEST_H_
|
||||
@@ -1,51 +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_DETECTKNEEXRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectKneeXRayRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectKneeXRayRequest();
|
||||
~DetectKneeXRayRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string dataFormat_;
|
||||
std::string url_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTKNEEXRAYREQUEST_H_
|
||||
@@ -1,60 +1,68 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& 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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLUNGNODULEREQUEST_H_
|
||||
@@ -66,12 +66,16 @@ namespace AlibabaCloud
|
||||
DetectLungNoduleResult();
|
||||
explicit DetectLungNoduleResult(const std::string &payload);
|
||||
~DetectLungNoduleResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,51 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLymphRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct URLList {
|
||||
std::string uRL;
|
||||
};
|
||||
DetectLymphRequest();
|
||||
~DetectLymphRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::vector<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLymphRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
DetectLymphRequest();
|
||||
~DetectLymphRequest();
|
||||
|
||||
std::string getDataSourceType()const;
|
||||
void setDataSourceType(const std::string& dataSourceType);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
@@ -1,51 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectPancRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct URLList {
|
||||
std::string uRL;
|
||||
};
|
||||
DetectPancRequest();
|
||||
~DetectPancRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::vector<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectPancRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
DetectPancRequest();
|
||||
~DetectPancRequest();
|
||||
|
||||
std::string getDataSourceType()const;
|
||||
void setDataSourceType(const std::string& dataSourceType);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
@@ -1,60 +1,68 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& 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> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
@@ -54,12 +54,16 @@ namespace AlibabaCloud
|
||||
DetectRibFractureResult();
|
||||
explicit DetectRibFractureResult(const std::string &payload);
|
||||
~DetectRibFractureResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,48 +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_DETECTSKINDISEASEREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectSkinDiseaseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectSkinDiseaseRequest();
|
||||
~DetectSkinDiseaseRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getUrl()const;
|
||||
void setUrl(const std::string& url);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string url_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSKINDISEASEREQUEST_H_
|
||||
@@ -1,54 +1,62 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
std::string getOrgId() const;
|
||||
void setOrgId(const std::string &orgId);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectSpineMRIRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
DetectSpineMRIRequest();
|
||||
~DetectSpineMRIRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTSPINEMRIREQUEST_H_
|
||||
@@ -1,45 +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_FEEDBACKSESSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT FeedbackSessionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
FeedbackSessionRequest();
|
||||
~FeedbackSessionRequest();
|
||||
std::string getSessionId() const;
|
||||
void setSessionId(const std::string &sessionId);
|
||||
std::string getFeedback() const;
|
||||
void setFeedback(const std::string &feedback);
|
||||
|
||||
private:
|
||||
std::string sessionId_;
|
||||
std::string feedback_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT FeedbackSessionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FeedbackSessionRequest();
|
||||
~FeedbackSessionRequest();
|
||||
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getFeedback()const;
|
||||
void setFeedback(const std::string& feedback);
|
||||
|
||||
private:
|
||||
std::string sessionId_;
|
||||
std::string feedback_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
@@ -1,45 +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_GETASYNCJOBRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAsyncJobResultRequest();
|
||||
~GetAsyncJobResultRequest();
|
||||
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_GETASYNCJOBRESULTREQUEST_H_
|
||||
@@ -1,66 +1,75 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<ReferenceList> getReferenceList() const;
|
||||
void setReferenceList(const std::vector<ReferenceList> &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<FloatingList> getFloatingList() const;
|
||||
void setFloatingList(const std::vector<FloatingList> &floatingList);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string orgName_;
|
||||
std::vector<ReferenceList> referenceList_;
|
||||
std::string dataFormat_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
std::vector<FloatingList> floatingList_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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<ReferenceList> getReferenceList()const;
|
||||
void setReferenceList(const std::vector<ReferenceList>& 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<FloatingList> getFloatingList()const;
|
||||
void setFloatingList(const std::vector<FloatingList>& floatingList);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string orgName_;
|
||||
std::vector<ReferenceList> referenceList_;
|
||||
std::string dataFormat_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
std::vector<FloatingList> floatingList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNCTREGISTRATIONREQUEST_H_
|
||||
@@ -42,12 +42,16 @@ namespace AlibabaCloud
|
||||
RunCTRegistrationResult();
|
||||
explicit RunCTRegistrationResult(const std::string &payload);
|
||||
~RunCTRegistrationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,72 +1,82 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<AnswerImageDataList> getAnswerImageDataList() const;
|
||||
void setAnswerImageDataList(const std::vector<AnswerImageDataList> &answerImageDataList);
|
||||
std::vector<AnswerTextList> getAnswerTextList() const;
|
||||
void setAnswerTextList(const std::vector<AnswerTextList> &answerTextList);
|
||||
std::string getDepartment() const;
|
||||
void setDepartment(const std::string &department);
|
||||
std::vector<AnswerImageURLList> getAnswerImageURLList() const;
|
||||
void setAnswerImageURLList(const std::vector<AnswerImageURLList> &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> answerImageDataList_;
|
||||
std::vector<AnswerTextList> answerTextList_;
|
||||
std::string department_;
|
||||
std::vector<AnswerImageURLList> answerImageURLList_;
|
||||
std::string questionType_;
|
||||
std::string orgId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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<AnswerImageDataList> getAnswerImageDataList()const;
|
||||
void setAnswerImageDataList(const std::vector<AnswerImageDataList>& answerImageDataList);
|
||||
std::vector<AnswerTextList> getAnswerTextList()const;
|
||||
void setAnswerTextList(const std::vector<AnswerTextList>& answerTextList);
|
||||
std::string getDepartment()const;
|
||||
void setDepartment(const std::string& department);
|
||||
std::vector<AnswerImageURLList> getAnswerImageURLList()const;
|
||||
void setAnswerImageURLList(const std::vector<AnswerImageURLList>& 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> answerImageDataList_;
|
||||
std::vector<AnswerTextList> answerTextList_;
|
||||
std::string department_;
|
||||
std::vector<AnswerImageURLList> answerImageURLList_;
|
||||
std::string questionType_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_RUNMEDQAREQUEST_H_
|
||||
@@ -1,63 +1,71 @@
|
||||
/*
|
||||
* 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 <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
std::string getOrgId() const;
|
||||
void setOrgId(const std::string &orgId);
|
||||
long getVerbose() const;
|
||||
void setVerbose(long verbose);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
long mask_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
long verbose_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
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<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
long getVerbose()const;
|
||||
void setVerbose(long verbose);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
long mask_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
long verbose_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
@@ -1,51 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenECRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct URLList {
|
||||
std::string uRL;
|
||||
};
|
||||
ScreenECRequest();
|
||||
~ScreenECRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::vector<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenECRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
ScreenECRequest();
|
||||
~ScreenECRequest();
|
||||
|
||||
std::string getDataSourceType()const;
|
||||
void setDataSourceType(const std::string& dataSourceType);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENECREQUEST_H_
|
||||
@@ -1,66 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT SegmentOARRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct URLList {
|
||||
std::string uRL;
|
||||
};
|
||||
SegmentOARRequest();
|
||||
~SegmentOARRequest();
|
||||
std::string getOrgName() const;
|
||||
void setOrgName(const std::string &orgName);
|
||||
std::string getBodyPart() const;
|
||||
void setBodyPart(const std::string &bodyPart);
|
||||
std::string getDataFormat() const;
|
||||
void setDataFormat(const std::string &dataFormat);
|
||||
std::vector<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
std::string getOrgId() const;
|
||||
void setOrgId(const std::string &orgId);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
bool getContrast() const;
|
||||
void setContrast(bool contrast);
|
||||
std::vector<long> getMaskList() const;
|
||||
void setMaskList(const std::vector<long> &maskList);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string bodyPart_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
bool contrast_;
|
||||
std::vector<long> maskList_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT SegmentOARRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
SegmentOARRequest();
|
||||
~SegmentOARRequest();
|
||||
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getBodyPart()const;
|
||||
void setBodyPart(const std::string& bodyPart);
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
bool getContrast()const;
|
||||
void setContrast(bool contrast);
|
||||
std::vector<long> getMaskList()const;
|
||||
void setMaskList(const std::vector<long>& maskList);
|
||||
|
||||
private:
|
||||
std::string orgName_;
|
||||
std::string bodyPart_;
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
bool contrast_;
|
||||
std::vector<long> maskList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SEGMENTOARREQUEST_H_
|
||||
@@ -1,48 +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_TRANSLATEMEDREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT TranslateMedRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TranslateMedRequest();
|
||||
~TranslateMedRequest();
|
||||
|
||||
std::string getToLanguage()const;
|
||||
void setToLanguage(const std::string& toLanguage);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getFromLanguage()const;
|
||||
void setFromLanguage(const std::string& fromLanguage);
|
||||
|
||||
private:
|
||||
std::string toLanguage_;
|
||||
std::string text_;
|
||||
std::string fromLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_TRANSLATEMEDREQUEST_H_
|
||||
@@ -1,85 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::AnalyzeChestVesselRequest;
|
||||
|
||||
AnalyzeChestVesselRequest::AnalyzeChestVesselRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "AnalyzeChestVessel") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/AnalyzeChestVesselRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
AnalyzeChestVesselRequest::~AnalyzeChestVesselRequest() {}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
void AnalyzeChestVesselRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter(std::string("DataSourceType"), dataSourceType);
|
||||
std::string AnalyzeChestVesselRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void AnalyzeChestVesselRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string AnalyzeChestVesselRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void AnalyzeChestVesselRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<AnalyzeChestVesselRequest::URLList> AnalyzeChestVesselRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<AnalyzeChestVesselRequest::URLList> AnalyzeChestVesselRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void AnalyzeChestVesselRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setURLList(const std::vector<AnalyzeChestVesselRequest::URLList> &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);
|
||||
}
|
||||
std::string AnalyzeChestVesselRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void AnalyzeChestVesselRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool AnalyzeChestVesselRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool AnalyzeChestVesselRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void AnalyzeChestVesselRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void AnalyzeChestVesselRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -39,60 +39,6 @@ void AnalyzeChestVesselResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ResultURL"].isNull())
|
||||
data_.resultURL = dataNode["ResultURL"].asString();
|
||||
auto aortaInfoNode = dataNode["AortaInfo"];
|
||||
if(!aortaInfoNode["MaxAreaIndex"].isNull())
|
||||
data_.aortaInfo.maxAreaIndex = std::stol(aortaInfoNode["MaxAreaIndex"].asString());
|
||||
if(!aortaInfoNode["MaxArea"].isNull())
|
||||
data_.aortaInfo.maxArea = std::stof(aortaInfoNode["MaxArea"].asString());
|
||||
if(!aortaInfoNode["MaxDiameter"].isNull())
|
||||
data_.aortaInfo.maxDiameter = std::stof(aortaInfoNode["MaxDiameter"].asString());
|
||||
if(!aortaInfoNode["LabelValue"].isNull())
|
||||
data_.aortaInfo.labelValue = std::stol(aortaInfoNode["LabelValue"].asString());
|
||||
auto allCoordinates = aortaInfoNode["Coordinates"]["coordinates"];
|
||||
for (auto value : allCoordinates)
|
||||
data_.aortaInfo.coordinates.push_back(value.asString());
|
||||
auto allArea = aortaInfoNode["Area"]["area"];
|
||||
for (auto value : allArea)
|
||||
data_.aortaInfo.area.push_back(value.asString());
|
||||
auto pulmonaryInfoNode = dataNode["PulmonaryInfo"];
|
||||
if(!pulmonaryInfoNode["MaxAreaIndex"].isNull())
|
||||
data_.pulmonaryInfo.maxAreaIndex = std::stol(pulmonaryInfoNode["MaxAreaIndex"].asString());
|
||||
if(!pulmonaryInfoNode["MaxArea"].isNull())
|
||||
data_.pulmonaryInfo.maxArea = std::stof(pulmonaryInfoNode["MaxArea"].asString());
|
||||
if(!pulmonaryInfoNode["MaxDiameter"].isNull())
|
||||
data_.pulmonaryInfo.maxDiameter = std::stof(pulmonaryInfoNode["MaxDiameter"].asString());
|
||||
if(!pulmonaryInfoNode["LabelValue"].isNull())
|
||||
data_.pulmonaryInfo.labelValue = std::stol(pulmonaryInfoNode["LabelValue"].asString());
|
||||
if(!pulmonaryInfoNode["NearestAortaArea"].isNull())
|
||||
data_.pulmonaryInfo.nearestAortaArea = std::stof(pulmonaryInfoNode["NearestAortaArea"].asString());
|
||||
auto allCoordinates1 = pulmonaryInfoNode["Coordinates"]["coordinates"];
|
||||
for (auto value : allCoordinates1)
|
||||
data_.pulmonaryInfo.coordinates1.push_back(value.asString());
|
||||
auto allArea2 = pulmonaryInfoNode["Area"]["area"];
|
||||
for (auto value : allArea2)
|
||||
data_.pulmonaryInfo.area2.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
AnalyzeChestVesselResult::Data AnalyzeChestVesselResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AnalyzeChestVesselResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,85 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/CalcCACSRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::CalcCACSRequest;
|
||||
|
||||
CalcCACSRequest::CalcCACSRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "CalcCACS") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/CalcCACSRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
CalcCACSRequest::~CalcCACSRequest() {}
|
||||
|
||||
std::string CalcCACSRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
void CalcCACSRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
void CalcCACSRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter(std::string("DataSourceType"), dataSourceType);
|
||||
std::string CalcCACSRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
std::string CalcCACSRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void CalcCACSRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void CalcCACSRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string CalcCACSRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string CalcCACSRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void CalcCACSRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void CalcCACSRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<CalcCACSRequest::URLList> CalcCACSRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<CalcCACSRequest::URLList> CalcCACSRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void CalcCACSRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void CalcCACSRequest::setURLList(const std::vector<CalcCACSRequest::URLList> &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);
|
||||
}
|
||||
std::string CalcCACSRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string CalcCACSRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void CalcCACSRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void CalcCACSRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool CalcCACSRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool CalcCACSRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void CalcCACSRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void CalcCACSRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,72 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/ClassifyFNFRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::ClassifyFNFRequest;
|
||||
|
||||
ClassifyFNFRequest::ClassifyFNFRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "ClassifyFNF") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/ClassifyFNFRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::ClassifyFNFRequest;
|
||||
|
||||
ClassifyFNFRequest::ClassifyFNFRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "ClassifyFNF")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ClassifyFNFRequest::~ClassifyFNFRequest()
|
||||
{}
|
||||
|
||||
std::string ClassifyFNFRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
ClassifyFNFRequest::~ClassifyFNFRequest() {}
|
||||
|
||||
std::string ClassifyFNFRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void ClassifyFNFRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void ClassifyFNFRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string ClassifyFNFRequest::getTracerId()const
|
||||
{
|
||||
return tracerId_;
|
||||
}
|
||||
|
||||
std::string ClassifyFNFRequest::getTracerId() const {
|
||||
return tracerId_;
|
||||
void ClassifyFNFRequest::setTracerId(const std::string& tracerId)
|
||||
{
|
||||
tracerId_ = tracerId;
|
||||
setBodyParameter("TracerId", tracerId);
|
||||
}
|
||||
|
||||
void ClassifyFNFRequest::setTracerId(const std::string &tracerId) {
|
||||
tracerId_ = tracerId;
|
||||
setBodyParameter(std::string("TracerId"), tracerId);
|
||||
std::string ClassifyFNFRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string ClassifyFNFRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void ClassifyFNFRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void ClassifyFNFRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::string ClassifyFNFRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string ClassifyFNFRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void ClassifyFNFRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void ClassifyFNFRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
std::string ClassifyFNFRequest::getImageUrl()const
|
||||
{
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
std::string ClassifyFNFRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void ClassifyFNFRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
void ClassifyFNFRequest::setImageUrl(const std::string& imageUrl)
|
||||
{
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter("ImageUrl", imageUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,76 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectCovid19CadRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectCovid19CadRequest;
|
||||
|
||||
DetectCovid19CadRequest::DetectCovid19CadRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectCovid19Cad") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectCovid19CadRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectCovid19CadRequest;
|
||||
|
||||
DetectCovid19CadRequest::DetectCovid19CadRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectCovid19Cad")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectCovid19CadRequest::~DetectCovid19CadRequest()
|
||||
{}
|
||||
|
||||
std::string DetectCovid19CadRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
DetectCovid19CadRequest::~DetectCovid19CadRequest() {}
|
||||
|
||||
std::string DetectCovid19CadRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectCovid19CadRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectCovid19CadRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectCovid19CadRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectCovid19CadRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectCovid19CadRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectCovid19CadRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<DetectCovid19CadRequest::URLList> DetectCovid19CadRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<DetectCovid19CadRequest::URLList> DetectCovid19CadRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void DetectCovid19CadRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void DetectCovid19CadRequest::setURLList(const std::vector<DetectCovid19CadRequest::URLList> &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);
|
||||
}
|
||||
std::string DetectCovid19CadRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectCovid19CadRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void DetectCovid19CadRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void DetectCovid19CadRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool DetectCovid19CadRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool DetectCovid19CadRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DetectCovid19CadRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void DetectCovid19CadRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -50,11 +50,25 @@ void DetectCovid19CadResult::parse(const std::string &payload)
|
||||
data_.otherProbability = dataNode["OtherProbability"].asString();
|
||||
if(!dataNode["Mask"].isNull())
|
||||
data_.mask = dataNode["Mask"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DetectCovid19CadResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DetectCovid19CadResult::Data DetectCovid19CadResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DetectCovid19CadResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,72 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectHipKeypointXRayRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectHipKeypointXRayRequest;
|
||||
|
||||
DetectHipKeypointXRayRequest::DetectHipKeypointXRayRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectHipKeypointXRay") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectHipKeypointXRayRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
DetectHipKeypointXRayRequest::~DetectHipKeypointXRayRequest() {}
|
||||
|
||||
std::string DetectHipKeypointXRayRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectHipKeypointXRayRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectHipKeypointXRayRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectHipKeypointXRayRequest::getTracerId()const
|
||||
{
|
||||
return tracerId_;
|
||||
}
|
||||
|
||||
std::string DetectHipKeypointXRayRequest::getTracerId() const {
|
||||
return tracerId_;
|
||||
void DetectHipKeypointXRayRequest::setTracerId(const std::string& tracerId)
|
||||
{
|
||||
tracerId_ = tracerId;
|
||||
setBodyParameter("TracerId", tracerId);
|
||||
}
|
||||
|
||||
void DetectHipKeypointXRayRequest::setTracerId(const std::string &tracerId) {
|
||||
tracerId_ = tracerId;
|
||||
setBodyParameter(std::string("TracerId"), tracerId);
|
||||
std::string DetectHipKeypointXRayRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectHipKeypointXRayRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectHipKeypointXRayRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectHipKeypointXRayRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::string DetectHipKeypointXRayRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectHipKeypointXRayRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void DetectHipKeypointXRayRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void DetectHipKeypointXRayRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
std::string DetectHipKeypointXRayRequest::getImageUrl()const
|
||||
{
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
std::string DetectHipKeypointXRayRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void DetectHipKeypointXRayRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
void DetectHipKeypointXRayRequest::setImageUrl(const std::string& imageUrl)
|
||||
{
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter("ImageUrl", imageUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,72 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectKneeKeypointXRayRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectKneeKeypointXRayRequest;
|
||||
|
||||
DetectKneeKeypointXRayRequest::DetectKneeKeypointXRayRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeKeypointXRay") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectKneeKeypointXRayRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectKneeKeypointXRayRequest;
|
||||
|
||||
DetectKneeKeypointXRayRequest::DetectKneeKeypointXRayRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeKeypointXRay")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectKneeKeypointXRayRequest::~DetectKneeKeypointXRayRequest()
|
||||
{}
|
||||
|
||||
std::string DetectKneeKeypointXRayRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
DetectKneeKeypointXRayRequest::~DetectKneeKeypointXRayRequest() {}
|
||||
|
||||
std::string DetectKneeKeypointXRayRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectKneeKeypointXRayRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectKneeKeypointXRayRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectKneeKeypointXRayRequest::getTracerId()const
|
||||
{
|
||||
return tracerId_;
|
||||
}
|
||||
|
||||
std::string DetectKneeKeypointXRayRequest::getTracerId() const {
|
||||
return tracerId_;
|
||||
void DetectKneeKeypointXRayRequest::setTracerId(const std::string& tracerId)
|
||||
{
|
||||
tracerId_ = tracerId;
|
||||
setBodyParameter("TracerId", tracerId);
|
||||
}
|
||||
|
||||
void DetectKneeKeypointXRayRequest::setTracerId(const std::string &tracerId) {
|
||||
tracerId_ = tracerId;
|
||||
setBodyParameter(std::string("TracerId"), tracerId);
|
||||
std::string DetectKneeKeypointXRayRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectKneeKeypointXRayRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectKneeKeypointXRayRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectKneeKeypointXRayRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::string DetectKneeKeypointXRayRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectKneeKeypointXRayRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void DetectKneeKeypointXRayRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void DetectKneeKeypointXRayRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
std::string DetectKneeKeypointXRayRequest::getImageUrl()const
|
||||
{
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
std::string DetectKneeKeypointXRayRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void DetectKneeKeypointXRayRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
void DetectKneeKeypointXRayRequest::setImageUrl(const std::string& imageUrl)
|
||||
{
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter("ImageUrl", imageUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,63 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectKneeXRayRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectKneeXRayRequest;
|
||||
|
||||
DetectKneeXRayRequest::DetectKneeXRayRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeXRay") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectKneeXRayRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectKneeXRayRequest;
|
||||
|
||||
DetectKneeXRayRequest::DetectKneeXRayRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectKneeXRay")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectKneeXRayRequest::~DetectKneeXRayRequest()
|
||||
{}
|
||||
|
||||
std::string DetectKneeXRayRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
DetectKneeXRayRequest::~DetectKneeXRayRequest() {}
|
||||
|
||||
std::string DetectKneeXRayRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectKneeXRayRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectKneeXRayRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectKneeXRayRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectKneeXRayRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectKneeXRayRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectKneeXRayRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::string DetectKneeXRayRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
}
|
||||
|
||||
std::string DetectKneeXRayRequest::getUrl() const {
|
||||
return url_;
|
||||
void DetectKneeXRayRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
}
|
||||
|
||||
void DetectKneeXRayRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
std::string DetectKneeXRayRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectKneeXRayRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DetectKneeXRayRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
void DetectKneeXRayRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,85 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectLungNoduleRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectLungNoduleRequest;
|
||||
|
||||
DetectLungNoduleRequest::DetectLungNoduleRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectLungNodule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectLungNoduleRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
DetectLungNoduleRequest::~DetectLungNoduleRequest() {}
|
||||
|
||||
float DetectLungNoduleRequest::getThreshold() const {
|
||||
return threshold_;
|
||||
void DetectLungNoduleRequest::setThreshold(float threshold)
|
||||
{
|
||||
threshold_ = threshold;
|
||||
setBodyParameter("Threshold", std::to_string(threshold));
|
||||
}
|
||||
|
||||
void DetectLungNoduleRequest::setThreshold(float threshold) {
|
||||
threshold_ = threshold;
|
||||
setBodyParameter(std::string("Threshold"), std::to_string(threshold));
|
||||
std::string DetectLungNoduleRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
std::string DetectLungNoduleRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectLungNoduleRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectLungNoduleRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectLungNoduleRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectLungNoduleRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectLungNoduleRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectLungNoduleRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<DetectLungNoduleRequest::URLList> DetectLungNoduleRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<DetectLungNoduleRequest::URLList> DetectLungNoduleRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void DetectLungNoduleRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void DetectLungNoduleRequest::setURLList(const std::vector<DetectLungNoduleRequest::URLList> &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);
|
||||
}
|
||||
std::string DetectLungNoduleRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectLungNoduleRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void DetectLungNoduleRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void DetectLungNoduleRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool DetectLungNoduleRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool DetectLungNoduleRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DetectLungNoduleRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void DetectLungNoduleRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -90,11 +90,25 @@ void DetectLungNoduleResult::parse(const std::string &payload)
|
||||
serieObject.spacing.push_back(value.asString());
|
||||
data_.series.push_back(serieObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DetectLungNoduleResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DetectLungNoduleResult::Data DetectLungNoduleResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DetectLungNoduleResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,58 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectLymphRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectLymphRequest;
|
||||
|
||||
DetectLymphRequest::DetectLymphRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectLymph") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectLymphRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectLymphRequest;
|
||||
|
||||
DetectLymphRequest::DetectLymphRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectLymph")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectLymphRequest::~DetectLymphRequest()
|
||||
{}
|
||||
|
||||
std::string DetectLymphRequest::getDataSourceType()const
|
||||
{
|
||||
return dataSourceType_;
|
||||
}
|
||||
|
||||
DetectLymphRequest::~DetectLymphRequest() {}
|
||||
|
||||
std::string DetectLymphRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
void DetectLymphRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
void DetectLymphRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter(std::string("DataSourceType"), dataSourceType);
|
||||
std::vector<DetectLymphRequest::URLList> DetectLymphRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<DetectLymphRequest::URLList> DetectLymphRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void DetectLymphRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void DetectLymphRequest::setURLList(const std::vector<DetectLymphRequest::URLList> &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);
|
||||
}
|
||||
bool DetectLymphRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool DetectLymphRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DetectLymphRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void DetectLymphRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,58 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectPancRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectPancRequest;
|
||||
|
||||
DetectPancRequest::DetectPancRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectPanc") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectPancRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectPancRequest;
|
||||
|
||||
DetectPancRequest::DetectPancRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectPanc")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectPancRequest::~DetectPancRequest()
|
||||
{}
|
||||
|
||||
std::string DetectPancRequest::getDataSourceType()const
|
||||
{
|
||||
return dataSourceType_;
|
||||
}
|
||||
|
||||
DetectPancRequest::~DetectPancRequest() {}
|
||||
|
||||
std::string DetectPancRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
void DetectPancRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
void DetectPancRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter(std::string("DataSourceType"), dataSourceType);
|
||||
std::vector<DetectPancRequest::URLList> DetectPancRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<DetectPancRequest::URLList> DetectPancRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void DetectPancRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void DetectPancRequest::setURLList(const std::vector<DetectPancRequest::URLList> &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);
|
||||
}
|
||||
bool DetectPancRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool DetectPancRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DetectPancRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void DetectPancRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,85 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectRibFractureRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectRibFractureRequest;
|
||||
|
||||
DetectRibFractureRequest::DetectRibFractureRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectRibFracture") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectRibFractureRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
DetectRibFractureRequest::~DetectRibFractureRequest() {}
|
||||
|
||||
std::string DetectRibFractureRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectRibFractureRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectRibFractureRequest::getSourceType()const
|
||||
{
|
||||
return sourceType_;
|
||||
}
|
||||
|
||||
std::string DetectRibFractureRequest::getSourceType() const {
|
||||
return sourceType_;
|
||||
void DetectRibFractureRequest::setSourceType(const std::string& sourceType)
|
||||
{
|
||||
sourceType_ = sourceType;
|
||||
setBodyParameter("SourceType", sourceType);
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setSourceType(const std::string &sourceType) {
|
||||
sourceType_ = sourceType;
|
||||
setBodyParameter(std::string("SourceType"), sourceType);
|
||||
std::string DetectRibFractureRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectRibFractureRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectRibFractureRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<DetectRibFractureRequest::URLList> DetectRibFractureRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<DetectRibFractureRequest::URLList> DetectRibFractureRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void DetectRibFractureRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setURLList(const std::vector<DetectRibFractureRequest::URLList> &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);
|
||||
}
|
||||
std::string DetectRibFractureRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectRibFractureRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void DetectRibFractureRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool DetectRibFractureRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool DetectRibFractureRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void DetectRibFractureRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -70,11 +70,25 @@ void DetectRibFractureResult::parse(const std::string &payload)
|
||||
auto allSpacing = dataNode["Spacing"]["Spacing"];
|
||||
for (auto value : allSpacing)
|
||||
data_.spacing.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DetectRibFractureResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DetectRibFractureResult::Data DetectRibFractureResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DetectRibFractureResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,54 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectSkinDiseaseRequest;
|
||||
|
||||
DetectSkinDiseaseRequest::DetectSkinDiseaseRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectSkinDisease") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectSkinDiseaseRequest;
|
||||
|
||||
DetectSkinDiseaseRequest::DetectSkinDiseaseRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectSkinDisease")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectSkinDiseaseRequest::~DetectSkinDiseaseRequest()
|
||||
{}
|
||||
|
||||
std::string DetectSkinDiseaseRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
DetectSkinDiseaseRequest::~DetectSkinDiseaseRequest() {}
|
||||
|
||||
std::string DetectSkinDiseaseRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectSkinDiseaseRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectSkinDiseaseRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectSkinDiseaseRequest::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
}
|
||||
|
||||
std::string DetectSkinDiseaseRequest::getUrl() const {
|
||||
return url_;
|
||||
void DetectSkinDiseaseRequest::setUrl(const std::string& url)
|
||||
{
|
||||
url_ = url;
|
||||
setBodyParameter("Url", url);
|
||||
}
|
||||
|
||||
void DetectSkinDiseaseRequest::setUrl(const std::string &url) {
|
||||
url_ = url;
|
||||
setBodyParameter(std::string("Url"), url);
|
||||
std::string DetectSkinDiseaseRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectSkinDiseaseRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DetectSkinDiseaseRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
void DetectSkinDiseaseRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,67 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectSpineMRIRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectSpineMRIRequest;
|
||||
|
||||
DetectSpineMRIRequest::DetectSpineMRIRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "DetectSpineMRI") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectSpineMRIRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectSpineMRIRequest;
|
||||
|
||||
DetectSpineMRIRequest::DetectSpineMRIRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectSpineMRI")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectSpineMRIRequest::~DetectSpineMRIRequest()
|
||||
{}
|
||||
|
||||
std::string DetectSpineMRIRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
DetectSpineMRIRequest::~DetectSpineMRIRequest() {}
|
||||
|
||||
std::string DetectSpineMRIRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void DetectSpineMRIRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void DetectSpineMRIRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string DetectSpineMRIRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string DetectSpineMRIRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void DetectSpineMRIRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void DetectSpineMRIRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<DetectSpineMRIRequest::URLList> DetectSpineMRIRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<DetectSpineMRIRequest::URLList> DetectSpineMRIRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void DetectSpineMRIRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void DetectSpineMRIRequest::setURLList(const std::vector<DetectSpineMRIRequest::URLList> &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);
|
||||
}
|
||||
std::string DetectSpineMRIRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string DetectSpineMRIRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DetectSpineMRIRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
void DetectSpineMRIRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,45 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/FeedbackSessionRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::FeedbackSessionRequest;
|
||||
|
||||
FeedbackSessionRequest::FeedbackSessionRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "FeedbackSession") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/FeedbackSessionRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::FeedbackSessionRequest;
|
||||
|
||||
FeedbackSessionRequest::FeedbackSessionRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "FeedbackSession")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FeedbackSessionRequest::~FeedbackSessionRequest()
|
||||
{}
|
||||
|
||||
std::string FeedbackSessionRequest::getSessionId()const
|
||||
{
|
||||
return sessionId_;
|
||||
}
|
||||
|
||||
FeedbackSessionRequest::~FeedbackSessionRequest() {}
|
||||
|
||||
std::string FeedbackSessionRequest::getSessionId() const {
|
||||
return sessionId_;
|
||||
void FeedbackSessionRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setBodyParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
void FeedbackSessionRequest::setSessionId(const std::string &sessionId) {
|
||||
sessionId_ = sessionId;
|
||||
setBodyParameter(std::string("SessionId"), sessionId);
|
||||
std::string FeedbackSessionRequest::getFeedback()const
|
||||
{
|
||||
return feedback_;
|
||||
}
|
||||
|
||||
std::string FeedbackSessionRequest::getFeedback() const {
|
||||
return feedback_;
|
||||
}
|
||||
|
||||
void FeedbackSessionRequest::setFeedback(const std::string &feedback) {
|
||||
feedback_ = feedback;
|
||||
setBodyParameter(std::string("Feedback"), feedback);
|
||||
void FeedbackSessionRequest::setFeedback(const std::string& feedback)
|
||||
{
|
||||
feedback_ = feedback;
|
||||
setBodyParameter("Feedback", feedback);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,45 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/GetAsyncJobResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::GetAsyncJobResultRequest;
|
||||
|
||||
GetAsyncJobResultRequest::GetAsyncJobResultRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "GetAsyncJobResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/GetAsyncJobResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::GetAsyncJobResultRequest;
|
||||
|
||||
GetAsyncJobResultRequest::GetAsyncJobResultRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "GetAsyncJobResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAsyncJobResultRequest::~GetAsyncJobResultRequest()
|
||||
{}
|
||||
|
||||
std::string GetAsyncJobResultRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
GetAsyncJobResultRequest::~GetAsyncJobResultRequest() {}
|
||||
|
||||
std::string GetAsyncJobResultRequest::getJobId() const {
|
||||
return jobId_;
|
||||
void GetAsyncJobResultRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setBodyParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
void GetAsyncJobResultRequest::setJobId(const std::string &jobId) {
|
||||
jobId_ = jobId;
|
||||
setBodyParameter(std::string("JobId"), jobId);
|
||||
bool GetAsyncJobResultRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool GetAsyncJobResultRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void GetAsyncJobResultRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void GetAsyncJobResultRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,98 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/RunCTRegistrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::RunCTRegistrationRequest;
|
||||
|
||||
RunCTRegistrationRequest::RunCTRegistrationRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "RunCTRegistration") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/RunCTRegistrationRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
RunCTRegistrationRequest::~RunCTRegistrationRequest() {}
|
||||
|
||||
std::string RunCTRegistrationRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
void RunCTRegistrationRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter(std::string("DataSourceType"), dataSourceType);
|
||||
std::string RunCTRegistrationRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
std::string RunCTRegistrationRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void RunCTRegistrationRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::vector<RunCTRegistrationRequest::ReferenceList> RunCTRegistrationRequest::getReferenceList()const
|
||||
{
|
||||
return referenceList_;
|
||||
}
|
||||
|
||||
std::vector<RunCTRegistrationRequest::ReferenceList> RunCTRegistrationRequest::getReferenceList() const {
|
||||
return referenceList_;
|
||||
void RunCTRegistrationRequest::setReferenceList(const std::vector<ReferenceList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setReferenceList(const std::vector<RunCTRegistrationRequest::ReferenceList> &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);
|
||||
}
|
||||
std::string RunCTRegistrationRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string RunCTRegistrationRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void RunCTRegistrationRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::string RunCTRegistrationRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string RunCTRegistrationRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void RunCTRegistrationRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool RunCTRegistrationRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool RunCTRegistrationRequest::getAsync() const {
|
||||
return async_;
|
||||
void RunCTRegistrationRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
std::vector<RunCTRegistrationRequest::FloatingList> RunCTRegistrationRequest::getFloatingList()const
|
||||
{
|
||||
return floatingList_;
|
||||
}
|
||||
|
||||
std::vector<RunCTRegistrationRequest::FloatingList> RunCTRegistrationRequest::getFloatingList() const {
|
||||
return floatingList_;
|
||||
}
|
||||
|
||||
void RunCTRegistrationRequest::setFloatingList(const std::vector<RunCTRegistrationRequest::FloatingList> &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);
|
||||
}
|
||||
void RunCTRegistrationRequest::setFloatingList(const std::vector<FloatingList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,11 +44,25 @@ void RunCTRegistrationResult::parse(const std::string &payload)
|
||||
data_.dUrl = dataNode["DUrl"].asString();
|
||||
if(!dataNode["NUrl"].isNull())
|
||||
data_.nUrl = dataNode["NUrl"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RunCTRegistrationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
RunCTRegistrationResult::Data RunCTRegistrationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string RunCTRegistrationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,111 +1,129 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/RunMedQARequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::RunMedQARequest;
|
||||
|
||||
RunMedQARequest::RunMedQARequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "RunMedQA") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/RunMedQARequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
RunMedQARequest::~RunMedQARequest() {}
|
||||
|
||||
std::string RunMedQARequest::getSessionId() const {
|
||||
return sessionId_;
|
||||
void RunMedQARequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setBodyParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
void RunMedQARequest::setSessionId(const std::string &sessionId) {
|
||||
sessionId_ = sessionId;
|
||||
setBodyParameter(std::string("SessionId"), sessionId);
|
||||
std::string RunMedQARequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
std::string RunMedQARequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void RunMedQARequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void RunMedQARequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::vector<RunMedQARequest::AnswerImageDataList> RunMedQARequest::getAnswerImageDataList()const
|
||||
{
|
||||
return answerImageDataList_;
|
||||
}
|
||||
|
||||
std::vector<RunMedQARequest::AnswerImageDataList> RunMedQARequest::getAnswerImageDataList() const {
|
||||
return answerImageDataList_;
|
||||
void RunMedQARequest::setAnswerImageDataList(const std::vector<AnswerImageDataList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void RunMedQARequest::setAnswerImageDataList(const std::vector<RunMedQARequest::AnswerImageDataList> &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);
|
||||
}
|
||||
std::vector<RunMedQARequest::AnswerTextList> RunMedQARequest::getAnswerTextList()const
|
||||
{
|
||||
return answerTextList_;
|
||||
}
|
||||
|
||||
std::vector<RunMedQARequest::AnswerTextList> RunMedQARequest::getAnswerTextList() const {
|
||||
return answerTextList_;
|
||||
void RunMedQARequest::setAnswerTextList(const std::vector<AnswerTextList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void RunMedQARequest::setAnswerTextList(const std::vector<RunMedQARequest::AnswerTextList> &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);
|
||||
}
|
||||
std::string RunMedQARequest::getDepartment()const
|
||||
{
|
||||
return department_;
|
||||
}
|
||||
|
||||
std::string RunMedQARequest::getDepartment() const {
|
||||
return department_;
|
||||
void RunMedQARequest::setDepartment(const std::string& department)
|
||||
{
|
||||
department_ = department;
|
||||
setBodyParameter("Department", department);
|
||||
}
|
||||
|
||||
void RunMedQARequest::setDepartment(const std::string &department) {
|
||||
department_ = department;
|
||||
setBodyParameter(std::string("Department"), department);
|
||||
std::vector<RunMedQARequest::AnswerImageURLList> RunMedQARequest::getAnswerImageURLList()const
|
||||
{
|
||||
return answerImageURLList_;
|
||||
}
|
||||
|
||||
std::vector<RunMedQARequest::AnswerImageURLList> RunMedQARequest::getAnswerImageURLList() const {
|
||||
return answerImageURLList_;
|
||||
void RunMedQARequest::setAnswerImageURLList(const std::vector<AnswerImageURLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void RunMedQARequest::setAnswerImageURLList(const std::vector<RunMedQARequest::AnswerImageURLList> &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);
|
||||
}
|
||||
std::string RunMedQARequest::getQuestionType()const
|
||||
{
|
||||
return questionType_;
|
||||
}
|
||||
|
||||
std::string RunMedQARequest::getQuestionType() const {
|
||||
return questionType_;
|
||||
void RunMedQARequest::setQuestionType(const std::string& questionType)
|
||||
{
|
||||
questionType_ = questionType;
|
||||
setBodyParameter("QuestionType", questionType);
|
||||
}
|
||||
|
||||
void RunMedQARequest::setQuestionType(const std::string &questionType) {
|
||||
questionType_ = questionType;
|
||||
setBodyParameter(std::string("QuestionType"), questionType);
|
||||
std::string RunMedQARequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string RunMedQARequest::getOrgId() const {
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void RunMedQARequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
void RunMedQARequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,94 +1,110 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/ScreenChestCTRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::ScreenChestCTRequest;
|
||||
|
||||
ScreenChestCTRequest::ScreenChestCTRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "ScreenChestCT") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/ScreenChestCTRequest.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
ScreenChestCTRequest::~ScreenChestCTRequest() {}
|
||||
|
||||
std::string ScreenChestCTRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void ScreenChestCTRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
long ScreenChestCTRequest::getMask()const
|
||||
{
|
||||
return mask_;
|
||||
}
|
||||
|
||||
long ScreenChestCTRequest::getMask() const {
|
||||
return mask_;
|
||||
void ScreenChestCTRequest::setMask(long mask)
|
||||
{
|
||||
mask_ = mask;
|
||||
setBodyParameter("Mask", std::to_string(mask));
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setMask(long mask) {
|
||||
mask_ = mask;
|
||||
setBodyParameter(std::string("Mask"), std::to_string(mask));
|
||||
std::string ScreenChestCTRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string ScreenChestCTRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void ScreenChestCTRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<ScreenChestCTRequest::URLList> ScreenChestCTRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<ScreenChestCTRequest::URLList> ScreenChestCTRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void ScreenChestCTRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setURLList(const std::vector<ScreenChestCTRequest::URLList> &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);
|
||||
}
|
||||
std::string ScreenChestCTRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string ScreenChestCTRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void ScreenChestCTRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
long ScreenChestCTRequest::getVerbose()const
|
||||
{
|
||||
return verbose_;
|
||||
}
|
||||
|
||||
long ScreenChestCTRequest::getVerbose() const {
|
||||
return verbose_;
|
||||
void ScreenChestCTRequest::setVerbose(long verbose)
|
||||
{
|
||||
verbose_ = verbose;
|
||||
setBodyParameter("Verbose", std::to_string(verbose));
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setVerbose(long verbose) {
|
||||
verbose_ = verbose;
|
||||
setBodyParameter(std::string("Verbose"), std::to_string(verbose));
|
||||
bool ScreenChestCTRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool ScreenChestCTRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void ScreenChestCTRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,58 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/ScreenECRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::ScreenECRequest;
|
||||
|
||||
ScreenECRequest::ScreenECRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "ScreenEC") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/ScreenECRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::ScreenECRequest;
|
||||
|
||||
ScreenECRequest::ScreenECRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "ScreenEC")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ScreenECRequest::~ScreenECRequest()
|
||||
{}
|
||||
|
||||
std::string ScreenECRequest::getDataSourceType()const
|
||||
{
|
||||
return dataSourceType_;
|
||||
}
|
||||
|
||||
ScreenECRequest::~ScreenECRequest() {}
|
||||
|
||||
std::string ScreenECRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
void ScreenECRequest::setDataSourceType(const std::string& dataSourceType)
|
||||
{
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter("DataSourceType", dataSourceType);
|
||||
}
|
||||
|
||||
void ScreenECRequest::setDataSourceType(const std::string &dataSourceType) {
|
||||
dataSourceType_ = dataSourceType;
|
||||
setBodyParameter(std::string("DataSourceType"), dataSourceType);
|
||||
std::vector<ScreenECRequest::URLList> ScreenECRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<ScreenECRequest::URLList> ScreenECRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void ScreenECRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenECRequest::setURLList(const std::vector<ScreenECRequest::URLList> &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);
|
||||
}
|
||||
bool ScreenECRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool ScreenECRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void ScreenECRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
void ScreenECRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,102 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/SegmentOARRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::SegmentOARRequest;
|
||||
|
||||
SegmentOARRequest::SegmentOARRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "SegmentOAR") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/SegmentOARRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::SegmentOARRequest;
|
||||
|
||||
SegmentOARRequest::SegmentOARRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "SegmentOAR")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SegmentOARRequest::~SegmentOARRequest()
|
||||
{}
|
||||
|
||||
std::string SegmentOARRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
SegmentOARRequest::~SegmentOARRequest() {}
|
||||
|
||||
std::string SegmentOARRequest::getOrgName() const {
|
||||
return orgName_;
|
||||
void SegmentOARRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setOrgName(const std::string &orgName) {
|
||||
orgName_ = orgName;
|
||||
setBodyParameter(std::string("OrgName"), orgName);
|
||||
std::string SegmentOARRequest::getBodyPart()const
|
||||
{
|
||||
return bodyPart_;
|
||||
}
|
||||
|
||||
std::string SegmentOARRequest::getBodyPart() const {
|
||||
return bodyPart_;
|
||||
void SegmentOARRequest::setBodyPart(const std::string& bodyPart)
|
||||
{
|
||||
bodyPart_ = bodyPart;
|
||||
setBodyParameter("BodyPart", bodyPart);
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setBodyPart(const std::string &bodyPart) {
|
||||
bodyPart_ = bodyPart;
|
||||
setBodyParameter(std::string("BodyPart"), bodyPart);
|
||||
std::string SegmentOARRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
std::string SegmentOARRequest::getDataFormat() const {
|
||||
return dataFormat_;
|
||||
void SegmentOARRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setDataFormat(const std::string &dataFormat) {
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter(std::string("DataFormat"), dataFormat);
|
||||
std::vector<SegmentOARRequest::URLList> SegmentOARRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
std::vector<SegmentOARRequest::URLList> SegmentOARRequest::getURLList() const {
|
||||
return uRLList_;
|
||||
void SegmentOARRequest::setURLList(const std::vector<URLList>& 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);
|
||||
}
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setURLList(const std::vector<SegmentOARRequest::URLList> &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);
|
||||
}
|
||||
std::string SegmentOARRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
std::string SegmentOARRequest::getOrgId() const {
|
||||
return orgId_;
|
||||
void SegmentOARRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setOrgId(const std::string &orgId) {
|
||||
orgId_ = orgId;
|
||||
setBodyParameter(std::string("OrgId"), orgId);
|
||||
bool SegmentOARRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
bool SegmentOARRequest::getAsync() const {
|
||||
return async_;
|
||||
void SegmentOARRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setBodyParameter(std::string("Async"), async ? "true" : "false");
|
||||
bool SegmentOARRequest::getContrast()const
|
||||
{
|
||||
return contrast_;
|
||||
}
|
||||
|
||||
bool SegmentOARRequest::getContrast() const {
|
||||
return contrast_;
|
||||
void SegmentOARRequest::setContrast(bool contrast)
|
||||
{
|
||||
contrast_ = contrast;
|
||||
setBodyParameter("Contrast", contrast ? "true" : "false");
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setContrast(bool contrast) {
|
||||
contrast_ = contrast;
|
||||
setBodyParameter(std::string("Contrast"), contrast ? "true" : "false");
|
||||
std::vector<long> SegmentOARRequest::getMaskList()const
|
||||
{
|
||||
return maskList_;
|
||||
}
|
||||
|
||||
std::vector<long> SegmentOARRequest::getMaskList() const {
|
||||
return maskList_;
|
||||
}
|
||||
|
||||
void SegmentOARRequest::setMaskList(const std::vector<long> &maskList) {
|
||||
maskList_ = maskList;
|
||||
void SegmentOARRequest::setMaskList(const std::vector<long>& maskList)
|
||||
{
|
||||
maskList_ = maskList;
|
||||
for(int dep1 = 0; dep1!= maskList.size(); dep1++) {
|
||||
setBodyParameter("MaskList."+ std::to_string(dep1), std::to_string(maskList.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,54 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/TranslateMedRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::TranslateMedRequest;
|
||||
|
||||
TranslateMedRequest::TranslateMedRequest()
|
||||
: RpcServiceRequest("imageprocess", "2020-03-20", "TranslateMed") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/TranslateMedRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::TranslateMedRequest;
|
||||
|
||||
TranslateMedRequest::TranslateMedRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "TranslateMed")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TranslateMedRequest::~TranslateMedRequest()
|
||||
{}
|
||||
|
||||
std::string TranslateMedRequest::getToLanguage()const
|
||||
{
|
||||
return toLanguage_;
|
||||
}
|
||||
|
||||
TranslateMedRequest::~TranslateMedRequest() {}
|
||||
|
||||
std::string TranslateMedRequest::getToLanguage() const {
|
||||
return toLanguage_;
|
||||
void TranslateMedRequest::setToLanguage(const std::string& toLanguage)
|
||||
{
|
||||
toLanguage_ = toLanguage;
|
||||
setBodyParameter("ToLanguage", toLanguage);
|
||||
}
|
||||
|
||||
void TranslateMedRequest::setToLanguage(const std::string &toLanguage) {
|
||||
toLanguage_ = toLanguage;
|
||||
setBodyParameter(std::string("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("Text", text);
|
||||
}
|
||||
|
||||
void TranslateMedRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
std::string TranslateMedRequest::getFromLanguage()const
|
||||
{
|
||||
return fromLanguage_;
|
||||
}
|
||||
|
||||
std::string TranslateMedRequest::getFromLanguage() const {
|
||||
return fromLanguage_;
|
||||
}
|
||||
|
||||
void TranslateMedRequest::setFromLanguage(const std::string &fromLanguage) {
|
||||
fromLanguage_ = fromLanguage;
|
||||
setBodyParameter(std::string("FromLanguage"), fromLanguage);
|
||||
void TranslateMedRequest::setFromLanguage(const std::string& fromLanguage)
|
||||
{
|
||||
fromLanguage_ = fromLanguage;
|
||||
setBodyParameter("FromLanguage", fromLanguage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user