Generate SDK by new Generator
This commit is contained in:
File diff suppressed because it is too large
Load Diff
126
ivision/src/model/CreatePredictModelRequest.cc
Normal file
126
ivision/src/model/CreatePredictModelRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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/ivision/model/CreatePredictModelRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreatePredictModelRequest;
|
||||
|
||||
CreatePredictModelRequest::CreatePredictModelRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreatePredictModel")
|
||||
{}
|
||||
|
||||
CreatePredictModelRequest::~CreatePredictModelRequest()
|
||||
{}
|
||||
|
||||
std::string CreatePredictModelRequest::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setRegions(const std::string& regions)
|
||||
{
|
||||
regions_ = regions;
|
||||
setCoreParameter("Regions", regions);
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setSource(const std::string& source)
|
||||
{
|
||||
source_ = source;
|
||||
setCoreParameter("Source", source);
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
long CreatePredictModelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreatePredictModelRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
}
|
||||
|
||||
void CreatePredictModelRequest::setIterationId(const std::string& iterationId)
|
||||
{
|
||||
iterationId_ = iterationId;
|
||||
setCoreParameter("IterationId", iterationId);
|
||||
}
|
||||
|
||||
68
ivision/src/model/CreatePredictModelResult.cc
Normal file
68
ivision/src/model/CreatePredictModelResult.cc
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreatePredictModelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreatePredictModelResult::CreatePredictModelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreatePredictModelResult::CreatePredictModelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreatePredictModelResult::~CreatePredictModelResult()
|
||||
{}
|
||||
|
||||
void CreatePredictModelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto modelNode = value["Model"];
|
||||
if(!modelNode["ModelId"].isNull())
|
||||
model_.modelId = modelNode["ModelId"].asString();
|
||||
if(!modelNode["Name"].isNull())
|
||||
model_.name = modelNode["Name"].asString();
|
||||
if(!modelNode["Description"].isNull())
|
||||
model_.description = modelNode["Description"].asString();
|
||||
if(!modelNode["ProjectId"].isNull())
|
||||
model_.projectId = modelNode["ProjectId"].asString();
|
||||
if(!modelNode["ProjectName"].isNull())
|
||||
model_.projectName = modelNode["ProjectName"].asString();
|
||||
if(!modelNode["IterationId"].isNull())
|
||||
model_.iterationId = modelNode["IterationId"].asString();
|
||||
if(!modelNode["IterationVersion"].isNull())
|
||||
model_.iterationVersion = modelNode["IterationVersion"].asString();
|
||||
if(!modelNode["Regions"].isNull())
|
||||
model_.regions = modelNode["Regions"].asString();
|
||||
if(!modelNode["CreationTime"].isNull())
|
||||
model_.creationTime = modelNode["CreationTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreatePredictModelResult::Model CreatePredictModelResult::getModel()const
|
||||
{
|
||||
return model_;
|
||||
}
|
||||
|
||||
104
ivision/src/model/CreatePredictTemplateRequest.cc
Normal file
104
ivision/src/model/CreatePredictTemplateRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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/ivision/model/CreatePredictTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreatePredictTemplateRequest;
|
||||
|
||||
CreatePredictTemplateRequest::CreatePredictTemplateRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreatePredictTemplate")
|
||||
{}
|
||||
|
||||
CreatePredictTemplateRequest::~CreatePredictTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string CreatePredictTemplateRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreatePredictTemplateRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setOutput(const std::string& output)
|
||||
{
|
||||
output_ = output;
|
||||
setCoreParameter("Output", output);
|
||||
}
|
||||
|
||||
std::string CreatePredictTemplateRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreatePredictTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreatePredictTemplateRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string CreatePredictTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
int CreatePredictTemplateRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void CreatePredictTemplateRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", std::to_string(interval));
|
||||
}
|
||||
|
||||
64
ivision/src/model/CreatePredictTemplateResult.cc
Normal file
64
ivision/src/model/CreatePredictTemplateResult.cc
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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/ivision/model/CreatePredictTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreatePredictTemplateResult::CreatePredictTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreatePredictTemplateResult::CreatePredictTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreatePredictTemplateResult::~CreatePredictTemplateResult()
|
||||
{}
|
||||
|
||||
void CreatePredictTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto _templateNode = value["Template"];
|
||||
if(!_templateNode["TemplateId"].isNull())
|
||||
_template_.templateId = _templateNode["TemplateId"].asString();
|
||||
if(!_templateNode["Name"].isNull())
|
||||
_template_.name = _templateNode["Name"].asString();
|
||||
if(!_templateNode["Description"].isNull())
|
||||
_template_.description = _templateNode["Description"].asString();
|
||||
if(!_templateNode["Interval"].isNull())
|
||||
_template_.interval = std::stoi(_templateNode["Interval"].asString());
|
||||
if(!_templateNode["Output"].isNull())
|
||||
_template_.output = _templateNode["Output"].asString();
|
||||
if(!_templateNode["ModelIds"].isNull())
|
||||
_template_.modelIds = _templateNode["ModelIds"].asString();
|
||||
if(!_templateNode["CreationTime"].isNull())
|
||||
_template_.creationTime = _templateNode["CreationTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreatePredictTemplateResult::_Template CreatePredictTemplateResult::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
@@ -25,39 +25,6 @@ CreateProjectRequest::CreateProjectRequest() :
|
||||
CreateProjectRequest::~CreateProjectRequest()
|
||||
{}
|
||||
|
||||
long CreateProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateProjectRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -69,116 +36,6 @@ void CreateProjectRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateProjectRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,28 +47,6 @@ void CreateProjectRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
@@ -223,17 +58,6 @@ void CreateProjectRequest::setModelId(const std::string& modelId)
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,50 +69,6 @@ void CreateProjectRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateProjectRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getProType()const
|
||||
{
|
||||
return proType_;
|
||||
@@ -300,17 +80,6 @@ void CreateProjectRequest::setProType(const std::string& proType)
|
||||
setCoreParameter("ProType", proType);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateProjectRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateProjectRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateProjectResult::~CreateProjectResult()
|
||||
|
||||
void CreateProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto projectNode = value["Project"];
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
|
||||
71
ivision/src/model/CreateQuickDeployRequest.cc
Normal file
71
ivision/src/model/CreateQuickDeployRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateQuickDeployRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::CreateQuickDeployRequest;
|
||||
|
||||
CreateQuickDeployRequest::CreateQuickDeployRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "CreateQuickDeploy")
|
||||
{}
|
||||
|
||||
CreateQuickDeployRequest::~CreateQuickDeployRequest()
|
||||
{}
|
||||
|
||||
std::string CreateQuickDeployRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void CreateQuickDeployRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateQuickDeployRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void CreateQuickDeployRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long CreateQuickDeployRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateQuickDeployRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateQuickDeployRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
}
|
||||
|
||||
void CreateQuickDeployRequest::setIterationId(const std::string& iterationId)
|
||||
{
|
||||
iterationId_ = iterationId;
|
||||
setCoreParameter("IterationId", iterationId);
|
||||
}
|
||||
|
||||
60
ivision/src/model/CreateQuickDeployResult.cc
Normal file
60
ivision/src/model/CreateQuickDeployResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/CreateQuickDeployResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
CreateQuickDeployResult::CreateQuickDeployResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateQuickDeployResult::CreateQuickDeployResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateQuickDeployResult::~CreateQuickDeployResult()
|
||||
{}
|
||||
|
||||
void CreateQuickDeployResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto quickDeployNode = value["QuickDeploy"];
|
||||
if(!quickDeployNode["ProjectId"].isNull())
|
||||
quickDeploy_.projectId = quickDeployNode["ProjectId"].asString();
|
||||
if(!quickDeployNode["IterationId"].isNull())
|
||||
quickDeploy_.iterationId = quickDeployNode["IterationId"].asString();
|
||||
if(!quickDeployNode["ModelId"].isNull())
|
||||
quickDeploy_.modelId = quickDeployNode["ModelId"].asString();
|
||||
if(!quickDeployNode["CreationTime"].isNull())
|
||||
quickDeploy_.creationTime = quickDeployNode["CreationTime"].asString();
|
||||
if(!quickDeployNode["DeployStatus"].isNull())
|
||||
quickDeploy_.deployStatus = quickDeployNode["DeployStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreateQuickDeployResult::QuickDeploy CreateQuickDeployResult::getQuickDeploy()const
|
||||
{
|
||||
return quickDeploy_;
|
||||
}
|
||||
|
||||
@@ -25,48 +25,15 @@ CreateStreamPredictRequest::CreateStreamPredictRequest() :
|
||||
CreateStreamPredictRequest::~CreateStreamPredictRequest()
|
||||
{}
|
||||
|
||||
long CreateStreamPredictRequest::getResourceOwnerId()const
|
||||
std::string CreateStreamPredictRequest::getClientToken()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
void CreateStreamPredictRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getAutoStart()const
|
||||
@@ -80,28 +47,6 @@ void CreateStreamPredictRequest::setAutoStart(const std::string& autoStart)
|
||||
setCoreParameter("AutoStart", autoStart);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getNotify()const
|
||||
{
|
||||
return notify_;
|
||||
@@ -113,17 +58,6 @@ void CreateStreamPredictRequest::setNotify(const std::string& notify)
|
||||
setCoreParameter("Notify", notify);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
@@ -146,72 +80,6 @@ void CreateStreamPredictRequest::setUserData(const std::string& userData)
|
||||
setCoreParameter("UserData", userData);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateStreamPredictRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -223,28 +91,6 @@ void CreateStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getStreamType()const
|
||||
{
|
||||
return streamType_;
|
||||
@@ -278,17 +124,6 @@ void CreateStreamPredictRequest::setStreamId(const std::string& streamId)
|
||||
setCoreParameter("StreamId", streamId);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getDetectIntervals()const
|
||||
{
|
||||
return detectIntervals_;
|
||||
@@ -311,61 +146,6 @@ void CreateStreamPredictRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateStreamPredictRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getProbabilityThresholds()const
|
||||
{
|
||||
return probabilityThresholds_;
|
||||
@@ -388,14 +168,14 @@ void CreateStreamPredictRequest::setModelIds(const std::string& modelIds)
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string CreateStreamPredictRequest::getRequestId()const
|
||||
std::string CreateStreamPredictRequest::getModelUserData()const
|
||||
{
|
||||
return requestId_;
|
||||
return modelUserData_;
|
||||
}
|
||||
|
||||
void CreateStreamPredictRequest::setRequestId(const std::string& requestId)
|
||||
void CreateStreamPredictRequest::setModelUserData(const std::string& modelUserData)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
modelUserData_ = modelUserData;
|
||||
setCoreParameter("ModelUserData", modelUserData);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateStreamPredictResult::~CreateStreamPredictResult()
|
||||
|
||||
void CreateStreamPredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PredictId"].isNull())
|
||||
predictId_ = value["PredictId"].asString();
|
||||
|
||||
@@ -25,39 +25,6 @@ CreateTagRequest::CreateTagRequest() :
|
||||
CreateTagRequest::~CreateTagRequest()
|
||||
{}
|
||||
|
||||
long CreateTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -69,94 +36,6 @@ void CreateTagRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void CreateTagRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,39 +58,6 @@ void CreateTagRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,61 +69,6 @@ void CreateTagRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateTagRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateTagResult::~CreateTagResult()
|
||||
|
||||
void CreateTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto tagNode = value["Tag"];
|
||||
if(!tagNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,127 +25,6 @@ CreateTrainDataTagRequest::CreateTrainDataTagRequest() :
|
||||
CreateTrainDataTagRequest::~CreateTrainDataTagRequest()
|
||||
{}
|
||||
|
||||
long CreateTrainDataTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTrainDataTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void CreateTrainDataTagRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTrainDataTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,28 +47,6 @@ void CreateTrainDataTagRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getTagItems()const
|
||||
{
|
||||
return tagItems_;
|
||||
@@ -223,17 +58,6 @@ void CreateTrainDataTagRequest::setTagItems(const std::string& tagItems)
|
||||
setCoreParameter("TagItems", tagItems);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTrainDataTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,50 +69,6 @@ void CreateTrainDataTagRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDataTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getDataId()const
|
||||
{
|
||||
return dataId_;
|
||||
@@ -300,14 +80,3 @@ void CreateTrainDataTagRequest::setDataId(const std::string& dataId)
|
||||
setCoreParameter("DataId", dataId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDataTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTrainDataTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateTrainDataTagResult::~CreateTrainDataTagResult()
|
||||
|
||||
void CreateTrainDataTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainDataNode = value["TrainData"];
|
||||
if(!trainDataNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,39 +25,6 @@ CreateTrainDatasFromPredictionRequest::CreateTrainDatasFromPredictionRequest() :
|
||||
CreateTrainDatasFromPredictionRequest::~CreateTrainDatasFromPredictionRequest()
|
||||
{}
|
||||
|
||||
long CreateTrainDatasFromPredictionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTrainDatasFromPredictionRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromPredictionRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -69,94 +36,6 @@ void CreateTrainDatasFromPredictionRequest::setDataIds(const std::string& dataId
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void CreateTrainDatasFromPredictionRequest::setProjectId(const std::string& proj
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTrainDatasFromPredictionRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void CreateTrainDatasFromPredictionRequest::setShowLog(const std::string& showLo
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -234,17 +69,6 @@ void CreateTrainDatasFromPredictionRequest::setTagId(const std::string& tagId)
|
||||
setCoreParameter("TagId", tagId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTrainDatasFromPredictionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,61 +80,6 @@ void CreateTrainDatasFromPredictionRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromPredictionRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromPredictionRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromPredictionRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromPredictionRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromPredictionRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateTrainDatasFromPredictionResult::~CreateTrainDatasFromPredictionResult()
|
||||
|
||||
void CreateTrainDatasFromPredictionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrainDatas = value["TrainDatas"]["TrainData"];
|
||||
for (auto value : allTrainDatas)
|
||||
|
||||
@@ -25,83 +25,6 @@ CreateTrainDatasFromUrlsRequest::CreateTrainDatasFromUrlsRequest() :
|
||||
CreateTrainDatasFromUrlsRequest::~CreateTrainDatasFromUrlsRequest()
|
||||
{}
|
||||
|
||||
long CreateTrainDatasFromUrlsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTrainDatasFromUrlsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromUrlsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getUrls()const
|
||||
{
|
||||
return urls_;
|
||||
@@ -113,50 +36,6 @@ void CreateTrainDatasFromUrlsRequest::setUrls(const std::string& urls)
|
||||
setCoreParameter("Urls", urls);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void CreateTrainDatasFromUrlsRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTrainDatasFromUrlsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void CreateTrainDatasFromUrlsRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -234,17 +69,6 @@ void CreateTrainDatasFromUrlsRequest::setTagId(const std::string& tagId)
|
||||
setCoreParameter("TagId", tagId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTrainDatasFromUrlsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,58 +80,3 @@ void CreateTrainDatasFromUrlsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromUrlsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromUrlsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDatasFromUrlsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasFromUrlsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasFromUrlsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateTrainDatasFromUrlsResult::~CreateTrainDatasFromUrlsResult()
|
||||
|
||||
void CreateTrainDatasFromUrlsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrainDatas = value["TrainDatas"]["TrainData"];
|
||||
for (auto value : allTrainDatas)
|
||||
|
||||
@@ -25,39 +25,6 @@ CreateTrainDatasTagRequest::CreateTrainDatasTagRequest() :
|
||||
CreateTrainDatasTagRequest::~CreateTrainDatasTagRequest()
|
||||
{}
|
||||
|
||||
long CreateTrainDatasTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateTrainDatasTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTrainDatasTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -69,94 +36,6 @@ void CreateTrainDatasTagRequest::setDataIds(const std::string& dataIds)
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void CreateTrainDatasTagRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTrainDatasTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void CreateTrainDatasTagRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -234,17 +69,6 @@ void CreateTrainDatasTagRequest::setTagId(const std::string& tagId)
|
||||
setCoreParameter("TagId", tagId);
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTrainDatasTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,58 +80,3 @@ void CreateTrainDatasTagRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTrainDatasTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDatasTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTrainDatasTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateTrainDatasTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateTrainDatasTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateTrainDatasTagResult::~CreateTrainDatasTagResult()
|
||||
|
||||
void CreateTrainDatasTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainDataNode = value["TrainData"];
|
||||
if(!trainDataNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,127 +25,6 @@ DeleteIterationRequest::DeleteIterationRequest() :
|
||||
DeleteIterationRequest::~DeleteIterationRequest()
|
||||
{}
|
||||
|
||||
long DeleteIterationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteIterationRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteIterationRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void DeleteIterationRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteIterationRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,39 +47,6 @@ void DeleteIterationRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteIterationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,61 +58,6 @@ void DeleteIterationRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteIterationRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteIterationRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteIterationRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteIterationRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeleteIterationRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteIterationResult::~DeleteIterationResult()
|
||||
|
||||
void DeleteIterationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IterationId"].isNull())
|
||||
iterationId_ = value["IterationId"].asString();
|
||||
|
||||
@@ -25,39 +25,6 @@ DeletePredictDatasRequest::DeletePredictDatasRequest() :
|
||||
DeletePredictDatasRequest::~DeletePredictDatasRequest()
|
||||
{}
|
||||
|
||||
long DeletePredictDatasRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeletePredictDatasRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeletePredictDatasRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -69,94 +36,6 @@ void DeletePredictDatasRequest::setDataIds(const std::string& dataIds)
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void DeletePredictDatasRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeletePredictDatasRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,37 +58,15 @@ void DeletePredictDatasRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getApp_ip()const
|
||||
std::string DeletePredictDatasRequest::getModelId()const
|
||||
{
|
||||
return app_ip_;
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setApp_ip(const std::string& app_ip)
|
||||
void DeletePredictDatasRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
long DeletePredictDatasRequest::getOwnerId()const
|
||||
@@ -245,61 +80,6 @@ void DeletePredictDatasRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeletePredictDatasRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeletePredictDatasRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeletePredictDatasRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeletePredictDatasRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeletePredictDatasRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DeletePredictDatasResult::~DeletePredictDatasResult()
|
||||
|
||||
void DeletePredictDatasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
60
ivision/src/model/DeletePredictModelRequest.cc
Normal file
60
ivision/src/model/DeletePredictModelRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/DeletePredictModelRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::DeletePredictModelRequest;
|
||||
|
||||
DeletePredictModelRequest::DeletePredictModelRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DeletePredictModel")
|
||||
{}
|
||||
|
||||
DeletePredictModelRequest::~DeletePredictModelRequest()
|
||||
{}
|
||||
|
||||
std::string DeletePredictModelRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeletePredictModelRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeletePredictModelRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void DeletePredictModelRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
long DeletePredictModelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeletePredictModelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
51
ivision/src/model/DeletePredictModelResult.cc
Normal file
51
ivision/src/model/DeletePredictModelResult.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/ivision/model/DeletePredictModelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
DeletePredictModelResult::DeletePredictModelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeletePredictModelResult::DeletePredictModelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeletePredictModelResult::~DeletePredictModelResult()
|
||||
{}
|
||||
|
||||
void DeletePredictModelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ModelId"].isNull())
|
||||
modelId_ = value["ModelId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeletePredictModelResult::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
60
ivision/src/model/DeletePredictTemplateRequest.cc
Normal file
60
ivision/src/model/DeletePredictTemplateRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/DeletePredictTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::DeletePredictTemplateRequest;
|
||||
|
||||
DeletePredictTemplateRequest::DeletePredictTemplateRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DeletePredictTemplate")
|
||||
{}
|
||||
|
||||
DeletePredictTemplateRequest::~DeletePredictTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string DeletePredictTemplateRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DeletePredictTemplateRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DeletePredictTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeletePredictTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeletePredictTemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DeletePredictTemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setCoreParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
51
ivision/src/model/DeletePredictTemplateResult.cc
Normal file
51
ivision/src/model/DeletePredictTemplateResult.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/ivision/model/DeletePredictTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
DeletePredictTemplateResult::DeletePredictTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeletePredictTemplateResult::DeletePredictTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeletePredictTemplateResult::~DeletePredictTemplateResult()
|
||||
{}
|
||||
|
||||
void DeletePredictTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeletePredictTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
@@ -25,127 +25,6 @@ DeleteProjectRequest::DeleteProjectRequest() :
|
||||
DeleteProjectRequest::~DeleteProjectRequest()
|
||||
{}
|
||||
|
||||
long DeleteProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteProjectRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteProjectRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void DeleteProjectRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteProjectRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,39 +47,6 @@ void DeleteProjectRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,58 +58,3 @@ void DeleteProjectRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteProjectRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteProjectRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteProjectRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteProjectResult::~DeleteProjectResult()
|
||||
|
||||
void DeleteProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ProjectId"].isNull())
|
||||
projectId_ = value["ProjectId"].asString();
|
||||
|
||||
@@ -25,83 +25,6 @@ DeleteStreamPredictRequest::DeleteStreamPredictRequest() :
|
||||
DeleteStreamPredictRequest::~DeleteStreamPredictRequest()
|
||||
{}
|
||||
|
||||
long DeleteStreamPredictRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteStreamPredictRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteStreamPredictRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
@@ -113,72 +36,6 @@ void DeleteStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteStreamPredictRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,39 +47,6 @@ void DeleteStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,58 +58,3 @@ void DeleteStreamPredictRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteStreamPredictRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteStreamPredictRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteStreamPredictRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteStreamPredictRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteStreamPredictRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteStreamPredictResult::~DeleteStreamPredictResult()
|
||||
|
||||
void DeleteStreamPredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PredictId"].isNull())
|
||||
predictId_ = value["PredictId"].asString();
|
||||
|
||||
@@ -25,127 +25,6 @@ DeleteTagRequest::DeleteTagRequest() :
|
||||
DeleteTagRequest::~DeleteTagRequest()
|
||||
{}
|
||||
|
||||
long DeleteTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void DeleteTagRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,28 +47,6 @@ void DeleteTagRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -223,17 +58,6 @@ void DeleteTagRequest::setTagId(const std::string& tagId)
|
||||
setCoreParameter("TagId", tagId);
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,58 +69,3 @@ void DeleteTagRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteTagResult::~DeleteTagResult()
|
||||
|
||||
void DeleteTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TagId"].isNull())
|
||||
tagId_ = value["TagId"].asString();
|
||||
|
||||
@@ -25,39 +25,6 @@ DeleteTrainDatasRequest::DeleteTrainDatasRequest() :
|
||||
DeleteTrainDatasRequest::~DeleteTrainDatasRequest()
|
||||
{}
|
||||
|
||||
long DeleteTrainDatasRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteTrainDatasRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -69,94 +36,6 @@ void DeleteTrainDatasRequest::setDataIds(const std::string& dataIds)
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void DeleteTrainDatasRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteTrainDatasRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,39 +58,6 @@ void DeleteTrainDatasRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteTrainDatasRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,58 +69,3 @@ void DeleteTrainDatasRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteTrainDatasResult::~DeleteTrainDatasResult()
|
||||
|
||||
void DeleteTrainDatasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,39 +25,6 @@ DeleteTrainDatasTagRequest::DeleteTrainDatasTagRequest() :
|
||||
DeleteTrainDatasTagRequest::~DeleteTrainDatasTagRequest()
|
||||
{}
|
||||
|
||||
long DeleteTrainDatasTagRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteTrainDatasTagRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasTagRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -69,94 +36,6 @@ void DeleteTrainDatasTagRequest::setDataIds(const std::string& dataIds)
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void DeleteTrainDatasTagRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteTrainDatasTagRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void DeleteTrainDatasTagRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -234,17 +69,6 @@ void DeleteTrainDatasTagRequest::setTagId(const std::string& tagId)
|
||||
setCoreParameter("TagId", tagId);
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteTrainDatasTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,58 +80,3 @@ void DeleteTrainDatasTagRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasTagRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasTagRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTrainDatasTagRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTrainDatasTagRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteTrainDatasTagRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteTrainDatasTagResult::~DeleteTrainDatasTagResult()
|
||||
|
||||
void DeleteTrainDatasTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeIterationsRequest::DescribeIterationsRequest() :
|
||||
DescribeIterationsRequest::~DescribeIterationsRequest()
|
||||
{}
|
||||
|
||||
long DescribeIterationsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeIterationsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeIterationsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
@@ -69,94 +36,6 @@ void DescribeIterationsRequest::setThreshold(const std::string& threshold)
|
||||
setCoreParameter("Threshold", threshold);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void DescribeIterationsRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeIterationsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void DescribeIterationsRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getIterationIds()const
|
||||
{
|
||||
return iterationIds_;
|
||||
@@ -234,17 +69,6 @@ void DescribeIterationsRequest::setIterationIds(const std::string& iterationIds)
|
||||
setCoreParameter("IterationIds", iterationIds);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeIterationsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,61 +80,6 @@ void DescribeIterationsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeIterationsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeIterationsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeIterationsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeIterationsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeIterationsRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeIterationsResult::~DescribeIterationsResult()
|
||||
|
||||
void DescribeIterationsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allIterations = value["Iterations"]["Iteration"];
|
||||
for (auto value : allIterations)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribePredictDatasRequest::DescribePredictDatasRequest() :
|
||||
DescribePredictDatasRequest::~DescribePredictDatasRequest()
|
||||
{}
|
||||
|
||||
long DescribePredictDatasRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -47,28 +36,6 @@ void DescribePredictDatasRequest::setNextPageToken(const std::string& nextPageTo
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribePredictDatasRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribePredictDatasRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -80,83 +47,6 @@ void DescribePredictDatasRequest::setDataIds(const std::string& dataIds)
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribePredictDatasRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -168,17 +58,6 @@ void DescribePredictDatasRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getProbabilityThreshold()const
|
||||
{
|
||||
return probabilityThreshold_;
|
||||
@@ -212,28 +91,6 @@ void DescribePredictDatasRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribePredictDatasRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -245,28 +102,6 @@ void DescribePredictDatasRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
@@ -300,17 +135,6 @@ void DescribePredictDatasRequest::setCurrentPage(long currentPage)
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribePredictDatasRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -322,61 +146,6 @@ void DescribePredictDatasRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribePredictDatasRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribePredictDatasRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribePredictDatasRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribePredictDatasRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribePredictDatasRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribePredictDatasResult::~DescribePredictDatasResult()
|
||||
|
||||
void DescribePredictDatasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPredictDatas = value["PredictDatas"]["PredictData"];
|
||||
for (auto value : allPredictDatas)
|
||||
|
||||
126
ivision/src/model/DescribePredictModelsRequest.cc
Normal file
126
ivision/src/model/DescribePredictModelsRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribePredictModelsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::DescribePredictModelsRequest;
|
||||
|
||||
DescribePredictModelsRequest::DescribePredictModelsRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribePredictModels")
|
||||
{}
|
||||
|
||||
DescribePredictModelsRequest::~DescribePredictModelsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePredictModelsRequest::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setSource(const std::string& source)
|
||||
{
|
||||
source_ = source;
|
||||
setCoreParameter("Source", source);
|
||||
}
|
||||
|
||||
std::string DescribePredictModelsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
long DescribePredictModelsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePredictModelsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribePredictModelsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribePredictModelsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePredictModelsRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string DescribePredictModelsRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string DescribePredictModelsRequest::getDeployStatus()const
|
||||
{
|
||||
return deployStatus_;
|
||||
}
|
||||
|
||||
void DescribePredictModelsRequest::setDeployStatus(const std::string& deployStatus)
|
||||
{
|
||||
deployStatus_ = deployStatus;
|
||||
setCoreParameter("DeployStatus", deployStatus);
|
||||
}
|
||||
|
||||
106
ivision/src/model/DescribePredictModelsResult.cc
Normal file
106
ivision/src/model/DescribePredictModelsResult.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribePredictModelsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
DescribePredictModelsResult::DescribePredictModelsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribePredictModelsResult::DescribePredictModelsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribePredictModelsResult::~DescribePredictModelsResult()
|
||||
{}
|
||||
|
||||
void DescribePredictModelsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allModels = value["Models"]["Model"];
|
||||
for (auto value : allModels)
|
||||
{
|
||||
Model modelsObject;
|
||||
if(!value["ModelId"].isNull())
|
||||
modelsObject.modelId = value["ModelId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
modelsObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
modelsObject.description = value["Description"].asString();
|
||||
if(!value["ProjectId"].isNull())
|
||||
modelsObject.projectId = value["ProjectId"].asString();
|
||||
if(!value["ProjectName"].isNull())
|
||||
modelsObject.projectName = value["ProjectName"].asString();
|
||||
if(!value["IterationId"].isNull())
|
||||
modelsObject.iterationId = value["IterationId"].asString();
|
||||
if(!value["IterationVersion"].isNull())
|
||||
modelsObject.iterationVersion = value["IterationVersion"].asString();
|
||||
if(!value["Regions"].isNull())
|
||||
modelsObject.regions = value["Regions"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
modelsObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["Source"].isNull())
|
||||
modelsObject.source = value["Source"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
modelsObject.type = value["Type"].asString();
|
||||
if(!value["DeployStatus"].isNull())
|
||||
modelsObject.deployStatus = value["DeployStatus"].asString();
|
||||
if(!value["Precision"].isNull())
|
||||
modelsObject.precision = value["Precision"].asString();
|
||||
if(!value["Recall"].isNull())
|
||||
modelsObject.recall = value["Recall"].asString();
|
||||
if(!value["MAP"].isNull())
|
||||
modelsObject.mAP = value["MAP"].asString();
|
||||
models_.push_back(modelsObject);
|
||||
}
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stol(value["CurrentPage"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stol(value["TotalNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribePredictModelsResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
long DescribePredictModelsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribePredictModelsResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribePredictModelsResult::Model> DescribePredictModelsResult::getModels()const
|
||||
{
|
||||
return models_;
|
||||
}
|
||||
|
||||
115
ivision/src/model/DescribePredictTemplatesRequest.cc
Normal file
115
ivision/src/model/DescribePredictTemplatesRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribePredictTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::DescribePredictTemplatesRequest;
|
||||
|
||||
DescribePredictTemplatesRequest::DescribePredictTemplatesRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribePredictTemplates")
|
||||
{}
|
||||
|
||||
DescribePredictTemplatesRequest::~DescribePredictTemplatesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePredictTemplatesRequest::getTemplateIds()const
|
||||
{
|
||||
return templateIds_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setTemplateIds(const std::string& templateIds)
|
||||
{
|
||||
templateIds_ = templateIds;
|
||||
setCoreParameter("TemplateIds", templateIds);
|
||||
}
|
||||
|
||||
std::string DescribePredictTemplatesRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
{
|
||||
nextPageToken_ = nextPageToken;
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribePredictTemplatesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePredictTemplatesRequest::getSortOrder()const
|
||||
{
|
||||
return sortOrder_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setSortOrder(const std::string& sortOrder)
|
||||
{
|
||||
sortOrder_ = sortOrder;
|
||||
setCoreParameter("SortOrder", sortOrder);
|
||||
}
|
||||
|
||||
std::string DescribePredictTemplatesRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribePredictTemplatesRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribePredictTemplatesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePredictTemplatesRequest::getSortBy()const
|
||||
{
|
||||
return sortBy_;
|
||||
}
|
||||
|
||||
void DescribePredictTemplatesRequest::setSortBy(const std::string& sortBy)
|
||||
{
|
||||
sortBy_ = sortBy;
|
||||
setCoreParameter("SortBy", sortBy);
|
||||
}
|
||||
|
||||
97
ivision/src/model/DescribePredictTemplatesResult.cc
Normal file
97
ivision/src/model/DescribePredictTemplatesResult.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribePredictTemplatesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
DescribePredictTemplatesResult::DescribePredictTemplatesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribePredictTemplatesResult::DescribePredictTemplatesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribePredictTemplatesResult::~DescribePredictTemplatesResult()
|
||||
{}
|
||||
|
||||
void DescribePredictTemplatesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTemplates = value["Templates"]["Template"];
|
||||
for (auto value : allTemplates)
|
||||
{
|
||||
_Template templatesObject;
|
||||
if(!value["TemplateId"].isNull())
|
||||
templatesObject.templateId = value["TemplateId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
templatesObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
templatesObject.description = value["Description"].asString();
|
||||
if(!value["Interval"].isNull())
|
||||
templatesObject.interval = std::stoi(value["Interval"].asString());
|
||||
if(!value["Output"].isNull())
|
||||
templatesObject.output = value["Output"].asString();
|
||||
if(!value["ModelIds"].isNull())
|
||||
templatesObject.modelIds = value["ModelIds"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
templatesObject.creationTime = value["CreationTime"].asString();
|
||||
templates_.push_back(templatesObject);
|
||||
}
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stol(value["CurrentPage"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["NextPageToken"].isNull())
|
||||
nextPageToken_ = value["NextPageToken"].asString();
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stol(value["TotalNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribePredictTemplatesResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
long DescribePredictTemplatesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribePredictTemplatesResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::string DescribePredictTemplatesResult::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
}
|
||||
|
||||
std::vector<DescribePredictTemplatesResult::_Template> DescribePredictTemplatesResult::getTemplates()const
|
||||
{
|
||||
return templates_;
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeProjectsRequest::DescribeProjectsRequest() :
|
||||
DescribeProjectsRequest::~DescribeProjectsRequest()
|
||||
{}
|
||||
|
||||
long DescribeProjectsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -47,105 +36,6 @@ void DescribeProjectsRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeProjectsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeProjectsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeProjectsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -157,39 +47,6 @@ void DescribeProjectsRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeProjectsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void DescribeProjectsRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeProjectsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
@@ -234,17 +69,6 @@ void DescribeProjectsRequest::setCurrentPage(long currentPage)
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getProjectIds()const
|
||||
{
|
||||
return projectIds_;
|
||||
@@ -267,58 +91,3 @@ void DescribeProjectsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeProjectsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeProjectsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeProjectsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeProjectsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeProjectsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeProjectsResult::~DescribeProjectsResult()
|
||||
|
||||
void DescribeProjectsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allProjects = value["Projects"]["Project"];
|
||||
for (auto value : allProjects)
|
||||
|
||||
93
ivision/src/model/DescribeQuickDeploysRequest.cc
Normal file
93
ivision/src/model/DescribeQuickDeploysRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribeQuickDeploysRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::DescribeQuickDeploysRequest;
|
||||
|
||||
DescribeQuickDeploysRequest::DescribeQuickDeploysRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribeQuickDeploys")
|
||||
{}
|
||||
|
||||
DescribeQuickDeploysRequest::~DescribeQuickDeploysRequest()
|
||||
{}
|
||||
|
||||
long DescribeQuickDeploysRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeQuickDeploysRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeQuickDeploysRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DescribeQuickDeploysRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribeQuickDeploysRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeQuickDeploysRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribeQuickDeploysRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeQuickDeploysRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeQuickDeploysRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeQuickDeploysRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeQuickDeploysRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
}
|
||||
|
||||
void DescribeQuickDeploysRequest::setIterationId(const std::string& iterationId)
|
||||
{
|
||||
iterationId_ = iterationId;
|
||||
setCoreParameter("IterationId", iterationId);
|
||||
}
|
||||
|
||||
86
ivision/src/model/DescribeQuickDeploysResult.cc
Normal file
86
ivision/src/model/DescribeQuickDeploysResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribeQuickDeploysResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
DescribeQuickDeploysResult::DescribeQuickDeploysResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeQuickDeploysResult::DescribeQuickDeploysResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeQuickDeploysResult::~DescribeQuickDeploysResult()
|
||||
{}
|
||||
|
||||
void DescribeQuickDeploysResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allQuickDeploys = value["QuickDeploys"]["QuickDeploy"];
|
||||
for (auto value : allQuickDeploys)
|
||||
{
|
||||
QuickDeploy quickDeploysObject;
|
||||
if(!value["ProjectId"].isNull())
|
||||
quickDeploysObject.projectId = value["ProjectId"].asString();
|
||||
if(!value["IterationId"].isNull())
|
||||
quickDeploysObject.iterationId = value["IterationId"].asString();
|
||||
if(!value["ModelId"].isNull())
|
||||
quickDeploysObject.modelId = value["ModelId"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
quickDeploysObject.creationTime = value["CreationTime"].asString();
|
||||
if(!value["DeployStatus"].isNull())
|
||||
quickDeploysObject.deployStatus = value["DeployStatus"].asString();
|
||||
quickDeploys_.push_back(quickDeploysObject);
|
||||
}
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stol(value["CurrentPage"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stol(value["TotalNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeQuickDeploysResult::QuickDeploy> DescribeQuickDeploysResult::getQuickDeploys()const
|
||||
{
|
||||
return quickDeploys_;
|
||||
}
|
||||
|
||||
long DescribeQuickDeploysResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
long DescribeQuickDeploysResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeQuickDeploysResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeStreamPredictResultRequest::DescribeStreamPredictResultRequest() :
|
||||
DescribeStreamPredictResultRequest::~DescribeStreamPredictResultRequest()
|
||||
{}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -47,28 +36,6 @@ void DescribeStreamPredictResultRequest::setNextPageToken(const std::string& nex
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictResultRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -80,50 +47,6 @@ void DescribeStreamPredictResultRequest::setStartTime(const std::string& startTi
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
@@ -135,39 +58,6 @@ void DescribeStreamPredictResultRequest::setPredictId(const std::string& predict
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -179,17 +69,6 @@ void DescribeStreamPredictResultRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getProbabilityThreshold()const
|
||||
{
|
||||
return probabilityThreshold_;
|
||||
@@ -201,28 +80,6 @@ void DescribeStreamPredictResultRequest::setProbabilityThreshold(const std::stri
|
||||
setCoreParameter("ProbabilityThreshold", probabilityThreshold);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -234,28 +91,6 @@ void DescribeStreamPredictResultRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
@@ -289,17 +124,6 @@ void DescribeStreamPredictResultRequest::setCurrentPage(long currentPage)
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictResultRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -311,69 +135,3 @@ void DescribeStreamPredictResultRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictResultRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictResultRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictResultRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictResultRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictResultRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeStreamPredictResultResult::~DescribeStreamPredictResultResult()
|
||||
|
||||
void DescribeStreamPredictResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStreamPredictDatas = value["StreamPredictDatas"]["StreamPredictData"];
|
||||
for (auto value : allStreamPredictDatas)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeStreamPredictsRequest::DescribeStreamPredictsRequest() :
|
||||
DescribeStreamPredictsRequest::~DescribeStreamPredictsRequest()
|
||||
{}
|
||||
|
||||
long DescribeStreamPredictsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -47,17 +36,6 @@ void DescribeStreamPredictsRequest::setNextPageToken(const std::string& nextPage
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getPredictIds()const
|
||||
{
|
||||
return predictIds_;
|
||||
@@ -69,94 +47,6 @@ void DescribeStreamPredictsRequest::setPredictIds(const std::string& predictIds)
|
||||
setCoreParameter("PredictIds", predictIds);
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -168,39 +58,6 @@ void DescribeStreamPredictsRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -212,28 +69,6 @@ void DescribeStreamPredictsRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
@@ -245,17 +80,6 @@ void DescribeStreamPredictsRequest::setCurrentPage(long currentPage)
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeStreamPredictsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,69 +91,3 @@ void DescribeStreamPredictsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeStreamPredictsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeStreamPredictsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeStreamPredictsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeStreamPredictsResult::~DescribeStreamPredictsResult()
|
||||
|
||||
void DescribeStreamPredictsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStreamPredicts = value["StreamPredicts"]["StreamPredict"];
|
||||
for (auto value : allStreamPredicts)
|
||||
@@ -57,6 +53,8 @@ void DescribeStreamPredictsResult::parse(const std::string &payload)
|
||||
streamPredictsObject.modelIds = value["ModelIds"].asString();
|
||||
if(!value["ProbabilityThresholds"].isNull())
|
||||
streamPredictsObject.probabilityThresholds = value["ProbabilityThresholds"].asString();
|
||||
if(!value["DetectIntervals"].isNull())
|
||||
streamPredictsObject.detectIntervals = value["DetectIntervals"].asString();
|
||||
if(!value["Output"].isNull())
|
||||
streamPredictsObject.output = value["Output"].asString();
|
||||
if(!value["Notify"].isNull())
|
||||
|
||||
115
ivision/src/model/DescribeSystemPredictModelsRequest.cc
Normal file
115
ivision/src/model/DescribeSystemPredictModelsRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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/ivision/model/DescribeSystemPredictModelsRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::DescribeSystemPredictModelsRequest;
|
||||
|
||||
DescribeSystemPredictModelsRequest::DescribeSystemPredictModelsRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "DescribeSystemPredictModels")
|
||||
{}
|
||||
|
||||
DescribeSystemPredictModelsRequest::~DescribeSystemPredictModelsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSystemPredictModelsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string DescribeSystemPredictModelsRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setCoreParameter("Scene", scene);
|
||||
}
|
||||
|
||||
long DescribeSystemPredictModelsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeSystemPredictModelsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long DescribeSystemPredictModelsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setCurrentPage(long currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long DescribeSystemPredictModelsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSystemPredictModelsRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string DescribeSystemPredictModelsRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DescribeSystemPredictModelsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
88
ivision/src/model/DescribeSystemPredictModelsResult.cc
Normal file
88
ivision/src/model/DescribeSystemPredictModelsResult.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/DescribeSystemPredictModelsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
DescribeSystemPredictModelsResult::DescribeSystemPredictModelsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSystemPredictModelsResult::DescribeSystemPredictModelsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSystemPredictModelsResult::~DescribeSystemPredictModelsResult()
|
||||
{}
|
||||
|
||||
void DescribeSystemPredictModelsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allModels = value["Models"]["Model"];
|
||||
for (auto value : allModels)
|
||||
{
|
||||
Model modelsObject;
|
||||
if(!value["ModelId"].isNull())
|
||||
modelsObject.modelId = value["ModelId"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
modelsObject.type = value["Type"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
modelsObject.name = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
modelsObject.description = value["Description"].asString();
|
||||
if(!value["Scene"].isNull())
|
||||
modelsObject.scene = value["Scene"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
modelsObject.creationTime = value["CreationTime"].asString();
|
||||
models_.push_back(modelsObject);
|
||||
}
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stol(value["CurrentPage"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stol(value["TotalNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeSystemPredictModelsResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
long DescribeSystemPredictModelsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeSystemPredictModelsResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeSystemPredictModelsResult::Model> DescribeSystemPredictModelsResult::getModels()const
|
||||
{
|
||||
return models_;
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeTagsRequest::DescribeTagsRequest() :
|
||||
DescribeTagsRequest::~DescribeTagsRequest()
|
||||
{}
|
||||
|
||||
long DescribeTagsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -47,105 +36,6 @@ void DescribeTagsRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeTagsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -157,17 +47,6 @@ void DescribeTagsRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -179,28 +58,6 @@ void DescribeTagsRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -212,26 +69,15 @@ void DescribeTagsRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getApp_ip()const
|
||||
std::string DescribeTagsRequest::getModelId()const
|
||||
{
|
||||
return app_ip_;
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setApp_ip(const std::string& app_ip)
|
||||
void DescribeTagsRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getTagIds()const
|
||||
@@ -256,17 +102,6 @@ void DescribeTagsRequest::setCurrentPage(long currentPage)
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeTagsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -278,61 +113,6 @@ void DescribeTagsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeTagsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTagsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTagsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeTagsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeTagsRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeTagsResult::~DescribeTagsResult()
|
||||
|
||||
void DescribeTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTags = value["Tags"]["Tag"];
|
||||
for (auto value : allTags)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeTrainDatasByIdsRequest::DescribeTrainDatasByIdsRequest() :
|
||||
DescribeTrainDatasByIdsRequest::~DescribeTrainDatasByIdsRequest()
|
||||
{}
|
||||
|
||||
long DescribeTrainDatasByIdsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeTrainDatasByIdsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasByIdsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getDataIds()const
|
||||
{
|
||||
return dataIds_;
|
||||
@@ -69,94 +36,6 @@ void DescribeTrainDatasByIdsRequest::setDataIds(const std::string& dataIds)
|
||||
setCoreParameter("DataIds", dataIds);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void DescribeTrainDatasByIdsRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeTrainDatasByIdsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,39 +58,6 @@ void DescribeTrainDatasByIdsRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeTrainDatasByIdsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,61 +69,6 @@ void DescribeTrainDatasByIdsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasByIdsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasByIdsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasByIdsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasByIdsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasByIdsRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeTrainDatasByIdsResult::~DescribeTrainDatasByIdsResult()
|
||||
|
||||
void DescribeTrainDatasByIdsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrainDatas = value["TrainDatas"]["TrainData"];
|
||||
for (auto value : allTrainDatas)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeTrainDatasRequest::DescribeTrainDatasRequest() :
|
||||
DescribeTrainDatasRequest::~DescribeTrainDatasRequest()
|
||||
{}
|
||||
|
||||
long DescribeTrainDatasRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -47,72 +36,6 @@ void DescribeTrainDatasRequest::setNextPageToken(const std::string& nextPageToke
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
long DescribeTrainDatasRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getTagStatus()const
|
||||
{
|
||||
return tagStatus_;
|
||||
@@ -124,39 +47,6 @@ void DescribeTrainDatasRequest::setTagStatus(const std::string& tagStatus)
|
||||
setCoreParameter("TagStatus", tagStatus);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeTrainDatasRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -168,17 +58,6 @@ void DescribeTrainDatasRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -190,28 +69,6 @@ void DescribeTrainDatasRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeTrainDatasRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -223,28 +80,6 @@ void DescribeTrainDatasRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -267,17 +102,6 @@ void DescribeTrainDatasRequest::setCurrentPage(long currentPage)
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeTrainDatasRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -289,61 +113,6 @@ void DescribeTrainDatasRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrainDatasRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeTrainDatasRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainDatasRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeTrainDatasResult::~DescribeTrainDatasResult()
|
||||
|
||||
void DescribeTrainDatasResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrainDatas = value["TrainDatas"]["TrainData"];
|
||||
for (auto value : allTrainDatas)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeTrainResultRequest::DescribeTrainResultRequest() :
|
||||
DescribeTrainResultRequest::~DescribeTrainResultRequest()
|
||||
{}
|
||||
|
||||
long DescribeTrainResultRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeTrainResultRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeTrainResultRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
@@ -69,94 +36,6 @@ void DescribeTrainResultRequest::setThreshold(const std::string& threshold)
|
||||
setCoreParameter("Threshold", threshold);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void DescribeTrainResultRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeTrainResultRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,39 +58,6 @@ void DescribeTrainResultRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeTrainResultRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,61 +69,6 @@ void DescribeTrainResultRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeTrainResultRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrainResultRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeTrainResultRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeTrainResultRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeTrainResultRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeTrainResultResult::~DescribeTrainResultResult()
|
||||
|
||||
void DescribeTrainResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainResultNode = value["TrainResult"];
|
||||
if(!trainResultNode["ProjectId"].isNull())
|
||||
|
||||
@@ -36,149 +36,6 @@ void ImagePredictRequest::setDataUrl(const std::string& dataUrl)
|
||||
setCoreParameter("DataUrl", dataUrl);
|
||||
}
|
||||
|
||||
long ImagePredictRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ImagePredictRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ImagePredictRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ImagePredictRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,28 +47,6 @@ void ImagePredictRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getModelId()const
|
||||
{
|
||||
return modelId_;
|
||||
@@ -223,17 +58,6 @@ void ImagePredictRequest::setModelId(const std::string& modelId)
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ImagePredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,69 +69,3 @@ void ImagePredictRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ImagePredictRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ImagePredictRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ImagePredictRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ImagePredictRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ImagePredictRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ImagePredictResult::~ImagePredictResult()
|
||||
|
||||
void ImagePredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto imagePredictNode = value["ImagePredict"];
|
||||
if(!imagePredictNode["PredictId"].isNull())
|
||||
|
||||
115
ivision/src/model/ModifyPredictTemplateAttributeRequest.cc
Normal file
115
ivision/src/model/ModifyPredictTemplateAttributeRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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/ivision/model/ModifyPredictTemplateAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::ModifyPredictTemplateAttributeRequest;
|
||||
|
||||
ModifyPredictTemplateAttributeRequest::ModifyPredictTemplateAttributeRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "ModifyPredictTemplateAttribute")
|
||||
{}
|
||||
|
||||
ModifyPredictTemplateAttributeRequest::~ModifyPredictTemplateAttributeRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyPredictTemplateAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyPredictTemplateAttributeRequest::getOutput()const
|
||||
{
|
||||
return output_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setOutput(const std::string& output)
|
||||
{
|
||||
output_ = output;
|
||||
setCoreParameter("Output", output);
|
||||
}
|
||||
|
||||
std::string ModifyPredictTemplateAttributeRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long ModifyPredictTemplateAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyPredictTemplateAttributeRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setCoreParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
std::string ModifyPredictTemplateAttributeRequest::getModelIds()const
|
||||
{
|
||||
return modelIds_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setModelIds(const std::string& modelIds)
|
||||
{
|
||||
modelIds_ = modelIds;
|
||||
setCoreParameter("ModelIds", modelIds);
|
||||
}
|
||||
|
||||
std::string ModifyPredictTemplateAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
int ModifyPredictTemplateAttributeRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void ModifyPredictTemplateAttributeRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", std::to_string(interval));
|
||||
}
|
||||
|
||||
64
ivision/src/model/ModifyPredictTemplateAttributeResult.cc
Normal file
64
ivision/src/model/ModifyPredictTemplateAttributeResult.cc
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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/ivision/model/ModifyPredictTemplateAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
ModifyPredictTemplateAttributeResult::ModifyPredictTemplateAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyPredictTemplateAttributeResult::ModifyPredictTemplateAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyPredictTemplateAttributeResult::~ModifyPredictTemplateAttributeResult()
|
||||
{}
|
||||
|
||||
void ModifyPredictTemplateAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto _templateNode = value["Template"];
|
||||
if(!_templateNode["TemplateId"].isNull())
|
||||
_template_.templateId = _templateNode["TemplateId"].asString();
|
||||
if(!_templateNode["Name"].isNull())
|
||||
_template_.name = _templateNode["Name"].asString();
|
||||
if(!_templateNode["Description"].isNull())
|
||||
_template_.description = _templateNode["Description"].asString();
|
||||
if(!_templateNode["Interval"].isNull())
|
||||
_template_.interval = std::stoi(_templateNode["Interval"].asString());
|
||||
if(!_templateNode["Output"].isNull())
|
||||
_template_.output = _templateNode["Output"].asString();
|
||||
if(!_templateNode["ModelIds"].isNull())
|
||||
_template_.modelIds = _templateNode["ModelIds"].asString();
|
||||
if(!_templateNode["CreationTime"].isNull())
|
||||
_template_.creationTime = _templateNode["CreationTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
ModifyPredictTemplateAttributeResult::_Template ModifyPredictTemplateAttributeResult::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
@@ -25,39 +25,6 @@ ModifyProjectAttributeRequest::ModifyProjectAttributeRequest() :
|
||||
ModifyProjectAttributeRequest::~ModifyProjectAttributeRequest()
|
||||
{}
|
||||
|
||||
long ModifyProjectAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ModifyProjectAttributeRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ModifyProjectAttributeRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -69,94 +36,6 @@ void ModifyProjectAttributeRequest::setDescription(const std::string& descriptio
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void ModifyProjectAttributeRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ModifyProjectAttributeRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,39 +58,6 @@ void ModifyProjectAttributeRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ModifyProjectAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,61 +69,6 @@ void ModifyProjectAttributeRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ModifyProjectAttributeRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyProjectAttributeRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyProjectAttributeRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ModifyProjectAttributeRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string ModifyProjectAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyProjectAttributeResult::~ModifyProjectAttributeResult()
|
||||
|
||||
void ModifyProjectAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto projectNode = value["Project"];
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,39 +25,6 @@ ModifyTagAttributeRequest::ModifyTagAttributeRequest() :
|
||||
ModifyTagAttributeRequest::~ModifyTagAttributeRequest()
|
||||
{}
|
||||
|
||||
long ModifyTagAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ModifyTagAttributeRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ModifyTagAttributeRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -69,94 +36,6 @@ void ModifyTagAttributeRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -168,28 +47,6 @@ void ModifyTagAttributeRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ModifyTagAttributeRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -201,28 +58,6 @@ void ModifyTagAttributeRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
@@ -234,17 +69,6 @@ void ModifyTagAttributeRequest::setTagId(const std::string& tagId)
|
||||
setCoreParameter("TagId", tagId);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ModifyTagAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,61 +80,6 @@ void ModifyTagAttributeRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ModifyTagAttributeRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyTagAttributeRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyTagAttributeRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ModifyTagAttributeRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string ModifyTagAttributeRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyTagAttributeResult::~ModifyTagAttributeResult()
|
||||
|
||||
void ModifyTagAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto tagNode = value["Tag"];
|
||||
if(!tagNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,127 +25,6 @@ ModifyTrainDataRegionTagAttributeRequest::ModifyTrainDataRegionTagAttributeReque
|
||||
ModifyTrainDataRegionTagAttributeRequest::~ModifyTrainDataRegionTagAttributeRequest()
|
||||
{}
|
||||
|
||||
long ModifyTrainDataRegionTagAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ModifyTrainDataRegionTagAttributeRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ModifyTrainDataRegionTagAttributeRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void ModifyTrainDataRegionTagAttributeRequest::setProjectId(const std::string& p
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ModifyTrainDataRegionTagAttributeRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,28 +47,6 @@ void ModifyTrainDataRegionTagAttributeRequest::setShowLog(const std::string& sho
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getTagItems()const
|
||||
{
|
||||
return tagItems_;
|
||||
@@ -223,17 +58,6 @@ void ModifyTrainDataRegionTagAttributeRequest::setTagItems(const std::string& ta
|
||||
setCoreParameter("TagItems", tagItems);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ModifyTrainDataRegionTagAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,50 +69,6 @@ void ModifyTrainDataRegionTagAttributeRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ModifyTrainDataRegionTagAttributeRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyTrainDataRegionTagAttributeRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyTrainDataRegionTagAttributeRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getDataId()const
|
||||
{
|
||||
return dataId_;
|
||||
@@ -300,14 +80,3 @@ void ModifyTrainDataRegionTagAttributeRequest::setDataId(const std::string& data
|
||||
setCoreParameter("DataId", dataId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataRegionTagAttributeRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyTrainDataRegionTagAttributeResult::~ModifyTrainDataRegionTagAttributeResul
|
||||
|
||||
void ModifyTrainDataRegionTagAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainDataNode = value["TrainData"];
|
||||
if(!trainDataNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,127 +25,6 @@ ModifyTrainDataTagAttributeRequest::ModifyTrainDataTagAttributeRequest() :
|
||||
ModifyTrainDataTagAttributeRequest::~ModifyTrainDataTagAttributeRequest()
|
||||
{}
|
||||
|
||||
long ModifyTrainDataTagAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ModifyTrainDataTagAttributeRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ModifyTrainDataTagAttributeRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void ModifyTrainDataTagAttributeRequest::setProjectId(const std::string& project
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ModifyTrainDataTagAttributeRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,28 +47,6 @@ void ModifyTrainDataTagAttributeRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getTagItems()const
|
||||
{
|
||||
return tagItems_;
|
||||
@@ -223,17 +58,6 @@ void ModifyTrainDataTagAttributeRequest::setTagItems(const std::string& tagItems
|
||||
setCoreParameter("TagItems", tagItems);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ModifyTrainDataTagAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,50 +69,6 @@ void ModifyTrainDataTagAttributeRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ModifyTrainDataTagAttributeRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyTrainDataTagAttributeRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyTrainDataTagAttributeRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getDataId()const
|
||||
{
|
||||
return dataId_;
|
||||
@@ -300,14 +80,3 @@ void ModifyTrainDataTagAttributeRequest::setDataId(const std::string& dataId)
|
||||
setCoreParameter("DataId", dataId);
|
||||
}
|
||||
|
||||
std::string ModifyTrainDataTagAttributeRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ModifyTrainDataTagAttributeRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ModifyTrainDataTagAttributeResult::~ModifyTrainDataTagAttributeResult()
|
||||
|
||||
void ModifyTrainDataTagAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto trainDataNode = value["TrainData"];
|
||||
if(!trainDataNode["ProjectId"].isNull())
|
||||
|
||||
@@ -25,127 +25,6 @@ PredictImageRequest::PredictImageRequest() :
|
||||
PredictImageRequest::~PredictImageRequest()
|
||||
{}
|
||||
|
||||
long PredictImageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long PredictImageRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool PredictImageRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void PredictImageRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long PredictImageRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,37 +47,15 @@ void PredictImageRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getApp_ip()const
|
||||
std::string PredictImageRequest::getModelId()const
|
||||
{
|
||||
return app_ip_;
|
||||
return modelId_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setApp_ip(const std::string& app_ip)
|
||||
void PredictImageRequest::setModelId(const std::string& modelId)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
modelId_ = modelId;
|
||||
setCoreParameter("ModelId", modelId);
|
||||
}
|
||||
|
||||
long PredictImageRequest::getOwnerId()const
|
||||
@@ -234,61 +69,6 @@ void PredictImageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool PredictImageRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool PredictImageRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool PredictImageRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void PredictImageRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string PredictImageRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ PredictImageResult::~PredictImageResult()
|
||||
|
||||
void PredictImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPredictDatas = value["PredictDatas"]["PredictData"];
|
||||
for (auto value : allPredictDatas)
|
||||
@@ -51,6 +47,8 @@ void PredictImageResult::parse(const std::string &payload)
|
||||
predictDatasObject.projectId = value["ProjectId"].asString();
|
||||
if(!value["IterationId"].isNull())
|
||||
predictDatasObject.iterationId = value["IterationId"].asString();
|
||||
if(!value["ModelId"].isNull())
|
||||
predictDatasObject.modelId = value["ModelId"].asString();
|
||||
if(!value["DataId"].isNull())
|
||||
predictDatasObject.dataId = value["DataId"].asString();
|
||||
if(!value["DataName"].isNull())
|
||||
|
||||
82
ivision/src/model/QuickTestRequest.cc
Normal file
82
ivision/src/model/QuickTestRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/QuickTestRequest.h>
|
||||
|
||||
using AlibabaCloud::Ivision::Model::QuickTestRequest;
|
||||
|
||||
QuickTestRequest::QuickTestRequest() :
|
||||
RpcServiceRequest("ivision", "2019-03-08", "QuickTest")
|
||||
{}
|
||||
|
||||
QuickTestRequest::~QuickTestRequest()
|
||||
{}
|
||||
|
||||
std::string QuickTestRequest::getDataUrl()const
|
||||
{
|
||||
return dataUrl_;
|
||||
}
|
||||
|
||||
void QuickTestRequest::setDataUrl(const std::string& dataUrl)
|
||||
{
|
||||
dataUrl_ = dataUrl;
|
||||
setCoreParameter("DataUrl", dataUrl);
|
||||
}
|
||||
|
||||
std::string QuickTestRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void QuickTestRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string QuickTestRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
}
|
||||
|
||||
void QuickTestRequest::setShowLog(const std::string& showLog)
|
||||
{
|
||||
showLog_ = showLog;
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
long QuickTestRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QuickTestRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuickTestRequest::getIterationId()const
|
||||
{
|
||||
return iterationId_;
|
||||
}
|
||||
|
||||
void QuickTestRequest::setIterationId(const std::string& iterationId)
|
||||
{
|
||||
iterationId_ = iterationId;
|
||||
setCoreParameter("IterationId", iterationId);
|
||||
}
|
||||
|
||||
68
ivision/src/model/QuickTestResult.cc
Normal file
68
ivision/src/model/QuickTestResult.cc
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ivision/model/QuickTestResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Ivision;
|
||||
using namespace AlibabaCloud::Ivision::Model;
|
||||
|
||||
QuickTestResult::QuickTestResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QuickTestResult::QuickTestResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QuickTestResult::~QuickTestResult()
|
||||
{}
|
||||
|
||||
void QuickTestResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto quickTestResultNode = value["QuickTestResult"];
|
||||
if(!quickTestResultNode["PredictId"].isNull())
|
||||
quickTestResult_.predictId = quickTestResultNode["PredictId"].asString();
|
||||
if(!quickTestResultNode["ProjectId"].isNull())
|
||||
quickTestResult_.projectId = quickTestResultNode["ProjectId"].asString();
|
||||
if(!quickTestResultNode["IterationId"].isNull())
|
||||
quickTestResult_.iterationId = quickTestResultNode["IterationId"].asString();
|
||||
if(!quickTestResultNode["DataUrl"].isNull())
|
||||
quickTestResult_.dataUrl = quickTestResultNode["DataUrl"].asString();
|
||||
if(!quickTestResultNode["PredictTime"].isNull())
|
||||
quickTestResult_.predictTime = quickTestResultNode["PredictTime"].asString();
|
||||
if(!quickTestResultNode["Status"].isNull())
|
||||
quickTestResult_.status = quickTestResultNode["Status"].asString();
|
||||
if(!quickTestResultNode["Code"].isNull())
|
||||
quickTestResult_.code = quickTestResultNode["Code"].asString();
|
||||
if(!quickTestResultNode["Message"].isNull())
|
||||
quickTestResult_.message = quickTestResultNode["Message"].asString();
|
||||
if(!quickTestResultNode["PredictResult"].isNull())
|
||||
quickTestResult_.predictResult = quickTestResultNode["PredictResult"].asString();
|
||||
|
||||
}
|
||||
|
||||
QuickTestResult::QuickTestResult QuickTestResult::getQuickTestResult()const
|
||||
{
|
||||
return quickTestResult_;
|
||||
}
|
||||
|
||||
@@ -25,83 +25,6 @@ StartStreamPredictRequest::StartStreamPredictRequest() :
|
||||
StartStreamPredictRequest::~StartStreamPredictRequest()
|
||||
{}
|
||||
|
||||
long StartStreamPredictRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long StartStreamPredictRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool StartStreamPredictRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
@@ -113,72 +36,6 @@ void StartStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long StartStreamPredictRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,39 +47,6 @@ void StartStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long StartStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,58 +58,3 @@ void StartStreamPredictRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool StartStreamPredictRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StartStreamPredictRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StartStreamPredictRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StartStreamPredictRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void StartStreamPredictRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ StartStreamPredictResult::~StartStreamPredictResult()
|
||||
|
||||
void StartStreamPredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PredictId"].isNull())
|
||||
predictId_ = value["PredictId"].asString();
|
||||
|
||||
@@ -25,83 +25,6 @@ StopStreamPredictRequest::StopStreamPredictRequest() :
|
||||
StopStreamPredictRequest::~StopStreamPredictRequest()
|
||||
{}
|
||||
|
||||
long StopStreamPredictRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long StopStreamPredictRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool StopStreamPredictRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getPredictId()const
|
||||
{
|
||||
return predictId_;
|
||||
@@ -113,72 +36,6 @@ void StopStreamPredictRequest::setPredictId(const std::string& predictId)
|
||||
setCoreParameter("PredictId", predictId);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long StopStreamPredictRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,39 +47,6 @@ void StopStreamPredictRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long StopStreamPredictRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,58 +58,3 @@ void StopStreamPredictRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool StopStreamPredictRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StopStreamPredictRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StopStreamPredictRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StopStreamPredictRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void StopStreamPredictRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ StopStreamPredictResult::~StopStreamPredictResult()
|
||||
|
||||
void StopStreamPredictResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PredictId"].isNull())
|
||||
predictId_ = value["PredictId"].asString();
|
||||
|
||||
@@ -25,127 +25,6 @@ TrainProjectRequest::TrainProjectRequest() :
|
||||
TrainProjectRequest::~TrainProjectRequest()
|
||||
{}
|
||||
|
||||
long TrainProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long TrainProjectRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool TrainProjectRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
@@ -157,28 +36,6 @@ void TrainProjectRequest::setProjectId(const std::string& projectId)
|
||||
setCoreParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long TrainProjectRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getShowLog()const
|
||||
{
|
||||
return showLog_;
|
||||
@@ -190,39 +47,6 @@ void TrainProjectRequest::setShowLog(const std::string& showLog)
|
||||
setCoreParameter("ShowLog", showLog);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long TrainProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,58 +58,3 @@ void TrainProjectRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool TrainProjectRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool TrainProjectRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool TrainProjectRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string TrainProjectRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void TrainProjectRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ TrainProjectResult::~TrainProjectResult()
|
||||
|
||||
void TrainProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IterationId"].isNull())
|
||||
iterationId_ = value["IterationId"].asString();
|
||||
|
||||
Reference in New Issue
Block a user