Ram action config.
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/AcceptDemandRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::AcceptDemandRequest;
|
||||
|
||||
AcceptDemandRequest::AcceptDemandRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "AcceptDemand")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AcceptDemandRequest::~AcceptDemandRequest()
|
||||
{}
|
||||
|
||||
std::string AcceptDemandRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void AcceptDemandRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string AcceptDemandRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void AcceptDemandRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setParameter("Message", message);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/AcceptDemandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
AcceptDemandResult::AcceptDemandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AcceptDemandResult::AcceptDemandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AcceptDemandResult::~AcceptDemandResult()
|
||||
{}
|
||||
|
||||
void AcceptDemandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BindUrl"].isNull())
|
||||
bindUrl_ = value["BindUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AcceptDemandResult::getBindUrl()const
|
||||
{
|
||||
return bindUrl_;
|
||||
}
|
||||
|
||||
@@ -1,64 +1,53 @@
|
||||
/*
|
||||
* 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/domain/model/AcknowledgeTaskResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::AcknowledgeTaskResultRequest;
|
||||
|
||||
AcknowledgeTaskResultRequest::AcknowledgeTaskResultRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "AcknowledgeTaskResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AcknowledgeTaskResultRequest::~AcknowledgeTaskResultRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> AcknowledgeTaskResultRequest::getTaskDetailNo()const
|
||||
{
|
||||
return taskDetailNo_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/AcknowledgeTaskResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::AcknowledgeTaskResultRequest;
|
||||
|
||||
AcknowledgeTaskResultRequest::AcknowledgeTaskResultRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "AcknowledgeTaskResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AcknowledgeTaskResultRequest::setTaskDetailNo(const std::vector<std::string>& taskDetailNo)
|
||||
{
|
||||
taskDetailNo_ = taskDetailNo;
|
||||
for(int dep1 = 0; dep1!= taskDetailNo.size(); dep1++) {
|
||||
setParameter("TaskDetailNo."+ std::to_string(dep1), taskDetailNo.at(dep1));
|
||||
}
|
||||
AcknowledgeTaskResultRequest::~AcknowledgeTaskResultRequest() {}
|
||||
|
||||
std::vector<std::string> AcknowledgeTaskResultRequest::getTaskDetailNo() const {
|
||||
return taskDetailNo_;
|
||||
}
|
||||
|
||||
std::string AcknowledgeTaskResultRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AcknowledgeTaskResultRequest::setTaskDetailNo(const std::vector<std::string> &taskDetailNo) {
|
||||
taskDetailNo_ = taskDetailNo;
|
||||
}
|
||||
|
||||
void AcknowledgeTaskResultRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AcknowledgeTaskResultRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AcknowledgeTaskResultRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AcknowledgeTaskResultRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AcknowledgeTaskResultRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AcknowledgeTaskResultRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AcknowledgeTaskResultRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/BatchFuzzyMatchDomainSensitiveWordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::BatchFuzzyMatchDomainSensitiveWordRequest;
|
||||
|
||||
BatchFuzzyMatchDomainSensitiveWordRequest::BatchFuzzyMatchDomainSensitiveWordRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "BatchFuzzyMatchDomainSensitiveWord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchFuzzyMatchDomainSensitiveWordRequest::~BatchFuzzyMatchDomainSensitiveWordRequest()
|
||||
{}
|
||||
|
||||
std::string BatchFuzzyMatchDomainSensitiveWordRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/BatchFuzzyMatchDomainSensitiveWordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::BatchFuzzyMatchDomainSensitiveWordRequest;
|
||||
|
||||
BatchFuzzyMatchDomainSensitiveWordRequest::BatchFuzzyMatchDomainSensitiveWordRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "BatchFuzzyMatchDomainSensitiveWord") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BatchFuzzyMatchDomainSensitiveWordRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
BatchFuzzyMatchDomainSensitiveWordRequest::~BatchFuzzyMatchDomainSensitiveWordRequest() {}
|
||||
|
||||
std::string BatchFuzzyMatchDomainSensitiveWordRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string BatchFuzzyMatchDomainSensitiveWordRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
void BatchFuzzyMatchDomainSensitiveWordRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void BatchFuzzyMatchDomainSensitiveWordRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
std::string BatchFuzzyMatchDomainSensitiveWordRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
std::string BatchFuzzyMatchDomainSensitiveWordRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void BatchFuzzyMatchDomainSensitiveWordRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
void BatchFuzzyMatchDomainSensitiveWordRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string BatchFuzzyMatchDomainSensitiveWordRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void BatchFuzzyMatchDomainSensitiveWordRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/BidDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::BidDomainRequest;
|
||||
|
||||
BidDomainRequest::BidDomainRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "BidDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BidDomainRequest::~BidDomainRequest()
|
||||
{}
|
||||
|
||||
std::string BidDomainRequest::getAuctionId()const
|
||||
{
|
||||
return auctionId_;
|
||||
}
|
||||
|
||||
void BidDomainRequest::setAuctionId(const std::string& auctionId)
|
||||
{
|
||||
auctionId_ = auctionId;
|
||||
setBodyParameter("AuctionId", auctionId);
|
||||
}
|
||||
|
||||
float BidDomainRequest::getMaxBid()const
|
||||
{
|
||||
return maxBid_;
|
||||
}
|
||||
|
||||
void BidDomainRequest::setMaxBid(float maxBid)
|
||||
{
|
||||
maxBid_ = maxBid;
|
||||
setBodyParameter("MaxBid", std::to_string(maxBid));
|
||||
}
|
||||
|
||||
std::string BidDomainRequest::getCurrency()const
|
||||
{
|
||||
return currency_;
|
||||
}
|
||||
|
||||
void BidDomainRequest::setCurrency(const std::string& currency)
|
||||
{
|
||||
currency_ = currency;
|
||||
setBodyParameter("Currency", currency);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/BidDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
BidDomainResult::BidDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BidDomainResult::BidDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BidDomainResult::~BidDomainResult()
|
||||
{}
|
||||
|
||||
void BidDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AuctionId"].isNull())
|
||||
auctionId_ = value["AuctionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string BidDomainResult::getAuctionId()const
|
||||
{
|
||||
return auctionId_;
|
||||
}
|
||||
|
||||
@@ -1,84 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelDomainVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelDomainVerificationRequest;
|
||||
|
||||
CancelDomainVerificationRequest::CancelDomainVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CancelDomainVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelDomainVerificationRequest::~CancelDomainVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getActionType()const
|
||||
{
|
||||
return actionType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelDomainVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelDomainVerificationRequest;
|
||||
|
||||
CancelDomainVerificationRequest::CancelDomainVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CancelDomainVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setActionType(const std::string& actionType)
|
||||
{
|
||||
actionType_ = actionType;
|
||||
setParameter("ActionType", actionType);
|
||||
CancelDomainVerificationRequest::~CancelDomainVerificationRequest() {}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getActionType() const {
|
||||
return actionType_;
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CancelDomainVerificationRequest::setActionType(const std::string &actionType) {
|
||||
actionType_ = actionType;
|
||||
setParameter(std::string("ActionType"), actionType);
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CancelDomainVerificationRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CancelDomainVerificationRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CancelDomainVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CancelDomainVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CancelDomainVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
void CancelDomainVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelOperationAuditRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelOperationAuditRequest;
|
||||
|
||||
CancelOperationAuditRequest::CancelOperationAuditRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CancelOperationAudit")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelOperationAuditRequest::~CancelOperationAuditRequest()
|
||||
{}
|
||||
|
||||
long CancelOperationAuditRequest::getAuditRecordId()const
|
||||
{
|
||||
return auditRecordId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelOperationAuditRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelOperationAuditRequest;
|
||||
|
||||
CancelOperationAuditRequest::CancelOperationAuditRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CancelOperationAudit") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CancelOperationAuditRequest::setAuditRecordId(long auditRecordId)
|
||||
{
|
||||
auditRecordId_ = auditRecordId;
|
||||
setParameter("AuditRecordId", std::to_string(auditRecordId));
|
||||
CancelOperationAuditRequest::~CancelOperationAuditRequest() {}
|
||||
|
||||
long CancelOperationAuditRequest::getAuditRecordId() const {
|
||||
return auditRecordId_;
|
||||
}
|
||||
|
||||
std::string CancelOperationAuditRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CancelOperationAuditRequest::setAuditRecordId(long auditRecordId) {
|
||||
auditRecordId_ = auditRecordId;
|
||||
setParameter(std::string("AuditRecordId"), std::to_string(auditRecordId));
|
||||
}
|
||||
|
||||
void CancelOperationAuditRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CancelOperationAuditRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CancelOperationAuditRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelQualificationVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelQualificationVerificationRequest;
|
||||
|
||||
CancelQualificationVerificationRequest::CancelQualificationVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CancelQualificationVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelQualificationVerificationRequest::~CancelQualificationVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelQualificationVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelQualificationVerificationRequest;
|
||||
|
||||
CancelQualificationVerificationRequest::CancelQualificationVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CancelQualificationVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
CancelQualificationVerificationRequest::~CancelQualificationVerificationRequest() {}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getQualificationType() const {
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
void CancelQualificationVerificationRequest::setQualificationType(const std::string &qualificationType) {
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter(std::string("QualificationType"), qualificationType);
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter("QualificationType", qualificationType);
|
||||
std::string CancelQualificationVerificationRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CancelQualificationVerificationRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CancelQualificationVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CancelQualificationVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CancelQualificationVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
void CancelQualificationVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelTaskRequest;
|
||||
|
||||
CancelTaskRequest::CancelTaskRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CancelTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelTaskRequest::~CancelTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CancelTaskRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelTaskRequest;
|
||||
|
||||
CancelTaskRequest::CancelTaskRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CancelTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
CancelTaskRequest::~CancelTaskRequest() {}
|
||||
|
||||
std::string CancelTaskRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
void CancelTaskRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setTaskNo(const std::string& taskNo)
|
||||
{
|
||||
taskNo_ = taskNo;
|
||||
setParameter("TaskNo", taskNo);
|
||||
std::string CancelTaskRequest::getTaskNo() const {
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CancelTaskRequest::setTaskNo(const std::string &taskNo) {
|
||||
taskNo_ = taskNo;
|
||||
setParameter(std::string("TaskNo"), taskNo);
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CancelTaskRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CancelTaskRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/ChangeAuctionRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ChangeAuctionRequest;
|
||||
|
||||
ChangeAuctionRequest::ChangeAuctionRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "ChangeAuction")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeAuctionRequest::~ChangeAuctionRequest()
|
||||
{}
|
||||
|
||||
std::vector<ChangeAuctionRequest::AuctionList> ChangeAuctionRequest::getAuctionList()const
|
||||
{
|
||||
return auctionList_;
|
||||
}
|
||||
|
||||
void ChangeAuctionRequest::setAuctionList(const std::vector<AuctionList>& auctionList)
|
||||
{
|
||||
auctionList_ = auctionList;
|
||||
for(int dep1 = 0; dep1!= auctionList.size(); dep1++) {
|
||||
auto auctionListObj = auctionList.at(dep1);
|
||||
std::string auctionListObjStr = "AuctionList." + std::to_string(dep1 + 1);
|
||||
setParameter(auctionListObjStr + ".Winner", auctionListObj.winner);
|
||||
setParameter(auctionListObjStr + ".ReserveRange", auctionListObj.reserveRange);
|
||||
setParameter(auctionListObjStr + ".DomainName", auctionListObj.domainName);
|
||||
setParameter(auctionListObjStr + ".EndTime", auctionListObj.endTime);
|
||||
setParameter(auctionListObjStr + ".TimeLeft", std::to_string(auctionListObj.timeLeft));
|
||||
setParameter(auctionListObjStr + ".IsReserve", std::to_string(auctionListObj.isReserve));
|
||||
for(int dep2 = 0; dep2!= auctionListObj.bidRecords.size(); dep2++) {
|
||||
auto bidRecordsObj = auctionListObj.bidRecords.at(dep2);
|
||||
std::string bidRecordsObjStr = auctionListObjStr + "BidRecords." + std::to_string(dep2 + 1);
|
||||
setParameter(bidRecordsObjStr + ".CreateTime", bidRecordsObj.createTime);
|
||||
setParameter(bidRecordsObjStr + ".Price", std::to_string(bidRecordsObj.price));
|
||||
setParameter(bidRecordsObjStr + ".UserId", bidRecordsObj.userId);
|
||||
}
|
||||
setParameter(auctionListObjStr + ".WinnerPrice", std::to_string(auctionListObj.winnerPrice));
|
||||
setParameter(auctionListObjStr + ".Status", auctionListObj.status);
|
||||
setParameter(auctionListObjStr + ".ReservePrice", std::to_string(auctionListObj.reservePrice));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/ChangeAuctionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
ChangeAuctionResult::ChangeAuctionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ChangeAuctionResult::ChangeAuctionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ChangeAuctionResult::~ChangeAuctionResult()
|
||||
{}
|
||||
|
||||
void ChangeAuctionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckDomainRequest;
|
||||
|
||||
CheckDomainRequest::CheckDomainRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckDomainRequest::~CheckDomainRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckDomainRequest;
|
||||
|
||||
CheckDomainRequest::CheckDomainRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CheckDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
CheckDomainRequest::~CheckDomainRequest() {}
|
||||
|
||||
std::string CheckDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getFeeCurrency()const
|
||||
{
|
||||
return feeCurrency_;
|
||||
void CheckDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setFeeCurrency(const std::string& feeCurrency)
|
||||
{
|
||||
feeCurrency_ = feeCurrency;
|
||||
setParameter("FeeCurrency", feeCurrency);
|
||||
std::string CheckDomainRequest::getFeeCurrency() const {
|
||||
return feeCurrency_;
|
||||
}
|
||||
|
||||
int CheckDomainRequest::getFeePeriod()const
|
||||
{
|
||||
return feePeriod_;
|
||||
void CheckDomainRequest::setFeeCurrency(const std::string &feeCurrency) {
|
||||
feeCurrency_ = feeCurrency;
|
||||
setParameter(std::string("FeeCurrency"), feeCurrency);
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setFeePeriod(int feePeriod)
|
||||
{
|
||||
feePeriod_ = feePeriod;
|
||||
setParameter("FeePeriod", std::to_string(feePeriod));
|
||||
int CheckDomainRequest::getFeePeriod() const {
|
||||
return feePeriod_;
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getFeeCommand()const
|
||||
{
|
||||
return feeCommand_;
|
||||
void CheckDomainRequest::setFeePeriod(int feePeriod) {
|
||||
feePeriod_ = feePeriod;
|
||||
setParameter(std::string("FeePeriod"), std::to_string(feePeriod));
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setFeeCommand(const std::string& feeCommand)
|
||||
{
|
||||
feeCommand_ = feeCommand;
|
||||
setParameter("FeeCommand", feeCommand);
|
||||
std::string CheckDomainRequest::getFeeCommand() const {
|
||||
return feeCommand_;
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CheckDomainRequest::setFeeCommand(const std::string &feeCommand) {
|
||||
feeCommand_ = feeCommand;
|
||||
setParameter(std::string("FeeCommand"), feeCommand);
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CheckDomainRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,18 +39,18 @@ void CheckDomainResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["Avail"].isNull())
|
||||
avail_ = value["Avail"].asString();
|
||||
if(!value["Premium"].isNull())
|
||||
premium_ = value["Premium"].asString();
|
||||
if(!value["Reason"].isNull())
|
||||
reason_ = value["Reason"].asString();
|
||||
if(!value["Price"].isNull())
|
||||
price_ = std::stol(value["Price"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["Premium"].isNull())
|
||||
premium_ = value["Premium"].asString();
|
||||
if(!value["DynamicCheck"].isNull())
|
||||
dynamicCheck_ = value["DynamicCheck"].asString() == "true";
|
||||
if(!value["Reason"].isNull())
|
||||
reason_ = value["Reason"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -59,16 +59,16 @@ std::string CheckDomainResult::getAvail()const
|
||||
return avail_;
|
||||
}
|
||||
|
||||
std::string CheckDomainResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long CheckDomainResult::getPrice()const
|
||||
{
|
||||
return price_;
|
||||
}
|
||||
|
||||
std::string CheckDomainResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CheckDomainResult::getPremium()const
|
||||
{
|
||||
return premium_;
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/CheckDomainStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckDomainStatusRequest;
|
||||
|
||||
CheckDomainStatusRequest::CheckDomainStatusRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "CheckDomainStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
CheckDomainStatusRequest::~CheckDomainStatusRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDomainStatusRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void CheckDomainStatusRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/CheckDomainStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CheckDomainStatusResult::CheckDomainStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckDomainStatusResult::CheckDomainStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckDomainStatusResult::~CheckDomainStatusResult()
|
||||
{}
|
||||
|
||||
void CheckDomainStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto moduleNode = value["Module"];
|
||||
if(!moduleNode["Domain"].isNull())
|
||||
module_.domain = moduleNode["Domain"].asString();
|
||||
if(!moduleNode["Price"].isNull())
|
||||
module_.price = std::stof(moduleNode["Price"].asString());
|
||||
if(!moduleNode["RegDate"].isNull())
|
||||
module_.regDate = std::stol(moduleNode["RegDate"].asString());
|
||||
if(!moduleNode["DeadDate"].isNull())
|
||||
module_.deadDate = std::stol(moduleNode["DeadDate"].asString());
|
||||
if(!moduleNode["EndTime"].isNull())
|
||||
module_.endTime = std::stol(moduleNode["EndTime"].asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CheckDomainStatusResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CheckDomainStatusResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
CheckDomainStatusResult::Module CheckDomainStatusResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
bool CheckDomainStatusResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckDomainSunriseClaimRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckDomainSunriseClaimRequest;
|
||||
|
||||
CheckDomainSunriseClaimRequest::CheckDomainSunriseClaimRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckDomainSunriseClaim")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckDomainSunriseClaimRequest::~CheckDomainSunriseClaimRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckDomainSunriseClaimRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckDomainSunriseClaimRequest;
|
||||
|
||||
CheckDomainSunriseClaimRequest::CheckDomainSunriseClaimRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CheckDomainSunriseClaim") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
CheckDomainSunriseClaimRequest::~CheckDomainSunriseClaimRequest() {}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CheckDomainSunriseClaimRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CheckDomainSunriseClaimRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CheckDomainSunriseClaimRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CheckDomainSunriseClaimRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void CheckDomainSunriseClaimResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = std::stoi(value["Result"].asString());
|
||||
if(!value["ClaimKey"].isNull())
|
||||
claimKey_ = value["ClaimKey"].asString();
|
||||
if(!value["Result"].isNull())
|
||||
result_ = std::stoi(value["Result"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckMaxYearOfServerLockRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckMaxYearOfServerLockRequest;
|
||||
|
||||
CheckMaxYearOfServerLockRequest::CheckMaxYearOfServerLockRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckMaxYearOfServerLock")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckMaxYearOfServerLockRequest::~CheckMaxYearOfServerLockRequest()
|
||||
{}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckMaxYearOfServerLockRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckMaxYearOfServerLockRequest;
|
||||
|
||||
CheckMaxYearOfServerLockRequest::CheckMaxYearOfServerLockRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CheckMaxYearOfServerLock") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
CheckMaxYearOfServerLockRequest::~CheckMaxYearOfServerLockRequest() {}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CheckMaxYearOfServerLockRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CheckMaxYearOfServerLockRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getCheckAction()const
|
||||
{
|
||||
return checkAction_;
|
||||
void CheckMaxYearOfServerLockRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setCheckAction(const std::string& checkAction)
|
||||
{
|
||||
checkAction_ = checkAction;
|
||||
setParameter("CheckAction", checkAction);
|
||||
std::string CheckMaxYearOfServerLockRequest::getCheckAction() const {
|
||||
return checkAction_;
|
||||
}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CheckMaxYearOfServerLockRequest::setCheckAction(const std::string &checkAction) {
|
||||
checkAction_ = checkAction;
|
||||
setParameter(std::string("CheckAction"), checkAction);
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CheckMaxYearOfServerLockRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckProcessingServerLockApplyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckProcessingServerLockApplyRequest;
|
||||
|
||||
CheckProcessingServerLockApplyRequest::CheckProcessingServerLockApplyRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckProcessingServerLockApply")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckProcessingServerLockApplyRequest::~CheckProcessingServerLockApplyRequest()
|
||||
{}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckProcessingServerLockApplyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckProcessingServerLockApplyRequest;
|
||||
|
||||
CheckProcessingServerLockApplyRequest::CheckProcessingServerLockApplyRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CheckProcessingServerLockApply") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
CheckProcessingServerLockApplyRequest::~CheckProcessingServerLockApplyRequest() {}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int CheckProcessingServerLockApplyRequest::getFeePeriod()const
|
||||
{
|
||||
return feePeriod_;
|
||||
void CheckProcessingServerLockApplyRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setFeePeriod(int feePeriod)
|
||||
{
|
||||
feePeriod_ = feePeriod;
|
||||
setParameter("FeePeriod", std::to_string(feePeriod));
|
||||
int CheckProcessingServerLockApplyRequest::getFeePeriod() const {
|
||||
return feePeriod_;
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CheckProcessingServerLockApplyRequest::setFeePeriod(int feePeriod) {
|
||||
feePeriod_ = feePeriod;
|
||||
setParameter(std::string("FeePeriod"), std::to_string(feePeriod));
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CheckProcessingServerLockApplyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CheckProcessingServerLockApplyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CheckProcessingServerLockApplyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckTransferInFeasibilityRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckTransferInFeasibilityRequest;
|
||||
|
||||
CheckTransferInFeasibilityRequest::CheckTransferInFeasibilityRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckTransferInFeasibility")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckTransferInFeasibilityRequest::~CheckTransferInFeasibilityRequest()
|
||||
{}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckTransferInFeasibilityRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckTransferInFeasibilityRequest;
|
||||
|
||||
CheckTransferInFeasibilityRequest::CheckTransferInFeasibilityRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "CheckTransferInFeasibility") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
CheckTransferInFeasibilityRequest::~CheckTransferInFeasibilityRequest() {}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getTransferAuthorizationCode()const
|
||||
{
|
||||
return transferAuthorizationCode_;
|
||||
void CheckTransferInFeasibilityRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setTransferAuthorizationCode(const std::string& transferAuthorizationCode)
|
||||
{
|
||||
transferAuthorizationCode_ = transferAuthorizationCode;
|
||||
setParameter("TransferAuthorizationCode", transferAuthorizationCode);
|
||||
std::string CheckTransferInFeasibilityRequest::getTransferAuthorizationCode() const {
|
||||
return transferAuthorizationCode_;
|
||||
}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CheckTransferInFeasibilityRequest::setTransferAuthorizationCode(const std::string &transferAuthorizationCode) {
|
||||
transferAuthorizationCode_ = transferAuthorizationCode;
|
||||
setParameter(std::string("TransferAuthorizationCode"), transferAuthorizationCode);
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CheckTransferInFeasibilityRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CheckTransferInFeasibilityRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CheckTransferInFeasibilityRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CheckTransferInFeasibilityRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckTransferInFeasibilityRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,12 +41,12 @@ void CheckTransferInFeasibilityResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CanTransfer"].isNull())
|
||||
canTransfer_ = value["CanTransfer"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ProductId"].isNull())
|
||||
productId_ = value["ProductId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,75 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ConfirmTransferInEmailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ConfirmTransferInEmailRequest;
|
||||
|
||||
ConfirmTransferInEmailRequest::ConfirmTransferInEmailRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "ConfirmTransferInEmail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConfirmTransferInEmailRequest::~ConfirmTransferInEmailRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> ConfirmTransferInEmailRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ConfirmTransferInEmailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ConfirmTransferInEmailRequest;
|
||||
|
||||
ConfirmTransferInEmailRequest::ConfirmTransferInEmailRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "ConfirmTransferInEmail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setDomainName(const std::vector<std::string>& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
for(int dep1 = 0; dep1!= domainName.size(); dep1++) {
|
||||
setParameter("DomainName."+ std::to_string(dep1), domainName.at(dep1));
|
||||
}
|
||||
ConfirmTransferInEmailRequest::~ConfirmTransferInEmailRequest() {}
|
||||
|
||||
std::vector<std::string> ConfirmTransferInEmailRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string ConfirmTransferInEmailRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void ConfirmTransferInEmailRequest::setDomainName(const std::vector<std::string> &domainName) {
|
||||
domainName_ = domainName;
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string ConfirmTransferInEmailRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string ConfirmTransferInEmailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void ConfirmTransferInEmailRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string ConfirmTransferInEmailRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string ConfirmTransferInEmailRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
void ConfirmTransferInEmailRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
std::string ConfirmTransferInEmailRequest::getEmail() const {
|
||||
return email_;
|
||||
}
|
||||
|
||||
void ConfirmTransferInEmailRequest::setEmail(const std::string &email) {
|
||||
email_ = email;
|
||||
setParameter(std::string("Email"), email);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/CreateFixedPriceDemandOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CreateFixedPriceDemandOrderRequest;
|
||||
|
||||
CreateFixedPriceDemandOrderRequest::CreateFixedPriceDemandOrderRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "CreateFixedPriceDemandOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateFixedPriceDemandOrderRequest::~CreateFixedPriceDemandOrderRequest()
|
||||
{}
|
||||
|
||||
std::string CreateFixedPriceDemandOrderRequest::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
void CreateFixedPriceDemandOrderRequest::setCode(const std::string& code)
|
||||
{
|
||||
code_ = code;
|
||||
setParameter("Code", code);
|
||||
}
|
||||
|
||||
std::string CreateFixedPriceDemandOrderRequest::getContactId()const
|
||||
{
|
||||
return contactId_;
|
||||
}
|
||||
|
||||
void CreateFixedPriceDemandOrderRequest::setContactId(const std::string& contactId)
|
||||
{
|
||||
contactId_ = contactId;
|
||||
setParameter("ContactId", contactId);
|
||||
}
|
||||
|
||||
std::string CreateFixedPriceDemandOrderRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void CreateFixedPriceDemandOrderRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
std::string CreateFixedPriceDemandOrderRequest::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
void CreateFixedPriceDemandOrderRequest::setSource(const std::string& source)
|
||||
{
|
||||
source_ = source;
|
||||
setParameter("Source", source);
|
||||
}
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/CreateFixedPriceDemandOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CreateFixedPriceDemandOrderResult::CreateFixedPriceDemandOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateFixedPriceDemandOrderResult::CreateFixedPriceDemandOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateFixedPriceDemandOrderResult::~CreateFixedPriceDemandOrderResult()
|
||||
{}
|
||||
|
||||
void CreateFixedPriceDemandOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto moduleNode = value["Module"];
|
||||
if(!moduleNode["OrderNo"].isNull())
|
||||
module_.orderNo = moduleNode["OrderNo"].asString();
|
||||
if(!moduleNode["Price"].isNull())
|
||||
module_.price = std::stol(moduleNode["Price"].asString());
|
||||
if(!moduleNode["Domain"].isNull())
|
||||
module_.domain = moduleNode["Domain"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int CreateFixedPriceDemandOrderResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateFixedPriceDemandOrderResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
CreateFixedPriceDemandOrderResult::Module CreateFixedPriceDemandOrderResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
bool CreateFixedPriceDemandOrderResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteContactTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteContactTemplatesRequest;
|
||||
|
||||
DeleteContactTemplatesRequest::DeleteContactTemplatesRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "DeleteContactTemplates")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteContactTemplatesRequest::~DeleteContactTemplatesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteContactTemplatesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteContactTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteContactTemplatesRequest;
|
||||
|
||||
DeleteContactTemplatesRequest::DeleteContactTemplatesRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "DeleteContactTemplates") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteContactTemplatesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DeleteContactTemplatesRequest::~DeleteContactTemplatesRequest() {}
|
||||
|
||||
std::string DeleteContactTemplatesRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteContactTemplatesRequest::getRegistrantProfileIds()const
|
||||
{
|
||||
return registrantProfileIds_;
|
||||
void DeleteContactTemplatesRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteContactTemplatesRequest::setRegistrantProfileIds(const std::string& registrantProfileIds)
|
||||
{
|
||||
registrantProfileIds_ = registrantProfileIds;
|
||||
setParameter("RegistrantProfileIds", registrantProfileIds);
|
||||
std::string DeleteContactTemplatesRequest::getRegistrantProfileIds() const {
|
||||
return registrantProfileIds_;
|
||||
}
|
||||
|
||||
void DeleteContactTemplatesRequest::setRegistrantProfileIds(const std::string ®istrantProfileIds) {
|
||||
registrantProfileIds_ = registrantProfileIds;
|
||||
setParameter(std::string("RegistrantProfileIds"), registrantProfileIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteDomainGroupRequest;
|
||||
|
||||
DeleteDomainGroupRequest::DeleteDomainGroupRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "DeleteDomainGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainGroupRequest::~DeleteDomainGroupRequest()
|
||||
{}
|
||||
|
||||
long DeleteDomainGroupRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteDomainGroupRequest;
|
||||
|
||||
DeleteDomainGroupRequest::DeleteDomainGroupRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "DeleteDomainGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setDomainGroupId(long domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setParameter("DomainGroupId", std::to_string(domainGroupId));
|
||||
DeleteDomainGroupRequest::~DeleteDomainGroupRequest() {}
|
||||
|
||||
long DeleteDomainGroupRequest::getDomainGroupId() const {
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteDomainGroupRequest::setDomainGroupId(long domainGroupId) {
|
||||
domainGroupId_ = domainGroupId;
|
||||
setParameter(std::string("DomainGroupId"), std::to_string(domainGroupId));
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteDomainGroupRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDomainGroupRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDomainGroupRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteEmailVerificationRequest;
|
||||
|
||||
DeleteEmailVerificationRequest::DeleteEmailVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "DeleteEmailVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteEmailVerificationRequest::~DeleteEmailVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteEmailVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteEmailVerificationRequest;
|
||||
|
||||
DeleteEmailVerificationRequest::DeleteEmailVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "DeleteEmailVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteEmailVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DeleteEmailVerificationRequest::~DeleteEmailVerificationRequest() {}
|
||||
|
||||
std::string DeleteEmailVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteEmailVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteEmailVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteEmailVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteEmailVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DeleteEmailVerificationRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
void DeleteEmailVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DeleteEmailVerificationRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
std::string DeleteEmailVerificationRequest::getEmail() const {
|
||||
return email_;
|
||||
}
|
||||
|
||||
void DeleteEmailVerificationRequest::setEmail(const std::string &email) {
|
||||
email_ = email;
|
||||
setParameter(std::string("Email"), email);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteRegistrantProfileRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteRegistrantProfileRequest;
|
||||
|
||||
DeleteRegistrantProfileRequest::DeleteRegistrantProfileRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "DeleteRegistrantProfile")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteRegistrantProfileRequest::~DeleteRegistrantProfileRequest()
|
||||
{}
|
||||
|
||||
long DeleteRegistrantProfileRequest::getRegistrantProfileId()const
|
||||
{
|
||||
return registrantProfileId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/DeleteRegistrantProfileRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::DeleteRegistrantProfileRequest;
|
||||
|
||||
DeleteRegistrantProfileRequest::DeleteRegistrantProfileRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "DeleteRegistrantProfile") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteRegistrantProfileRequest::setRegistrantProfileId(long registrantProfileId)
|
||||
{
|
||||
registrantProfileId_ = registrantProfileId;
|
||||
setParameter("RegistrantProfileId", std::to_string(registrantProfileId));
|
||||
DeleteRegistrantProfileRequest::~DeleteRegistrantProfileRequest() {}
|
||||
|
||||
long DeleteRegistrantProfileRequest::getRegistrantProfileId() const {
|
||||
return registrantProfileId_;
|
||||
}
|
||||
|
||||
std::string DeleteRegistrantProfileRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteRegistrantProfileRequest::setRegistrantProfileId(long registrantProfileId) {
|
||||
registrantProfileId_ = registrantProfileId;
|
||||
setParameter(std::string("RegistrantProfileId"), std::to_string(registrantProfileId));
|
||||
}
|
||||
|
||||
void DeleteRegistrantProfileRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteRegistrantProfileRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteRegistrantProfileRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteRegistrantProfileRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteRegistrantProfileRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteRegistrantProfileRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteRegistrantProfileRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/EmailVerifiedRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::EmailVerifiedRequest;
|
||||
|
||||
EmailVerifiedRequest::EmailVerifiedRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "EmailVerified")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EmailVerifiedRequest::~EmailVerifiedRequest()
|
||||
{}
|
||||
|
||||
std::string EmailVerifiedRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/EmailVerifiedRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::EmailVerifiedRequest;
|
||||
|
||||
EmailVerifiedRequest::EmailVerifiedRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "EmailVerified") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void EmailVerifiedRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
EmailVerifiedRequest::~EmailVerifiedRequest() {}
|
||||
|
||||
std::string EmailVerifiedRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string EmailVerifiedRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void EmailVerifiedRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void EmailVerifiedRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string EmailVerifiedRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string EmailVerifiedRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
void EmailVerifiedRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void EmailVerifiedRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
std::string EmailVerifiedRequest::getEmail() const {
|
||||
return email_;
|
||||
}
|
||||
|
||||
void EmailVerifiedRequest::setEmail(const std::string &email) {
|
||||
email_ = email;
|
||||
setParameter(std::string("Email"), email);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/FailDemandRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::FailDemandRequest;
|
||||
|
||||
FailDemandRequest::FailDemandRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "FailDemand")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FailDemandRequest::~FailDemandRequest()
|
||||
{}
|
||||
|
||||
std::string FailDemandRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void FailDemandRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string FailDemandRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void FailDemandRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setParameter("Message", message);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/FailDemandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
FailDemandResult::FailDemandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FailDemandResult::FailDemandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FailDemandResult::~FailDemandResult()
|
||||
{}
|
||||
|
||||
void FailDemandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/FinishDemandRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::FinishDemandRequest;
|
||||
|
||||
FinishDemandRequest::FinishDemandRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "FinishDemand")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FinishDemandRequest::~FinishDemandRequest()
|
||||
{}
|
||||
|
||||
std::string FinishDemandRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void FinishDemandRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string FinishDemandRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void FinishDemandRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setParameter("Message", message);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/FinishDemandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
FinishDemandResult::FinishDemandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FinishDemandResult::FinishDemandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FinishDemandResult::~FinishDemandResult()
|
||||
{}
|
||||
|
||||
void FinishDemandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/FuzzyMatchDomainSensitiveWordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::FuzzyMatchDomainSensitiveWordRequest;
|
||||
|
||||
FuzzyMatchDomainSensitiveWordRequest::FuzzyMatchDomainSensitiveWordRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "FuzzyMatchDomainSensitiveWord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FuzzyMatchDomainSensitiveWordRequest::~FuzzyMatchDomainSensitiveWordRequest()
|
||||
{}
|
||||
|
||||
std::string FuzzyMatchDomainSensitiveWordRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/FuzzyMatchDomainSensitiveWordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::FuzzyMatchDomainSensitiveWordRequest;
|
||||
|
||||
FuzzyMatchDomainSensitiveWordRequest::FuzzyMatchDomainSensitiveWordRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "FuzzyMatchDomainSensitiveWord") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void FuzzyMatchDomainSensitiveWordRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
FuzzyMatchDomainSensitiveWordRequest::~FuzzyMatchDomainSensitiveWordRequest() {}
|
||||
|
||||
std::string FuzzyMatchDomainSensitiveWordRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string FuzzyMatchDomainSensitiveWordRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
void FuzzyMatchDomainSensitiveWordRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void FuzzyMatchDomainSensitiveWordRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
std::string FuzzyMatchDomainSensitiveWordRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
std::string FuzzyMatchDomainSensitiveWordRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void FuzzyMatchDomainSensitiveWordRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
void FuzzyMatchDomainSensitiveWordRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string FuzzyMatchDomainSensitiveWordRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void FuzzyMatchDomainSensitiveWordRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,10 +47,10 @@ void FuzzyMatchDomainSensitiveWordResult::parse(const std::string &payload)
|
||||
matchedSentiveWordsObject.word = valueMatchedSentiveWordsMatchedSensitiveWord["Word"].asString();
|
||||
matchedSentiveWords_.push_back(matchedSentiveWordsObject);
|
||||
}
|
||||
if(!value["Keyword"].isNull())
|
||||
keyword_ = value["Keyword"].asString();
|
||||
if(!value["Exist"].isNull())
|
||||
exist_ = value["Exist"].asString() == "true";
|
||||
if(!value["Keyword"].isNull())
|
||||
keyword_ = value["Keyword"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/GetOperationOssUploadPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::GetOperationOssUploadPolicyRequest;
|
||||
|
||||
GetOperationOssUploadPolicyRequest::GetOperationOssUploadPolicyRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "GetOperationOssUploadPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetOperationOssUploadPolicyRequest::~GetOperationOssUploadPolicyRequest()
|
||||
{}
|
||||
|
||||
int GetOperationOssUploadPolicyRequest::getAuditType()const
|
||||
{
|
||||
return auditType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/GetOperationOssUploadPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::GetOperationOssUploadPolicyRequest;
|
||||
|
||||
GetOperationOssUploadPolicyRequest::GetOperationOssUploadPolicyRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "GetOperationOssUploadPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetOperationOssUploadPolicyRequest::setAuditType(int auditType)
|
||||
{
|
||||
auditType_ = auditType;
|
||||
setParameter("AuditType", std::to_string(auditType));
|
||||
GetOperationOssUploadPolicyRequest::~GetOperationOssUploadPolicyRequest() {}
|
||||
|
||||
int GetOperationOssUploadPolicyRequest::getAuditType() const {
|
||||
return auditType_;
|
||||
}
|
||||
|
||||
std::string GetOperationOssUploadPolicyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void GetOperationOssUploadPolicyRequest::setAuditType(int auditType) {
|
||||
auditType_ = auditType;
|
||||
setParameter(std::string("AuditType"), std::to_string(auditType));
|
||||
}
|
||||
|
||||
void GetOperationOssUploadPolicyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string GetOperationOssUploadPolicyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void GetOperationOssUploadPolicyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void GetOperationOssUploadPolicyResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
if(!value["EncodedPolicy"].isNull())
|
||||
encodedPolicy_ = value["EncodedPolicy"].asString();
|
||||
if(!value["Signature"].isNull())
|
||||
signature_ = value["Signature"].asString();
|
||||
if(!value["FileDir"].isNull())
|
||||
fileDir_ = value["FileDir"].asString();
|
||||
if(!value["EncodedPolicy"].isNull())
|
||||
encodedPolicy_ = value["EncodedPolicy"].asString();
|
||||
if(!value["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
if(!value["Signature"].isNull())
|
||||
signature_ = value["Signature"].asString();
|
||||
if(!value["Host"].isNull())
|
||||
host_ = value["Host"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/GetQualificationUploadPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::GetQualificationUploadPolicyRequest;
|
||||
|
||||
GetQualificationUploadPolicyRequest::GetQualificationUploadPolicyRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "GetQualificationUploadPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetQualificationUploadPolicyRequest::~GetQualificationUploadPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string GetQualificationUploadPolicyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/GetQualificationUploadPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::GetQualificationUploadPolicyRequest;
|
||||
|
||||
GetQualificationUploadPolicyRequest::GetQualificationUploadPolicyRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "GetQualificationUploadPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetQualificationUploadPolicyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
GetQualificationUploadPolicyRequest::~GetQualificationUploadPolicyRequest() {}
|
||||
|
||||
std::string GetQualificationUploadPolicyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void GetQualificationUploadPolicyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void GetQualificationUploadPolicyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string GetQualificationUploadPolicyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void GetQualificationUploadPolicyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,20 +39,20 @@ void GetQualificationUploadPolicyResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
if(!value["Policy"].isNull())
|
||||
policy_ = value["Policy"].asString();
|
||||
if(!value["Signature"].isNull())
|
||||
signature_ = value["Signature"].asString();
|
||||
if(!value["Dir"].isNull())
|
||||
dir_ = value["Dir"].asString();
|
||||
if(!value["Prefix"].isNull())
|
||||
prefix_ = value["Prefix"].asString();
|
||||
if(!value["Host"].isNull())
|
||||
host_ = value["Host"].asString();
|
||||
if(!value["Expire"].isNull())
|
||||
expire_ = value["Expire"].asString();
|
||||
if(!value["Accessid"].isNull())
|
||||
accessid_ = value["Accessid"].asString();
|
||||
if(!value["Signature"].isNull())
|
||||
signature_ = value["Signature"].asString();
|
||||
if(!value["Host"].isNull())
|
||||
host_ = value["Host"].asString();
|
||||
if(!value["Prefix"].isNull())
|
||||
prefix_ = value["Prefix"].asString();
|
||||
if(!value["Dir"].isNull())
|
||||
dir_ = value["Dir"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/GetReserveDomainUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::GetReserveDomainUrlRequest;
|
||||
|
||||
GetReserveDomainUrlRequest::GetReserveDomainUrlRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "GetReserveDomainUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetReserveDomainUrlRequest::~GetReserveDomainUrlRequest()
|
||||
{}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/GetReserveDomainUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
GetReserveDomainUrlResult::GetReserveDomainUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetReserveDomainUrlResult::GetReserveDomainUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetReserveDomainUrlResult::~GetReserveDomainUrlResult()
|
||||
{}
|
||||
|
||||
void GetReserveDomainUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Url"].isNull())
|
||||
url_ = value["Url"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetReserveDomainUrlResult::getUrl()const
|
||||
{
|
||||
return url_;
|
||||
}
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ListEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ListEmailVerificationRequest;
|
||||
|
||||
ListEmailVerificationRequest::ListEmailVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "ListEmailVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListEmailVerificationRequest::~ListEmailVerificationRequest()
|
||||
{}
|
||||
|
||||
long ListEmailVerificationRequest::getEndCreateTime()const
|
||||
{
|
||||
return endCreateTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ListEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ListEmailVerificationRequest;
|
||||
|
||||
ListEmailVerificationRequest::ListEmailVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "ListEmailVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setEndCreateTime(long endCreateTime)
|
||||
{
|
||||
endCreateTime_ = endCreateTime;
|
||||
setParameter("EndCreateTime", std::to_string(endCreateTime));
|
||||
ListEmailVerificationRequest::~ListEmailVerificationRequest() {}
|
||||
|
||||
long ListEmailVerificationRequest::getEndCreateTime() const {
|
||||
return endCreateTime_;
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void ListEmailVerificationRequest::setEndCreateTime(long endCreateTime) {
|
||||
endCreateTime_ = endCreateTime;
|
||||
setParameter(std::string("EndCreateTime"), std::to_string(endCreateTime));
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int ListEmailVerificationRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getVerificationStatus()const
|
||||
{
|
||||
return verificationStatus_;
|
||||
void ListEmailVerificationRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setVerificationStatus(int verificationStatus)
|
||||
{
|
||||
verificationStatus_ = verificationStatus;
|
||||
setParameter("VerificationStatus", std::to_string(verificationStatus));
|
||||
int ListEmailVerificationRequest::getVerificationStatus() const {
|
||||
return verificationStatus_;
|
||||
}
|
||||
|
||||
long ListEmailVerificationRequest::getBeginCreateTime()const
|
||||
{
|
||||
return beginCreateTime_;
|
||||
void ListEmailVerificationRequest::setVerificationStatus(int verificationStatus) {
|
||||
verificationStatus_ = verificationStatus;
|
||||
setParameter(std::string("VerificationStatus"), std::to_string(verificationStatus));
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setBeginCreateTime(long beginCreateTime)
|
||||
{
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setParameter("BeginCreateTime", std::to_string(beginCreateTime));
|
||||
long ListEmailVerificationRequest::getBeginCreateTime() const {
|
||||
return beginCreateTime_;
|
||||
}
|
||||
|
||||
int ListEmailVerificationRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void ListEmailVerificationRequest::setBeginCreateTime(long beginCreateTime) {
|
||||
beginCreateTime_ = beginCreateTime;
|
||||
setParameter(std::string("BeginCreateTime"), std::to_string(beginCreateTime));
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int ListEmailVerificationRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string ListEmailVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void ListEmailVerificationRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string ListEmailVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string ListEmailVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void ListEmailVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string ListEmailVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string ListEmailVerificationRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
void ListEmailVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
std::string ListEmailVerificationRequest::getEmail() const {
|
||||
return email_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setEmail(const std::string &email) {
|
||||
email_ = email;
|
||||
setParameter(std::string("Email"), email);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,38 +43,38 @@ void ListEmailVerificationResult::parse(const std::string &payload)
|
||||
for (auto valueDataEmailVerification : allDataNode)
|
||||
{
|
||||
EmailVerification dataObject;
|
||||
if(!valueDataEmailVerification["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = valueDataEmailVerification["GmtCreate"].asString();
|
||||
if(!valueDataEmailVerification["GmtModified"].isNull())
|
||||
dataObject.gmtModified = valueDataEmailVerification["GmtModified"].asString();
|
||||
if(!valueDataEmailVerification["Email"].isNull())
|
||||
dataObject.email = valueDataEmailVerification["Email"].asString();
|
||||
if(!valueDataEmailVerification["UserId"].isNull())
|
||||
dataObject.userId = valueDataEmailVerification["UserId"].asString();
|
||||
if(!valueDataEmailVerification["EmailVerificationNo"].isNull())
|
||||
dataObject.emailVerificationNo = valueDataEmailVerification["EmailVerificationNo"].asString();
|
||||
if(!valueDataEmailVerification["TokenSendTime"].isNull())
|
||||
dataObject.tokenSendTime = valueDataEmailVerification["TokenSendTime"].asString();
|
||||
if(!valueDataEmailVerification["VerificationStatus"].isNull())
|
||||
dataObject.verificationStatus = std::stoi(valueDataEmailVerification["VerificationStatus"].asString());
|
||||
if(!valueDataEmailVerification["VerificationTime"].isNull())
|
||||
dataObject.verificationTime = valueDataEmailVerification["VerificationTime"].asString();
|
||||
if(!valueDataEmailVerification["Email"].isNull())
|
||||
dataObject.email = valueDataEmailVerification["Email"].asString();
|
||||
if(!valueDataEmailVerification["EmailVerificationNo"].isNull())
|
||||
dataObject.emailVerificationNo = valueDataEmailVerification["EmailVerificationNo"].asString();
|
||||
if(!valueDataEmailVerification["UserId"].isNull())
|
||||
dataObject.userId = valueDataEmailVerification["UserId"].asString();
|
||||
if(!valueDataEmailVerification["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = valueDataEmailVerification["GmtCreate"].asString();
|
||||
if(!valueDataEmailVerification["VerificationStatus"].isNull())
|
||||
dataObject.verificationStatus = std::stoi(valueDataEmailVerification["VerificationStatus"].asString());
|
||||
if(!valueDataEmailVerification["TokenSendTime"].isNull())
|
||||
dataObject.tokenSendTime = valueDataEmailVerification["TokenSendTime"].asString();
|
||||
if(!valueDataEmailVerification["SendIp"].isNull())
|
||||
dataObject.sendIp = valueDataEmailVerification["SendIp"].asString();
|
||||
if(!valueDataEmailVerification["GmtModified"].isNull())
|
||||
dataObject.gmtModified = valueDataEmailVerification["GmtModified"].asString();
|
||||
if(!valueDataEmailVerification["ConfirmIp"].isNull())
|
||||
dataObject.confirmIp = valueDataEmailVerification["ConfirmIp"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
|
||||
@@ -1,150 +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/domain/model/ListServerLockRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ListServerLockRequest;
|
||||
|
||||
ListServerLockRequest::ListServerLockRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "ListServerLock")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListServerLockRequest::~ListServerLockRequest()
|
||||
{}
|
||||
|
||||
std::string ListServerLockRequest::getLockProductId()const
|
||||
{
|
||||
return lockProductId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ListServerLockRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ListServerLockRequest;
|
||||
|
||||
ListServerLockRequest::ListServerLockRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "ListServerLock") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setLockProductId(const std::string& lockProductId)
|
||||
{
|
||||
lockProductId_ = lockProductId;
|
||||
setParameter("LockProductId", lockProductId);
|
||||
ListServerLockRequest::~ListServerLockRequest() {}
|
||||
|
||||
std::string ListServerLockRequest::getLockProductId() const {
|
||||
return lockProductId_;
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndExpireDate()const
|
||||
{
|
||||
return endExpireDate_;
|
||||
void ListServerLockRequest::setLockProductId(const std::string &lockProductId) {
|
||||
lockProductId_ = lockProductId;
|
||||
setParameter(std::string("LockProductId"), lockProductId);
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndExpireDate(long endExpireDate)
|
||||
{
|
||||
endExpireDate_ = endExpireDate;
|
||||
setParameter("EndExpireDate", std::to_string(endExpireDate));
|
||||
long ListServerLockRequest::getEndExpireDate() const {
|
||||
return endExpireDate_;
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void ListServerLockRequest::setEndExpireDate(long endExpireDate) {
|
||||
endExpireDate_ = endExpireDate;
|
||||
setParameter(std::string("EndExpireDate"), std::to_string(endExpireDate));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int ListServerLockRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getBeginStartDate()const
|
||||
{
|
||||
return beginStartDate_;
|
||||
void ListServerLockRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setBeginStartDate(long beginStartDate)
|
||||
{
|
||||
beginStartDate_ = beginStartDate;
|
||||
setParameter("BeginStartDate", std::to_string(beginStartDate));
|
||||
long ListServerLockRequest::getBeginStartDate() const {
|
||||
return beginStartDate_;
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getServerLockStatus()const
|
||||
{
|
||||
return serverLockStatus_;
|
||||
void ListServerLockRequest::setBeginStartDate(long beginStartDate) {
|
||||
beginStartDate_ = beginStartDate;
|
||||
setParameter(std::string("BeginStartDate"), std::to_string(beginStartDate));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setServerLockStatus(int serverLockStatus)
|
||||
{
|
||||
serverLockStatus_ = serverLockStatus;
|
||||
setParameter("ServerLockStatus", std::to_string(serverLockStatus));
|
||||
int ListServerLockRequest::getServerLockStatus() const {
|
||||
return serverLockStatus_;
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getStartExpireDate()const
|
||||
{
|
||||
return startExpireDate_;
|
||||
void ListServerLockRequest::setServerLockStatus(int serverLockStatus) {
|
||||
serverLockStatus_ = serverLockStatus;
|
||||
setParameter(std::string("ServerLockStatus"), std::to_string(serverLockStatus));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setStartExpireDate(long startExpireDate)
|
||||
{
|
||||
startExpireDate_ = startExpireDate;
|
||||
setParameter("StartExpireDate", std::to_string(startExpireDate));
|
||||
long ListServerLockRequest::getStartExpireDate() const {
|
||||
return startExpireDate_;
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void ListServerLockRequest::setStartExpireDate(long startExpireDate) {
|
||||
startExpireDate_ = startExpireDate;
|
||||
setParameter(std::string("StartExpireDate"), std::to_string(startExpireDate));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int ListServerLockRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void ListServerLockRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string ListServerLockRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void ListServerLockRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string ListServerLockRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndStartDate()const
|
||||
{
|
||||
return endStartDate_;
|
||||
void ListServerLockRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndStartDate(long endStartDate)
|
||||
{
|
||||
endStartDate_ = endStartDate;
|
||||
setParameter("EndStartDate", std::to_string(endStartDate));
|
||||
long ListServerLockRequest::getEndStartDate() const {
|
||||
return endStartDate_;
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void ListServerLockRequest::setEndStartDate(long endStartDate) {
|
||||
endStartDate_ = endStartDate;
|
||||
setParameter(std::string("EndStartDate"), std::to_string(endStartDate));
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string ListServerLockRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,38 +43,38 @@ void ListServerLockResult::parse(const std::string &payload)
|
||||
for (auto valueDataQueryTransferInResponse : allDataNode)
|
||||
{
|
||||
QueryTransferInResponse dataObject;
|
||||
if(!valueDataQueryTransferInResponse["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = valueDataQueryTransferInResponse["GmtCreate"].asString();
|
||||
if(!valueDataQueryTransferInResponse["GmtModified"].isNull())
|
||||
dataObject.gmtModified = valueDataQueryTransferInResponse["GmtModified"].asString();
|
||||
if(!valueDataQueryTransferInResponse["UserId"].isNull())
|
||||
dataObject.userId = valueDataQueryTransferInResponse["UserId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataQueryTransferInResponse["DomainName"].asString();
|
||||
if(!valueDataQueryTransferInResponse["DomainInstanceId"].isNull())
|
||||
dataObject.domainInstanceId = valueDataQueryTransferInResponse["DomainInstanceId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["LockProductId"].isNull())
|
||||
dataObject.lockProductId = valueDataQueryTransferInResponse["LockProductId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["StartDate"].isNull())
|
||||
dataObject.startDate = valueDataQueryTransferInResponse["StartDate"].asString();
|
||||
if(!valueDataQueryTransferInResponse["ExpireDate"].isNull())
|
||||
dataObject.expireDate = valueDataQueryTransferInResponse["ExpireDate"].asString();
|
||||
if(!valueDataQueryTransferInResponse["LockInstanceId"].isNull())
|
||||
dataObject.lockInstanceId = valueDataQueryTransferInResponse["LockInstanceId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["ServerLockStatus"].isNull())
|
||||
dataObject.serverLockStatus = valueDataQueryTransferInResponse["ServerLockStatus"].asString();
|
||||
if(!valueDataQueryTransferInResponse["LockInstanceId"].isNull())
|
||||
dataObject.lockInstanceId = valueDataQueryTransferInResponse["LockInstanceId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["UserId"].isNull())
|
||||
dataObject.userId = valueDataQueryTransferInResponse["UserId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = valueDataQueryTransferInResponse["GmtCreate"].asString();
|
||||
if(!valueDataQueryTransferInResponse["ExpireDate"].isNull())
|
||||
dataObject.expireDate = valueDataQueryTransferInResponse["ExpireDate"].asString();
|
||||
if(!valueDataQueryTransferInResponse["StartDate"].isNull())
|
||||
dataObject.startDate = valueDataQueryTransferInResponse["StartDate"].asString();
|
||||
if(!valueDataQueryTransferInResponse["LockProductId"].isNull())
|
||||
dataObject.lockProductId = valueDataQueryTransferInResponse["LockProductId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["DomainInstanceId"].isNull())
|
||||
dataObject.domainInstanceId = valueDataQueryTransferInResponse["DomainInstanceId"].asString();
|
||||
if(!valueDataQueryTransferInResponse["GmtModified"].isNull())
|
||||
dataObject.gmtModified = valueDataQueryTransferInResponse["GmtModified"].asString();
|
||||
if(!valueDataQueryTransferInResponse["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataQueryTransferInResponse["DomainName"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/LookupTmchNoticeRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::LookupTmchNoticeRequest;
|
||||
|
||||
LookupTmchNoticeRequest::LookupTmchNoticeRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "LookupTmchNotice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LookupTmchNoticeRequest::~LookupTmchNoticeRequest()
|
||||
{}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getClaimKey()const
|
||||
{
|
||||
return claimKey_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/LookupTmchNoticeRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::LookupTmchNoticeRequest;
|
||||
|
||||
LookupTmchNoticeRequest::LookupTmchNoticeRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "LookupTmchNotice") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setClaimKey(const std::string& claimKey)
|
||||
{
|
||||
claimKey_ = claimKey;
|
||||
setParameter("ClaimKey", claimKey);
|
||||
LookupTmchNoticeRequest::~LookupTmchNoticeRequest() {}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getClaimKey() const {
|
||||
return claimKey_;
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void LookupTmchNoticeRequest::setClaimKey(const std::string &claimKey) {
|
||||
claimKey_ = claimKey;
|
||||
setParameter(std::string("ClaimKey"), claimKey);
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string LookupTmchNoticeRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void LookupTmchNoticeRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string LookupTmchNoticeRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,60 +43,38 @@ void LookupTmchNoticeResult::parse(const std::string &payload)
|
||||
for (auto valueClaimsClaim : allClaimsNode)
|
||||
{
|
||||
Claim claimsObject;
|
||||
if(!valueClaimsClaim["MarkName"].isNull())
|
||||
claimsObject.markName = valueClaimsClaim["MarkName"].asString();
|
||||
if(!valueClaimsClaim["GoodsAndServices"].isNull())
|
||||
claimsObject.goodsAndServices = valueClaimsClaim["GoodsAndServices"].asString();
|
||||
auto allHoldersNode = valueClaimsClaim["Holders"]["Holder"];
|
||||
for (auto valueClaimsClaimHoldersHolder : allHoldersNode)
|
||||
{
|
||||
Claim::Holder holdersObject;
|
||||
if(!valueClaimsClaimHoldersHolder["Entitlement"].isNull())
|
||||
holdersObject.entitlement = valueClaimsClaimHoldersHolder["Entitlement"].asString();
|
||||
if(!valueClaimsClaimHoldersHolder["Org"].isNull())
|
||||
holdersObject.org = valueClaimsClaimHoldersHolder["Org"].asString();
|
||||
auto addrNode = value["Addr"];
|
||||
if(!addrNode["City"].isNull())
|
||||
holdersObject.addr.city = addrNode["City"].asString();
|
||||
if(!addrNode["Sp"].isNull())
|
||||
holdersObject.addr.sp = addrNode["Sp"].asString();
|
||||
if(!addrNode["Pc"].isNull())
|
||||
holdersObject.addr.pc = addrNode["Pc"].asString();
|
||||
if(!addrNode["Cc"].isNull())
|
||||
holdersObject.addr.cc = addrNode["Cc"].asString();
|
||||
auto allStreet = addrNode["Street"]["Street"];
|
||||
for (auto value : allStreet)
|
||||
holdersObject.addr.street.push_back(value.asString());
|
||||
claimsObject.holders.push_back(holdersObject);
|
||||
}
|
||||
if(!valueClaimsClaim["MarkName"].isNull())
|
||||
claimsObject.markName = valueClaimsClaim["MarkName"].asString();
|
||||
auto allContactsNode = valueClaimsClaim["Contacts"]["Contact"];
|
||||
for (auto valueClaimsClaimContactsContact : allContactsNode)
|
||||
{
|
||||
Claim::Contact contactsObject;
|
||||
if(!valueClaimsClaimContactsContact["Type"].isNull())
|
||||
contactsObject.type = valueClaimsClaimContactsContact["Type"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Name"].isNull())
|
||||
contactsObject.name = valueClaimsClaimContactsContact["Name"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Org"].isNull())
|
||||
contactsObject.org = valueClaimsClaimContactsContact["Org"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Voice"].isNull())
|
||||
contactsObject.voice = valueClaimsClaimContactsContact["Voice"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Fax"].isNull())
|
||||
contactsObject.fax = valueClaimsClaimContactsContact["Fax"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Email"].isNull())
|
||||
contactsObject.email = valueClaimsClaimContactsContact["Email"].asString();
|
||||
auto addr1Node = value["Addr"];
|
||||
if(!addr1Node["City"].isNull())
|
||||
contactsObject.addr1.city = addr1Node["City"].asString();
|
||||
if(!addr1Node["Sp"].isNull())
|
||||
contactsObject.addr1.sp = addr1Node["Sp"].asString();
|
||||
if(!addr1Node["Pc"].isNull())
|
||||
contactsObject.addr1.pc = addr1Node["Pc"].asString();
|
||||
if(!addr1Node["Cc"].isNull())
|
||||
contactsObject.addr1.cc = addr1Node["Cc"].asString();
|
||||
auto allStreet2 = addr1Node["Street"]["Street"];
|
||||
for (auto value : allStreet2)
|
||||
contactsObject.addr1.street2.push_back(value.asString());
|
||||
if(!valueClaimsClaimContactsContact["Fax"].isNull())
|
||||
contactsObject.fax = valueClaimsClaimContactsContact["Fax"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Org"].isNull())
|
||||
contactsObject.org = valueClaimsClaimContactsContact["Org"].asString();
|
||||
if(!valueClaimsClaimContactsContact["Name"].isNull())
|
||||
contactsObject.name = valueClaimsClaimContactsContact["Name"].asString();
|
||||
auto addrNode = value["Addr"];
|
||||
if(!addrNode["Cc"].isNull())
|
||||
contactsObject.addr.cc = addrNode["Cc"].asString();
|
||||
if(!addrNode["Sp"].isNull())
|
||||
contactsObject.addr.sp = addrNode["Sp"].asString();
|
||||
if(!addrNode["Pc"].isNull())
|
||||
contactsObject.addr.pc = addrNode["Pc"].asString();
|
||||
if(!addrNode["City"].isNull())
|
||||
contactsObject.addr.city = addrNode["City"].asString();
|
||||
auto allStreet = addrNode["Street"]["Street"];
|
||||
for (auto value : allStreet)
|
||||
contactsObject.addr.street.push_back(value.asString());
|
||||
claimsObject.contacts.push_back(contactsObject);
|
||||
}
|
||||
auto allClassDescsNode = valueClaimsClaim["ClassDescs"]["ClassDesc"];
|
||||
@@ -109,6 +87,28 @@ void LookupTmchNoticeResult::parse(const std::string &payload)
|
||||
classDescsObject.desc = valueClaimsClaimClassDescsClassDesc["Desc"].asString();
|
||||
claimsObject.classDescs.push_back(classDescsObject);
|
||||
}
|
||||
auto allHoldersNode = valueClaimsClaim["Holders"]["Holder"];
|
||||
for (auto valueClaimsClaimHoldersHolder : allHoldersNode)
|
||||
{
|
||||
Claim::Holder holdersObject;
|
||||
if(!valueClaimsClaimHoldersHolder["Entitlement"].isNull())
|
||||
holdersObject.entitlement = valueClaimsClaimHoldersHolder["Entitlement"].asString();
|
||||
if(!valueClaimsClaimHoldersHolder["Org"].isNull())
|
||||
holdersObject.org = valueClaimsClaimHoldersHolder["Org"].asString();
|
||||
auto addr1Node = value["Addr"];
|
||||
if(!addr1Node["Cc"].isNull())
|
||||
holdersObject.addr1.cc = addr1Node["Cc"].asString();
|
||||
if(!addr1Node["Sp"].isNull())
|
||||
holdersObject.addr1.sp = addr1Node["Sp"].asString();
|
||||
if(!addr1Node["Pc"].isNull())
|
||||
holdersObject.addr1.pc = addr1Node["Pc"].asString();
|
||||
if(!addr1Node["City"].isNull())
|
||||
holdersObject.addr1.city = addr1Node["City"].asString();
|
||||
auto allStreet2 = addr1Node["Street"]["Street"];
|
||||
for (auto value : allStreet2)
|
||||
holdersObject.addr1.street2.push_back(value.asString());
|
||||
claimsObject.holders.push_back(holdersObject);
|
||||
}
|
||||
auto jurDescNode = value["JurDesc"];
|
||||
if(!jurDescNode["JurCC"].isNull())
|
||||
claimsObject.jurDesc.jurCC = jurDescNode["JurCC"].asString();
|
||||
@@ -116,14 +116,14 @@ void LookupTmchNoticeResult::parse(const std::string &payload)
|
||||
claimsObject.jurDesc.desc = jurDescNode["Desc"].asString();
|
||||
claims_.push_back(claimsObject);
|
||||
}
|
||||
if(!value["Label"].isNull())
|
||||
label_ = value["Label"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stol(value["Id"].asString());
|
||||
if(!value["NotBefore"].isNull())
|
||||
notBefore_ = value["NotBefore"].asString();
|
||||
if(!value["NotAfter"].isNull())
|
||||
notAfter_ = value["NotAfter"].asString();
|
||||
if(!value["Label"].isNull())
|
||||
label_ = value["Label"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/PollTaskResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::PollTaskResultRequest;
|
||||
|
||||
PollTaskResultRequest::PollTaskResultRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "PollTaskResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PollTaskResultRequest::~PollTaskResultRequest()
|
||||
{}
|
||||
|
||||
std::string PollTaskResultRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/PollTaskResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::PollTaskResultRequest;
|
||||
|
||||
PollTaskResultRequest::PollTaskResultRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "PollTaskResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
PollTaskResultRequest::~PollTaskResultRequest() {}
|
||||
|
||||
std::string PollTaskResultRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void PollTaskResultRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int PollTaskResultRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getTaskResultStatus()const
|
||||
{
|
||||
return taskResultStatus_;
|
||||
void PollTaskResultRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setTaskResultStatus(int taskResultStatus)
|
||||
{
|
||||
taskResultStatus_ = taskResultStatus;
|
||||
setParameter("TaskResultStatus", std::to_string(taskResultStatus));
|
||||
int PollTaskResultRequest::getTaskResultStatus() const {
|
||||
return taskResultStatus_;
|
||||
}
|
||||
|
||||
std::string PollTaskResultRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void PollTaskResultRequest::setTaskResultStatus(int taskResultStatus) {
|
||||
taskResultStatus_ = taskResultStatus;
|
||||
setParameter(std::string("TaskResultStatus"), std::to_string(taskResultStatus));
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string PollTaskResultRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string PollTaskResultRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void PollTaskResultRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string PollTaskResultRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string PollTaskResultRequest::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
void PollTaskResultRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setTaskNo(const std::string& taskNo)
|
||||
{
|
||||
taskNo_ = taskNo;
|
||||
setParameter("TaskNo", taskNo);
|
||||
std::string PollTaskResultRequest::getTaskNo() const {
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
int PollTaskResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void PollTaskResultRequest::setTaskNo(const std::string &taskNo) {
|
||||
taskNo_ = taskNo;
|
||||
setParameter(std::string("TaskNo"), taskNo);
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int PollTaskResultRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string PollTaskResultRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void PollTaskResultRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string PollTaskResultRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void PollTaskResultRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,44 +43,44 @@ void PollTaskResultResult::parse(const std::string &payload)
|
||||
for (auto valueDataTaskDetail : allDataNode)
|
||||
{
|
||||
TaskDetail dataObject;
|
||||
if(!valueDataTaskDetail["TaskNo"].isNull())
|
||||
dataObject.taskNo = valueDataTaskDetail["TaskNo"].asString();
|
||||
if(!valueDataTaskDetail["UpdateTime"].isNull())
|
||||
dataObject.updateTime = valueDataTaskDetail["UpdateTime"].asString();
|
||||
if(!valueDataTaskDetail["TaskDetailNo"].isNull())
|
||||
dataObject.taskDetailNo = valueDataTaskDetail["TaskDetailNo"].asString();
|
||||
if(!valueDataTaskDetail["TaskType"].isNull())
|
||||
dataObject.taskType = valueDataTaskDetail["TaskType"].asString();
|
||||
if(!valueDataTaskDetail["CreateTime"].isNull())
|
||||
dataObject.createTime = valueDataTaskDetail["CreateTime"].asString();
|
||||
if(!valueDataTaskDetail["InstanceId"].isNull())
|
||||
dataObject.instanceId = valueDataTaskDetail["InstanceId"].asString();
|
||||
if(!valueDataTaskDetail["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataTaskDetail["DomainName"].asString();
|
||||
if(!valueDataTaskDetail["TaskType"].isNull())
|
||||
dataObject.taskType = valueDataTaskDetail["TaskType"].asString();
|
||||
if(!valueDataTaskDetail["TaskNo"].isNull())
|
||||
dataObject.taskNo = valueDataTaskDetail["TaskNo"].asString();
|
||||
if(!valueDataTaskDetail["TaskResult"].isNull())
|
||||
dataObject.taskResult = valueDataTaskDetail["TaskResult"].asString();
|
||||
if(!valueDataTaskDetail["TaskStatusCode"].isNull())
|
||||
dataObject.taskStatusCode = std::stoi(valueDataTaskDetail["TaskStatusCode"].asString());
|
||||
if(!valueDataTaskDetail["TaskStatus"].isNull())
|
||||
dataObject.taskStatus = valueDataTaskDetail["TaskStatus"].asString();
|
||||
if(!valueDataTaskDetail["UpdateTime"].isNull())
|
||||
dataObject.updateTime = valueDataTaskDetail["UpdateTime"].asString();
|
||||
if(!valueDataTaskDetail["CreateTime"].isNull())
|
||||
dataObject.createTime = valueDataTaskDetail["CreateTime"].asString();
|
||||
if(!valueDataTaskDetail["TaskTypeDescription"].isNull())
|
||||
dataObject.taskTypeDescription = valueDataTaskDetail["TaskTypeDescription"].asString();
|
||||
if(!valueDataTaskDetail["TryCount"].isNull())
|
||||
dataObject.tryCount = std::stoi(valueDataTaskDetail["TryCount"].asString());
|
||||
if(!valueDataTaskDetail["ErrorMsg"].isNull())
|
||||
dataObject.errorMsg = valueDataTaskDetail["ErrorMsg"].asString();
|
||||
if(!valueDataTaskDetail["TaskStatusCode"].isNull())
|
||||
dataObject.taskStatusCode = std::stoi(valueDataTaskDetail["TaskStatusCode"].asString());
|
||||
if(!valueDataTaskDetail["TaskResult"].isNull())
|
||||
dataObject.taskResult = valueDataTaskDetail["TaskResult"].asString();
|
||||
if(!valueDataTaskDetail["TaskTypeDescription"].isNull())
|
||||
dataObject.taskTypeDescription = valueDataTaskDetail["TaskTypeDescription"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
|
||||
@@ -1,315 +1,261 @@
|
||||
/*
|
||||
* 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/domain/model/QueryAdvancedDomainListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryAdvancedDomainListRequest;
|
||||
|
||||
QueryAdvancedDomainListRequest::QueryAdvancedDomainListRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryAdvancedDomainList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAdvancedDomainListRequest::~QueryAdvancedDomainListRequest()
|
||||
{}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getProductDomainType()const
|
||||
{
|
||||
return productDomainType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryAdvancedDomainListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryAdvancedDomainListRequest;
|
||||
|
||||
QueryAdvancedDomainListRequest::QueryAdvancedDomainListRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryAdvancedDomainList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setProductDomainType(const std::string& productDomainType)
|
||||
{
|
||||
productDomainType_ = productDomainType;
|
||||
setParameter("ProductDomainType", productDomainType);
|
||||
QueryAdvancedDomainListRequest::~QueryAdvancedDomainListRequest() {}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getProductDomainType() const {
|
||||
return productDomainType_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void QueryAdvancedDomainListRequest::setProductDomainType(const std::string &productDomainType) {
|
||||
productDomainType_ = productDomainType;
|
||||
setParameter(std::string("ProductDomainType"), productDomainType);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int QueryAdvancedDomainListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getExcluded()const
|
||||
{
|
||||
return excluded_;
|
||||
void QueryAdvancedDomainListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setExcluded(const std::string& excluded)
|
||||
{
|
||||
excluded_ = excluded;
|
||||
setParameter("Excluded", excluded);
|
||||
std::string QueryAdvancedDomainListRequest::getExcluded() const {
|
||||
return excluded_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getStartLength()const
|
||||
{
|
||||
return startLength_;
|
||||
void QueryAdvancedDomainListRequest::setExcluded(const std::string &excluded) {
|
||||
excluded_ = excluded;
|
||||
setParameter(std::string("Excluded"), excluded);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setStartLength(int startLength)
|
||||
{
|
||||
startLength_ = startLength;
|
||||
setParameter("StartLength", std::to_string(startLength));
|
||||
int QueryAdvancedDomainListRequest::getStartLength() const {
|
||||
return startLength_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getExcludedSuffix()const
|
||||
{
|
||||
return excludedSuffix_;
|
||||
void QueryAdvancedDomainListRequest::setStartLength(int startLength) {
|
||||
startLength_ = startLength;
|
||||
setParameter(std::string("StartLength"), std::to_string(startLength));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setExcludedSuffix(bool excludedSuffix)
|
||||
{
|
||||
excludedSuffix_ = excludedSuffix;
|
||||
setParameter("ExcludedSuffix", excludedSuffix ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getExcludedSuffix() const {
|
||||
return excludedSuffix_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void QueryAdvancedDomainListRequest::setExcludedSuffix(bool excludedSuffix) {
|
||||
excludedSuffix_ = excludedSuffix;
|
||||
setParameter(std::string("ExcludedSuffix"), excludedSuffix ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int QueryAdvancedDomainListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryAdvancedDomainListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryAdvancedDomainListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getExcludedPrefix()const
|
||||
{
|
||||
return excludedPrefix_;
|
||||
void QueryAdvancedDomainListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setExcludedPrefix(bool excludedPrefix)
|
||||
{
|
||||
excludedPrefix_ = excludedPrefix;
|
||||
setParameter("ExcludedPrefix", excludedPrefix ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getExcludedPrefix() const {
|
||||
return excludedPrefix_;
|
||||
}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getKeyWord()const
|
||||
{
|
||||
return keyWord_;
|
||||
void QueryAdvancedDomainListRequest::setExcludedPrefix(bool excludedPrefix) {
|
||||
excludedPrefix_ = excludedPrefix;
|
||||
setParameter(std::string("ExcludedPrefix"), excludedPrefix ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setKeyWord(const std::string& keyWord)
|
||||
{
|
||||
keyWord_ = keyWord;
|
||||
setParameter("KeyWord", keyWord);
|
||||
std::string QueryAdvancedDomainListRequest::getKeyWord() const {
|
||||
return keyWord_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getProductDomainTypeSort()const
|
||||
{
|
||||
return productDomainTypeSort_;
|
||||
void QueryAdvancedDomainListRequest::setKeyWord(const std::string &keyWord) {
|
||||
keyWord_ = keyWord;
|
||||
setParameter(std::string("KeyWord"), keyWord);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setProductDomainTypeSort(bool productDomainTypeSort)
|
||||
{
|
||||
productDomainTypeSort_ = productDomainTypeSort;
|
||||
setParameter("ProductDomainTypeSort", productDomainTypeSort ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getProductDomainTypeSort() const {
|
||||
return productDomainTypeSort_;
|
||||
}
|
||||
|
||||
long QueryAdvancedDomainListRequest::getEndExpirationDate()const
|
||||
{
|
||||
return endExpirationDate_;
|
||||
void QueryAdvancedDomainListRequest::setProductDomainTypeSort(bool productDomainTypeSort) {
|
||||
productDomainTypeSort_ = productDomainTypeSort;
|
||||
setParameter(std::string("ProductDomainTypeSort"), productDomainTypeSort ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setEndExpirationDate(long endExpirationDate)
|
||||
{
|
||||
endExpirationDate_ = endExpirationDate;
|
||||
setParameter("EndExpirationDate", std::to_string(endExpirationDate));
|
||||
long QueryAdvancedDomainListRequest::getEndExpirationDate() const {
|
||||
return endExpirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getSuffixs()const
|
||||
{
|
||||
return suffixs_;
|
||||
void QueryAdvancedDomainListRequest::setEndExpirationDate(long endExpirationDate) {
|
||||
endExpirationDate_ = endExpirationDate;
|
||||
setParameter(std::string("EndExpirationDate"), std::to_string(endExpirationDate));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setSuffixs(const std::string& suffixs)
|
||||
{
|
||||
suffixs_ = suffixs;
|
||||
setParameter("Suffixs", suffixs);
|
||||
std::string QueryAdvancedDomainListRequest::getSuffixs() const {
|
||||
return suffixs_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getDomainNameSort()const
|
||||
{
|
||||
return domainNameSort_;
|
||||
void QueryAdvancedDomainListRequest::setSuffixs(const std::string &suffixs) {
|
||||
suffixs_ = suffixs;
|
||||
setParameter(std::string("Suffixs"), suffixs);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setDomainNameSort(bool domainNameSort)
|
||||
{
|
||||
domainNameSort_ = domainNameSort;
|
||||
setParameter("DomainNameSort", domainNameSort ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getDomainNameSort() const {
|
||||
return domainNameSort_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getExpirationDateSort()const
|
||||
{
|
||||
return expirationDateSort_;
|
||||
void QueryAdvancedDomainListRequest::setDomainNameSort(bool domainNameSort) {
|
||||
domainNameSort_ = domainNameSort;
|
||||
setParameter(std::string("DomainNameSort"), domainNameSort ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setExpirationDateSort(bool expirationDateSort)
|
||||
{
|
||||
expirationDateSort_ = expirationDateSort;
|
||||
setParameter("ExpirationDateSort", expirationDateSort ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getExpirationDateSort() const {
|
||||
return expirationDateSort_;
|
||||
}
|
||||
|
||||
long QueryAdvancedDomainListRequest::getStartExpirationDate()const
|
||||
{
|
||||
return startExpirationDate_;
|
||||
void QueryAdvancedDomainListRequest::setExpirationDateSort(bool expirationDateSort) {
|
||||
expirationDateSort_ = expirationDateSort;
|
||||
setParameter(std::string("ExpirationDateSort"), expirationDateSort ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setStartExpirationDate(long startExpirationDate)
|
||||
{
|
||||
startExpirationDate_ = startExpirationDate;
|
||||
setParameter("StartExpirationDate", std::to_string(startExpirationDate));
|
||||
long QueryAdvancedDomainListRequest::getStartExpirationDate() const {
|
||||
return startExpirationDate_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getDomainStatus()const
|
||||
{
|
||||
return domainStatus_;
|
||||
void QueryAdvancedDomainListRequest::setStartExpirationDate(long startExpirationDate) {
|
||||
startExpirationDate_ = startExpirationDate;
|
||||
setParameter(std::string("StartExpirationDate"), std::to_string(startExpirationDate));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setDomainStatus(int domainStatus)
|
||||
{
|
||||
domainStatus_ = domainStatus;
|
||||
setParameter("DomainStatus", std::to_string(domainStatus));
|
||||
int QueryAdvancedDomainListRequest::getDomainStatus() const {
|
||||
return domainStatus_;
|
||||
}
|
||||
|
||||
long QueryAdvancedDomainListRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
void QueryAdvancedDomainListRequest::setDomainStatus(int domainStatus) {
|
||||
domainStatus_ = domainStatus;
|
||||
setParameter(std::string("DomainStatus"), std::to_string(domainStatus));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setDomainGroupId(long domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setParameter("DomainGroupId", std::to_string(domainGroupId));
|
||||
long QueryAdvancedDomainListRequest::getDomainGroupId() const {
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getKeyWordSuffix()const
|
||||
{
|
||||
return keyWordSuffix_;
|
||||
void QueryAdvancedDomainListRequest::setDomainGroupId(long domainGroupId) {
|
||||
domainGroupId_ = domainGroupId;
|
||||
setParameter(std::string("DomainGroupId"), std::to_string(domainGroupId));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setKeyWordSuffix(bool keyWordSuffix)
|
||||
{
|
||||
keyWordSuffix_ = keyWordSuffix;
|
||||
setParameter("KeyWordSuffix", keyWordSuffix ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getKeyWordSuffix() const {
|
||||
return keyWordSuffix_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getKeyWordPrefix()const
|
||||
{
|
||||
return keyWordPrefix_;
|
||||
void QueryAdvancedDomainListRequest::setKeyWordSuffix(bool keyWordSuffix) {
|
||||
keyWordSuffix_ = keyWordSuffix;
|
||||
setParameter(std::string("KeyWordSuffix"), keyWordSuffix ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setKeyWordPrefix(bool keyWordPrefix)
|
||||
{
|
||||
keyWordPrefix_ = keyWordPrefix;
|
||||
setParameter("KeyWordPrefix", keyWordPrefix ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getKeyWordPrefix() const {
|
||||
return keyWordPrefix_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getTradeType()const
|
||||
{
|
||||
return tradeType_;
|
||||
void QueryAdvancedDomainListRequest::setKeyWordPrefix(bool keyWordPrefix) {
|
||||
keyWordPrefix_ = keyWordPrefix;
|
||||
setParameter(std::string("KeyWordPrefix"), keyWordPrefix ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setTradeType(int tradeType)
|
||||
{
|
||||
tradeType_ = tradeType;
|
||||
setParameter("TradeType", std::to_string(tradeType));
|
||||
int QueryAdvancedDomainListRequest::getTradeType() const {
|
||||
return tradeType_;
|
||||
}
|
||||
|
||||
long QueryAdvancedDomainListRequest::getEndRegistrationDate()const
|
||||
{
|
||||
return endRegistrationDate_;
|
||||
void QueryAdvancedDomainListRequest::setTradeType(int tradeType) {
|
||||
tradeType_ = tradeType;
|
||||
setParameter(std::string("TradeType"), std::to_string(tradeType));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setEndRegistrationDate(long endRegistrationDate)
|
||||
{
|
||||
endRegistrationDate_ = endRegistrationDate;
|
||||
setParameter("EndRegistrationDate", std::to_string(endRegistrationDate));
|
||||
long QueryAdvancedDomainListRequest::getEndRegistrationDate() const {
|
||||
return endRegistrationDate_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getForm()const
|
||||
{
|
||||
return form_;
|
||||
void QueryAdvancedDomainListRequest::setEndRegistrationDate(long endRegistrationDate) {
|
||||
endRegistrationDate_ = endRegistrationDate;
|
||||
setParameter(std::string("EndRegistrationDate"), std::to_string(endRegistrationDate));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setForm(int form)
|
||||
{
|
||||
form_ = form;
|
||||
setParameter("Form", std::to_string(form));
|
||||
int QueryAdvancedDomainListRequest::getForm() const {
|
||||
return form_;
|
||||
}
|
||||
|
||||
std::string QueryAdvancedDomainListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryAdvancedDomainListRequest::setForm(int form) {
|
||||
form_ = form;
|
||||
setParameter(std::string("Form"), std::to_string(form));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryAdvancedDomainListRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
bool QueryAdvancedDomainListRequest::getRegistrationDateSort()const
|
||||
{
|
||||
return registrationDateSort_;
|
||||
void QueryAdvancedDomainListRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setRegistrationDateSort(bool registrationDateSort)
|
||||
{
|
||||
registrationDateSort_ = registrationDateSort;
|
||||
setParameter("RegistrationDateSort", registrationDateSort ? "true" : "false");
|
||||
bool QueryAdvancedDomainListRequest::getRegistrationDateSort() const {
|
||||
return registrationDateSort_;
|
||||
}
|
||||
|
||||
long QueryAdvancedDomainListRequest::getStartRegistrationDate()const
|
||||
{
|
||||
return startRegistrationDate_;
|
||||
void QueryAdvancedDomainListRequest::setRegistrationDateSort(bool registrationDateSort) {
|
||||
registrationDateSort_ = registrationDateSort;
|
||||
setParameter(std::string("RegistrationDateSort"), registrationDateSort ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setStartRegistrationDate(long startRegistrationDate)
|
||||
{
|
||||
startRegistrationDate_ = startRegistrationDate;
|
||||
setParameter("StartRegistrationDate", std::to_string(startRegistrationDate));
|
||||
long QueryAdvancedDomainListRequest::getStartRegistrationDate() const {
|
||||
return startRegistrationDate_;
|
||||
}
|
||||
|
||||
int QueryAdvancedDomainListRequest::getEndLength()const
|
||||
{
|
||||
return endLength_;
|
||||
void QueryAdvancedDomainListRequest::setStartRegistrationDate(long startRegistrationDate) {
|
||||
startRegistrationDate_ = startRegistrationDate;
|
||||
setParameter(std::string("StartRegistrationDate"), std::to_string(startRegistrationDate));
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setEndLength(int endLength)
|
||||
{
|
||||
endLength_ = endLength;
|
||||
setParameter("EndLength", std::to_string(endLength));
|
||||
int QueryAdvancedDomainListRequest::getEndLength() const {
|
||||
return endLength_;
|
||||
}
|
||||
|
||||
void QueryAdvancedDomainListRequest::setEndLength(int endLength) {
|
||||
endLength_ = endLength;
|
||||
setParameter(std::string("EndLength"), std::to_string(endLength));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,61 +43,61 @@ void QueryAdvancedDomainListResult::parse(const std::string &payload)
|
||||
for (auto valueDataDomain : allDataNode)
|
||||
{
|
||||
Domain dataObject;
|
||||
if(!valueDataDomain["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataDomain["DomainName"].asString();
|
||||
if(!valueDataDomain["InstanceId"].isNull())
|
||||
dataObject.instanceId = valueDataDomain["InstanceId"].asString();
|
||||
if(!valueDataDomain["ExpirationDate"].isNull())
|
||||
dataObject.expirationDate = valueDataDomain["ExpirationDate"].asString();
|
||||
if(!valueDataDomain["RegistrationDate"].isNull())
|
||||
dataObject.registrationDate = valueDataDomain["RegistrationDate"].asString();
|
||||
if(!valueDataDomain["DomainType"].isNull())
|
||||
dataObject.domainType = valueDataDomain["DomainType"].asString();
|
||||
if(!valueDataDomain["DomainStatus"].isNull())
|
||||
dataObject.domainStatus = valueDataDomain["DomainStatus"].asString();
|
||||
if(!valueDataDomain["ProductId"].isNull())
|
||||
dataObject.productId = valueDataDomain["ProductId"].asString();
|
||||
if(!valueDataDomain["ExpirationDateLong"].isNull())
|
||||
dataObject.expirationDateLong = std::stol(valueDataDomain["ExpirationDateLong"].asString());
|
||||
if(!valueDataDomain["RegistrationDateLong"].isNull())
|
||||
dataObject.registrationDateLong = std::stol(valueDataDomain["RegistrationDateLong"].asString());
|
||||
if(!valueDataDomain["Premium"].isNull())
|
||||
dataObject.premium = valueDataDomain["Premium"].asString() == "true";
|
||||
if(!valueDataDomain["DomainAuditStatus"].isNull())
|
||||
dataObject.domainAuditStatus = valueDataDomain["DomainAuditStatus"].asString();
|
||||
if(!valueDataDomain["ExpirationDateStatus"].isNull())
|
||||
dataObject.expirationDateStatus = valueDataDomain["ExpirationDateStatus"].asString();
|
||||
if(!valueDataDomain["RegistrantType"].isNull())
|
||||
dataObject.registrantType = valueDataDomain["RegistrantType"].asString();
|
||||
if(!valueDataDomain["DomainGroupId"].isNull())
|
||||
dataObject.domainGroupId = valueDataDomain["DomainGroupId"].asString();
|
||||
if(!valueDataDomain["Remark"].isNull())
|
||||
dataObject.remark = valueDataDomain["Remark"].asString();
|
||||
if(!valueDataDomain["DomainGroupName"].isNull())
|
||||
dataObject.domainGroupName = valueDataDomain["DomainGroupName"].asString();
|
||||
if(!valueDataDomain["ExpirationCurrDateDiff"].isNull())
|
||||
dataObject.expirationCurrDateDiff = std::stoi(valueDataDomain["ExpirationCurrDateDiff"].asString());
|
||||
if(!valueDataDomain["Email"].isNull())
|
||||
dataObject.email = valueDataDomain["Email"].asString();
|
||||
if(!valueDataDomain["ZhRegistrantOrganization"].isNull())
|
||||
dataObject.zhRegistrantOrganization = valueDataDomain["ZhRegistrantOrganization"].asString();
|
||||
if(!valueDataDomain["RegistrantOrganization"].isNull())
|
||||
dataObject.registrantOrganization = valueDataDomain["RegistrantOrganization"].asString();
|
||||
if(!valueDataDomain["RegistrationDate"].isNull())
|
||||
dataObject.registrationDate = valueDataDomain["RegistrationDate"].asString();
|
||||
if(!valueDataDomain["InstanceId"].isNull())
|
||||
dataObject.instanceId = valueDataDomain["InstanceId"].asString();
|
||||
if(!valueDataDomain["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataDomain["DomainName"].asString();
|
||||
if(!valueDataDomain["ExpirationDateStatus"].isNull())
|
||||
dataObject.expirationDateStatus = valueDataDomain["ExpirationDateStatus"].asString();
|
||||
if(!valueDataDomain["ExpirationDate"].isNull())
|
||||
dataObject.expirationDate = valueDataDomain["ExpirationDate"].asString();
|
||||
if(!valueDataDomain["Email"].isNull())
|
||||
dataObject.email = valueDataDomain["Email"].asString();
|
||||
if(!valueDataDomain["RegistrantType"].isNull())
|
||||
dataObject.registrantType = valueDataDomain["RegistrantType"].asString();
|
||||
if(!valueDataDomain["ExpirationDateLong"].isNull())
|
||||
dataObject.expirationDateLong = std::stol(valueDataDomain["ExpirationDateLong"].asString());
|
||||
if(!valueDataDomain["ExpirationCurrDateDiff"].isNull())
|
||||
dataObject.expirationCurrDateDiff = std::stoi(valueDataDomain["ExpirationCurrDateDiff"].asString());
|
||||
if(!valueDataDomain["Premium"].isNull())
|
||||
dataObject.premium = valueDataDomain["Premium"].asString() == "true";
|
||||
if(!valueDataDomain["RegistrationDateLong"].isNull())
|
||||
dataObject.registrationDateLong = std::stol(valueDataDomain["RegistrationDateLong"].asString());
|
||||
if(!valueDataDomain["ProductId"].isNull())
|
||||
dataObject.productId = valueDataDomain["ProductId"].asString();
|
||||
if(!valueDataDomain["DomainStatus"].isNull())
|
||||
dataObject.domainStatus = valueDataDomain["DomainStatus"].asString();
|
||||
if(!valueDataDomain["DomainType"].isNull())
|
||||
dataObject.domainType = valueDataDomain["DomainType"].asString();
|
||||
auto allDnsList = value["DnsList"]["Dns"];
|
||||
for (auto value : allDnsList)
|
||||
dataObject.dnsList.push_back(value.asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryArtExtensionRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryArtExtensionRequest;
|
||||
|
||||
QueryArtExtensionRequest::QueryArtExtensionRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryArtExtension")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryArtExtensionRequest::~QueryArtExtensionRequest()
|
||||
{}
|
||||
|
||||
std::string QueryArtExtensionRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryArtExtensionRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryArtExtensionRequest;
|
||||
|
||||
QueryArtExtensionRequest::QueryArtExtensionRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryArtExtension") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryArtExtensionRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryArtExtensionRequest::~QueryArtExtensionRequest() {}
|
||||
|
||||
std::string QueryArtExtensionRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryArtExtensionRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryArtExtensionRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryArtExtensionRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryArtExtensionRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryArtExtensionRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryArtExtensionRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryArtExtensionRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryArtExtensionRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryArtExtensionRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,22 +43,22 @@ void QueryArtExtensionResult::parse(const std::string &payload)
|
||||
objectType_ = value["ObjectType"].asString();
|
||||
if(!value["MaterialsAndTechniques"].isNull())
|
||||
materialsAndTechniques_ = value["MaterialsAndTechniques"].asString();
|
||||
if(!value["InscriptionsAndMarkings"].isNull())
|
||||
inscriptionsAndMarkings_ = value["InscriptionsAndMarkings"].asString();
|
||||
if(!value["Reference"].isNull())
|
||||
reference_ = value["Reference"].asString();
|
||||
if(!value["DateOrPeriod"].isNull())
|
||||
dateOrPeriod_ = value["DateOrPeriod"].asString();
|
||||
if(!value["Dimensions"].isNull())
|
||||
dimensions_ = value["Dimensions"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
title_ = value["Title"].asString();
|
||||
if(!value["DateOrPeriod"].isNull())
|
||||
dateOrPeriod_ = value["DateOrPeriod"].asString();
|
||||
if(!value["Maker"].isNull())
|
||||
maker_ = value["Maker"].asString();
|
||||
if(!value["InscriptionsAndMarkings"].isNull())
|
||||
inscriptionsAndMarkings_ = value["InscriptionsAndMarkings"].asString();
|
||||
if(!value["Subject"].isNull())
|
||||
subject_ = value["Subject"].asString();
|
||||
if(!value["Features"].isNull())
|
||||
features_ = value["Features"].asString();
|
||||
if(!value["Reference"].isNull())
|
||||
reference_ = value["Reference"].asString();
|
||||
if(!value["Subject"].isNull())
|
||||
subject_ = value["Subject"].asString();
|
||||
if(!value["Maker"].isNull())
|
||||
maker_ = value["Maker"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -102,13 +102,13 @@ std::string QueryArtExtensionResult::getFeatures()const
|
||||
return features_;
|
||||
}
|
||||
|
||||
std::string QueryArtExtensionResult::getMaker()const
|
||||
{
|
||||
return maker_;
|
||||
}
|
||||
|
||||
std::string QueryArtExtensionResult::getSubject()const
|
||||
{
|
||||
return subject_;
|
||||
}
|
||||
|
||||
std::string QueryArtExtensionResult::getMaker()const
|
||||
{
|
||||
return maker_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryAuctionDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryAuctionDetailRequest;
|
||||
|
||||
QueryAuctionDetailRequest::QueryAuctionDetailRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryAuctionDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAuctionDetailRequest::~QueryAuctionDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryAuctionDetailRequest::getAuctionId()const
|
||||
{
|
||||
return auctionId_;
|
||||
}
|
||||
|
||||
void QueryAuctionDetailRequest::setAuctionId(const std::string& auctionId)
|
||||
{
|
||||
auctionId_ = auctionId;
|
||||
setBodyParameter("AuctionId", auctionId);
|
||||
}
|
||||
|
||||
@@ -1,198 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryAuctionDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryAuctionDetailResult::QueryAuctionDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAuctionDetailResult::QueryAuctionDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAuctionDetailResult::~QueryAuctionDetailResult()
|
||||
{}
|
||||
|
||||
void QueryAuctionDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["AuctionId"].isNull())
|
||||
auctionId_ = value["AuctionId"].asString();
|
||||
if(!value["DomainType"].isNull())
|
||||
domainType_ = value["DomainType"].asString();
|
||||
if(!value["BookedPartner"].isNull())
|
||||
bookedPartner_ = value["BookedPartner"].asString();
|
||||
if(!value["PartnerType"].isNull())
|
||||
partnerType_ = value["PartnerType"].asString();
|
||||
if(!value["Currency"].isNull())
|
||||
currency_ = value["Currency"].asString();
|
||||
if(!value["YourCurrentBid"].isNull())
|
||||
yourCurrentBid_ = std::stof(value["YourCurrentBid"].asString());
|
||||
if(!value["YourMaxBid"].isNull())
|
||||
yourMaxBid_ = std::stof(value["YourMaxBid"].asString());
|
||||
if(!value["HighBid"].isNull())
|
||||
highBid_ = std::stof(value["HighBid"].asString());
|
||||
if(!value["NextValidBid"].isNull())
|
||||
nextValidBid_ = std::stof(value["NextValidBid"].asString());
|
||||
if(!value["ReserveMet"].isNull())
|
||||
reserveMet_ = value["ReserveMet"].asString() == "true";
|
||||
if(!value["TransferInPrice"].isNull())
|
||||
transferInPrice_ = std::stof(value["TransferInPrice"].asString());
|
||||
if(!value["PayPrice"].isNull())
|
||||
payPrice_ = std::stof(value["PayPrice"].asString());
|
||||
if(!value["HighBidder"].isNull())
|
||||
highBidder_ = value["HighBidder"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["PayStatus"].isNull())
|
||||
payStatus_ = value["PayStatus"].asString();
|
||||
if(!value["ProduceStatus"].isNull())
|
||||
produceStatus_ = value["ProduceStatus"].asString();
|
||||
if(!value["AuctionEndTime"].isNull())
|
||||
auctionEndTime_ = std::stol(value["AuctionEndTime"].asString());
|
||||
if(!value["BookEndTime"].isNull())
|
||||
bookEndTime_ = std::stol(value["BookEndTime"].asString());
|
||||
if(!value["PayEndTime"].isNull())
|
||||
payEndTime_ = std::stol(value["PayEndTime"].asString());
|
||||
if(!value["DeliveryTime"].isNull())
|
||||
deliveryTime_ = std::stol(value["DeliveryTime"].asString());
|
||||
if(!value["FailCode"].isNull())
|
||||
failCode_ = value["FailCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getPartnerType()const
|
||||
{
|
||||
return partnerType_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
float QueryAuctionDetailResult::getTransferInPrice()const
|
||||
{
|
||||
return transferInPrice_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getPayStatus()const
|
||||
{
|
||||
return payStatus_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getHighBidder()const
|
||||
{
|
||||
return highBidder_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getFailCode()const
|
||||
{
|
||||
return failCode_;
|
||||
}
|
||||
|
||||
float QueryAuctionDetailResult::getYourCurrentBid()const
|
||||
{
|
||||
return yourCurrentBid_;
|
||||
}
|
||||
|
||||
float QueryAuctionDetailResult::getPayPrice()const
|
||||
{
|
||||
return payPrice_;
|
||||
}
|
||||
|
||||
long QueryAuctionDetailResult::getDeliveryTime()const
|
||||
{
|
||||
return deliveryTime_;
|
||||
}
|
||||
|
||||
float QueryAuctionDetailResult::getHighBid()const
|
||||
{
|
||||
return highBid_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getDomainType()const
|
||||
{
|
||||
return domainType_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getBookedPartner()const
|
||||
{
|
||||
return bookedPartner_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getCurrency()const
|
||||
{
|
||||
return currency_;
|
||||
}
|
||||
|
||||
bool QueryAuctionDetailResult::getReserveMet()const
|
||||
{
|
||||
return reserveMet_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getProduceStatus()const
|
||||
{
|
||||
return produceStatus_;
|
||||
}
|
||||
|
||||
float QueryAuctionDetailResult::getNextValidBid()const
|
||||
{
|
||||
return nextValidBid_;
|
||||
}
|
||||
|
||||
float QueryAuctionDetailResult::getYourMaxBid()const
|
||||
{
|
||||
return yourMaxBid_;
|
||||
}
|
||||
|
||||
long QueryAuctionDetailResult::getAuctionEndTime()const
|
||||
{
|
||||
return auctionEndTime_;
|
||||
}
|
||||
|
||||
long QueryAuctionDetailResult::getBookEndTime()const
|
||||
{
|
||||
return bookEndTime_;
|
||||
}
|
||||
|
||||
long QueryAuctionDetailResult::getPayEndTime()const
|
||||
{
|
||||
return payEndTime_;
|
||||
}
|
||||
|
||||
std::string QueryAuctionDetailResult::getAuctionId()const
|
||||
{
|
||||
return auctionId_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryAuctionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryAuctionsRequest;
|
||||
|
||||
QueryAuctionsRequest::QueryAuctionsRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryAuctions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAuctionsRequest::~QueryAuctionsRequest()
|
||||
{}
|
||||
|
||||
int QueryAuctionsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryAuctionsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int QueryAuctionsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void QueryAuctionsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setBodyParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string QueryAuctionsRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void QueryAuctionsRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryAuctionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryAuctionsResult::QueryAuctionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAuctionsResult::QueryAuctionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAuctionsResult::~QueryAuctionsResult()
|
||||
{}
|
||||
|
||||
void QueryAuctionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["AuctionDetail"];
|
||||
for (auto valueDataAuctionDetail : allDataNode)
|
||||
{
|
||||
AuctionDetail dataObject;
|
||||
if(!valueDataAuctionDetail["Status"].isNull())
|
||||
dataObject.status = valueDataAuctionDetail["Status"].asString();
|
||||
if(!valueDataAuctionDetail["ReserveMet"].isNull())
|
||||
dataObject.reserveMet = valueDataAuctionDetail["ReserveMet"].asString() == "true";
|
||||
if(!valueDataAuctionDetail["HighBid"].isNull())
|
||||
dataObject.highBid = std::stof(valueDataAuctionDetail["HighBid"].asString());
|
||||
if(!valueDataAuctionDetail["DeliveryTime"].isNull())
|
||||
dataObject.deliveryTime = std::stol(valueDataAuctionDetail["DeliveryTime"].asString());
|
||||
if(!valueDataAuctionDetail["TransferInPrice"].isNull())
|
||||
dataObject.transferInPrice = std::stof(valueDataAuctionDetail["TransferInPrice"].asString());
|
||||
if(!valueDataAuctionDetail["NextValidBid"].isNull())
|
||||
dataObject.nextValidBid = std::stof(valueDataAuctionDetail["NextValidBid"].asString());
|
||||
if(!valueDataAuctionDetail["ProduceStatus"].isNull())
|
||||
dataObject.produceStatus = valueDataAuctionDetail["ProduceStatus"].asString();
|
||||
if(!valueDataAuctionDetail["HighBidder"].isNull())
|
||||
dataObject.highBidder = valueDataAuctionDetail["HighBidder"].asString();
|
||||
if(!valueDataAuctionDetail["BookedPartner"].isNull())
|
||||
dataObject.bookedPartner = valueDataAuctionDetail["BookedPartner"].asString();
|
||||
if(!valueDataAuctionDetail["Currency"].isNull())
|
||||
dataObject.currency = valueDataAuctionDetail["Currency"].asString();
|
||||
if(!valueDataAuctionDetail["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataAuctionDetail["DomainName"].asString();
|
||||
if(!valueDataAuctionDetail["YourCurrentBid"].isNull())
|
||||
dataObject.yourCurrentBid = std::stof(valueDataAuctionDetail["YourCurrentBid"].asString());
|
||||
if(!valueDataAuctionDetail["FailCode"].isNull())
|
||||
dataObject.failCode = valueDataAuctionDetail["FailCode"].asString();
|
||||
if(!valueDataAuctionDetail["AuctionEndTime"].isNull())
|
||||
dataObject.auctionEndTime = std::stol(valueDataAuctionDetail["AuctionEndTime"].asString());
|
||||
if(!valueDataAuctionDetail["BookEndTime"].isNull())
|
||||
dataObject.bookEndTime = std::stol(valueDataAuctionDetail["BookEndTime"].asString());
|
||||
if(!valueDataAuctionDetail["PayEndTime"].isNull())
|
||||
dataObject.payEndTime = std::stol(valueDataAuctionDetail["PayEndTime"].asString());
|
||||
if(!valueDataAuctionDetail["PayStatus"].isNull())
|
||||
dataObject.payStatus = valueDataAuctionDetail["PayStatus"].asString();
|
||||
if(!valueDataAuctionDetail["YourMaxBid"].isNull())
|
||||
dataObject.yourMaxBid = std::stof(valueDataAuctionDetail["YourMaxBid"].asString());
|
||||
if(!valueDataAuctionDetail["PayPrice"].isNull())
|
||||
dataObject.payPrice = std::stof(valueDataAuctionDetail["PayPrice"].asString());
|
||||
if(!valueDataAuctionDetail["AuctionId"].isNull())
|
||||
dataObject.auctionId = valueDataAuctionDetail["AuctionId"].asString();
|
||||
if(!valueDataAuctionDetail["PartnerType"].isNull())
|
||||
dataObject.partnerType = valueDataAuctionDetail["PartnerType"].asString();
|
||||
if(!valueDataAuctionDetail["DomainType"].isNull())
|
||||
dataObject.domainType = valueDataAuctionDetail["DomainType"].asString();
|
||||
if(!valueDataAuctionDetail["ReserveMin"].isNull())
|
||||
dataObject.reserveMin = std::stol(valueDataAuctionDetail["ReserveMin"].asString());
|
||||
if(!valueDataAuctionDetail["ReserveMax"].isNull())
|
||||
dataObject.reserveMax = std::stol(valueDataAuctionDetail["ReserveMax"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
int QueryAuctionsResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int QueryAuctionsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int QueryAuctionsResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<QueryAuctionsResult::AuctionDetail> QueryAuctionsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryAuctionsResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBidRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryBidRecordsRequest;
|
||||
|
||||
QueryBidRecordsRequest::QueryBidRecordsRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryBidRecords")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryBidRecordsRequest::~QueryBidRecordsRequest()
|
||||
{}
|
||||
|
||||
std::string QueryBidRecordsRequest::getAuctionId()const
|
||||
{
|
||||
return auctionId_;
|
||||
}
|
||||
|
||||
void QueryBidRecordsRequest::setAuctionId(const std::string& auctionId)
|
||||
{
|
||||
auctionId_ = auctionId;
|
||||
setBodyParameter("AuctionId", auctionId);
|
||||
}
|
||||
|
||||
int QueryBidRecordsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryBidRecordsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int QueryBidRecordsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void QueryBidRecordsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setBodyParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBidRecordsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryBidRecordsResult::QueryBidRecordsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryBidRecordsResult::QueryBidRecordsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryBidRecordsResult::~QueryBidRecordsResult()
|
||||
{}
|
||||
|
||||
void QueryBidRecordsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["BidRecord"];
|
||||
for (auto valueDataBidRecord : allDataNode)
|
||||
{
|
||||
BidRecord dataObject;
|
||||
if(!valueDataBidRecord["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataBidRecord["DomainName"].asString();
|
||||
if(!valueDataBidRecord["Currency"].isNull())
|
||||
dataObject.currency = valueDataBidRecord["Currency"].asString();
|
||||
if(!valueDataBidRecord["Bid"].isNull())
|
||||
dataObject.bid = std::stof(valueDataBidRecord["Bid"].asString());
|
||||
if(!valueDataBidRecord["BidTime"].isNull())
|
||||
dataObject.bidTime = std::stol(valueDataBidRecord["BidTime"].asString());
|
||||
if(!valueDataBidRecord["Bidder"].isNull())
|
||||
dataObject.bidder = valueDataBidRecord["Bidder"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
int QueryBidRecordsResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int QueryBidRecordsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int QueryBidRecordsResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<QueryBidRecordsResult::BidRecord> QueryBidRecordsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryBidRecordsResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBookingDomainInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryBookingDomainInfoRequest;
|
||||
|
||||
QueryBookingDomainInfoRequest::QueryBookingDomainInfoRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryBookingDomainInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryBookingDomainInfoRequest::~QueryBookingDomainInfoRequest()
|
||||
{}
|
||||
|
||||
std::string QueryBookingDomainInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryBookingDomainInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBookingDomainInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryBookingDomainInfoResult::QueryBookingDomainInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryBookingDomainInfoResult::QueryBookingDomainInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryBookingDomainInfoResult::~QueryBookingDomainInfoResult()
|
||||
{}
|
||||
|
||||
void QueryBookingDomainInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AuctionId"].isNull())
|
||||
auctionId_ = std::stoi(value["AuctionId"].asString());
|
||||
if(!value["PartnerType"].isNull())
|
||||
partnerType_ = value["PartnerType"].asString();
|
||||
if(!value["MaxBid"].isNull())
|
||||
maxBid_ = std::stof(value["MaxBid"].asString());
|
||||
if(!value["TransferInPrice"].isNull())
|
||||
transferInPrice_ = std::stof(value["TransferInPrice"].asString());
|
||||
if(!value["Currency"].isNull())
|
||||
currency_ = value["Currency"].asString();
|
||||
if(!value["BookEndTime"].isNull())
|
||||
bookEndTime_ = std::stol(value["BookEndTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string QueryBookingDomainInfoResult::getPartnerType()const
|
||||
{
|
||||
return partnerType_;
|
||||
}
|
||||
|
||||
float QueryBookingDomainInfoResult::getTransferInPrice()const
|
||||
{
|
||||
return transferInPrice_;
|
||||
}
|
||||
|
||||
std::string QueryBookingDomainInfoResult::getCurrency()const
|
||||
{
|
||||
return currency_;
|
||||
}
|
||||
|
||||
float QueryBookingDomainInfoResult::getMaxBid()const
|
||||
{
|
||||
return maxBid_;
|
||||
}
|
||||
|
||||
long QueryBookingDomainInfoResult::getBookEndTime()const
|
||||
{
|
||||
return bookEndTime_;
|
||||
}
|
||||
|
||||
int QueryBookingDomainInfoResult::getAuctionId()const
|
||||
{
|
||||
return auctionId_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBrokerDemandRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryBrokerDemandRecordRequest;
|
||||
|
||||
QueryBrokerDemandRecordRequest::QueryBrokerDemandRecordRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemandRecord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryBrokerDemandRecordRequest::~QueryBrokerDemandRecordRequest()
|
||||
{}
|
||||
|
||||
int QueryBrokerDemandRecordRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRecordRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryBrokerDemandRecordRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRecordRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
int QueryBrokerDemandRecordRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRecordRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBrokerDemandRecordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryBrokerDemandRecordResult::QueryBrokerDemandRecordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryBrokerDemandRecordResult::QueryBrokerDemandRecordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryBrokerDemandRecordResult::~QueryBrokerDemandRecordResult()
|
||||
{}
|
||||
|
||||
void QueryBrokerDemandRecordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["BrokerDemandRecord"];
|
||||
for (auto valueDataBrokerDemandRecord : allDataNode)
|
||||
{
|
||||
BrokerDemandRecord dataObject;
|
||||
if(!valueDataBrokerDemandRecord["BizId"].isNull())
|
||||
dataObject.bizId = valueDataBrokerDemandRecord["BizId"].asString();
|
||||
if(!valueDataBrokerDemandRecord["Description"].isNull())
|
||||
dataObject.description = valueDataBrokerDemandRecord["Description"].asString();
|
||||
if(!valueDataBrokerDemandRecord["CreateTime"].isNull())
|
||||
dataObject.createTime = std::stol(valueDataBrokerDemandRecord["CreateTime"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
int QueryBrokerDemandRecordResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int QueryBrokerDemandRecordResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int QueryBrokerDemandRecordResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<QueryBrokerDemandRecordResult::BrokerDemandRecord> QueryBrokerDemandRecordResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryBrokerDemandRecordResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBrokerDemandRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryBrokerDemandRequest;
|
||||
|
||||
QueryBrokerDemandRequest::QueryBrokerDemandRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemand")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryBrokerDemandRequest::~QueryBrokerDemandRequest()
|
||||
{}
|
||||
|
||||
int QueryBrokerDemandRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string QueryBrokerDemandRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
int QueryBrokerDemandRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string QueryBrokerDemandRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void QueryBrokerDemandRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
@@ -1,115 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryBrokerDemandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryBrokerDemandResult::QueryBrokerDemandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryBrokerDemandResult::QueryBrokerDemandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryBrokerDemandResult::~QueryBrokerDemandResult()
|
||||
{}
|
||||
|
||||
void QueryBrokerDemandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Demand"];
|
||||
for (auto valueDataDemand : allDataNode)
|
||||
{
|
||||
Demand dataObject;
|
||||
if(!valueDataDemand["Status"].isNull())
|
||||
dataObject.status = valueDataDemand["Status"].asString();
|
||||
if(!valueDataDemand["DemandPrice"].isNull())
|
||||
dataObject.demandPrice = std::stof(valueDataDemand["DemandPrice"].asString());
|
||||
if(!valueDataDemand["BizId"].isNull())
|
||||
dataObject.bizId = valueDataDemand["BizId"].asString();
|
||||
if(!valueDataDemand["BargainSellerMobile"].isNull())
|
||||
dataObject.bargainSellerMobile = valueDataDemand["BargainSellerMobile"].asString();
|
||||
if(!valueDataDemand["PublishTime"].isNull())
|
||||
dataObject.publishTime = std::stol(valueDataDemand["PublishTime"].asString());
|
||||
if(!valueDataDemand["ProduceType"].isNull())
|
||||
dataObject.produceType = std::stoi(valueDataDemand["ProduceType"].asString());
|
||||
if(!valueDataDemand["DemandDomain"].isNull())
|
||||
dataObject.demandDomain = valueDataDemand["DemandDomain"].asString();
|
||||
if(!valueDataDemand["Description"].isNull())
|
||||
dataObject.description = valueDataDemand["Description"].asString();
|
||||
if(!valueDataDemand["Mobile"].isNull())
|
||||
dataObject.mobile = valueDataDemand["Mobile"].asString();
|
||||
if(!valueDataDemand["ServicePayPrice"].isNull())
|
||||
dataObject.servicePayPrice = std::stof(valueDataDemand["ServicePayPrice"].asString());
|
||||
if(!valueDataDemand["PayPrice"].isNull())
|
||||
dataObject.payPrice = std::stof(valueDataDemand["PayPrice"].asString());
|
||||
if(!valueDataDemand["PayTime"].isNull())
|
||||
dataObject.payTime = std::stol(valueDataDemand["PayTime"].asString());
|
||||
if(!valueDataDemand["BargainSellerPrice"].isNull())
|
||||
dataObject.bargainSellerPrice = std::stof(valueDataDemand["BargainSellerPrice"].asString());
|
||||
if(!valueDataDemand["OrderType"].isNull())
|
||||
dataObject.orderType = std::stoi(valueDataDemand["OrderType"].asString());
|
||||
if(!valueDataDemand["PayDomain"].isNull())
|
||||
dataObject.payDomain = valueDataDemand["PayDomain"].asString();
|
||||
if(!valueDataDemand["AuditStatus"].isNull())
|
||||
dataObject.auditStatus = std::stoi(valueDataDemand["AuditStatus"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
int QueryBrokerDemandResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int QueryBrokerDemandResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int QueryBrokerDemandResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<QueryBrokerDemandResult::Demand> QueryBrokerDemandResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryBrokerDemandResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* 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/domain/model/QueryChangeLogListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryChangeLogListRequest;
|
||||
|
||||
QueryChangeLogListRequest::QueryChangeLogListRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryChangeLogList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryChangeLogListRequest::~QueryChangeLogListRequest()
|
||||
{}
|
||||
|
||||
std::string QueryChangeLogListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryChangeLogListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryChangeLogListRequest;
|
||||
|
||||
QueryChangeLogListRequest::QueryChangeLogListRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryChangeLogList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryChangeLogListRequest::~QueryChangeLogListRequest() {}
|
||||
|
||||
std::string QueryChangeLogListRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int QueryChangeLogListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void QueryChangeLogListRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int QueryChangeLogListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
long QueryChangeLogListRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
void QueryChangeLogListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setStartDate(long startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", std::to_string(startDate));
|
||||
long QueryChangeLogListRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
long QueryChangeLogListRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void QueryChangeLogListRequest::setStartDate(long startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), std::to_string(startDate));
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setEndDate(long endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", std::to_string(endDate));
|
||||
long QueryChangeLogListRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryChangeLogListRequest::setEndDate(long endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), std::to_string(endDate));
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryChangeLogListRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int QueryChangeLogListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void QueryChangeLogListRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int QueryChangeLogListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string QueryChangeLogListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryChangeLogListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryChangeLogListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryChangeLogListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,34 +43,34 @@ void QueryChangeLogListResult::parse(const std::string &payload)
|
||||
for (auto valueDataChangeLog : allDataNode)
|
||||
{
|
||||
ChangeLog dataObject;
|
||||
if(!valueDataChangeLog["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataChangeLog["DomainName"].asString();
|
||||
if(!valueDataChangeLog["Result"].isNull())
|
||||
dataObject.result = valueDataChangeLog["Result"].asString();
|
||||
if(!valueDataChangeLog["Operation"].isNull())
|
||||
dataObject.operation = valueDataChangeLog["Operation"].asString();
|
||||
if(!valueDataChangeLog["Time"].isNull())
|
||||
dataObject.time = valueDataChangeLog["Time"].asString();
|
||||
if(!valueDataChangeLog["Result"].isNull())
|
||||
dataObject.result = valueDataChangeLog["Result"].asString();
|
||||
if(!valueDataChangeLog["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataChangeLog["DomainName"].asString();
|
||||
if(!valueDataChangeLog["OperationIPAddress"].isNull())
|
||||
dataObject.operationIPAddress = valueDataChangeLog["OperationIPAddress"].asString();
|
||||
if(!valueDataChangeLog["Details"].isNull())
|
||||
dataObject.details = valueDataChangeLog["Details"].asString();
|
||||
if(!valueDataChangeLog["Time"].isNull())
|
||||
dataObject.time = valueDataChangeLog["Time"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["ResultLimit"].isNull())
|
||||
resultLimit_ = value["ResultLimit"].asString() == "true";
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryContactInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryContactInfoRequest;
|
||||
|
||||
QueryContactInfoRequest::QueryContactInfoRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryContactInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryContactInfoRequest::~QueryContactInfoRequest()
|
||||
{}
|
||||
|
||||
std::string QueryContactInfoRequest::getContactType()const
|
||||
{
|
||||
return contactType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryContactInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryContactInfoRequest;
|
||||
|
||||
QueryContactInfoRequest::QueryContactInfoRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryContactInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setContactType(const std::string& contactType)
|
||||
{
|
||||
contactType_ = contactType;
|
||||
setParameter("ContactType", contactType);
|
||||
QueryContactInfoRequest::~QueryContactInfoRequest() {}
|
||||
|
||||
std::string QueryContactInfoRequest::getContactType() const {
|
||||
return contactType_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void QueryContactInfoRequest::setContactType(const std::string &contactType) {
|
||||
contactType_ = contactType;
|
||||
setParameter(std::string("ContactType"), contactType);
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string QueryContactInfoRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryContactInfoRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryContactInfoRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryContactInfoRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryContactInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryContactInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,56 +39,51 @@ void QueryContactInfoResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CreateDate"].isNull())
|
||||
createDate_ = value["CreateDate"].asString();
|
||||
if(!value["RegistrantName"].isNull())
|
||||
registrantName_ = value["RegistrantName"].asString();
|
||||
if(!value["RegistrantOrganization"].isNull())
|
||||
registrantOrganization_ = value["RegistrantOrganization"].asString();
|
||||
if(!value["Country"].isNull())
|
||||
country_ = value["Country"].asString();
|
||||
if(!value["Province"].isNull())
|
||||
province_ = value["Province"].asString();
|
||||
if(!value["City"].isNull())
|
||||
city_ = value["City"].asString();
|
||||
if(!value["Address"].isNull())
|
||||
address_ = value["Address"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["PostalCode"].isNull())
|
||||
postalCode_ = value["PostalCode"].asString();
|
||||
if(!value["TelArea"].isNull())
|
||||
telArea_ = value["TelArea"].asString();
|
||||
if(!value["Telephone"].isNull())
|
||||
telephone_ = value["Telephone"].asString();
|
||||
if(!value["TelExt"].isNull())
|
||||
telExt_ = value["TelExt"].asString();
|
||||
if(!value["ZhRegistrantName"].isNull())
|
||||
zhRegistrantName_ = value["ZhRegistrantName"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["ZhProvince"].isNull())
|
||||
zhProvince_ = value["ZhProvince"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["Telephone"].isNull())
|
||||
telephone_ = value["Telephone"].asString();
|
||||
if(!value["Address"].isNull())
|
||||
address_ = value["Address"].asString();
|
||||
if(!value["PostalCode"].isNull())
|
||||
postalCode_ = value["PostalCode"].asString();
|
||||
if(!value["ZhRegistrantName"].isNull())
|
||||
zhRegistrantName_ = value["ZhRegistrantName"].asString();
|
||||
if(!value["City"].isNull())
|
||||
city_ = value["City"].asString();
|
||||
if(!value["CreateDate"].isNull())
|
||||
createDate_ = value["CreateDate"].asString();
|
||||
if(!value["Province"].isNull())
|
||||
province_ = value["Province"].asString();
|
||||
if(!value["ZhCity"].isNull())
|
||||
zhCity_ = value["ZhCity"].asString();
|
||||
if(!value["RegistrantName"].isNull())
|
||||
registrantName_ = value["RegistrantName"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["Country"].isNull())
|
||||
country_ = value["Country"].asString();
|
||||
if(!value["RegistrantOrganization"].isNull())
|
||||
registrantOrganization_ = value["RegistrantOrganization"].asString();
|
||||
if(!value["TelExt"].isNull())
|
||||
telExt_ = value["TelExt"].asString();
|
||||
if(!value["TelArea"].isNull())
|
||||
telArea_ = value["TelArea"].asString();
|
||||
if(!value["ZhAddress"].isNull())
|
||||
zhAddress_ = value["ZhAddress"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getZhProvince()const
|
||||
{
|
||||
return zhProvince_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getAddress()const
|
||||
std::string QueryContactInfoResult::getEmail()const
|
||||
{
|
||||
return address_;
|
||||
return email_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getTelephone()const
|
||||
@@ -96,6 +91,11 @@ std::string QueryContactInfoResult::getTelephone()const
|
||||
return telephone_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getPostalCode()const
|
||||
{
|
||||
return postalCode_;
|
||||
@@ -121,19 +121,14 @@ std::string QueryContactInfoResult::getProvince()const
|
||||
return province_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getRegistrantName()const
|
||||
{
|
||||
return registrantName_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getZhCity()const
|
||||
{
|
||||
return zhCity_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getCountry()const
|
||||
std::string QueryContactInfoResult::getRegistrantName()const
|
||||
{
|
||||
return country_;
|
||||
return registrantName_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getZhRegistrantOrganization()const
|
||||
@@ -141,21 +136,26 @@ std::string QueryContactInfoResult::getZhRegistrantOrganization()const
|
||||
return zhRegistrantOrganization_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getCountry()const
|
||||
{
|
||||
return country_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getRegistrantOrganization()const
|
||||
{
|
||||
return registrantOrganization_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getTelArea()const
|
||||
{
|
||||
return telArea_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getTelExt()const
|
||||
{
|
||||
return telExt_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getTelArea()const
|
||||
{
|
||||
return telArea_;
|
||||
}
|
||||
|
||||
std::string QueryContactInfoResult::getZhAddress()const
|
||||
{
|
||||
return zhAddress_;
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDSRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDSRecordRequest;
|
||||
|
||||
QueryDSRecordRequest::QueryDSRecordRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDSRecord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDSRecordRequest::~QueryDSRecordRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDSRecordRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDSRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDSRecordRequest;
|
||||
|
||||
QueryDSRecordRequest::QueryDSRecordRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDSRecord") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDSRecordRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryDSRecordRequest::~QueryDSRecordRequest() {}
|
||||
|
||||
std::string QueryDSRecordRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDSRecordRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDSRecordRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryDSRecordRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDSRecordRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDSRecordRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDSRecordRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDSRecordRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDSRecordRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDSRecordRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@ void QueryDSRecordResult::parse(const std::string &payload)
|
||||
for (auto valueDSRecordListDSRecord : allDSRecordListNode)
|
||||
{
|
||||
DSRecord dSRecordListObject;
|
||||
if(!valueDSRecordListDSRecord["KeyTag"].isNull())
|
||||
dSRecordListObject.keyTag = std::stoi(valueDSRecordListDSRecord["KeyTag"].asString());
|
||||
if(!valueDSRecordListDSRecord["Algorithm"].isNull())
|
||||
dSRecordListObject.algorithm = std::stoi(valueDSRecordListDSRecord["Algorithm"].asString());
|
||||
if(!valueDSRecordListDSRecord["DigestType"].isNull())
|
||||
dSRecordListObject.digestType = std::stoi(valueDSRecordListDSRecord["DigestType"].asString());
|
||||
if(!valueDSRecordListDSRecord["Digest"].isNull())
|
||||
dSRecordListObject.digest = valueDSRecordListDSRecord["Digest"].asString();
|
||||
if(!valueDSRecordListDSRecord["Algorithm"].isNull())
|
||||
dSRecordListObject.algorithm = std::stoi(valueDSRecordListDSRecord["Algorithm"].asString());
|
||||
if(!valueDSRecordListDSRecord["KeyTag"].isNull())
|
||||
dSRecordListObject.keyTag = std::stoi(valueDSRecordListDSRecord["KeyTag"].asString());
|
||||
dSRecordList_.push_back(dSRecordListObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDnsHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDnsHostRequest;
|
||||
|
||||
QueryDnsHostRequest::QueryDnsHostRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDnsHost")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDnsHostRequest::~QueryDnsHostRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDnsHostRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDnsHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDnsHostRequest;
|
||||
|
||||
QueryDnsHostRequest::QueryDnsHostRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDnsHost") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDnsHostRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
QueryDnsHostRequest::~QueryDnsHostRequest() {}
|
||||
|
||||
std::string QueryDnsHostRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryDnsHostRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDnsHostRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void QueryDnsHostRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDnsHostRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDnsHostRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDnsHostRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDnsHostRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDnsHostRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainAdminDivisionRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainAdminDivisionRequest;
|
||||
|
||||
QueryDomainAdminDivisionRequest::QueryDomainAdminDivisionRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainAdminDivision")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainAdminDivisionRequest::~QueryDomainAdminDivisionRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainAdminDivisionRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainAdminDivisionRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainAdminDivisionRequest;
|
||||
|
||||
QueryDomainAdminDivisionRequest::QueryDomainAdminDivisionRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainAdminDivision") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainAdminDivisionRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
QueryDomainAdminDivisionRequest::~QueryDomainAdminDivisionRequest() {}
|
||||
|
||||
std::string QueryDomainAdminDivisionRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDomainAdminDivisionRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainAdminDivisionRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainAdminDivisionRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainAdminDivisionRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainAdminDivisionRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainByDomainNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainByDomainNameRequest;
|
||||
|
||||
QueryDomainByDomainNameRequest::QueryDomainByDomainNameRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainByDomainName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainByDomainNameRequest::~QueryDomainByDomainNameRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainByDomainNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainByDomainNameRequest;
|
||||
|
||||
QueryDomainByDomainNameRequest::QueryDomainByDomainNameRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainByDomainName") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainByDomainNameRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryDomainByDomainNameRequest::~QueryDomainByDomainNameRequest() {}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDomainByDomainNameRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryDomainByDomainNameRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDomainByDomainNameRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainByDomainNameRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainByDomainNameRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainByDomainNameRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainByDomainNameRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,65 +42,69 @@ void QueryDomainByDomainNameResult::parse(const std::string &payload)
|
||||
auto allDnsList = value["DnsList"]["Dns"];
|
||||
for (const auto &item : allDnsList)
|
||||
dnsList_.push_back(item.asString());
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["RegistrationDate"].isNull())
|
||||
registrationDate_ = value["RegistrationDate"].asString();
|
||||
if(!value["ExpirationDate"].isNull())
|
||||
expirationDate_ = value["ExpirationDate"].asString();
|
||||
if(!value["RegistrantOrganization"].isNull())
|
||||
registrantOrganization_ = value["RegistrantOrganization"].asString();
|
||||
if(!value["RegistrantName"].isNull())
|
||||
registrantName_ = value["RegistrantName"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["UpdateProhibitionLock"].isNull())
|
||||
updateProhibitionLock_ = value["UpdateProhibitionLock"].asString();
|
||||
if(!value["RegistrationDate"].isNull())
|
||||
registrationDate_ = value["RegistrationDate"].asString();
|
||||
if(!value["RegistrationDateLong"].isNull())
|
||||
registrationDateLong_ = std::stol(value["RegistrationDateLong"].asString());
|
||||
if(!value["RealNameStatus"].isNull())
|
||||
realNameStatus_ = value["RealNameStatus"].asString();
|
||||
if(!value["Premium"].isNull())
|
||||
premium_ = value["Premium"].asString() == "true";
|
||||
if(!value["DomainNameVerificationStatus"].isNull())
|
||||
domainNameVerificationStatus_ = value["DomainNameVerificationStatus"].asString();
|
||||
if(!value["ExpirationDateLong"].isNull())
|
||||
expirationDateLong_ = std::stol(value["ExpirationDateLong"].asString());
|
||||
if(!value["TransferOutStatus"].isNull())
|
||||
transferOutStatus_ = value["TransferOutStatus"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["EmailVerificationClientHold"].isNull())
|
||||
emailVerificationClientHold_ = value["EmailVerificationClientHold"].asString() == "true";
|
||||
if(!value["EmailVerificationStatus"].isNull())
|
||||
emailVerificationStatus_ = std::stoi(value["EmailVerificationStatus"].asString());
|
||||
if(!value["RegistrantOrganization"].isNull())
|
||||
registrantOrganization_ = value["RegistrantOrganization"].asString();
|
||||
if(!value["TransferProhibitionLock"].isNull())
|
||||
transferProhibitionLock_ = value["TransferProhibitionLock"].asString();
|
||||
if(!value["DomainNameProxyService"].isNull())
|
||||
domainNameProxyService_ = value["DomainNameProxyService"].asString() == "true";
|
||||
if(!value["Premium"].isNull())
|
||||
premium_ = value["Premium"].asString() == "true";
|
||||
if(!value["EmailVerificationStatus"].isNull())
|
||||
emailVerificationStatus_ = std::stoi(value["EmailVerificationStatus"].asString());
|
||||
if(!value["EmailVerificationClientHold"].isNull())
|
||||
emailVerificationClientHold_ = value["EmailVerificationClientHold"].asString() == "true";
|
||||
if(!value["RealNameStatus"].isNull())
|
||||
realNameStatus_ = value["RealNameStatus"].asString();
|
||||
if(!value["RegistrantUpdatingStatus"].isNull())
|
||||
registrantUpdatingStatus_ = value["RegistrantUpdatingStatus"].asString();
|
||||
if(!value["TransferOutStatus"].isNull())
|
||||
transferOutStatus_ = value["TransferOutStatus"].asString();
|
||||
if(!value["RegistrantType"].isNull())
|
||||
registrantType_ = value["RegistrantType"].asString();
|
||||
if(!value["DomainNameVerificationStatus"].isNull())
|
||||
domainNameVerificationStatus_ = value["DomainNameVerificationStatus"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["RegistrantUpdatingStatus"].isNull())
|
||||
registrantUpdatingStatus_ = value["RegistrantUpdatingStatus"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["ZhRegistrantName"].isNull())
|
||||
zhRegistrantName_ = value["ZhRegistrantName"].asString();
|
||||
if(!value["RegistrationDateLong"].isNull())
|
||||
registrationDateLong_ = std::stol(value["RegistrationDateLong"].asString());
|
||||
if(!value["ExpirationDateLong"].isNull())
|
||||
expirationDateLong_ = std::stol(value["ExpirationDateLong"].asString());
|
||||
if(!value["ExpirationDate"].isNull())
|
||||
expirationDate_ = value["ExpirationDate"].asString();
|
||||
if(!value["RegistrantName"].isNull())
|
||||
registrantName_ = value["RegistrantName"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["UpdateProhibitionLock"].isNull())
|
||||
updateProhibitionLock_ = value["UpdateProhibitionLock"].asString();
|
||||
if(!value["DomainGroupId"].isNull())
|
||||
domainGroupId_ = std::stol(value["DomainGroupId"].asString());
|
||||
if(!value["Remark"].isNull())
|
||||
remark_ = value["Remark"].asString();
|
||||
if(!value["DomainGroupName"].isNull())
|
||||
domainGroupName_ = value["DomainGroupName"].asString();
|
||||
if(!value["ExpirationDateStatus"].isNull())
|
||||
expirationDateStatus_ = value["ExpirationDateStatus"].asString();
|
||||
if(!value["ExpirationCurrDateDiff"].isNull())
|
||||
expirationCurrDateDiff_ = std::stoi(value["ExpirationCurrDateDiff"].asString());
|
||||
if(!value["DomainType"].isNull())
|
||||
domainType_ = value["DomainType"].asString();
|
||||
if(!value["domainStatus"].isNull())
|
||||
domainStatus_ = value["domainStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRegistrantUpdatingStatus()const
|
||||
{
|
||||
return registrantUpdatingStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
@@ -116,26 +120,11 @@ long QueryDomainByDomainNameResult::getRegistrationDateLong()const
|
||||
return registrationDateLong_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRealNameStatus()const
|
||||
{
|
||||
return realNameStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getZhRegistrantName()const
|
||||
{
|
||||
return zhRegistrantName_;
|
||||
}
|
||||
|
||||
bool QueryDomainByDomainNameResult::getPremium()const
|
||||
{
|
||||
return premium_;
|
||||
@@ -146,6 +135,11 @@ std::string QueryDomainByDomainNameResult::getDomainNameVerificationStatus()cons
|
||||
return domainNameVerificationStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
long QueryDomainByDomainNameResult::getExpirationDateLong()const
|
||||
{
|
||||
return expirationDateLong_;
|
||||
@@ -156,14 +150,9 @@ std::vector<std::string> QueryDomainByDomainNameResult::getDnsList()const
|
||||
return dnsList_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getExpirationDate()const
|
||||
std::string QueryDomainByDomainNameResult::getDomainType()const
|
||||
{
|
||||
return expirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRegistrantName()const
|
||||
{
|
||||
return registrantName_;
|
||||
return domainType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getTransferOutStatus()const
|
||||
@@ -171,9 +160,9 @@ std::string QueryDomainByDomainNameResult::getTransferOutStatus()const
|
||||
return transferOutStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getUserId()const
|
||||
std::string QueryDomainByDomainNameResult::getDomainGroupName()const
|
||||
{
|
||||
return userId_;
|
||||
return domainGroupName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getZhRegistrantOrganization()const
|
||||
@@ -186,11 +175,6 @@ bool QueryDomainByDomainNameResult::getEmailVerificationClientHold()const
|
||||
return emailVerificationClientHold_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getUpdateProhibitionLock()const
|
||||
{
|
||||
return updateProhibitionLock_;
|
||||
}
|
||||
|
||||
int QueryDomainByDomainNameResult::getEmailVerificationStatus()const
|
||||
{
|
||||
return emailVerificationStatus_;
|
||||
@@ -211,3 +195,68 @@ bool QueryDomainByDomainNameResult::getDomainNameProxyService()const
|
||||
return domainNameProxyService_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRegistrantUpdatingStatus()const
|
||||
{
|
||||
return registrantUpdatingStatus_;
|
||||
}
|
||||
|
||||
int QueryDomainByDomainNameResult::getExpirationCurrDateDiff()const
|
||||
{
|
||||
return expirationCurrDateDiff_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
long QueryDomainByDomainNameResult::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getZhRegistrantName()const
|
||||
{
|
||||
return zhRegistrantName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getExpirationDateStatus()const
|
||||
{
|
||||
return expirationDateStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getExpirationDate()const
|
||||
{
|
||||
return expirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getRegistrantName()const
|
||||
{
|
||||
return registrantName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getUpdateProhibitionLock()const
|
||||
{
|
||||
return updateProhibitionLock_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByDomainNameResult::getDomainStatus()const
|
||||
{
|
||||
return domainStatus_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainByInstanceIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainByInstanceIdRequest;
|
||||
|
||||
QueryDomainByInstanceIdRequest::QueryDomainByInstanceIdRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainByInstanceId")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainByInstanceIdRequest::~QueryDomainByInstanceIdRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainByInstanceIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainByInstanceIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainByInstanceIdRequest;
|
||||
|
||||
QueryDomainByInstanceIdRequest::QueryDomainByInstanceIdRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainByInstanceId") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainByInstanceIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
QueryDomainByInstanceIdRequest::~QueryDomainByInstanceIdRequest() {}
|
||||
|
||||
std::string QueryDomainByInstanceIdRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDomainByInstanceIdRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void QueryDomainByInstanceIdRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDomainByInstanceIdRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainByInstanceIdRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainByInstanceIdRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainByInstanceIdRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainByInstanceIdRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,65 +42,69 @@ void QueryDomainByInstanceIdResult::parse(const std::string &payload)
|
||||
auto allDnsList = value["DnsList"]["Dns"];
|
||||
for (const auto &item : allDnsList)
|
||||
dnsList_.push_back(item.asString());
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["RegistrationDate"].isNull())
|
||||
registrationDate_ = value["RegistrationDate"].asString();
|
||||
if(!value["ExpirationDate"].isNull())
|
||||
expirationDate_ = value["ExpirationDate"].asString();
|
||||
if(!value["RegistrantOrganization"].isNull())
|
||||
registrantOrganization_ = value["RegistrantOrganization"].asString();
|
||||
if(!value["RegistrantName"].isNull())
|
||||
registrantName_ = value["RegistrantName"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["UpdateProhibitionLock"].isNull())
|
||||
updateProhibitionLock_ = value["UpdateProhibitionLock"].asString();
|
||||
if(!value["RegistrationDate"].isNull())
|
||||
registrationDate_ = value["RegistrationDate"].asString();
|
||||
if(!value["RegistrationDateLong"].isNull())
|
||||
registrationDateLong_ = std::stol(value["RegistrationDateLong"].asString());
|
||||
if(!value["RealNameStatus"].isNull())
|
||||
realNameStatus_ = value["RealNameStatus"].asString();
|
||||
if(!value["Premium"].isNull())
|
||||
premium_ = value["Premium"].asString() == "true";
|
||||
if(!value["DomainNameVerificationStatus"].isNull())
|
||||
domainNameVerificationStatus_ = value["DomainNameVerificationStatus"].asString();
|
||||
if(!value["ExpirationDateLong"].isNull())
|
||||
expirationDateLong_ = std::stol(value["ExpirationDateLong"].asString());
|
||||
if(!value["TransferOutStatus"].isNull())
|
||||
transferOutStatus_ = value["TransferOutStatus"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["EmailVerificationClientHold"].isNull())
|
||||
emailVerificationClientHold_ = value["EmailVerificationClientHold"].asString() == "true";
|
||||
if(!value["EmailVerificationStatus"].isNull())
|
||||
emailVerificationStatus_ = std::stoi(value["EmailVerificationStatus"].asString());
|
||||
if(!value["RegistrantOrganization"].isNull())
|
||||
registrantOrganization_ = value["RegistrantOrganization"].asString();
|
||||
if(!value["TransferProhibitionLock"].isNull())
|
||||
transferProhibitionLock_ = value["TransferProhibitionLock"].asString();
|
||||
if(!value["DomainNameProxyService"].isNull())
|
||||
domainNameProxyService_ = value["DomainNameProxyService"].asString() == "true";
|
||||
if(!value["Premium"].isNull())
|
||||
premium_ = value["Premium"].asString() == "true";
|
||||
if(!value["EmailVerificationStatus"].isNull())
|
||||
emailVerificationStatus_ = std::stoi(value["EmailVerificationStatus"].asString());
|
||||
if(!value["EmailVerificationClientHold"].isNull())
|
||||
emailVerificationClientHold_ = value["EmailVerificationClientHold"].asString() == "true";
|
||||
if(!value["RealNameStatus"].isNull())
|
||||
realNameStatus_ = value["RealNameStatus"].asString();
|
||||
if(!value["RegistrantUpdatingStatus"].isNull())
|
||||
registrantUpdatingStatus_ = value["RegistrantUpdatingStatus"].asString();
|
||||
if(!value["TransferOutStatus"].isNull())
|
||||
transferOutStatus_ = value["TransferOutStatus"].asString();
|
||||
if(!value["RegistrantType"].isNull())
|
||||
registrantType_ = value["RegistrantType"].asString();
|
||||
if(!value["DomainNameVerificationStatus"].isNull())
|
||||
domainNameVerificationStatus_ = value["DomainNameVerificationStatus"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["RegistrantUpdatingStatus"].isNull())
|
||||
registrantUpdatingStatus_ = value["RegistrantUpdatingStatus"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["ZhRegistrantName"].isNull())
|
||||
zhRegistrantName_ = value["ZhRegistrantName"].asString();
|
||||
if(!value["RegistrationDateLong"].isNull())
|
||||
registrationDateLong_ = std::stol(value["RegistrationDateLong"].asString());
|
||||
if(!value["ExpirationDateLong"].isNull())
|
||||
expirationDateLong_ = std::stol(value["ExpirationDateLong"].asString());
|
||||
if(!value["ExpirationDate"].isNull())
|
||||
expirationDate_ = value["ExpirationDate"].asString();
|
||||
if(!value["RegistrantName"].isNull())
|
||||
registrantName_ = value["RegistrantName"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["UpdateProhibitionLock"].isNull())
|
||||
updateProhibitionLock_ = value["UpdateProhibitionLock"].asString();
|
||||
if(!value["DomainGroupId"].isNull())
|
||||
domainGroupId_ = std::stol(value["DomainGroupId"].asString());
|
||||
if(!value["Remark"].isNull())
|
||||
remark_ = value["Remark"].asString();
|
||||
if(!value["DomainGroupName"].isNull())
|
||||
domainGroupName_ = value["DomainGroupName"].asString();
|
||||
if(!value["ExpirationDateStatus"].isNull())
|
||||
expirationDateStatus_ = value["ExpirationDateStatus"].asString();
|
||||
if(!value["ExpirationCurrDateDiff"].isNull())
|
||||
expirationCurrDateDiff_ = std::stoi(value["ExpirationCurrDateDiff"].asString());
|
||||
if(!value["DomainType"].isNull())
|
||||
domainType_ = value["DomainType"].asString();
|
||||
if(!value["DomainStatus"].isNull())
|
||||
domainStatus_ = value["DomainStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRegistrantUpdatingStatus()const
|
||||
{
|
||||
return registrantUpdatingStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
@@ -116,26 +120,11 @@ long QueryDomainByInstanceIdResult::getRegistrationDateLong()const
|
||||
return registrationDateLong_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRealNameStatus()const
|
||||
{
|
||||
return realNameStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getZhRegistrantName()const
|
||||
{
|
||||
return zhRegistrantName_;
|
||||
}
|
||||
|
||||
bool QueryDomainByInstanceIdResult::getPremium()const
|
||||
{
|
||||
return premium_;
|
||||
@@ -146,6 +135,11 @@ std::string QueryDomainByInstanceIdResult::getDomainNameVerificationStatus()cons
|
||||
return domainNameVerificationStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
long QueryDomainByInstanceIdResult::getExpirationDateLong()const
|
||||
{
|
||||
return expirationDateLong_;
|
||||
@@ -156,14 +150,9 @@ std::vector<std::string> QueryDomainByInstanceIdResult::getDnsList()const
|
||||
return dnsList_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getExpirationDate()const
|
||||
std::string QueryDomainByInstanceIdResult::getDomainType()const
|
||||
{
|
||||
return expirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRegistrantName()const
|
||||
{
|
||||
return registrantName_;
|
||||
return domainType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getTransferOutStatus()const
|
||||
@@ -171,9 +160,9 @@ std::string QueryDomainByInstanceIdResult::getTransferOutStatus()const
|
||||
return transferOutStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getUserId()const
|
||||
std::string QueryDomainByInstanceIdResult::getDomainGroupName()const
|
||||
{
|
||||
return userId_;
|
||||
return domainGroupName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getZhRegistrantOrganization()const
|
||||
@@ -186,11 +175,6 @@ bool QueryDomainByInstanceIdResult::getEmailVerificationClientHold()const
|
||||
return emailVerificationClientHold_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getUpdateProhibitionLock()const
|
||||
{
|
||||
return updateProhibitionLock_;
|
||||
}
|
||||
|
||||
int QueryDomainByInstanceIdResult::getEmailVerificationStatus()const
|
||||
{
|
||||
return emailVerificationStatus_;
|
||||
@@ -211,3 +195,68 @@ bool QueryDomainByInstanceIdResult::getDomainNameProxyService()const
|
||||
return domainNameProxyService_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRegistrantType()const
|
||||
{
|
||||
return registrantType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRegistrantUpdatingStatus()const
|
||||
{
|
||||
return registrantUpdatingStatus_;
|
||||
}
|
||||
|
||||
int QueryDomainByInstanceIdResult::getExpirationCurrDateDiff()const
|
||||
{
|
||||
return expirationCurrDateDiff_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
long QueryDomainByInstanceIdResult::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getZhRegistrantName()const
|
||||
{
|
||||
return zhRegistrantName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getExpirationDateStatus()const
|
||||
{
|
||||
return expirationDateStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getExpirationDate()const
|
||||
{
|
||||
return expirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getRegistrantName()const
|
||||
{
|
||||
return registrantName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getUpdateProhibitionLock()const
|
||||
{
|
||||
return updateProhibitionLock_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getDomainStatus()const
|
||||
{
|
||||
return domainStatus_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainGroupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainGroupListRequest;
|
||||
|
||||
QueryDomainGroupListRequest::QueryDomainGroupListRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainGroupList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainGroupListRequest::~QueryDomainGroupListRequest()
|
||||
{}
|
||||
|
||||
bool QueryDomainGroupListRequest::getShowDeletingGroup()const
|
||||
{
|
||||
return showDeletingGroup_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainGroupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainGroupListRequest;
|
||||
|
||||
QueryDomainGroupListRequest::QueryDomainGroupListRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainGroupList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setShowDeletingGroup(bool showDeletingGroup)
|
||||
{
|
||||
showDeletingGroup_ = showDeletingGroup;
|
||||
setParameter("ShowDeletingGroup", showDeletingGroup ? "true" : "false");
|
||||
QueryDomainGroupListRequest::~QueryDomainGroupListRequest() {}
|
||||
|
||||
bool QueryDomainGroupListRequest::getShowDeletingGroup() const {
|
||||
return showDeletingGroup_;
|
||||
}
|
||||
|
||||
std::string QueryDomainGroupListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDomainGroupListRequest::setShowDeletingGroup(bool showDeletingGroup) {
|
||||
showDeletingGroup_ = showDeletingGroup;
|
||||
setParameter(std::string("ShowDeletingGroup"), showDeletingGroup ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDomainGroupListRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDomainGroupListRequest::getDomainGroupName()const
|
||||
{
|
||||
return domainGroupName_;
|
||||
void QueryDomainGroupListRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setDomainGroupName(const std::string& domainGroupName)
|
||||
{
|
||||
domainGroupName_ = domainGroupName;
|
||||
setParameter("DomainGroupName", domainGroupName);
|
||||
std::string QueryDomainGroupListRequest::getDomainGroupName() const {
|
||||
return domainGroupName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainGroupListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainGroupListRequest::setDomainGroupName(const std::string &domainGroupName) {
|
||||
domainGroupName_ = domainGroupName;
|
||||
setParameter(std::string("DomainGroupName"), domainGroupName);
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainGroupListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainGroupListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void QueryDomainGroupListResult::parse(const std::string &payload)
|
||||
for (auto valueDataDomainGroup : allDataNode)
|
||||
{
|
||||
DomainGroup dataObject;
|
||||
if(!valueDataDomainGroup["BeingDeleted"].isNull())
|
||||
dataObject.beingDeleted = valueDataDomainGroup["BeingDeleted"].asString() == "true";
|
||||
if(!valueDataDomainGroup["DomainGroupStatus"].isNull())
|
||||
dataObject.domainGroupStatus = valueDataDomainGroup["DomainGroupStatus"].asString();
|
||||
if(!valueDataDomainGroup["DomainGroupId"].isNull())
|
||||
dataObject.domainGroupId = valueDataDomainGroup["DomainGroupId"].asString();
|
||||
if(!valueDataDomainGroup["DomainGroupName"].isNull())
|
||||
dataObject.domainGroupName = valueDataDomainGroup["DomainGroupName"].asString();
|
||||
if(!valueDataDomainGroup["ModificationDate"].isNull())
|
||||
dataObject.modificationDate = valueDataDomainGroup["ModificationDate"].asString();
|
||||
if(!valueDataDomainGroup["TotalNumber"].isNull())
|
||||
dataObject.totalNumber = std::stoi(valueDataDomainGroup["TotalNumber"].asString());
|
||||
if(!valueDataDomainGroup["CreationDate"].isNull())
|
||||
dataObject.creationDate = valueDataDomainGroup["CreationDate"].asString();
|
||||
if(!valueDataDomainGroup["ModificationDate"].isNull())
|
||||
dataObject.modificationDate = valueDataDomainGroup["ModificationDate"].asString();
|
||||
if(!valueDataDomainGroup["DomainGroupStatus"].isNull())
|
||||
dataObject.domainGroupStatus = valueDataDomainGroup["DomainGroupStatus"].asString();
|
||||
if(!valueDataDomainGroup["BeingDeleted"].isNull())
|
||||
dataObject.beingDeleted = valueDataDomainGroup["BeingDeleted"].asString() == "true";
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,183 +1,153 @@
|
||||
/*
|
||||
* 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/domain/model/QueryDomainListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainListRequest;
|
||||
|
||||
QueryDomainListRequest::QueryDomainListRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainListRequest::~QueryDomainListRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainListRequest::getProductDomainType()const
|
||||
{
|
||||
return productDomainType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainListRequest;
|
||||
|
||||
QueryDomainListRequest::QueryDomainListRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setProductDomainType(const std::string& productDomainType)
|
||||
{
|
||||
productDomainType_ = productDomainType;
|
||||
setParameter("ProductDomainType", productDomainType);
|
||||
QueryDomainListRequest::~QueryDomainListRequest() {}
|
||||
|
||||
std::string QueryDomainListRequest::getProductDomainType() const {
|
||||
return productDomainType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getOrderKeyType()const
|
||||
{
|
||||
return orderKeyType_;
|
||||
void QueryDomainListRequest::setProductDomainType(const std::string &productDomainType) {
|
||||
productDomainType_ = productDomainType;
|
||||
setParameter(std::string("ProductDomainType"), productDomainType);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setOrderKeyType(const std::string& orderKeyType)
|
||||
{
|
||||
orderKeyType_ = orderKeyType;
|
||||
setParameter("OrderKeyType", orderKeyType);
|
||||
std::string QueryDomainListRequest::getOrderKeyType() const {
|
||||
return orderKeyType_;
|
||||
}
|
||||
|
||||
int QueryDomainListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void QueryDomainListRequest::setOrderKeyType(const std::string &orderKeyType) {
|
||||
orderKeyType_ = orderKeyType;
|
||||
setParameter(std::string("OrderKeyType"), orderKeyType);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int QueryDomainListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getOrderByType()const
|
||||
{
|
||||
return orderByType_;
|
||||
void QueryDomainListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setOrderByType(const std::string& orderByType)
|
||||
{
|
||||
orderByType_ = orderByType;
|
||||
setParameter("OrderByType", orderByType);
|
||||
std::string QueryDomainListRequest::getOrderByType() const {
|
||||
return orderByType_;
|
||||
}
|
||||
|
||||
int QueryDomainListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void QueryDomainListRequest::setOrderByType(const std::string &orderByType) {
|
||||
orderByType_ = orderByType;
|
||||
setParameter(std::string("OrderByType"), orderByType);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int QueryDomainListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getQueryType()const
|
||||
{
|
||||
return queryType_;
|
||||
void QueryDomainListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setQueryType(const std::string& queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setParameter("QueryType", queryType);
|
||||
std::string QueryDomainListRequest::getQueryType() const {
|
||||
return queryType_;
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getEndExpirationDate()const
|
||||
{
|
||||
return endExpirationDate_;
|
||||
void QueryDomainListRequest::setQueryType(const std::string &queryType) {
|
||||
queryType_ = queryType;
|
||||
setParameter(std::string("QueryType"), queryType);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setEndExpirationDate(long endExpirationDate)
|
||||
{
|
||||
endExpirationDate_ = endExpirationDate;
|
||||
setParameter("EndExpirationDate", std::to_string(endExpirationDate));
|
||||
long QueryDomainListRequest::getEndExpirationDate() const {
|
||||
return endExpirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void QueryDomainListRequest::setEndExpirationDate(long endExpirationDate) {
|
||||
endExpirationDate_ = endExpirationDate;
|
||||
setParameter(std::string("EndExpirationDate"), std::to_string(endExpirationDate));
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string QueryDomainListRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getStartExpirationDate()const
|
||||
{
|
||||
return startExpirationDate_;
|
||||
void QueryDomainListRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setStartExpirationDate(long startExpirationDate)
|
||||
{
|
||||
startExpirationDate_ = startExpirationDate;
|
||||
setParameter("StartExpirationDate", std::to_string(startExpirationDate));
|
||||
long QueryDomainListRequest::getStartExpirationDate() const {
|
||||
return startExpirationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getDomainGroupId()const
|
||||
{
|
||||
return domainGroupId_;
|
||||
void QueryDomainListRequest::setStartExpirationDate(long startExpirationDate) {
|
||||
startExpirationDate_ = startExpirationDate;
|
||||
setParameter(std::string("StartExpirationDate"), std::to_string(startExpirationDate));
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setDomainGroupId(const std::string& domainGroupId)
|
||||
{
|
||||
domainGroupId_ = domainGroupId;
|
||||
setParameter("DomainGroupId", domainGroupId);
|
||||
std::string QueryDomainListRequest::getDomainGroupId() const {
|
||||
return domainGroupId_;
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getEndRegistrationDate()const
|
||||
{
|
||||
return endRegistrationDate_;
|
||||
void QueryDomainListRequest::setDomainGroupId(const std::string &domainGroupId) {
|
||||
domainGroupId_ = domainGroupId;
|
||||
setParameter(std::string("DomainGroupId"), domainGroupId);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setEndRegistrationDate(long endRegistrationDate)
|
||||
{
|
||||
endRegistrationDate_ = endRegistrationDate;
|
||||
setParameter("EndRegistrationDate", std::to_string(endRegistrationDate));
|
||||
long QueryDomainListRequest::getEndRegistrationDate() const {
|
||||
return endRegistrationDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDomainListRequest::setEndRegistrationDate(long endRegistrationDate) {
|
||||
endRegistrationDate_ = endRegistrationDate;
|
||||
setParameter(std::string("EndRegistrationDate"), std::to_string(endRegistrationDate));
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDomainListRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long QueryDomainListRequest::getStartRegistrationDate()const
|
||||
{
|
||||
return startRegistrationDate_;
|
||||
void QueryDomainListRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setStartRegistrationDate(long startRegistrationDate)
|
||||
{
|
||||
startRegistrationDate_ = startRegistrationDate;
|
||||
setParameter("StartRegistrationDate", std::to_string(startRegistrationDate));
|
||||
long QueryDomainListRequest::getStartRegistrationDate() const {
|
||||
return startRegistrationDate_;
|
||||
}
|
||||
|
||||
void QueryDomainListRequest::setStartRegistrationDate(long startRegistrationDate) {
|
||||
startRegistrationDate_ = startRegistrationDate;
|
||||
setParameter(std::string("StartRegistrationDate"), std::to_string(startRegistrationDate));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,52 +43,52 @@ void QueryDomainListResult::parse(const std::string &payload)
|
||||
for (auto valueDataDomain : allDataNode)
|
||||
{
|
||||
Domain dataObject;
|
||||
if(!valueDataDomain["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataDomain["DomainName"].asString();
|
||||
if(!valueDataDomain["InstanceId"].isNull())
|
||||
dataObject.instanceId = valueDataDomain["InstanceId"].asString();
|
||||
if(!valueDataDomain["ExpirationDate"].isNull())
|
||||
dataObject.expirationDate = valueDataDomain["ExpirationDate"].asString();
|
||||
if(!valueDataDomain["RegistrationDate"].isNull())
|
||||
dataObject.registrationDate = valueDataDomain["RegistrationDate"].asString();
|
||||
if(!valueDataDomain["DomainType"].isNull())
|
||||
dataObject.domainType = valueDataDomain["DomainType"].asString();
|
||||
if(!valueDataDomain["DomainStatus"].isNull())
|
||||
dataObject.domainStatus = valueDataDomain["DomainStatus"].asString();
|
||||
if(!valueDataDomain["ProductId"].isNull())
|
||||
dataObject.productId = valueDataDomain["ProductId"].asString();
|
||||
if(!valueDataDomain["ExpirationDateLong"].isNull())
|
||||
dataObject.expirationDateLong = std::stol(valueDataDomain["ExpirationDateLong"].asString());
|
||||
if(!valueDataDomain["RegistrationDateLong"].isNull())
|
||||
dataObject.registrationDateLong = std::stol(valueDataDomain["RegistrationDateLong"].asString());
|
||||
if(!valueDataDomain["Premium"].isNull())
|
||||
dataObject.premium = valueDataDomain["Premium"].asString() == "true";
|
||||
if(!valueDataDomain["DomainAuditStatus"].isNull())
|
||||
dataObject.domainAuditStatus = valueDataDomain["DomainAuditStatus"].asString();
|
||||
if(!valueDataDomain["ExpirationDateStatus"].isNull())
|
||||
dataObject.expirationDateStatus = valueDataDomain["ExpirationDateStatus"].asString();
|
||||
if(!valueDataDomain["RegistrantType"].isNull())
|
||||
dataObject.registrantType = valueDataDomain["RegistrantType"].asString();
|
||||
if(!valueDataDomain["DomainGroupId"].isNull())
|
||||
dataObject.domainGroupId = valueDataDomain["DomainGroupId"].asString();
|
||||
if(!valueDataDomain["Remark"].isNull())
|
||||
dataObject.remark = valueDataDomain["Remark"].asString();
|
||||
if(!valueDataDomain["DomainGroupName"].isNull())
|
||||
dataObject.domainGroupName = valueDataDomain["DomainGroupName"].asString();
|
||||
if(!valueDataDomain["RegistrationDate"].isNull())
|
||||
dataObject.registrationDate = valueDataDomain["RegistrationDate"].asString();
|
||||
if(!valueDataDomain["InstanceId"].isNull())
|
||||
dataObject.instanceId = valueDataDomain["InstanceId"].asString();
|
||||
if(!valueDataDomain["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataDomain["DomainName"].asString();
|
||||
if(!valueDataDomain["ExpirationDateStatus"].isNull())
|
||||
dataObject.expirationDateStatus = valueDataDomain["ExpirationDateStatus"].asString();
|
||||
if(!valueDataDomain["ExpirationDate"].isNull())
|
||||
dataObject.expirationDate = valueDataDomain["ExpirationDate"].asString();
|
||||
if(!valueDataDomain["RegistrantType"].isNull())
|
||||
dataObject.registrantType = valueDataDomain["RegistrantType"].asString();
|
||||
if(!valueDataDomain["ExpirationDateLong"].isNull())
|
||||
dataObject.expirationDateLong = std::stol(valueDataDomain["ExpirationDateLong"].asString());
|
||||
if(!valueDataDomain["ExpirationCurrDateDiff"].isNull())
|
||||
dataObject.expirationCurrDateDiff = std::stoi(valueDataDomain["ExpirationCurrDateDiff"].asString());
|
||||
if(!valueDataDomain["Premium"].isNull())
|
||||
dataObject.premium = valueDataDomain["Premium"].asString() == "true";
|
||||
if(!valueDataDomain["RegistrationDateLong"].isNull())
|
||||
dataObject.registrationDateLong = std::stol(valueDataDomain["RegistrationDateLong"].asString());
|
||||
if(!valueDataDomain["ProductId"].isNull())
|
||||
dataObject.productId = valueDataDomain["ProductId"].asString();
|
||||
if(!valueDataDomain["DomainStatus"].isNull())
|
||||
dataObject.domainStatus = valueDataDomain["DomainStatus"].asString();
|
||||
if(!valueDataDomain["DomainType"].isNull())
|
||||
dataObject.domainType = valueDataDomain["DomainType"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainRealNameVerificationInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainRealNameVerificationInfoRequest;
|
||||
|
||||
QueryDomainRealNameVerificationInfoRequest::QueryDomainRealNameVerificationInfoRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainRealNameVerificationInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainRealNameVerificationInfoRequest::~QueryDomainRealNameVerificationInfoRequest()
|
||||
{}
|
||||
|
||||
bool QueryDomainRealNameVerificationInfoRequest::getFetchImage()const
|
||||
{
|
||||
return fetchImage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainRealNameVerificationInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainRealNameVerificationInfoRequest;
|
||||
|
||||
QueryDomainRealNameVerificationInfoRequest::QueryDomainRealNameVerificationInfoRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainRealNameVerificationInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setFetchImage(bool fetchImage)
|
||||
{
|
||||
fetchImage_ = fetchImage;
|
||||
setParameter("FetchImage", fetchImage ? "true" : "false");
|
||||
QueryDomainRealNameVerificationInfoRequest::~QueryDomainRealNameVerificationInfoRequest() {}
|
||||
|
||||
bool QueryDomainRealNameVerificationInfoRequest::getFetchImage() const {
|
||||
return fetchImage_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void QueryDomainRealNameVerificationInfoRequest::setFetchImage(bool fetchImage) {
|
||||
fetchImage_ = fetchImage;
|
||||
setParameter(std::string("FetchImage"), fetchImage ? "true" : "false");
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryDomainRealNameVerificationInfoRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainRealNameVerificationInfoRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,18 +39,18 @@ void QueryDomainRealNameVerificationInfoResult::parse(const std::string &payload
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SubmissionDate"].isNull())
|
||||
submissionDate_ = value["SubmissionDate"].asString();
|
||||
if(!value["IdentityCredential"].isNull())
|
||||
identityCredential_ = value["IdentityCredential"].asString();
|
||||
if(!value["IdentityCredentialNo"].isNull())
|
||||
identityCredentialNo_ = value["IdentityCredentialNo"].asString();
|
||||
if(!value["IdentityCredentialType"].isNull())
|
||||
identityCredentialType_ = value["IdentityCredentialType"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["IdentityCredential"].isNull())
|
||||
identityCredential_ = value["IdentityCredential"].asString();
|
||||
if(!value["SubmissionDate"].isNull())
|
||||
submissionDate_ = value["SubmissionDate"].asString();
|
||||
if(!value["IdentityCredentialNo"].isNull())
|
||||
identityCredentialNo_ = value["IdentityCredentialNo"].asString();
|
||||
if(!value["IdentityCredentialUrl"].isNull())
|
||||
identityCredentialUrl_ = value["IdentityCredentialUrl"].asString();
|
||||
|
||||
@@ -61,16 +61,16 @@ std::string QueryDomainRealNameVerificationInfoResult::getIdentityCredentialType
|
||||
return identityCredentialType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getIdentityCredential()const
|
||||
{
|
||||
return identityCredential_;
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainSuffixRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainSuffixRequest;
|
||||
|
||||
QueryDomainSuffixRequest::QueryDomainSuffixRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainSuffix")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainSuffixRequest::~QueryDomainSuffixRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainSuffixRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainSuffixRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainSuffixRequest;
|
||||
|
||||
QueryDomainSuffixRequest::QueryDomainSuffixRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryDomainSuffix") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDomainSuffixRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
QueryDomainSuffixRequest::~QueryDomainSuffixRequest() {}
|
||||
|
||||
std::string QueryDomainSuffixRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryDomainSuffixRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryDomainSuffixRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryDomainSuffixRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryDomainSuffixRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainSuffixRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryDomainTransferStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainTransferStatusRequest;
|
||||
|
||||
QueryDomainTransferStatusRequest::QueryDomainTransferStatusRequest() :
|
||||
RpcServiceRequest("domain", "2018-02-08", "QueryDomainTransferStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDomainTransferStatusRequest::~QueryDomainTransferStatusRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainTransferStatusRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryDomainTransferStatusRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* 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/domain/model/QueryDomainTransferStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryDomainTransferStatusResult::QueryDomainTransferStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryDomainTransferStatusResult::QueryDomainTransferStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryDomainTransferStatusResult::~QueryDomainTransferStatusResult()
|
||||
{}
|
||||
|
||||
void QueryDomainTransferStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainTransferStatusNode = value["DomainTransferStatus"]["DomainTransferStatusItem"];
|
||||
for (auto valueDomainTransferStatusDomainTransferStatusItem : allDomainTransferStatusNode)
|
||||
{
|
||||
DomainTransferStatusItem domainTransferStatusObject;
|
||||
if(!valueDomainTransferStatusDomainTransferStatusItem["DomainStatusDescription"].isNull())
|
||||
domainTransferStatusObject.domainStatusDescription = valueDomainTransferStatusDomainTransferStatusItem["DomainStatusDescription"].asString();
|
||||
if(!valueDomainTransferStatusDomainTransferStatusItem["DomainName"].isNull())
|
||||
domainTransferStatusObject.domainName = valueDomainTransferStatusDomainTransferStatusItem["DomainName"].asString();
|
||||
domainTransferStatus_.push_back(domainTransferStatusObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<QueryDomainTransferStatusResult::DomainTransferStatusItem> QueryDomainTransferStatusResult::getDomainTransferStatus()const
|
||||
{
|
||||
return domainTransferStatus_;
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryEmailVerificationRequest;
|
||||
|
||||
QueryEmailVerificationRequest::QueryEmailVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryEmailVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryEmailVerificationRequest::~QueryEmailVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryEmailVerificationRequest;
|
||||
|
||||
QueryEmailVerificationRequest::QueryEmailVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryEmailVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
QueryEmailVerificationRequest::~QueryEmailVerificationRequest() {}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryEmailVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryEmailVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
void QueryEmailVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
std::string QueryEmailVerificationRequest::getEmail() const {
|
||||
return email_;
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setEmail(const std::string &email) {
|
||||
email_ = email;
|
||||
setParameter(std::string("Email"), email);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,26 +39,26 @@ void QueryEmailVerificationResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GmtCreate"].isNull())
|
||||
gmtCreate_ = value["GmtCreate"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
gmtModified_ = value["GmtModified"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["EmailVerificationNo"].isNull())
|
||||
emailVerificationNo_ = value["EmailVerificationNo"].asString();
|
||||
if(!value["TokenSendTime"].isNull())
|
||||
tokenSendTime_ = value["TokenSendTime"].asString();
|
||||
if(!value["VerificationStatus"].isNull())
|
||||
verificationStatus_ = std::stoi(value["VerificationStatus"].asString());
|
||||
if(!value["VerificationTime"].isNull())
|
||||
verificationTime_ = value["VerificationTime"].asString();
|
||||
if(!value["SendIp"].isNull())
|
||||
sendIp_ = value["SendIp"].asString();
|
||||
if(!value["GmtCreate"].isNull())
|
||||
gmtCreate_ = value["GmtCreate"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["EmailVerificationNo"].isNull())
|
||||
emailVerificationNo_ = value["EmailVerificationNo"].asString();
|
||||
if(!value["ConfirmIp"].isNull())
|
||||
confirmIp_ = value["ConfirmIp"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
gmtModified_ = value["GmtModified"].asString();
|
||||
if(!value["SendIp"].isNull())
|
||||
sendIp_ = value["SendIp"].asString();
|
||||
if(!value["VerificationTime"].isNull())
|
||||
verificationTime_ = value["VerificationTime"].asString();
|
||||
if(!value["TokenSendTime"].isNull())
|
||||
tokenSendTime_ = value["TokenSendTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryEnsAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryEnsAssociationRequest;
|
||||
|
||||
QueryEnsAssociationRequest::QueryEnsAssociationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryEnsAssociation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryEnsAssociationRequest::~QueryEnsAssociationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryEnsAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryEnsAssociationRequest;
|
||||
|
||||
QueryEnsAssociationRequest::QueryEnsAssociationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryEnsAssociation") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryEnsAssociationRequest::~QueryEnsAssociationRequest() {}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryEnsAssociationRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryEnsAssociationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryEnsAssociationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryEnsAssociationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailReasonForDomainRealNameVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailReasonForDomainRealNameVerificationRequest;
|
||||
|
||||
QueryFailReasonForDomainRealNameVerificationRequest::QueryFailReasonForDomainRealNameVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryFailReasonForDomainRealNameVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryFailReasonForDomainRealNameVerificationRequest::~QueryFailReasonForDomainRealNameVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailReasonForDomainRealNameVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailReasonForDomainRealNameVerificationRequest;
|
||||
|
||||
QueryFailReasonForDomainRealNameVerificationRequest::QueryFailReasonForDomainRealNameVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryFailReasonForDomainRealNameVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryFailReasonForDomainRealNameVerificationRequest::~QueryFailReasonForDomainRealNameVerificationRequest() {}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getRealNameVerificationAction()const
|
||||
{
|
||||
return realNameVerificationAction_;
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setRealNameVerificationAction(const std::string& realNameVerificationAction)
|
||||
{
|
||||
realNameVerificationAction_ = realNameVerificationAction;
|
||||
setParameter("RealNameVerificationAction", realNameVerificationAction);
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getRealNameVerificationAction() const {
|
||||
return realNameVerificationAction_;
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setRealNameVerificationAction(const std::string &realNameVerificationAction) {
|
||||
realNameVerificationAction_ = realNameVerificationAction;
|
||||
setParameter(std::string("RealNameVerificationAction"), realNameVerificationAction);
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryFailReasonForDomainRealNameVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryFailReasonForDomainRealNameVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailReasonForRegistrantProfileRealNameVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailReasonForRegistrantProfileRealNameVerificationRequest;
|
||||
|
||||
QueryFailReasonForRegistrantProfileRealNameVerificationRequest::QueryFailReasonForRegistrantProfileRealNameVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryFailReasonForRegistrantProfileRealNameVerification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryFailReasonForRegistrantProfileRealNameVerificationRequest::~QueryFailReasonForRegistrantProfileRealNameVerificationRequest()
|
||||
{}
|
||||
|
||||
long QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getRegistrantProfileID()const
|
||||
{
|
||||
return registrantProfileID_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailReasonForRegistrantProfileRealNameVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailReasonForRegistrantProfileRealNameVerificationRequest;
|
||||
|
||||
QueryFailReasonForRegistrantProfileRealNameVerificationRequest::QueryFailReasonForRegistrantProfileRealNameVerificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryFailReasonForRegistrantProfileRealNameVerification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setRegistrantProfileID(long registrantProfileID)
|
||||
{
|
||||
registrantProfileID_ = registrantProfileID;
|
||||
setParameter("RegistrantProfileID", std::to_string(registrantProfileID));
|
||||
QueryFailReasonForRegistrantProfileRealNameVerificationRequest::~QueryFailReasonForRegistrantProfileRealNameVerificationRequest() {}
|
||||
|
||||
long QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getRegistrantProfileID() const {
|
||||
return registrantProfileID_;
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setRegistrantProfileID(long registrantProfileID) {
|
||||
registrantProfileID_ = registrantProfileID;
|
||||
setParameter(std::string("RegistrantProfileID"), std::to_string(registrantProfileID));
|
||||
}
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryFailReasonForRegistrantProfileRealNameVerificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryFailReasonForRegistrantProfileRealNameVerificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailingReasonListForQualificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailingReasonListForQualificationRequest;
|
||||
|
||||
QueryFailingReasonListForQualificationRequest::QueryFailingReasonListForQualificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryFailingReasonListForQualification")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryFailingReasonListForQualificationRequest::~QueryFailingReasonListForQualificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailingReasonListForQualificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailingReasonListForQualificationRequest;
|
||||
|
||||
QueryFailingReasonListForQualificationRequest::QueryFailingReasonListForQualificationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryFailingReasonListForQualification") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter("QualificationType", qualificationType);
|
||||
QueryFailingReasonListForQualificationRequest::~QueryFailingReasonListForQualificationRequest() {}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getQualificationType() const {
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void QueryFailingReasonListForQualificationRequest::setQualificationType(const std::string &qualificationType) {
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter(std::string("QualificationType"), qualificationType);
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string QueryFailingReasonListForQualificationRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryFailingReasonListForQualificationRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryFailingReasonListForQualificationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int QueryFailingReasonListForQualificationRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
void QueryFailingReasonListForQualificationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
int QueryFailingReasonListForQualificationRequest::getLimit() const {
|
||||
return limit_;
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryFailingReasonListForQualificationRequest::setLimit(int limit) {
|
||||
limit_ = limit;
|
||||
setParameter(std::string("Limit"), std::to_string(limit));
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryFailingReasonListForQualificationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryLocalEnsAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryLocalEnsAssociationRequest;
|
||||
|
||||
QueryLocalEnsAssociationRequest::QueryLocalEnsAssociationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryLocalEnsAssociation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryLocalEnsAssociationRequest::~QueryLocalEnsAssociationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryLocalEnsAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryLocalEnsAssociationRequest;
|
||||
|
||||
QueryLocalEnsAssociationRequest::QueryLocalEnsAssociationRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryLocalEnsAssociation") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
QueryLocalEnsAssociationRequest::~QueryLocalEnsAssociationRequest() {}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryLocalEnsAssociationRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryLocalEnsAssociationRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryLocalEnsAssociationRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryLocalEnsAssociationRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryOperationAuditInfoDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryOperationAuditInfoDetailRequest;
|
||||
|
||||
QueryOperationAuditInfoDetailRequest::QueryOperationAuditInfoDetailRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryOperationAuditInfoDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryOperationAuditInfoDetailRequest::~QueryOperationAuditInfoDetailRequest()
|
||||
{}
|
||||
|
||||
long QueryOperationAuditInfoDetailRequest::getAuditRecordId()const
|
||||
{
|
||||
return auditRecordId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryOperationAuditInfoDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryOperationAuditInfoDetailRequest;
|
||||
|
||||
QueryOperationAuditInfoDetailRequest::QueryOperationAuditInfoDetailRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryOperationAuditInfoDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoDetailRequest::setAuditRecordId(long auditRecordId)
|
||||
{
|
||||
auditRecordId_ = auditRecordId;
|
||||
setParameter("AuditRecordId", std::to_string(auditRecordId));
|
||||
QueryOperationAuditInfoDetailRequest::~QueryOperationAuditInfoDetailRequest() {}
|
||||
|
||||
long QueryOperationAuditInfoDetailRequest::getAuditRecordId() const {
|
||||
return auditRecordId_;
|
||||
}
|
||||
|
||||
std::string QueryOperationAuditInfoDetailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryOperationAuditInfoDetailRequest::setAuditRecordId(long auditRecordId) {
|
||||
auditRecordId_ = auditRecordId;
|
||||
setParameter(std::string("AuditRecordId"), std::to_string(auditRecordId));
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryOperationAuditInfoDetailRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoDetailRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,22 +39,22 @@ void QueryOperationAuditInfoDetailResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
id_ = value["Id"].asString();
|
||||
if(!value["AuditInfo"].isNull())
|
||||
auditInfo_ = value["AuditInfo"].asString();
|
||||
if(!value["AuditStatus"].isNull())
|
||||
auditStatus_ = std::stoi(value["AuditStatus"].asString());
|
||||
if(!value["BusinessName"].isNull())
|
||||
businessName_ = value["BusinessName"].asString();
|
||||
if(!value["AuditType"].isNull())
|
||||
auditType_ = std::stoi(value["AuditType"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["UpdateTime"].isNull())
|
||||
updateTime_ = std::stol(value["UpdateTime"].asString());
|
||||
if(!value["BusinessName"].isNull())
|
||||
businessName_ = value["BusinessName"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["AuditType"].isNull())
|
||||
auditType_ = std::stoi(value["AuditType"].asString());
|
||||
if(!value["AuditStatus"].isNull())
|
||||
auditStatus_ = std::stoi(value["AuditStatus"].asString());
|
||||
if(!value["AuditInfo"].isNull())
|
||||
auditInfo_ = value["AuditInfo"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
id_ = value["Id"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
remark_ = value["Remark"].asString();
|
||||
|
||||
@@ -75,16 +75,16 @@ std::string QueryOperationAuditInfoDetailResult::getBusinessName()const
|
||||
return businessName_;
|
||||
}
|
||||
|
||||
std::string QueryOperationAuditInfoDetailResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int QueryOperationAuditInfoDetailResult::getAuditType()const
|
||||
{
|
||||
return auditType_;
|
||||
}
|
||||
|
||||
std::string QueryOperationAuditInfoDetailResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long QueryOperationAuditInfoDetailResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
|
||||
@@ -1,95 +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/domain/model/QueryOperationAuditInfoListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryOperationAuditInfoListRequest;
|
||||
|
||||
QueryOperationAuditInfoListRequest::QueryOperationAuditInfoListRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryOperationAuditInfoList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryOperationAuditInfoListRequest::~QueryOperationAuditInfoListRequest()
|
||||
{}
|
||||
|
||||
int QueryOperationAuditInfoListRequest::getAuditStatus()const
|
||||
{
|
||||
return auditStatus_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryOperationAuditInfoListRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryOperationAuditInfoListRequest;
|
||||
|
||||
QueryOperationAuditInfoListRequest::QueryOperationAuditInfoListRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryOperationAuditInfoList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setAuditStatus(int auditStatus)
|
||||
{
|
||||
auditStatus_ = auditStatus;
|
||||
setParameter("AuditStatus", std::to_string(auditStatus));
|
||||
QueryOperationAuditInfoListRequest::~QueryOperationAuditInfoListRequest() {}
|
||||
|
||||
int QueryOperationAuditInfoListRequest::getAuditStatus() const {
|
||||
return auditStatus_;
|
||||
}
|
||||
|
||||
std::string QueryOperationAuditInfoListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void QueryOperationAuditInfoListRequest::setAuditStatus(int auditStatus) {
|
||||
auditStatus_ = auditStatus;
|
||||
setParameter(std::string("AuditStatus"), std::to_string(auditStatus));
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string QueryOperationAuditInfoListRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int QueryOperationAuditInfoListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void QueryOperationAuditInfoListRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int QueryOperationAuditInfoListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int QueryOperationAuditInfoListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void QueryOperationAuditInfoListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int QueryOperationAuditInfoListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int QueryOperationAuditInfoListRequest::getAuditType()const
|
||||
{
|
||||
return auditType_;
|
||||
void QueryOperationAuditInfoListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setAuditType(int auditType)
|
||||
{
|
||||
auditType_ = auditType;
|
||||
setParameter("AuditType", std::to_string(auditType));
|
||||
int QueryOperationAuditInfoListRequest::getAuditType() const {
|
||||
return auditType_;
|
||||
}
|
||||
|
||||
std::string QueryOperationAuditInfoListRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryOperationAuditInfoListRequest::setAuditType(int auditType) {
|
||||
auditType_ = auditType;
|
||||
setParameter(std::string("AuditType"), std::to_string(auditType));
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryOperationAuditInfoListRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryOperationAuditInfoListRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,36 +43,36 @@ void QueryOperationAuditInfoListResult::parse(const std::string &payload)
|
||||
for (auto valueDataOperationAuditRecord : allDataNode)
|
||||
{
|
||||
OperationAuditRecord dataObject;
|
||||
if(!valueDataOperationAuditRecord["Id"].isNull())
|
||||
dataObject.id = std::stol(valueDataOperationAuditRecord["Id"].asString());
|
||||
if(!valueDataOperationAuditRecord["CreateTime"].isNull())
|
||||
dataObject.createTime = std::stol(valueDataOperationAuditRecord["CreateTime"].asString());
|
||||
if(!valueDataOperationAuditRecord["UpdateTime"].isNull())
|
||||
dataObject.updateTime = std::stol(valueDataOperationAuditRecord["UpdateTime"].asString());
|
||||
if(!valueDataOperationAuditRecord["BusinessName"].isNull())
|
||||
dataObject.businessName = valueDataOperationAuditRecord["BusinessName"].asString();
|
||||
if(!valueDataOperationAuditRecord["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataOperationAuditRecord["DomainName"].asString();
|
||||
if(!valueDataOperationAuditRecord["AuditType"].isNull())
|
||||
dataObject.auditType = std::stoi(valueDataOperationAuditRecord["AuditType"].asString());
|
||||
if(!valueDataOperationAuditRecord["AuditStatus"].isNull())
|
||||
dataObject.auditStatus = std::stoi(valueDataOperationAuditRecord["AuditStatus"].asString());
|
||||
if(!valueDataOperationAuditRecord["AuditInfo"].isNull())
|
||||
dataObject.auditInfo = valueDataOperationAuditRecord["AuditInfo"].asString();
|
||||
if(!valueDataOperationAuditRecord["Remark"].isNull())
|
||||
dataObject.remark = valueDataOperationAuditRecord["Remark"].asString();
|
||||
if(!valueDataOperationAuditRecord["CreateTime"].isNull())
|
||||
dataObject.createTime = std::stol(valueDataOperationAuditRecord["CreateTime"].asString());
|
||||
if(!valueDataOperationAuditRecord["AuditType"].isNull())
|
||||
dataObject.auditType = std::stoi(valueDataOperationAuditRecord["AuditType"].asString());
|
||||
if(!valueDataOperationAuditRecord["BusinessName"].isNull())
|
||||
dataObject.businessName = valueDataOperationAuditRecord["BusinessName"].asString();
|
||||
if(!valueDataOperationAuditRecord["AuditInfo"].isNull())
|
||||
dataObject.auditInfo = valueDataOperationAuditRecord["AuditInfo"].asString();
|
||||
if(!valueDataOperationAuditRecord["DomainName"].isNull())
|
||||
dataObject.domainName = valueDataOperationAuditRecord["DomainName"].asString();
|
||||
if(!valueDataOperationAuditRecord["AuditStatus"].isNull())
|
||||
dataObject.auditStatus = std::stoi(valueDataOperationAuditRecord["AuditStatus"].asString());
|
||||
if(!valueDataOperationAuditRecord["Id"].isNull())
|
||||
dataObject.id = std::stol(valueDataOperationAuditRecord["Id"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryQualificationDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryQualificationDetailRequest;
|
||||
|
||||
QueryQualificationDetailRequest::QueryQualificationDetailRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryQualificationDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryQualificationDetailRequest::~QueryQualificationDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryQualificationDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryQualificationDetailRequest;
|
||||
|
||||
QueryQualificationDetailRequest::QueryQualificationDetailRequest()
|
||||
: RpcServiceRequest("domain", "2018-01-29", "QueryQualificationDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter("QualificationType", qualificationType);
|
||||
QueryQualificationDetailRequest::~QueryQualificationDetailRequest() {}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getQualificationType() const {
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void QueryQualificationDetailRequest::setQualificationType(const std::string &qualificationType) {
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter(std::string("QualificationType"), qualificationType);
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string QueryQualificationDetailRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void QueryQualificationDetailRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string QueryQualificationDetailRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void QueryQualificationDetailRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string QueryQualificationDetailRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,18 +43,18 @@ void QueryQualificationDetailResult::parse(const std::string &payload)
|
||||
for (auto valueCredentialsQualificationCredential : allCredentialsNode)
|
||||
{
|
||||
QualificationCredential credentialsObject;
|
||||
if(!valueCredentialsQualificationCredential["CredentialNo"].isNull())
|
||||
credentialsObject.credentialNo = valueCredentialsQualificationCredential["CredentialNo"].asString();
|
||||
if(!valueCredentialsQualificationCredential["CredentialType"].isNull())
|
||||
credentialsObject.credentialType = valueCredentialsQualificationCredential["CredentialType"].asString();
|
||||
if(!valueCredentialsQualificationCredential["CredentialNo"].isNull())
|
||||
credentialsObject.credentialNo = valueCredentialsQualificationCredential["CredentialNo"].asString();
|
||||
if(!valueCredentialsQualificationCredential["CredentialUrl"].isNull())
|
||||
credentialsObject.credentialUrl = valueCredentialsQualificationCredential["CredentialUrl"].asString();
|
||||
credentials_.push_back(credentialsObject);
|
||||
}
|
||||
if(!value["TrackId"].isNull())
|
||||
trackId_ = value["TrackId"].asString();
|
||||
if(!value["AuditStatus"].isNull())
|
||||
auditStatus_ = std::stoi(value["AuditStatus"].asString());
|
||||
if(!value["TrackId"].isNull())
|
||||
trackId_ = value["TrackId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user