Supported SDK AD for version-3.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
45
alinlp/src/model/ADClockRequest.cc
Normal file
45
alinlp/src/model/ADClockRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/ADClockRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::ADClockRequest;
|
||||
|
||||
ADClockRequest::ADClockRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "ADClock") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ADClockRequest::~ADClockRequest() {}
|
||||
|
||||
std::string ADClockRequest::getParams() const {
|
||||
return params_;
|
||||
}
|
||||
|
||||
void ADClockRequest::setParams(const std::string ¶ms) {
|
||||
params_ = params;
|
||||
setBodyParameter(std::string("Params"), params);
|
||||
}
|
||||
|
||||
std::string ADClockRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ADClockRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/ADClockResult.cc
Normal file
51
alinlp/src/model/ADClockResult.cc
Normal file
@@ -0,0 +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/alinlp/model/ADClockResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
ADClockResult::ADClockResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ADClockResult::ADClockResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ADClockResult::~ADClockResult()
|
||||
{}
|
||||
|
||||
void ADClockResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ADClockResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/ADMMURequest.cc
Normal file
45
alinlp/src/model/ADMMURequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/ADMMURequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::ADMMURequest;
|
||||
|
||||
ADMMURequest::ADMMURequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "ADMMU") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ADMMURequest::~ADMMURequest() {}
|
||||
|
||||
std::string ADMMURequest::getParams() const {
|
||||
return params_;
|
||||
}
|
||||
|
||||
void ADMMURequest::setParams(const std::string ¶ms) {
|
||||
params_ = params;
|
||||
setBodyParameter(std::string("Params"), params);
|
||||
}
|
||||
|
||||
std::string ADMMURequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ADMMURequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/ADMMUResult.cc
Normal file
51
alinlp/src/model/ADMMUResult.cc
Normal file
@@ -0,0 +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/alinlp/model/ADMMUResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
ADMMUResult::ADMMUResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ADMMUResult::ADMMUResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ADMMUResult::~ADMMUResult()
|
||||
{}
|
||||
|
||||
void ADMMUResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ADMMUResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/ADMiniCogRequest.cc
Normal file
45
alinlp/src/model/ADMiniCogRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/ADMiniCogRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::ADMiniCogRequest;
|
||||
|
||||
ADMiniCogRequest::ADMiniCogRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "ADMiniCog") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ADMiniCogRequest::~ADMiniCogRequest() {}
|
||||
|
||||
std::string ADMiniCogRequest::getParams() const {
|
||||
return params_;
|
||||
}
|
||||
|
||||
void ADMiniCogRequest::setParams(const std::string ¶ms) {
|
||||
params_ = params;
|
||||
setBodyParameter(std::string("Params"), params);
|
||||
}
|
||||
|
||||
std::string ADMiniCogRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ADMiniCogRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/ADMiniCogResult.cc
Normal file
51
alinlp/src/model/ADMiniCogResult.cc
Normal file
@@ -0,0 +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/alinlp/model/ADMiniCogResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
ADMiniCogResult::ADMiniCogResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ADMiniCogResult::ADMiniCogResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ADMiniCogResult::~ADMiniCogResult()
|
||||
{}
|
||||
|
||||
void ADMiniCogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ADMiniCogResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/ADMiniCogResultRequest.cc
Normal file
45
alinlp/src/model/ADMiniCogResultRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/ADMiniCogResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::ADMiniCogResultRequest;
|
||||
|
||||
ADMiniCogResultRequest::ADMiniCogResultRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "ADMiniCogResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ADMiniCogResultRequest::~ADMiniCogResultRequest() {}
|
||||
|
||||
std::string ADMiniCogResultRequest::getParams() const {
|
||||
return params_;
|
||||
}
|
||||
|
||||
void ADMiniCogResultRequest::setParams(const std::string ¶ms) {
|
||||
params_ = params;
|
||||
setBodyParameter(std::string("Params"), params);
|
||||
}
|
||||
|
||||
std::string ADMiniCogResultRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ADMiniCogResultRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/ADMiniCogResultResult.cc
Normal file
51
alinlp/src/model/ADMiniCogResultResult.cc
Normal file
@@ -0,0 +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/alinlp/model/ADMiniCogResultResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
ADMiniCogResultResult::ADMiniCogResultResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ADMiniCogResultResult::ADMiniCogResultResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ADMiniCogResultResult::~ADMiniCogResultResult()
|
||||
{}
|
||||
|
||||
void ADMiniCogResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ADMiniCogResultResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetBrandChEcomRequest.cc
Normal file
54
alinlp/src/model/GetBrandChEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetBrandChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetBrandChEcomRequest;
|
||||
|
||||
GetBrandChEcomRequest::GetBrandChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetBrandChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetBrandChEcomRequest::~GetBrandChEcomRequest() {}
|
||||
|
||||
std::string GetBrandChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetBrandChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetBrandChEcomRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void GetBrandChEcomRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
}
|
||||
|
||||
std::string GetBrandChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetBrandChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetBrandChEcomResult.cc
Normal file
51
alinlp/src/model/GetBrandChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetBrandChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetBrandChEcomResult::GetBrandChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetBrandChEcomResult::GetBrandChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetBrandChEcomResult::~GetBrandChEcomResult()
|
||||
{}
|
||||
|
||||
void GetBrandChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetBrandChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/GetCateChEcomRequest.cc
Normal file
63
alinlp/src/model/GetCateChEcomRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetCateChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetCateChEcomRequest;
|
||||
|
||||
GetCateChEcomRequest::GetCateChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetCateChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCateChEcomRequest::~GetCateChEcomRequest() {}
|
||||
|
||||
std::string GetCateChEcomRequest::getBusiness() const {
|
||||
return business_;
|
||||
}
|
||||
|
||||
void GetCateChEcomRequest::setBusiness(const std::string &business) {
|
||||
business_ = business;
|
||||
setParameter(std::string("Business"), business);
|
||||
}
|
||||
|
||||
std::string GetCateChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetCateChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetCateChEcomRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void GetCateChEcomRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
}
|
||||
|
||||
std::string GetCateChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetCateChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetCateChEcomResult.cc
Normal file
51
alinlp/src/model/GetCateChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetCateChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetCateChEcomResult::GetCateChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetCateChEcomResult::GetCateChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetCateChEcomResult::~GetCateChEcomResult()
|
||||
{}
|
||||
|
||||
void GetCateChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetCateChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetCheckDuplicationChMedicalRequest.cc
Normal file
54
alinlp/src/model/GetCheckDuplicationChMedicalRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetCheckDuplicationChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetCheckDuplicationChMedicalRequest;
|
||||
|
||||
GetCheckDuplicationChMedicalRequest::GetCheckDuplicationChMedicalRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetCheckDuplicationChMedical") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCheckDuplicationChMedicalRequest::~GetCheckDuplicationChMedicalRequest() {}
|
||||
|
||||
std::string GetCheckDuplicationChMedicalRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetCheckDuplicationChMedicalRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetCheckDuplicationChMedicalRequest::getOriginT() const {
|
||||
return originT_;
|
||||
}
|
||||
|
||||
void GetCheckDuplicationChMedicalRequest::setOriginT(const std::string &originT) {
|
||||
originT_ = originT;
|
||||
setBodyParameter(std::string("OriginT"), originT);
|
||||
}
|
||||
|
||||
std::string GetCheckDuplicationChMedicalRequest::getOriginQ() const {
|
||||
return originQ_;
|
||||
}
|
||||
|
||||
void GetCheckDuplicationChMedicalRequest::setOriginQ(const std::string &originQ) {
|
||||
originQ_ = originQ;
|
||||
setBodyParameter(std::string("OriginQ"), originQ);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetCheckDuplicationChMedicalResult.cc
Normal file
51
alinlp/src/model/GetCheckDuplicationChMedicalResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetCheckDuplicationChMedicalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetCheckDuplicationChMedicalResult::GetCheckDuplicationChMedicalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetCheckDuplicationChMedicalResult::GetCheckDuplicationChMedicalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetCheckDuplicationChMedicalResult::~GetCheckDuplicationChMedicalResult()
|
||||
{}
|
||||
|
||||
void GetCheckDuplicationChMedicalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetCheckDuplicationChMedicalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetDiagnosisChMedicalRequest.cc
Normal file
45
alinlp/src/model/GetDiagnosisChMedicalRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDiagnosisChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetDiagnosisChMedicalRequest;
|
||||
|
||||
GetDiagnosisChMedicalRequest::GetDiagnosisChMedicalRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetDiagnosisChMedical") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDiagnosisChMedicalRequest::~GetDiagnosisChMedicalRequest() {}
|
||||
|
||||
std::string GetDiagnosisChMedicalRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetDiagnosisChMedicalRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetDiagnosisChMedicalRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void GetDiagnosisChMedicalRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setBodyParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetDiagnosisChMedicalResult.cc
Normal file
51
alinlp/src/model/GetDiagnosisChMedicalResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetDiagnosisChMedicalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetDiagnosisChMedicalResult::GetDiagnosisChMedicalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDiagnosisChMedicalResult::GetDiagnosisChMedicalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDiagnosisChMedicalResult::~GetDiagnosisChMedicalResult()
|
||||
{}
|
||||
|
||||
void GetDiagnosisChMedicalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDiagnosisChMedicalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDpChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetDpChEcomRequest;
|
||||
|
||||
GetDpChEcomRequest::GetDpChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetDpChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDpChEcomRequest::~GetDpChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetDpChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDpChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetDpChEcomRequest;
|
||||
|
||||
GetDpChEcomRequest::GetDpChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetDpChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetDpChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
GetDpChEcomRequest::~GetDpChEcomRequest() {}
|
||||
|
||||
std::string GetDpChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetDpChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetDpChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetDpChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetDpChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetDpChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
|
||||
45
alinlp/src/model/GetDpChGeneralCTBRequest.cc
Normal file
45
alinlp/src/model/GetDpChGeneralCTBRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDpChGeneralCTBRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetDpChGeneralCTBRequest;
|
||||
|
||||
GetDpChGeneralCTBRequest::GetDpChGeneralCTBRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetDpChGeneralCTB") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDpChGeneralCTBRequest::~GetDpChGeneralCTBRequest() {}
|
||||
|
||||
std::string GetDpChGeneralCTBRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetDpChGeneralCTBRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetDpChGeneralCTBRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetDpChGeneralCTBRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetDpChGeneralCTBResult.cc
Normal file
51
alinlp/src/model/GetDpChGeneralCTBResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetDpChGeneralCTBResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetDpChGeneralCTBResult::GetDpChGeneralCTBResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDpChGeneralCTBResult::GetDpChGeneralCTBResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDpChGeneralCTBResult::~GetDpChGeneralCTBResult()
|
||||
{}
|
||||
|
||||
void GetDpChGeneralCTBResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDpChGeneralCTBResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetDpChGeneralStanfordRequest.cc
Normal file
45
alinlp/src/model/GetDpChGeneralStanfordRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDpChGeneralStanfordRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetDpChGeneralStanfordRequest;
|
||||
|
||||
GetDpChGeneralStanfordRequest::GetDpChGeneralStanfordRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetDpChGeneralStanford") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDpChGeneralStanfordRequest::~GetDpChGeneralStanfordRequest() {}
|
||||
|
||||
std::string GetDpChGeneralStanfordRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetDpChGeneralStanfordRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetDpChGeneralStanfordRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetDpChGeneralStanfordRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetDpChGeneralStanfordResult.cc
Normal file
51
alinlp/src/model/GetDpChGeneralStanfordResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetDpChGeneralStanfordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetDpChGeneralStanfordResult::GetDpChGeneralStanfordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDpChGeneralStanfordResult::GetDpChGeneralStanfordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDpChGeneralStanfordResult::~GetDpChGeneralStanfordResult()
|
||||
{}
|
||||
|
||||
void GetDpChGeneralStanfordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDpChGeneralStanfordResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetEcChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetEcChGeneralRequest;
|
||||
|
||||
GetEcChGeneralRequest::GetEcChGeneralRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetEcChGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEcChGeneralRequest::~GetEcChGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string GetEcChGeneralRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetEcChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetEcChGeneralRequest;
|
||||
|
||||
GetEcChGeneralRequest::GetEcChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetEcChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetEcChGeneralRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
GetEcChGeneralRequest::~GetEcChGeneralRequest() {}
|
||||
|
||||
std::string GetEcChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetEcChGeneralRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetEcChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetEcChGeneralRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetEcChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetEcChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
|
||||
45
alinlp/src/model/GetEcEnGeneralRequest.cc
Normal file
45
alinlp/src/model/GetEcEnGeneralRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetEcEnGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetEcEnGeneralRequest;
|
||||
|
||||
GetEcEnGeneralRequest::GetEcEnGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetEcEnGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEcEnGeneralRequest::~GetEcEnGeneralRequest() {}
|
||||
|
||||
std::string GetEcEnGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetEcEnGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetEcEnGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetEcEnGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetEcEnGeneralResult.cc
Normal file
51
alinlp/src/model/GetEcEnGeneralResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetEcEnGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetEcEnGeneralResult::GetEcEnGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetEcEnGeneralResult::GetEcEnGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetEcEnGeneralResult::~GetEcEnGeneralResult()
|
||||
{}
|
||||
|
||||
void GetEcEnGeneralResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetEcEnGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetItemPubChEcomRequest.cc
Normal file
54
alinlp/src/model/GetItemPubChEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetItemPubChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetItemPubChEcomRequest;
|
||||
|
||||
GetItemPubChEcomRequest::GetItemPubChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetItemPubChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetItemPubChEcomRequest::~GetItemPubChEcomRequest() {}
|
||||
|
||||
std::string GetItemPubChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetItemPubChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetItemPubChEcomRequest::getImageUrl() const {
|
||||
return imageUrl_;
|
||||
}
|
||||
|
||||
void GetItemPubChEcomRequest::setImageUrl(const std::string &imageUrl) {
|
||||
imageUrl_ = imageUrl;
|
||||
setBodyParameter(std::string("ImageUrl"), imageUrl);
|
||||
}
|
||||
|
||||
std::string GetItemPubChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetItemPubChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetItemPubChEcomResult.cc
Normal file
51
alinlp/src/model/GetItemPubChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetItemPubChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetItemPubChEcomResult::GetItemPubChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetItemPubChEcomResult::GetItemPubChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetItemPubChEcomResult::~GetItemPubChEcomResult()
|
||||
{}
|
||||
|
||||
void GetItemPubChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetItemPubChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetKeywordChEcomRequest.cc
Normal file
54
alinlp/src/model/GetKeywordChEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetKeywordChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetKeywordChEcomRequest;
|
||||
|
||||
GetKeywordChEcomRequest::GetKeywordChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetKeywordChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetKeywordChEcomRequest::~GetKeywordChEcomRequest() {}
|
||||
|
||||
std::string GetKeywordChEcomRequest::getApiVersion() const {
|
||||
return apiVersion_;
|
||||
}
|
||||
|
||||
void GetKeywordChEcomRequest::setApiVersion(const std::string &apiVersion) {
|
||||
apiVersion_ = apiVersion;
|
||||
setBodyParameter(std::string("ApiVersion"), apiVersion);
|
||||
}
|
||||
|
||||
std::string GetKeywordChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetKeywordChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetKeywordChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetKeywordChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetKeywordChEcomResult.cc
Normal file
51
alinlp/src/model/GetKeywordChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetKeywordChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetKeywordChEcomResult::GetKeywordChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetKeywordChEcomResult::GetKeywordChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetKeywordChEcomResult::~GetKeywordChEcomResult()
|
||||
{}
|
||||
|
||||
void GetKeywordChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetKeywordChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetKeywordEnEcomRequest.cc
Normal file
45
alinlp/src/model/GetKeywordEnEcomRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetKeywordEnEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetKeywordEnEcomRequest;
|
||||
|
||||
GetKeywordEnEcomRequest::GetKeywordEnEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetKeywordEnEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetKeywordEnEcomRequest::~GetKeywordEnEcomRequest() {}
|
||||
|
||||
std::string GetKeywordEnEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetKeywordEnEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetKeywordEnEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetKeywordEnEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetKeywordEnEcomResult.cc
Normal file
51
alinlp/src/model/GetKeywordEnEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetKeywordEnEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetKeywordEnEcomResult::GetKeywordEnEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetKeywordEnEcomResult::GetKeywordEnEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetKeywordEnEcomResult::~GetKeywordEnEcomResult()
|
||||
{}
|
||||
|
||||
void GetKeywordEnEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetKeywordEnEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
72
alinlp/src/model/GetMedicineChMedicalRequest.cc
Normal file
72
alinlp/src/model/GetMedicineChMedicalRequest.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetMedicineChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetMedicineChMedicalRequest;
|
||||
|
||||
GetMedicineChMedicalRequest::GetMedicineChMedicalRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetMedicineChMedical") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMedicineChMedicalRequest::~GetMedicineChMedicalRequest() {}
|
||||
|
||||
std::string GetMedicineChMedicalRequest::getFactory() const {
|
||||
return factory_;
|
||||
}
|
||||
|
||||
void GetMedicineChMedicalRequest::setFactory(const std::string &factory) {
|
||||
factory_ = factory;
|
||||
setBodyParameter(std::string("Factory"), factory);
|
||||
}
|
||||
|
||||
std::string GetMedicineChMedicalRequest::getSpecification() const {
|
||||
return specification_;
|
||||
}
|
||||
|
||||
void GetMedicineChMedicalRequest::setSpecification(const std::string &specification) {
|
||||
specification_ = specification;
|
||||
setBodyParameter(std::string("Specification"), specification);
|
||||
}
|
||||
|
||||
std::string GetMedicineChMedicalRequest::getUnit() const {
|
||||
return unit_;
|
||||
}
|
||||
|
||||
void GetMedicineChMedicalRequest::setUnit(const std::string &unit) {
|
||||
unit_ = unit;
|
||||
setBodyParameter(std::string("Unit"), unit);
|
||||
}
|
||||
|
||||
std::string GetMedicineChMedicalRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetMedicineChMedicalRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetMedicineChMedicalRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void GetMedicineChMedicalRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setBodyParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetMedicineChMedicalResult.cc
Normal file
51
alinlp/src/model/GetMedicineChMedicalResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetMedicineChMedicalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetMedicineChMedicalResult::GetMedicineChMedicalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMedicineChMedicalResult::GetMedicineChMedicalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMedicineChMedicalResult::~GetMedicineChMedicalResult()
|
||||
{}
|
||||
|
||||
void GetMedicineChMedicalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetMedicineChMedicalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetNerChEcomRequest.cc
Normal file
54
alinlp/src/model/GetNerChEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerChEcomRequest;
|
||||
|
||||
GetNerChEcomRequest::GetNerChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetNerChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetNerChEcomRequest::~GetNerChEcomRequest() {}
|
||||
|
||||
std::string GetNerChEcomRequest::getLexerId() const {
|
||||
return lexerId_;
|
||||
}
|
||||
|
||||
void GetNerChEcomRequest::setLexerId(const std::string &lexerId) {
|
||||
lexerId_ = lexerId;
|
||||
setBodyParameter(std::string("LexerId"), lexerId);
|
||||
}
|
||||
|
||||
std::string GetNerChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetNerChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetNerChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetNerChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetNerChEcomResult.cc
Normal file
51
alinlp/src/model/GetNerChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetNerChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetNerChEcomResult::GetNerChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetNerChEcomResult::GetNerChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetNerChEcomResult::~GetNerChEcomResult()
|
||||
{}
|
||||
|
||||
void GetNerChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetNerChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerChMedicalRequest;
|
||||
|
||||
GetNerChMedicalRequest::GetNerChMedicalRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetNerChMedical")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetNerChMedicalRequest::~GetNerChMedicalRequest()
|
||||
{}
|
||||
|
||||
std::string GetNerChMedicalRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerChMedicalRequest;
|
||||
|
||||
GetNerChMedicalRequest::GetNerChMedicalRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetNerChMedical") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetNerChMedicalRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
GetNerChMedicalRequest::~GetNerChMedicalRequest() {}
|
||||
|
||||
std::string GetNerChMedicalRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetNerChMedicalRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetNerChMedicalRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetNerChMedicalRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetNerChMedicalRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetNerChMedicalRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerCustomizedChEcomRequest;
|
||||
|
||||
GetNerCustomizedChEcomRequest::GetNerCustomizedChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetNerCustomizedChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetNerCustomizedChEcomRequest::~GetNerCustomizedChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getLexerId()const
|
||||
{
|
||||
return lexerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerCustomizedChEcomRequest;
|
||||
|
||||
GetNerCustomizedChEcomRequest::GetNerCustomizedChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetNerCustomizedChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setLexerId(const std::string& lexerId)
|
||||
{
|
||||
lexerId_ = lexerId;
|
||||
setBodyParameter("LexerId", lexerId);
|
||||
GetNerCustomizedChEcomRequest::~GetNerCustomizedChEcomRequest() {}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getLexerId() const {
|
||||
return lexerId_;
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
void GetNerCustomizedChEcomRequest::setLexerId(const std::string &lexerId) {
|
||||
lexerId_ = lexerId;
|
||||
setBodyParameter(std::string("LexerId"), lexerId);
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
std::string GetNerCustomizedChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetNerCustomizedChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetNerCustomizedChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
|
||||
54
alinlp/src/model/GetNerCustomizedSeaEcomRequest.cc
Normal file
54
alinlp/src/model/GetNerCustomizedSeaEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerCustomizedSeaEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerCustomizedSeaEcomRequest;
|
||||
|
||||
GetNerCustomizedSeaEcomRequest::GetNerCustomizedSeaEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetNerCustomizedSeaEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetNerCustomizedSeaEcomRequest::~GetNerCustomizedSeaEcomRequest() {}
|
||||
|
||||
std::string GetNerCustomizedSeaEcomRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedSeaEcomRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setBodyParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedSeaEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedSeaEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedSeaEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedSeaEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetNerCustomizedSeaEcomResult.cc
Normal file
51
alinlp/src/model/GetNerCustomizedSeaEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetNerCustomizedSeaEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetNerCustomizedSeaEcomResult::GetNerCustomizedSeaEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetNerCustomizedSeaEcomResult::GetNerCustomizedSeaEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetNerCustomizedSeaEcomResult::~GetNerCustomizedSeaEcomResult()
|
||||
{}
|
||||
|
||||
void GetNerCustomizedSeaEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedSeaEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetOperationChMedicalRequest.cc
Normal file
45
alinlp/src/model/GetOperationChMedicalRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetOperationChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetOperationChMedicalRequest;
|
||||
|
||||
GetOperationChMedicalRequest::GetOperationChMedicalRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetOperationChMedical") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetOperationChMedicalRequest::~GetOperationChMedicalRequest() {}
|
||||
|
||||
std::string GetOperationChMedicalRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetOperationChMedicalRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetOperationChMedicalRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void GetOperationChMedicalRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setBodyParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetOperationChMedicalResult.cc
Normal file
51
alinlp/src/model/GetOperationChMedicalResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetOperationChMedicalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetOperationChMedicalResult::GetOperationChMedicalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetOperationChMedicalResult::GetOperationChMedicalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetOperationChMedicalResult::~GetOperationChMedicalResult()
|
||||
{}
|
||||
|
||||
void GetOperationChMedicalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetOperationChMedicalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetPosChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetPosChEcomRequest;
|
||||
|
||||
GetPosChEcomRequest::GetPosChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetPosChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPosChEcomRequest::~GetPosChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetPosChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetPosChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetPosChEcomRequest;
|
||||
|
||||
GetPosChEcomRequest::GetPosChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetPosChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
GetPosChEcomRequest::~GetPosChEcomRequest() {}
|
||||
|
||||
std::string GetPosChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetPosChEcomRequest::getTokenizerId()const
|
||||
{
|
||||
return tokenizerId_;
|
||||
void GetPosChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setTokenizerId(const std::string& tokenizerId)
|
||||
{
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter("TokenizerId", tokenizerId);
|
||||
std::string GetPosChEcomRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
std::string GetPosChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetPosChEcomRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetPosChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
std::string GetPosChEcomRequest::getOutType()const
|
||||
{
|
||||
return outType_;
|
||||
void GetPosChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setOutType(const std::string& outType)
|
||||
{
|
||||
outType_ = outType;
|
||||
setBodyParameter("OutType", outType);
|
||||
std::string GetPosChEcomRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
|
||||
63
alinlp/src/model/GetPosChGeneralRequest.cc
Normal file
63
alinlp/src/model/GetPosChGeneralRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetPosChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetPosChGeneralRequest;
|
||||
|
||||
GetPosChGeneralRequest::GetPosChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetPosChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPosChGeneralRequest::~GetPosChGeneralRequest() {}
|
||||
|
||||
std::string GetPosChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetPosChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetPosChGeneralRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetPosChGeneralRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetPosChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetPosChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetPosChGeneralRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetPosChGeneralRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetPosChGeneralResult.cc
Normal file
51
alinlp/src/model/GetPosChGeneralResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetPosChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetPosChGeneralResult::GetPosChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetPosChGeneralResult::GetPosChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetPosChGeneralResult::~GetPosChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetPosChGeneralResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetPosChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetPriceChEcomRequest.cc
Normal file
45
alinlp/src/model/GetPriceChEcomRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetPriceChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetPriceChEcomRequest;
|
||||
|
||||
GetPriceChEcomRequest::GetPriceChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetPriceChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPriceChEcomRequest::~GetPriceChEcomRequest() {}
|
||||
|
||||
std::string GetPriceChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetPriceChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetPriceChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetPriceChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetPriceChEcomResult.cc
Normal file
51
alinlp/src/model/GetPriceChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetPriceChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetPriceChEcomResult::GetPriceChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetPriceChEcomResult::GetPriceChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetPriceChEcomResult::~GetPriceChEcomResult()
|
||||
{}
|
||||
|
||||
void GetPriceChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetPriceChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetSaChGeneralRequest.cc
Normal file
45
alinlp/src/model/GetSaChGeneralRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSaChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetSaChGeneralRequest;
|
||||
|
||||
GetSaChGeneralRequest::GetSaChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetSaChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSaChGeneralRequest::~GetSaChGeneralRequest() {}
|
||||
|
||||
std::string GetSaChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetSaChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetSaChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetSaChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetSaChGeneralResult.cc
Normal file
51
alinlp/src/model/GetSaChGeneralResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetSaChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetSaChGeneralResult::GetSaChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSaChGeneralResult::GetSaChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSaChGeneralResult::~GetSaChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetSaChGeneralResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetSaChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetSaSeaEcomRequest.cc
Normal file
54
alinlp/src/model/GetSaSeaEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSaSeaEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetSaSeaEcomRequest;
|
||||
|
||||
GetSaSeaEcomRequest::GetSaSeaEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetSaSeaEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSaSeaEcomRequest::~GetSaSeaEcomRequest() {}
|
||||
|
||||
std::string GetSaSeaEcomRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetSaSeaEcomRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setBodyParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
std::string GetSaSeaEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetSaSeaEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetSaSeaEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetSaSeaEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetSaSeaEcomResult.cc
Normal file
51
alinlp/src/model/GetSaSeaEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetSaSeaEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetSaSeaEcomResult::GetSaSeaEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSaSeaEcomResult::GetSaSeaEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSaSeaEcomResult::~GetSaSeaEcomResult()
|
||||
{}
|
||||
|
||||
void GetSaSeaEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetSaSeaEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetSimilarityChMedicalRequest.cc
Normal file
54
alinlp/src/model/GetSimilarityChMedicalRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSimilarityChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetSimilarityChMedicalRequest;
|
||||
|
||||
GetSimilarityChMedicalRequest::GetSimilarityChMedicalRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetSimilarityChMedical") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSimilarityChMedicalRequest::~GetSimilarityChMedicalRequest() {}
|
||||
|
||||
std::string GetSimilarityChMedicalRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetSimilarityChMedicalRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetSimilarityChMedicalRequest::getOriginT() const {
|
||||
return originT_;
|
||||
}
|
||||
|
||||
void GetSimilarityChMedicalRequest::setOriginT(const std::string &originT) {
|
||||
originT_ = originT;
|
||||
setBodyParameter(std::string("OriginT"), originT);
|
||||
}
|
||||
|
||||
std::string GetSimilarityChMedicalRequest::getOriginQ() const {
|
||||
return originQ_;
|
||||
}
|
||||
|
||||
void GetSimilarityChMedicalRequest::setOriginQ(const std::string &originQ) {
|
||||
originQ_ = originQ;
|
||||
setBodyParameter(std::string("OriginQ"), originQ);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetSimilarityChMedicalResult.cc
Normal file
51
alinlp/src/model/GetSimilarityChMedicalResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetSimilarityChMedicalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetSimilarityChMedicalResult::GetSimilarityChMedicalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSimilarityChMedicalResult::GetSimilarityChMedicalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSimilarityChMedicalResult::~GetSimilarityChMedicalResult()
|
||||
{}
|
||||
|
||||
void GetSimilarityChMedicalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetSimilarityChMedicalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSummaryChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetSummaryChEcomRequest;
|
||||
|
||||
GetSummaryChEcomRequest::GetSummaryChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetSummaryChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSummaryChEcomRequest::~GetSummaryChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetSummaryChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSummaryChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetSummaryChEcomRequest;
|
||||
|
||||
GetSummaryChEcomRequest::GetSummaryChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetSummaryChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetSummaryChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
GetSummaryChEcomRequest::~GetSummaryChEcomRequest() {}
|
||||
|
||||
std::string GetSummaryChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetSummaryChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetSummaryChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetSummaryChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetSummaryChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetSummaryChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
|
||||
45
alinlp/src/model/GetTableQAServiceInfoByIdRequest.cc
Normal file
45
alinlp/src/model/GetTableQAServiceInfoByIdRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetTableQAServiceInfoByIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetTableQAServiceInfoByIdRequest;
|
||||
|
||||
GetTableQAServiceInfoByIdRequest::GetTableQAServiceInfoByIdRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetTableQAServiceInfoById") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTableQAServiceInfoByIdRequest::~GetTableQAServiceInfoByIdRequest() {}
|
||||
|
||||
std::string GetTableQAServiceInfoByIdRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetTableQAServiceInfoByIdRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetTableQAServiceInfoByIdRequest::getServiceId() const {
|
||||
return serviceId_;
|
||||
}
|
||||
|
||||
void GetTableQAServiceInfoByIdRequest::setServiceId(const std::string &serviceId) {
|
||||
serviceId_ = serviceId;
|
||||
setBodyParameter(std::string("ServiceId"), serviceId);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetTableQAServiceInfoByIdResult.cc
Normal file
51
alinlp/src/model/GetTableQAServiceInfoByIdResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetTableQAServiceInfoByIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetTableQAServiceInfoByIdResult::GetTableQAServiceInfoByIdResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTableQAServiceInfoByIdResult::GetTableQAServiceInfoByIdResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTableQAServiceInfoByIdResult::~GetTableQAServiceInfoByIdResult()
|
||||
{}
|
||||
|
||||
void GetTableQAServiceInfoByIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTableQAServiceInfoByIdResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetTcChEcomRequest.cc
Normal file
45
alinlp/src/model/GetTcChEcomRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetTcChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetTcChEcomRequest;
|
||||
|
||||
GetTcChEcomRequest::GetTcChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetTcChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTcChEcomRequest::~GetTcChEcomRequest() {}
|
||||
|
||||
std::string GetTcChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetTcChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetTcChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetTcChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetTcChEcomResult.cc
Normal file
51
alinlp/src/model/GetTcChEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetTcChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetTcChEcomResult::GetTcChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTcChEcomResult::GetTcChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTcChEcomResult::~GetTcChEcomResult()
|
||||
{}
|
||||
|
||||
void GetTcChEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTcChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/GetTcChGeneralRequest.cc
Normal file
45
alinlp/src/model/GetTcChGeneralRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetTcChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetTcChGeneralRequest;
|
||||
|
||||
GetTcChGeneralRequest::GetTcChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetTcChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTcChGeneralRequest::~GetTcChGeneralRequest() {}
|
||||
|
||||
std::string GetTcChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetTcChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetTcChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetTcChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetTcChGeneralResult.cc
Normal file
51
alinlp/src/model/GetTcChGeneralResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetTcChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetTcChGeneralResult::GetTcChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTcChGeneralResult::GetTcChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTcChGeneralResult::~GetTcChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetTcChGeneralResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetTcChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetTsChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetTsChEcomRequest;
|
||||
|
||||
GetTsChEcomRequest::GetTsChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetTsChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTsChEcomRequest::~GetTsChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetTsChEcomRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetTsChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetTsChEcomRequest;
|
||||
|
||||
GetTsChEcomRequest::GetTsChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetTsChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setBodyParameter("Type", type);
|
||||
GetTsChEcomRequest::~GetTsChEcomRequest() {}
|
||||
|
||||
std::string GetTsChEcomRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string GetTsChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
void GetTsChEcomRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setBodyParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
std::string GetTsChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetTsChEcomRequest::getOriginT()const
|
||||
{
|
||||
return originT_;
|
||||
void GetTsChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setOriginT(const std::string& originT)
|
||||
{
|
||||
originT_ = originT;
|
||||
setBodyParameter("OriginT", originT);
|
||||
std::string GetTsChEcomRequest::getOriginT() const {
|
||||
return originT_;
|
||||
}
|
||||
|
||||
std::string GetTsChEcomRequest::getOriginQ()const
|
||||
{
|
||||
return originQ_;
|
||||
void GetTsChEcomRequest::setOriginT(const std::string &originT) {
|
||||
originT_ = originT;
|
||||
setBodyParameter(std::string("OriginT"), originT);
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setOriginQ(const std::string& originQ)
|
||||
{
|
||||
originQ_ = originQ;
|
||||
setBodyParameter("OriginQ", originQ);
|
||||
std::string GetTsChEcomRequest::getOriginQ() const {
|
||||
return originQ_;
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setOriginQ(const std::string &originQ) {
|
||||
originQ_ = originQ;
|
||||
setBodyParameter(std::string("OriginQ"), originQ);
|
||||
}
|
||||
|
||||
|
||||
81
alinlp/src/model/GetWeChCommentRequest.cc
Normal file
81
alinlp/src/model/GetWeChCommentRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChCommentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChCommentRequest;
|
||||
|
||||
GetWeChCommentRequest::GetWeChCommentRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWeChComment") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWeChCommentRequest::~GetWeChCommentRequest() {}
|
||||
|
||||
std::string GetWeChCommentRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetWeChCommentRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setBodyParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string GetWeChCommentRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWeChCommentRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWeChCommentRequest::getSize() const {
|
||||
return size_;
|
||||
}
|
||||
|
||||
void GetWeChCommentRequest::setSize(const std::string &size) {
|
||||
size_ = size;
|
||||
setBodyParameter(std::string("Size"), size);
|
||||
}
|
||||
|
||||
std::string GetWeChCommentRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWeChCommentRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWeChCommentRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWeChCommentRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWeChCommentRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GetWeChCommentRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setBodyParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWeChCommentResult.cc
Normal file
51
alinlp/src/model/GetWeChCommentResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWeChCommentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWeChCommentResult::GetWeChCommentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWeChCommentResult::GetWeChCommentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWeChCommentResult::~GetWeChCommentResult()
|
||||
{}
|
||||
|
||||
void GetWeChCommentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWeChCommentResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,139 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChEcomRequest;
|
||||
|
||||
GetWeChEcomRequest::GetWeChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetWeChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWeChEcomRequest::~GetWeChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetWeChEcomRequest::getWordVectorDelimiter()const
|
||||
{
|
||||
return wordVectorDelimiter_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChEcomRequest;
|
||||
|
||||
GetWeChEcomRequest::GetWeChEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWeChEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setWordVectorDelimiter(const std::string& wordVectorDelimiter)
|
||||
{
|
||||
wordVectorDelimiter_ = wordVectorDelimiter;
|
||||
setBodyParameter("WordVectorDelimiter", wordVectorDelimiter);
|
||||
GetWeChEcomRequest::~GetWeChEcomRequest() {}
|
||||
|
||||
std::string GetWeChEcomRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void GetWeChEcomRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setBodyParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setBodyParameter("Type", type);
|
||||
std::string GetWeChEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getUuid()const
|
||||
{
|
||||
return uuid_;
|
||||
void GetWeChEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setUuid(const std::string& uuid)
|
||||
{
|
||||
uuid_ = uuid;
|
||||
setBodyParameter("Uuid", uuid);
|
||||
std::string GetWeChEcomRequest::getSize() const {
|
||||
return size_;
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getDelimiter()const
|
||||
{
|
||||
return delimiter_;
|
||||
void GetWeChEcomRequest::setSize(const std::string &size) {
|
||||
size_ = size;
|
||||
setBodyParameter(std::string("Size"), size);
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setDelimiter(const std::string& delimiter)
|
||||
{
|
||||
delimiter_ = delimiter;
|
||||
setBodyParameter("Delimiter", delimiter);
|
||||
std::string GetWeChEcomRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetWeChEcomRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetWeChEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
void GetWeChEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setBodyParameter("Token", token);
|
||||
std::string GetWeChEcomRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setSize(const std::string& size)
|
||||
{
|
||||
size_ = size;
|
||||
setBodyParameter("Size", size);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getWordDelimiter()const
|
||||
{
|
||||
return wordDelimiter_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setWordDelimiter(const std::string& wordDelimiter)
|
||||
{
|
||||
wordDelimiter_ = wordDelimiter;
|
||||
setBodyParameter("WordDelimiter", wordDelimiter);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getOperation()const
|
||||
{
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setOperation(const std::string& operation)
|
||||
{
|
||||
operation_ = operation;
|
||||
setBodyParameter("Operation", operation);
|
||||
void GetWeChEcomRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setBodyParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
|
||||
81
alinlp/src/model/GetWeChEntertainmentRequest.cc
Normal file
81
alinlp/src/model/GetWeChEntertainmentRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChEntertainmentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChEntertainmentRequest;
|
||||
|
||||
GetWeChEntertainmentRequest::GetWeChEntertainmentRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWeChEntertainment") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWeChEntertainmentRequest::~GetWeChEntertainmentRequest() {}
|
||||
|
||||
std::string GetWeChEntertainmentRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetWeChEntertainmentRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setBodyParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string GetWeChEntertainmentRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWeChEntertainmentRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWeChEntertainmentRequest::getSize() const {
|
||||
return size_;
|
||||
}
|
||||
|
||||
void GetWeChEntertainmentRequest::setSize(const std::string &size) {
|
||||
size_ = size;
|
||||
setBodyParameter(std::string("Size"), size);
|
||||
}
|
||||
|
||||
std::string GetWeChEntertainmentRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWeChEntertainmentRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWeChEntertainmentRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWeChEntertainmentRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWeChEntertainmentRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GetWeChEntertainmentRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setBodyParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWeChEntertainmentResult.cc
Normal file
51
alinlp/src/model/GetWeChEntertainmentResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWeChEntertainmentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWeChEntertainmentResult::GetWeChEntertainmentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWeChEntertainmentResult::GetWeChEntertainmentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWeChEntertainmentResult::~GetWeChEntertainmentResult()
|
||||
{}
|
||||
|
||||
void GetWeChEntertainmentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWeChEntertainmentResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
72
alinlp/src/model/GetWeChGeneralRequest.cc
Normal file
72
alinlp/src/model/GetWeChGeneralRequest.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChGeneralRequest;
|
||||
|
||||
GetWeChGeneralRequest::GetWeChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWeChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWeChGeneralRequest::~GetWeChGeneralRequest() {}
|
||||
|
||||
std::string GetWeChGeneralRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetWeChGeneralRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setBodyParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string GetWeChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWeChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWeChGeneralRequest::getSize() const {
|
||||
return size_;
|
||||
}
|
||||
|
||||
void GetWeChGeneralRequest::setSize(const std::string &size) {
|
||||
size_ = size;
|
||||
setBodyParameter(std::string("Size"), size);
|
||||
}
|
||||
|
||||
std::string GetWeChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWeChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWeChGeneralRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GetWeChGeneralRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setBodyParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWeChGeneralResult.cc
Normal file
51
alinlp/src/model/GetWeChGeneralResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWeChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWeChGeneralResult::GetWeChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWeChGeneralResult::GetWeChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWeChGeneralResult::~GetWeChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetWeChGeneralResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWeChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
81
alinlp/src/model/GetWeChSearchRequest.cc
Normal file
81
alinlp/src/model/GetWeChSearchRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChSearchRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChSearchRequest;
|
||||
|
||||
GetWeChSearchRequest::GetWeChSearchRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWeChSearch") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWeChSearchRequest::~GetWeChSearchRequest() {}
|
||||
|
||||
std::string GetWeChSearchRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetWeChSearchRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setBodyParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string GetWeChSearchRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWeChSearchRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWeChSearchRequest::getSize() const {
|
||||
return size_;
|
||||
}
|
||||
|
||||
void GetWeChSearchRequest::setSize(const std::string &size) {
|
||||
size_ = size;
|
||||
setBodyParameter(std::string("Size"), size);
|
||||
}
|
||||
|
||||
std::string GetWeChSearchRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWeChSearchRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWeChSearchRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWeChSearchRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWeChSearchRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GetWeChSearchRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setBodyParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWeChSearchResult.cc
Normal file
51
alinlp/src/model/GetWeChSearchResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWeChSearchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWeChSearchResult::GetWeChSearchResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWeChSearchResult::GetWeChSearchResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWeChSearchResult::~GetWeChSearchResult()
|
||||
{}
|
||||
|
||||
void GetWeChSearchResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWeChSearchResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/GetWsChGeneralRequest.cc
Normal file
63
alinlp/src/model/GetWsChGeneralRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsChGeneralRequest;
|
||||
|
||||
GetWsChGeneralRequest::GetWsChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsChGeneralRequest::~GetWsChGeneralRequest() {}
|
||||
|
||||
std::string GetWsChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsChGeneralRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsChGeneralRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWsChGeneralRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsChGeneralRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsChGeneralResult.cc
Normal file
51
alinlp/src/model/GetWsChGeneralResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsChGeneralResult::GetWsChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsChGeneralResult::GetWsChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsChGeneralResult::~GetWsChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetWsChGeneralResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/GetWsCustomizedChEcomCommentRequest.cc
Normal file
63
alinlp/src/model/GetWsCustomizedChEcomCommentRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChEcomCommentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChEcomCommentRequest;
|
||||
|
||||
GetWsCustomizedChEcomCommentRequest::GetWsCustomizedChEcomCommentRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChEcomComment") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEcomCommentRequest::~GetWsCustomizedChEcomCommentRequest() {}
|
||||
|
||||
std::string GetWsCustomizedChEcomCommentRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomCommentRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomCommentRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomCommentRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomCommentRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomCommentRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomCommentRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomCommentRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedChEcomCommentResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedChEcomCommentResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsCustomizedChEcomCommentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedChEcomCommentResult::GetWsCustomizedChEcomCommentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedChEcomCommentResult::GetWsCustomizedChEcomCommentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEcomCommentResult::~GetWsCustomizedChEcomCommentResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedChEcomCommentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomCommentResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/GetWsCustomizedChEcomContentRequest.cc
Normal file
63
alinlp/src/model/GetWsCustomizedChEcomContentRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChEcomContentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChEcomContentRequest;
|
||||
|
||||
GetWsCustomizedChEcomContentRequest::GetWsCustomizedChEcomContentRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChEcomContent") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEcomContentRequest::~GetWsCustomizedChEcomContentRequest() {}
|
||||
|
||||
std::string GetWsCustomizedChEcomContentRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomContentRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomContentRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomContentRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomContentRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomContentRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomContentRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomContentRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedChEcomContentResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedChEcomContentResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsCustomizedChEcomContentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedChEcomContentResult::GetWsCustomizedChEcomContentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedChEcomContentResult::GetWsCustomizedChEcomContentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEcomContentResult::~GetWsCustomizedChEcomContentResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedChEcomContentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomContentResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/GetWsCustomizedChEcomTitleRequest.cc
Normal file
63
alinlp/src/model/GetWsCustomizedChEcomTitleRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChEcomTitleRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChEcomTitleRequest;
|
||||
|
||||
GetWsCustomizedChEcomTitleRequest::GetWsCustomizedChEcomTitleRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChEcomTitle") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEcomTitleRequest::~GetWsCustomizedChEcomTitleRequest() {}
|
||||
|
||||
std::string GetWsCustomizedChEcomTitleRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomTitleRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomTitleRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomTitleRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomTitleRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomTitleRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomTitleRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEcomTitleRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedChEcomTitleResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedChEcomTitleResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsCustomizedChEcomTitleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedChEcomTitleResult::GetWsCustomizedChEcomTitleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedChEcomTitleResult::GetWsCustomizedChEcomTitleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEcomTitleResult::~GetWsCustomizedChEcomTitleResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedChEcomTitleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEcomTitleResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/GetWsCustomizedChEntertainmentRequest.cc
Normal file
63
alinlp/src/model/GetWsCustomizedChEntertainmentRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChEntertainmentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChEntertainmentRequest;
|
||||
|
||||
GetWsCustomizedChEntertainmentRequest::GetWsCustomizedChEntertainmentRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChEntertainment") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEntertainmentRequest::~GetWsCustomizedChEntertainmentRequest() {}
|
||||
|
||||
std::string GetWsCustomizedChEntertainmentRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEntertainmentRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEntertainmentRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEntertainmentRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEntertainmentRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEntertainmentRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEntertainmentRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChEntertainmentRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedChEntertainmentResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedChEntertainmentResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsCustomizedChEntertainmentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedChEntertainmentResult::GetWsCustomizedChEntertainmentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedChEntertainmentResult::GetWsCustomizedChEntertainmentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedChEntertainmentResult::~GetWsCustomizedChEntertainmentResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedChEntertainmentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChEntertainmentResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChGeneralRequest;
|
||||
|
||||
GetWsCustomizedChGeneralRequest::GetWsCustomizedChGeneralRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChGeneralRequest::~GetWsCustomizedChGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChGeneralRequest;
|
||||
|
||||
GetWsCustomizedChGeneralRequest::GetWsCustomizedChGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
GetWsCustomizedChGeneralRequest::~GetWsCustomizedChGeneralRequest() {}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getTokenizerId()const
|
||||
{
|
||||
return tokenizerId_;
|
||||
void GetWsCustomizedChGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setTokenizerId(const std::string& tokenizerId)
|
||||
{
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter("TokenizerId", tokenizerId);
|
||||
std::string GetWsCustomizedChGeneralRequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetWsCustomizedChGeneralRequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetWsCustomizedChGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getOutType()const
|
||||
{
|
||||
return outType_;
|
||||
void GetWsCustomizedChGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setOutType(const std::string& outType)
|
||||
{
|
||||
outType_ = outType;
|
||||
setBodyParameter("OutType", outType);
|
||||
std::string GetWsCustomizedChGeneralRequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
|
||||
63
alinlp/src/model/GetWsCustomizedChO2ORequest.cc
Normal file
63
alinlp/src/model/GetWsCustomizedChO2ORequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChO2ORequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChO2ORequest;
|
||||
|
||||
GetWsCustomizedChO2ORequest::GetWsCustomizedChO2ORequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChO2O") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChO2ORequest::~GetWsCustomizedChO2ORequest() {}
|
||||
|
||||
std::string GetWsCustomizedChO2ORequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChO2ORequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChO2ORequest::getTokenizerId() const {
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChO2ORequest::setTokenizerId(const std::string &tokenizerId) {
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter(std::string("TokenizerId"), tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChO2ORequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChO2ORequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChO2ORequest::getOutType() const {
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChO2ORequest::setOutType(const std::string &outType) {
|
||||
outType_ = outType;
|
||||
setBodyParameter(std::string("OutType"), outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedChO2OResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedChO2OResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsCustomizedChO2OResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedChO2OResult::GetWsCustomizedChO2OResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedChO2OResult::GetWsCustomizedChO2OResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedChO2OResult::~GetWsCustomizedChO2OResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedChO2OResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChO2OResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
54
alinlp/src/model/GetWsCustomizedSeaEcomRequest.cc
Normal file
54
alinlp/src/model/GetWsCustomizedSeaEcomRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedSeaEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedSeaEcomRequest;
|
||||
|
||||
GetWsCustomizedSeaEcomRequest::GetWsCustomizedSeaEcomRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedSeaEcom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedSeaEcomRequest::~GetWsCustomizedSeaEcomRequest() {}
|
||||
|
||||
std::string GetWsCustomizedSeaEcomRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaEcomRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setBodyParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaEcomRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaEcomRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaEcomRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaEcomRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedSeaEcomResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedSeaEcomResult.cc
Normal file
@@ -0,0 +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/alinlp/model/GetWsCustomizedSeaEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedSeaEcomResult::GetWsCustomizedSeaEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedSeaEcomResult::GetWsCustomizedSeaEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedSeaEcomResult::~GetWsCustomizedSeaEcomResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedSeaEcomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedSeaGeneralRequest;
|
||||
|
||||
GetWsCustomizedSeaGeneralRequest::GetWsCustomizedSeaGeneralRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedSeaGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedSeaGeneralRequest::~GetWsCustomizedSeaGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedSeaGeneralRequest;
|
||||
|
||||
GetWsCustomizedSeaGeneralRequest::GetWsCustomizedSeaGeneralRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedSeaGeneral") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setBodyParameter("Language", language);
|
||||
GetWsCustomizedSeaGeneralRequest::~GetWsCustomizedSeaGeneralRequest() {}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
void GetWsCustomizedSeaGeneralRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setBodyParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void GetWsCustomizedSeaGeneralRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
|
||||
27
alinlp/src/model/OpenAlinlpServiceRequest.cc
Normal file
27
alinlp/src/model/OpenAlinlpServiceRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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/alinlp/model/OpenAlinlpServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::OpenAlinlpServiceRequest;
|
||||
|
||||
OpenAlinlpServiceRequest::OpenAlinlpServiceRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "OpenAlinlpService") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenAlinlpServiceRequest::~OpenAlinlpServiceRequest() {}
|
||||
|
||||
51
alinlp/src/model/OpenAlinlpServiceResult.cc
Normal file
51
alinlp/src/model/OpenAlinlpServiceResult.cc
Normal file
@@ -0,0 +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/alinlp/model/OpenAlinlpServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
OpenAlinlpServiceResult::OpenAlinlpServiceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
OpenAlinlpServiceResult::OpenAlinlpServiceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
OpenAlinlpServiceResult::~OpenAlinlpServiceResult()
|
||||
{}
|
||||
|
||||
void OpenAlinlpServiceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string OpenAlinlpServiceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
63
alinlp/src/model/RequestTableQAOnlineRequest.cc
Normal file
63
alinlp/src/model/RequestTableQAOnlineRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/RequestTableQAOnlineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::RequestTableQAOnlineRequest;
|
||||
|
||||
RequestTableQAOnlineRequest::RequestTableQAOnlineRequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "RequestTableQAOnline") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RequestTableQAOnlineRequest::~RequestTableQAOnlineRequest() {}
|
||||
|
||||
std::string RequestTableQAOnlineRequest::getQuestion() const {
|
||||
return question_;
|
||||
}
|
||||
|
||||
void RequestTableQAOnlineRequest::setQuestion(const std::string &question) {
|
||||
question_ = question;
|
||||
setBodyParameter(std::string("Question"), question);
|
||||
}
|
||||
|
||||
std::string RequestTableQAOnlineRequest::getParams() const {
|
||||
return params_;
|
||||
}
|
||||
|
||||
void RequestTableQAOnlineRequest::setParams(const std::string ¶ms) {
|
||||
params_ = params;
|
||||
setBodyParameter(std::string("Params"), params);
|
||||
}
|
||||
|
||||
std::string RequestTableQAOnlineRequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void RequestTableQAOnlineRequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
std::string RequestTableQAOnlineRequest::getBotId() const {
|
||||
return botId_;
|
||||
}
|
||||
|
||||
void RequestTableQAOnlineRequest::setBotId(const std::string &botId) {
|
||||
botId_ = botId;
|
||||
setBodyParameter(std::string("BotId"), botId);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/RequestTableQAOnlineResult.cc
Normal file
51
alinlp/src/model/RequestTableQAOnlineResult.cc
Normal file
@@ -0,0 +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/alinlp/model/RequestTableQAOnlineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
RequestTableQAOnlineResult::RequestTableQAOnlineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RequestTableQAOnlineResult::RequestTableQAOnlineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RequestTableQAOnlineResult::~RequestTableQAOnlineResult()
|
||||
{}
|
||||
|
||||
void RequestTableQAOnlineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RequestTableQAOnlineResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
45
alinlp/src/model/RequestTableQARequest.cc
Normal file
45
alinlp/src/model/RequestTableQARequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/RequestTableQARequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::RequestTableQARequest;
|
||||
|
||||
RequestTableQARequest::RequestTableQARequest()
|
||||
: RpcServiceRequest("alinlp", "2020-06-29", "RequestTableQA") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RequestTableQARequest::~RequestTableQARequest() {}
|
||||
|
||||
std::string RequestTableQARequest::getParams() const {
|
||||
return params_;
|
||||
}
|
||||
|
||||
void RequestTableQARequest::setParams(const std::string ¶ms) {
|
||||
params_ = params;
|
||||
setBodyParameter(std::string("Params"), params);
|
||||
}
|
||||
|
||||
std::string RequestTableQARequest::getServiceCode() const {
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void RequestTableQARequest::setServiceCode(const std::string &serviceCode) {
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter(std::string("ServiceCode"), serviceCode);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/RequestTableQAResult.cc
Normal file
51
alinlp/src/model/RequestTableQAResult.cc
Normal file
@@ -0,0 +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/alinlp/model/RequestTableQAResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
RequestTableQAResult::RequestTableQAResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RequestTableQAResult::RequestTableQAResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RequestTableQAResult::~RequestTableQAResult()
|
||||
{}
|
||||
|
||||
void RequestTableQAResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RequestTableQAResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user