CRM SDK Auto Released By shenshi,Version:1.34.56

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-21 11:49:09 +08:00
parent 00a377f110
commit 50463a22aa
55 changed files with 3481 additions and 1 deletions

View 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/crm/model/AddIdentityCertifiedForBidUserRequest.h>
using AlibabaCloud::Crm::Model::AddIdentityCertifiedForBidUserRequest;
AddIdentityCertifiedForBidUserRequest::AddIdentityCertifiedForBidUserRequest() :
RpcServiceRequest("crm", "2015-04-08", "AddIdentityCertifiedForBidUser")
{}
AddIdentityCertifiedForBidUserRequest::~AddIdentityCertifiedForBidUserRequest()
{}
std::string AddIdentityCertifiedForBidUserRequest::getBidType()const
{
return bidType_;
}
void AddIdentityCertifiedForBidUserRequest::setBidType(const std::string& bidType)
{
bidType_ = bidType;
setParameter("BidType", bidType);
}
std::string AddIdentityCertifiedForBidUserRequest::getLicenseNumber()const
{
return licenseNumber_;
}
void AddIdentityCertifiedForBidUserRequest::setLicenseNumber(const std::string& licenseNumber)
{
licenseNumber_ = licenseNumber;
setParameter("LicenseNumber", licenseNumber);
}
std::string AddIdentityCertifiedForBidUserRequest::getLicenseType()const
{
return licenseType_;
}
void AddIdentityCertifiedForBidUserRequest::setLicenseType(const std::string& licenseType)
{
licenseType_ = licenseType;
setParameter("LicenseType", licenseType);
}
std::string AddIdentityCertifiedForBidUserRequest::getPhone()const
{
return phone_;
}
void AddIdentityCertifiedForBidUserRequest::setPhone(const std::string& phone)
{
phone_ = phone;
setParameter("Phone", phone);
}
std::string AddIdentityCertifiedForBidUserRequest::getName()const
{
return name_;
}
void AddIdentityCertifiedForBidUserRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string AddIdentityCertifiedForBidUserRequest::getPK()const
{
return pK_;
}
void AddIdentityCertifiedForBidUserRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
bool AddIdentityCertifiedForBidUserRequest::getIsEnterprise()const
{
return isEnterprise_;
}
void AddIdentityCertifiedForBidUserRequest::setIsEnterprise(bool isEnterprise)
{
isEnterprise_ = isEnterprise;
setParameter("IsEnterprise", std::to_string(isEnterprise));
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/AddIdentityCertifiedForBidUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
AddIdentityCertifiedForBidUserResult::AddIdentityCertifiedForBidUserResult() :
ServiceResult()
{}
AddIdentityCertifiedForBidUserResult::AddIdentityCertifiedForBidUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddIdentityCertifiedForBidUserResult::~AddIdentityCertifiedForBidUserResult()
{}
void AddIdentityCertifiedForBidUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string AddIdentityCertifiedForBidUserResult::getResult()const
{
return result_;
}

View 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/crm/model/AddLabelForBidRequest.h>
using AlibabaCloud::Crm::Model::AddLabelForBidRequest;
AddLabelForBidRequest::AddLabelForBidRequest() :
RpcServiceRequest("crm", "2015-04-08", "AddLabelForBid")
{}
AddLabelForBidRequest::~AddLabelForBidRequest()
{}
std::string AddLabelForBidRequest::getLabelSeries()const
{
return labelSeries_;
}
void AddLabelForBidRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}
std::string AddLabelForBidRequest::getEndTime()const
{
return endTime_;
}
void AddLabelForBidRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string AddLabelForBidRequest::getPK()const
{
return pK_;
}
void AddLabelForBidRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
std::string AddLabelForBidRequest::getLabel()const
{
return label_;
}
void AddLabelForBidRequest::setLabel(const std::string& label)
{
label_ = label;
setParameter("Label", label);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/AddLabelForBidResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
AddLabelForBidResult::AddLabelForBidResult() :
ServiceResult()
{}
AddLabelForBidResult::AddLabelForBidResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLabelForBidResult::~AddLabelForBidResult()
{}
void AddLabelForBidResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string AddLabelForBidResult::getResult()const
{
return result_;
}

View 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/crm/model/AddLabelRequest.h>
using AlibabaCloud::Crm::Model::AddLabelRequest;
AddLabelRequest::AddLabelRequest() :
RpcServiceRequest("crm", "2015-04-08", "AddLabel")
{}
AddLabelRequest::~AddLabelRequest()
{}
std::string AddLabelRequest::getLabelSeries()const
{
return labelSeries_;
}
void AddLabelRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}
std::string AddLabelRequest::getOrganization()const
{
return organization_;
}
void AddLabelRequest::setOrganization(const std::string& organization)
{
organization_ = organization;
setParameter("Organization", organization);
}
std::string AddLabelRequest::getEndTime()const
{
return endTime_;
}
void AddLabelRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string AddLabelRequest::getPK()const
{
return pK_;
}
void AddLabelRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
std::string AddLabelRequest::getLabelName()const
{
return labelName_;
}
void AddLabelRequest::setLabelName(const std::string& labelName)
{
labelName_ = labelName;
setParameter("LabelName", labelName);
}
std::string AddLabelRequest::getUserName()const
{
return userName_;
}
void AddLabelRequest::setUserName(const std::string& userName)
{
userName_ = userName;
setParameter("UserName", userName);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/AddLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
AddLabelResult::AddLabelResult() :
ServiceResult()
{}
AddLabelResult::AddLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLabelResult::~AddLabelResult()
{}
void AddLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string AddLabelResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,39 @@
/*
* 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/crm/model/BatchGetAliyunIdByAliyunPkRequest.h>
using AlibabaCloud::Crm::Model::BatchGetAliyunIdByAliyunPkRequest;
BatchGetAliyunIdByAliyunPkRequest::BatchGetAliyunIdByAliyunPkRequest() :
RpcServiceRequest("crm", "2015-04-08", "BatchGetAliyunIdByAliyunPk")
{}
BatchGetAliyunIdByAliyunPkRequest::~BatchGetAliyunIdByAliyunPkRequest()
{}
std::vector<std::string> BatchGetAliyunIdByAliyunPkRequest::getPkList()const
{
return pkList_;
}
void BatchGetAliyunIdByAliyunPkRequest::setPkList(const std::vector<std::string>& pkList)
{
pkList_ = pkList;
for(int i = 0; i!= pkList.size(); i++)
setParameter("PkList."+ std::to_string(i), pkList.at(i));
}

View 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/crm/model/BatchGetAliyunIdByAliyunPkResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
BatchGetAliyunIdByAliyunPkResult::BatchGetAliyunIdByAliyunPkResult() :
ServiceResult()
{}
BatchGetAliyunIdByAliyunPkResult::BatchGetAliyunIdByAliyunPkResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchGetAliyunIdByAliyunPkResult::~BatchGetAliyunIdByAliyunPkResult()
{}
void BatchGetAliyunIdByAliyunPkResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allProfileList = value["ProfileList"]["ProfileItem"];
for (auto value : allProfileList)
{
ProfileItem profileListObject;
if(!value["AliyunId"].isNull())
profileListObject.aliyunId = value["AliyunId"].asString();
if(!value["AliyunPk"].isNull())
profileListObject.aliyunPk = value["AliyunPk"].asString();
profileList_.push_back(profileListObject);
}
}
std::vector<BatchGetAliyunIdByAliyunPkResult::ProfileItem> BatchGetAliyunIdByAliyunPkResult::getProfileList()const
{
return profileList_;
}

View 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/crm/model/CheckLabelForBidRequest.h>
using AlibabaCloud::Crm::Model::CheckLabelForBidRequest;
CheckLabelForBidRequest::CheckLabelForBidRequest() :
RpcServiceRequest("crm", "2015-04-08", "CheckLabelForBid")
{}
CheckLabelForBidRequest::~CheckLabelForBidRequest()
{}
std::string CheckLabelForBidRequest::getLabelSeries()const
{
return labelSeries_;
}
void CheckLabelForBidRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}
std::string CheckLabelForBidRequest::getPK()const
{
return pK_;
}
void CheckLabelForBidRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
std::string CheckLabelForBidRequest::getLabel()const
{
return label_;
}
void CheckLabelForBidRequest::setLabel(const std::string& label)
{
label_ = label;
setParameter("Label", label);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/CheckLabelForBidResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
CheckLabelForBidResult::CheckLabelForBidResult() :
ServiceResult()
{}
CheckLabelForBidResult::CheckLabelForBidResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckLabelForBidResult::~CheckLabelForBidResult()
{}
void CheckLabelForBidResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool CheckLabelForBidResult::getResult()const
{
return result_;
}

View 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/crm/model/CheckLabelRequest.h>
using AlibabaCloud::Crm::Model::CheckLabelRequest;
CheckLabelRequest::CheckLabelRequest() :
RpcServiceRequest("crm", "2015-04-08", "CheckLabel")
{}
CheckLabelRequest::~CheckLabelRequest()
{}
std::string CheckLabelRequest::getLabelSeries()const
{
return labelSeries_;
}
void CheckLabelRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}
std::string CheckLabelRequest::getPK()const
{
return pK_;
}
void CheckLabelRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
std::string CheckLabelRequest::getLabelName()const
{
return labelName_;
}
void CheckLabelRequest::setLabelName(const std::string& labelName)
{
labelName_ = labelName;
setParameter("LabelName", labelName);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/CheckLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
CheckLabelResult::CheckLabelResult() :
ServiceResult()
{}
CheckLabelResult::CheckLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckLabelResult::~CheckLabelResult()
{}
void CheckLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool CheckLabelResult::getResult()const
{
return result_;
}

View 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/crm/model/DeleteLabelForBidRequest.h>
using AlibabaCloud::Crm::Model::DeleteLabelForBidRequest;
DeleteLabelForBidRequest::DeleteLabelForBidRequest() :
RpcServiceRequest("crm", "2015-04-08", "DeleteLabelForBid")
{}
DeleteLabelForBidRequest::~DeleteLabelForBidRequest()
{}
std::string DeleteLabelForBidRequest::getLabelSeries()const
{
return labelSeries_;
}
void DeleteLabelForBidRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}
std::string DeleteLabelForBidRequest::getPK()const
{
return pK_;
}
void DeleteLabelForBidRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
std::string DeleteLabelForBidRequest::getLabel()const
{
return label_;
}
void DeleteLabelForBidRequest::setLabel(const std::string& label)
{
label_ = label;
setParameter("Label", label);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/DeleteLabelForBidResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
DeleteLabelForBidResult::DeleteLabelForBidResult() :
ServiceResult()
{}
DeleteLabelForBidResult::DeleteLabelForBidResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLabelForBidResult::~DeleteLabelForBidResult()
{}
void DeleteLabelForBidResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string DeleteLabelForBidResult::getResult()const
{
return result_;
}

View 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/crm/model/DeleteLabelRequest.h>
using AlibabaCloud::Crm::Model::DeleteLabelRequest;
DeleteLabelRequest::DeleteLabelRequest() :
RpcServiceRequest("crm", "2015-04-08", "DeleteLabel")
{}
DeleteLabelRequest::~DeleteLabelRequest()
{}
std::string DeleteLabelRequest::getLabelSeries()const
{
return labelSeries_;
}
void DeleteLabelRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}
std::string DeleteLabelRequest::getOrganization()const
{
return organization_;
}
void DeleteLabelRequest::setOrganization(const std::string& organization)
{
organization_ = organization;
setParameter("Organization", organization);
}
std::string DeleteLabelRequest::getPK()const
{
return pK_;
}
void DeleteLabelRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}
std::string DeleteLabelRequest::getLabelName()const
{
return labelName_;
}
void DeleteLabelRequest::setLabelName(const std::string& labelName)
{
labelName_ = labelName;
setParameter("LabelName", labelName);
}
std::string DeleteLabelRequest::getUserName()const
{
return userName_;
}
void DeleteLabelRequest::setUserName(const std::string& userName)
{
userName_ = userName;
setParameter("UserName", userName);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/DeleteLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
DeleteLabelResult::DeleteLabelResult() :
ServiceResult()
{}
DeleteLabelResult::DeleteLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLabelResult::~DeleteLabelResult()
{}
void DeleteLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string DeleteLabelResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,38 @@
/*
* 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/crm/model/GetAliyunPkByAliyunIdRequest.h>
using AlibabaCloud::Crm::Model::GetAliyunPkByAliyunIdRequest;
GetAliyunPkByAliyunIdRequest::GetAliyunPkByAliyunIdRequest() :
RpcServiceRequest("crm", "2015-04-08", "GetAliyunPkByAliyunId")
{}
GetAliyunPkByAliyunIdRequest::~GetAliyunPkByAliyunIdRequest()
{}
std::string GetAliyunPkByAliyunIdRequest::getAliyunId()const
{
return aliyunId_;
}
void GetAliyunPkByAliyunIdRequest::setAliyunId(const std::string& aliyunId)
{
aliyunId_ = aliyunId;
setParameter("AliyunId", aliyunId);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/GetAliyunPkByAliyunIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
GetAliyunPkByAliyunIdResult::GetAliyunPkByAliyunIdResult() :
ServiceResult()
{}
GetAliyunPkByAliyunIdResult::GetAliyunPkByAliyunIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAliyunPkByAliyunIdResult::~GetAliyunPkByAliyunIdResult()
{}
void GetAliyunPkByAliyunIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AliyunPk"].isNull())
aliyunPk_ = value["AliyunPk"].asString();
}
std::string GetAliyunPkByAliyunIdResult::getAliyunPk()const
{
return aliyunPk_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/crm/model/QueryBidUserCertifiedInfoRequest.h>
using AlibabaCloud::Crm::Model::QueryBidUserCertifiedInfoRequest;
QueryBidUserCertifiedInfoRequest::QueryBidUserCertifiedInfoRequest() :
RpcServiceRequest("crm", "2015-04-08", "QueryBidUserCertifiedInfo")
{}
QueryBidUserCertifiedInfoRequest::~QueryBidUserCertifiedInfoRequest()
{}
std::string QueryBidUserCertifiedInfoRequest::getBidType()const
{
return bidType_;
}
void QueryBidUserCertifiedInfoRequest::setBidType(const std::string& bidType)
{
bidType_ = bidType;
setParameter("BidType", bidType);
}
std::string QueryBidUserCertifiedInfoRequest::getPK()const
{
return pK_;
}
void QueryBidUserCertifiedInfoRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/QueryBidUserCertifiedInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
QueryBidUserCertifiedInfoResult::QueryBidUserCertifiedInfoResult() :
ServiceResult()
{}
QueryBidUserCertifiedInfoResult::QueryBidUserCertifiedInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryBidUserCertifiedInfoResult::~QueryBidUserCertifiedInfoResult()
{}
void QueryBidUserCertifiedInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string QueryBidUserCertifiedInfoResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,38 @@
/*
* 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/crm/model/QueryCustomerLabelRequest.h>
using AlibabaCloud::Crm::Model::QueryCustomerLabelRequest;
QueryCustomerLabelRequest::QueryCustomerLabelRequest() :
RpcServiceRequest("crm", "2015-04-08", "QueryCustomerLabel")
{}
QueryCustomerLabelRequest::~QueryCustomerLabelRequest()
{}
std::string QueryCustomerLabelRequest::getLabelSeries()const
{
return labelSeries_;
}
void QueryCustomerLabelRequest::setLabelSeries(const std::string& labelSeries)
{
labelSeries_ = labelSeries;
setParameter("LabelSeries", labelSeries);
}

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/crm/model/QueryCustomerLabelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
QueryCustomerLabelResult::QueryCustomerLabelResult() :
ServiceResult()
{}
QueryCustomerLabelResult::QueryCustomerLabelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryCustomerLabelResult::~QueryCustomerLabelResult()
{}
void QueryCustomerLabelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["CustomerLabel"];
for (auto value : allData)
{
CustomerLabel dataObject;
if(!value["Label"].isNull())
dataObject.label = value["Label"].asString();
if(!value["LabelSeries"].isNull())
dataObject.labelSeries = value["LabelSeries"].asString();
data_.push_back(dataObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryCustomerLabelResult::getMessage()const
{
return message_;
}
std::vector<QueryCustomerLabelResult::CustomerLabel> QueryCustomerLabelResult::getData()const
{
return data_;
}
std::string QueryCustomerLabelResult::getCode()const
{
return code_;
}
bool QueryCustomerLabelResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,49 @@
/*
* 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/crm/model/RemoveIdentityCertifiedForBidUserRequest.h>
using AlibabaCloud::Crm::Model::RemoveIdentityCertifiedForBidUserRequest;
RemoveIdentityCertifiedForBidUserRequest::RemoveIdentityCertifiedForBidUserRequest() :
RpcServiceRequest("crm", "2015-04-08", "RemoveIdentityCertifiedForBidUser")
{}
RemoveIdentityCertifiedForBidUserRequest::~RemoveIdentityCertifiedForBidUserRequest()
{}
std::string RemoveIdentityCertifiedForBidUserRequest::getBidType()const
{
return bidType_;
}
void RemoveIdentityCertifiedForBidUserRequest::setBidType(const std::string& bidType)
{
bidType_ = bidType;
setParameter("BidType", bidType);
}
std::string RemoveIdentityCertifiedForBidUserRequest::getPK()const
{
return pK_;
}
void RemoveIdentityCertifiedForBidUserRequest::setPK(const std::string& pK)
{
pK_ = pK;
setParameter("PK", pK);
}

View File

@@ -0,0 +1,52 @@
/*
* 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/crm/model/RemoveIdentityCertifiedForBidUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Crm;
using namespace AlibabaCloud::Crm::Model;
RemoveIdentityCertifiedForBidUserResult::RemoveIdentityCertifiedForBidUserResult() :
ServiceResult()
{}
RemoveIdentityCertifiedForBidUserResult::RemoveIdentityCertifiedForBidUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RemoveIdentityCertifiedForBidUserResult::~RemoveIdentityCertifiedForBidUserResult()
{}
void RemoveIdentityCertifiedForBidUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string RemoveIdentityCertifiedForBidUserResult::getResult()const
{
return result_;
}