DOMAIN SDK Auto Released By huizeng.zh,Version:1.29.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
82
domain/src/model/CancelQualificationVerificationRequest.cc
Normal file
82
domain/src/model/CancelQualificationVerificationRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelQualificationVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelQualificationVerificationRequest;
|
||||
|
||||
CancelQualificationVerificationRequest::CancelQualificationVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CancelQualificationVerification")
|
||||
{}
|
||||
|
||||
CancelQualificationVerificationRequest::~CancelQualificationVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelQualificationVerificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void CancelQualificationVerificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
45
domain/src/model/CancelQualificationVerificationResult.cc
Normal file
45
domain/src/model/CancelQualificationVerificationResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CancelQualificationVerificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CancelQualificationVerificationResult::CancelQualificationVerificationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelQualificationVerificationResult::CancelQualificationVerificationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelQualificationVerificationResult::~CancelQualificationVerificationResult()
|
||||
{}
|
||||
|
||||
void CancelQualificationVerificationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -58,6 +58,17 @@ void CheckDomainRequest::setDomainName(const std::string& domainName)
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getFeeCommand()const
|
||||
{
|
||||
return feeCommand_;
|
||||
@@ -69,3 +80,14 @@ void CheckDomainRequest::setFeeCommand(const std::string& feeCommand)
|
||||
setParameter("FeeCommand", feeCommand);
|
||||
}
|
||||
|
||||
std::string CheckDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
60
domain/src/model/CheckDomainSunriseClaimRequest.cc
Normal file
60
domain/src/model/CheckDomainSunriseClaimRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckDomainSunriseClaimRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckDomainSunriseClaimRequest;
|
||||
|
||||
CheckDomainSunriseClaimRequest::CheckDomainSunriseClaimRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckDomainSunriseClaim")
|
||||
{}
|
||||
|
||||
CheckDomainSunriseClaimRequest::~CheckDomainSunriseClaimRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CheckDomainSunriseClaimRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckDomainSunriseClaimRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
59
domain/src/model/CheckDomainSunriseClaimResult.cc
Normal file
59
domain/src/model/CheckDomainSunriseClaimResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckDomainSunriseClaimResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CheckDomainSunriseClaimResult::CheckDomainSunriseClaimResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckDomainSunriseClaimResult::CheckDomainSunriseClaimResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckDomainSunriseClaimResult::~CheckDomainSunriseClaimResult()
|
||||
{}
|
||||
|
||||
void CheckDomainSunriseClaimResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
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();
|
||||
|
||||
}
|
||||
|
||||
std::string CheckDomainSunriseClaimResult::getClaimKey()const
|
||||
{
|
||||
return claimKey_;
|
||||
}
|
||||
|
||||
int CheckDomainSunriseClaimResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
71
domain/src/model/CheckMaxYearOfServerLockRequest.cc
Normal file
71
domain/src/model/CheckMaxYearOfServerLockRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckMaxYearOfServerLockRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckMaxYearOfServerLockRequest;
|
||||
|
||||
CheckMaxYearOfServerLockRequest::CheckMaxYearOfServerLockRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckMaxYearOfServerLock")
|
||||
{}
|
||||
|
||||
CheckMaxYearOfServerLockRequest::~CheckMaxYearOfServerLockRequest()
|
||||
{}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getCheckAction()const
|
||||
{
|
||||
return checkAction_;
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setCheckAction(const std::string& checkAction)
|
||||
{
|
||||
checkAction_ = checkAction;
|
||||
setParameter("CheckAction", checkAction);
|
||||
}
|
||||
|
||||
std::string CheckMaxYearOfServerLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckMaxYearOfServerLockRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/CheckMaxYearOfServerLockResult.cc
Normal file
52
domain/src/model/CheckMaxYearOfServerLockResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckMaxYearOfServerLockResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CheckMaxYearOfServerLockResult::CheckMaxYearOfServerLockResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckMaxYearOfServerLockResult::CheckMaxYearOfServerLockResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckMaxYearOfServerLockResult::~CheckMaxYearOfServerLockResult()
|
||||
{}
|
||||
|
||||
void CheckMaxYearOfServerLockResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["MaxYear"].isNull())
|
||||
maxYear_ = std::stoi(value["MaxYear"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CheckMaxYearOfServerLockResult::getMaxYear()const
|
||||
{
|
||||
return maxYear_;
|
||||
}
|
||||
|
||||
71
domain/src/model/CheckProcessingServerLockApplyRequest.cc
Normal file
71
domain/src/model/CheckProcessingServerLockApplyRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckProcessingServerLockApplyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CheckProcessingServerLockApplyRequest;
|
||||
|
||||
CheckProcessingServerLockApplyRequest::CheckProcessingServerLockApplyRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CheckProcessingServerLockApply")
|
||||
{}
|
||||
|
||||
CheckProcessingServerLockApplyRequest::~CheckProcessingServerLockApplyRequest()
|
||||
{}
|
||||
|
||||
int CheckProcessingServerLockApplyRequest::getFeePeriod()const
|
||||
{
|
||||
return feePeriod_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setFeePeriod(int feePeriod)
|
||||
{
|
||||
feePeriod_ = feePeriod;
|
||||
setParameter("FeePeriod", std::to_string(feePeriod));
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CheckProcessingServerLockApplyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckProcessingServerLockApplyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/CheckProcessingServerLockApplyResult.cc
Normal file
52
domain/src/model/CheckProcessingServerLockApplyResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/CheckProcessingServerLockApplyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CheckProcessingServerLockApplyResult::CheckProcessingServerLockApplyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckProcessingServerLockApplyResult::CheckProcessingServerLockApplyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckProcessingServerLockApplyResult::~CheckProcessingServerLockApplyResult()
|
||||
{}
|
||||
|
||||
void CheckProcessingServerLockApplyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Exists"].isNull())
|
||||
exists_ = value["Exists"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool CheckProcessingServerLockApplyResult::getExists()const
|
||||
{
|
||||
return exists_;
|
||||
}
|
||||
|
||||
49
domain/src/model/GetQualificationUploadPolicyRequest.cc
Normal file
49
domain/src/model/GetQualificationUploadPolicyRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/GetQualificationUploadPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::GetQualificationUploadPolicyRequest;
|
||||
|
||||
GetQualificationUploadPolicyRequest::GetQualificationUploadPolicyRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "GetQualificationUploadPolicy")
|
||||
{}
|
||||
|
||||
GetQualificationUploadPolicyRequest::~GetQualificationUploadPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string GetQualificationUploadPolicyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void GetQualificationUploadPolicyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void GetQualificationUploadPolicyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
94
domain/src/model/GetQualificationUploadPolicyResult.cc
Normal file
94
domain/src/model/GetQualificationUploadPolicyResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* 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/GetQualificationUploadPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
GetQualificationUploadPolicyResult::GetQualificationUploadPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetQualificationUploadPolicyResult::GetQualificationUploadPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetQualificationUploadPolicyResult::~GetQualificationUploadPolicyResult()
|
||||
{}
|
||||
|
||||
void GetQualificationUploadPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
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();
|
||||
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getPolicy()const
|
||||
{
|
||||
return policy_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getExpire()const
|
||||
{
|
||||
return expire_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getAccessid()const
|
||||
{
|
||||
return accessid_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getSignature()const
|
||||
{
|
||||
return signature_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getHost()const
|
||||
{
|
||||
return host_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getPrefix()const
|
||||
{
|
||||
return prefix_;
|
||||
}
|
||||
|
||||
std::string GetQualificationUploadPolicyResult::getDir()const
|
||||
{
|
||||
return dir_;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,17 @@ void ListEmailVerificationRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListEmailVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ListEmailVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string ListEmailVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
148
domain/src/model/ListServerLockRequest.cc
Normal file
148
domain/src/model/ListServerLockRequest.cc
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
ListServerLockRequest::~ListServerLockRequest()
|
||||
{}
|
||||
|
||||
std::string ListServerLockRequest::getLockProductId()const
|
||||
{
|
||||
return lockProductId_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setLockProductId(const std::string& lockProductId)
|
||||
{
|
||||
lockProductId_ = lockProductId;
|
||||
setParameter("LockProductId", lockProductId);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndStartDate()const
|
||||
{
|
||||
return endStartDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndStartDate(long endStartDate)
|
||||
{
|
||||
endStartDate_ = endStartDate;
|
||||
setParameter("EndStartDate", std::to_string(endStartDate));
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getServerLockStatus()const
|
||||
{
|
||||
return serverLockStatus_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setServerLockStatus(int serverLockStatus)
|
||||
{
|
||||
serverLockStatus_ = serverLockStatus;
|
||||
setParameter("ServerLockStatus", std::to_string(serverLockStatus));
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getStartExpireDate()const
|
||||
{
|
||||
return startExpireDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setStartExpireDate(long startExpireDate)
|
||||
{
|
||||
startExpireDate_ = startExpireDate;
|
||||
setParameter("StartExpireDate", std::to_string(startExpireDate));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getEndExpireDate()const
|
||||
{
|
||||
return endExpireDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setEndExpireDate(long endExpireDate)
|
||||
{
|
||||
endExpireDate_ = endExpireDate;
|
||||
setParameter("EndExpireDate", std::to_string(endExpireDate));
|
||||
}
|
||||
|
||||
int ListServerLockRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string ListServerLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long ListServerLockRequest::getBeginStartDate()const
|
||||
{
|
||||
return beginStartDate_;
|
||||
}
|
||||
|
||||
void ListServerLockRequest::setBeginStartDate(long beginStartDate)
|
||||
{
|
||||
beginStartDate_ = beginStartDate;
|
||||
setParameter("BeginStartDate", std::to_string(beginStartDate));
|
||||
}
|
||||
|
||||
118
domain/src/model/ListServerLockResult.cc
Normal file
118
domain/src/model/ListServerLockResult.cc
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* 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/ListServerLockResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
ListServerLockResult::ListServerLockResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListServerLockResult::ListServerLockResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListServerLockResult::~ListServerLockResult()
|
||||
{}
|
||||
|
||||
void ListServerLockResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["QueryTransferInResponse"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
QueryTransferInResponse dataObject;
|
||||
if(!value["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = value["GmtCreate"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
dataObject.gmtModified = value["GmtModified"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
dataObject.userId = value["UserId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
dataObject.domainName = value["DomainName"].asString();
|
||||
if(!value["DomainInstanceId"].isNull())
|
||||
dataObject.domainInstanceId = value["DomainInstanceId"].asString();
|
||||
if(!value["LockProductId"].isNull())
|
||||
dataObject.lockProductId = value["LockProductId"].asString();
|
||||
if(!value["StartDate"].isNull())
|
||||
dataObject.startDate = value["StartDate"].asString();
|
||||
if(!value["ExpireDate"].isNull())
|
||||
dataObject.expireDate = value["ExpireDate"].asString();
|
||||
if(!value["LockInstanceId"].isNull())
|
||||
dataObject.lockInstanceId = value["LockInstanceId"].asString();
|
||||
if(!value["ServerLockStatus"].isNull())
|
||||
dataObject.serverLockStatus = value["ServerLockStatus"].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";
|
||||
|
||||
}
|
||||
|
||||
bool ListServerLockResult::getPrePage()const
|
||||
{
|
||||
return prePage_;
|
||||
}
|
||||
|
||||
int ListServerLockResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int ListServerLockResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int ListServerLockResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<ListServerLockResult::QueryTransferInResponse> ListServerLockResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int ListServerLockResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
bool ListServerLockResult::getNextPage()const
|
||||
{
|
||||
return nextPage_;
|
||||
}
|
||||
|
||||
60
domain/src/model/LookupTmchNoticeRequest.cc
Normal file
60
domain/src/model/LookupTmchNoticeRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/LookupTmchNoticeRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::LookupTmchNoticeRequest;
|
||||
|
||||
LookupTmchNoticeRequest::LookupTmchNoticeRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "LookupTmchNotice")
|
||||
{}
|
||||
|
||||
LookupTmchNoticeRequest::~LookupTmchNoticeRequest()
|
||||
{}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getClaimKey()const
|
||||
{
|
||||
return claimKey_;
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setClaimKey(const std::string& claimKey)
|
||||
{
|
||||
claimKey_ = claimKey;
|
||||
setParameter("ClaimKey", claimKey);
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void LookupTmchNoticeRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
155
domain/src/model/LookupTmchNoticeResult.cc
Normal file
155
domain/src/model/LookupTmchNoticeResult.cc
Normal file
@@ -0,0 +1,155 @@
|
||||
/*
|
||||
* 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/LookupTmchNoticeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
LookupTmchNoticeResult::LookupTmchNoticeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LookupTmchNoticeResult::LookupTmchNoticeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LookupTmchNoticeResult::~LookupTmchNoticeResult()
|
||||
{}
|
||||
|
||||
void LookupTmchNoticeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allClaims = value["Claims"]["Claim"];
|
||||
for (auto value : allClaims)
|
||||
{
|
||||
Claim claimsObject;
|
||||
if(!value["MarkName"].isNull())
|
||||
claimsObject.markName = value["MarkName"].asString();
|
||||
if(!value["GoodsAndServices"].isNull())
|
||||
claimsObject.goodsAndServices = value["GoodsAndServices"].asString();
|
||||
auto allHolders = value["Holders"]["Holder"];
|
||||
for (auto value : allHolders)
|
||||
{
|
||||
Claim::Holder holdersObject;
|
||||
if(!value["Entitlement"].isNull())
|
||||
holdersObject.entitlement = value["Entitlement"].asString();
|
||||
if(!value["Org"].isNull())
|
||||
holdersObject.org = value["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);
|
||||
}
|
||||
auto allContacts = value["Contacts"]["Contact"];
|
||||
for (auto value : allContacts)
|
||||
{
|
||||
Claim::Contact contactsObject;
|
||||
if(!value["Type"].isNull())
|
||||
contactsObject.type = value["Type"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
contactsObject.name = value["Name"].asString();
|
||||
if(!value["Org"].isNull())
|
||||
contactsObject.org = value["Org"].asString();
|
||||
if(!value["Voice"].isNull())
|
||||
contactsObject.voice = value["Voice"].asString();
|
||||
if(!value["Fax"].isNull())
|
||||
contactsObject.fax = value["Fax"].asString();
|
||||
if(!value["Email"].isNull())
|
||||
contactsObject.email = value["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());
|
||||
claimsObject.contacts.push_back(contactsObject);
|
||||
}
|
||||
auto allClassDescs = value["ClassDescs"]["ClassDesc"];
|
||||
for (auto value : allClassDescs)
|
||||
{
|
||||
Claim::ClassDesc classDescsObject;
|
||||
if(!value["ClassNum"].isNull())
|
||||
classDescsObject.classNum = std::stoi(value["ClassNum"].asString());
|
||||
if(!value["Desc"].isNull())
|
||||
classDescsObject.desc = value["Desc"].asString();
|
||||
claimsObject.classDescs.push_back(classDescsObject);
|
||||
}
|
||||
auto jurDescNode = value["JurDesc"];
|
||||
if(!jurDescNode["JurCC"].isNull())
|
||||
claimsObject.jurDesc.jurCC = jurDescNode["JurCC"].asString();
|
||||
if(!jurDescNode["Desc"].isNull())
|
||||
claimsObject.jurDesc.desc = jurDescNode["Desc"].asString();
|
||||
claims_.push_back(claimsObject);
|
||||
}
|
||||
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();
|
||||
|
||||
}
|
||||
|
||||
std::vector<LookupTmchNoticeResult::Claim> LookupTmchNoticeResult::getClaims()const
|
||||
{
|
||||
return claims_;
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeResult::getLabel()const
|
||||
{
|
||||
return label_;
|
||||
}
|
||||
|
||||
long LookupTmchNoticeResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeResult::getNotBefore()const
|
||||
{
|
||||
return notBefore_;
|
||||
}
|
||||
|
||||
std::string LookupTmchNoticeResult::getNotAfter()const
|
||||
{
|
||||
return notAfter_;
|
||||
}
|
||||
|
||||
@@ -36,6 +36,17 @@ void QueryDnsHostRequest::setInstanceId(const std::string& instanceId)
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QueryDnsHostRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDnsHostRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
49
domain/src/model/QueryDomainAdminDivisionRequest.cc
Normal file
49
domain/src/model/QueryDomainAdminDivisionRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryDomainAdminDivisionRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainAdminDivisionRequest;
|
||||
|
||||
QueryDomainAdminDivisionRequest::QueryDomainAdminDivisionRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainAdminDivision")
|
||||
{}
|
||||
|
||||
QueryDomainAdminDivisionRequest::~QueryDomainAdminDivisionRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainAdminDivisionRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainAdminDivisionRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainAdminDivisionRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainAdminDivisionRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
108
domain/src/model/QueryDomainAdminDivisionResult.cc
Normal file
108
domain/src/model/QueryDomainAdminDivisionResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* 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/QueryDomainAdminDivisionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryDomainAdminDivisionResult::QueryDomainAdminDivisionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryDomainAdminDivisionResult::QueryDomainAdminDivisionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryDomainAdminDivisionResult::~QueryDomainAdminDivisionResult()
|
||||
{}
|
||||
|
||||
void QueryDomainAdminDivisionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAdminDivisions = value["AdminDivisions"]["AdminDivision"];
|
||||
for (auto value : allAdminDivisions)
|
||||
{
|
||||
AdminDivision adminDivisionsObject;
|
||||
if(!value["DivisionName"].isNull())
|
||||
adminDivisionsObject.divisionName = value["DivisionName"].asString();
|
||||
auto allChildren = value["Children"]["ChildrenItem"];
|
||||
for (auto value : allChildren)
|
||||
{
|
||||
AdminDivision::ChildrenItem childrenObject;
|
||||
if(!value["ChildDivisionName"].isNull())
|
||||
childrenObject.childDivisionName = value["ChildDivisionName"].asString();
|
||||
adminDivisionsObject.children.push_back(childrenObject);
|
||||
}
|
||||
adminDivisions_.push_back(adminDivisionsObject);
|
||||
}
|
||||
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";
|
||||
|
||||
}
|
||||
|
||||
bool QueryDomainAdminDivisionResult::getPrePage()const
|
||||
{
|
||||
return prePage_;
|
||||
}
|
||||
|
||||
int QueryDomainAdminDivisionResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int QueryDomainAdminDivisionResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int QueryDomainAdminDivisionResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
int QueryDomainAdminDivisionResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
bool QueryDomainAdminDivisionResult::getNextPage()const
|
||||
{
|
||||
return nextPage_;
|
||||
}
|
||||
|
||||
std::vector<QueryDomainAdminDivisionResult::AdminDivision> QueryDomainAdminDivisionResult::getAdminDivisions()const
|
||||
{
|
||||
return adminDivisions_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryDomainSuffixRequest::QueryDomainSuffixRequest() :
|
||||
QueryDomainSuffixRequest::~QueryDomainSuffixRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDomainSuffixRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainSuffixRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainSuffixRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -25,6 +25,17 @@ QueryEmailVerificationRequest::QueryEmailVerificationRequest() :
|
||||
QueryEmailVerificationRequest::~QueryEmailVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
60
domain/src/model/QueryEnsAssociationRequest.cc
Normal file
60
domain/src/model/QueryEnsAssociationRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryEnsAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryEnsAssociationRequest;
|
||||
|
||||
QueryEnsAssociationRequest::QueryEnsAssociationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryEnsAssociation")
|
||||
{}
|
||||
|
||||
QueryEnsAssociationRequest::~QueryEnsAssociationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryEnsAssociationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryEnsAssociationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/QueryEnsAssociationResult.cc
Normal file
52
domain/src/model/QueryEnsAssociationResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryEnsAssociationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryEnsAssociationResult::QueryEnsAssociationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryEnsAssociationResult::QueryEnsAssociationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryEnsAssociationResult::~QueryEnsAssociationResult()
|
||||
{}
|
||||
|
||||
void QueryEnsAssociationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Address"].isNull())
|
||||
address_ = value["Address"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryEnsAssociationResult::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailingReasonListForQualificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryFailingReasonListForQualificationRequest;
|
||||
|
||||
QueryFailingReasonListForQualificationRequest::QueryFailingReasonListForQualificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryFailingReasonListForQualification")
|
||||
{}
|
||||
|
||||
QueryFailingReasonListForQualificationRequest::~QueryFailingReasonListForQualificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
int QueryFailingReasonListForQualificationRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string QueryFailingReasonListForQualificationRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void QueryFailingReasonListForQualificationRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryFailingReasonListForQualificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryFailingReasonListForQualificationResult::QueryFailingReasonListForQualificationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryFailingReasonListForQualificationResult::QueryFailingReasonListForQualificationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryFailingReasonListForQualificationResult::~QueryFailingReasonListForQualificationResult()
|
||||
{}
|
||||
|
||||
void QueryFailingReasonListForQualificationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["FailRecord"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
FailRecord dataObject;
|
||||
if(!value["Date"].isNull())
|
||||
dataObject.date = value["Date"].asString();
|
||||
if(!value["FailReason"].isNull())
|
||||
dataObject.failReason = value["FailReason"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<QueryFailingReasonListForQualificationResult::FailRecord> QueryFailingReasonListForQualificationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
60
domain/src/model/QueryLocalEnsAssociationRequest.cc
Normal file
60
domain/src/model/QueryLocalEnsAssociationRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryLocalEnsAssociationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryLocalEnsAssociationRequest;
|
||||
|
||||
QueryLocalEnsAssociationRequest::QueryLocalEnsAssociationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryLocalEnsAssociation")
|
||||
{}
|
||||
|
||||
QueryLocalEnsAssociationRequest::~QueryLocalEnsAssociationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryLocalEnsAssociationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/QueryLocalEnsAssociationResult.cc
Normal file
52
domain/src/model/QueryLocalEnsAssociationResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryLocalEnsAssociationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryLocalEnsAssociationResult::QueryLocalEnsAssociationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryLocalEnsAssociationResult::QueryLocalEnsAssociationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryLocalEnsAssociationResult::~QueryLocalEnsAssociationResult()
|
||||
{}
|
||||
|
||||
void QueryLocalEnsAssociationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Address"].isNull())
|
||||
address_ = value["Address"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryLocalEnsAssociationResult::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
}
|
||||
|
||||
71
domain/src/model/QueryQualificationDetailRequest.cc
Normal file
71
domain/src/model/QueryQualificationDetailRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryQualificationDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryQualificationDetailRequest;
|
||||
|
||||
QueryQualificationDetailRequest::QueryQualificationDetailRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryQualificationDetail")
|
||||
{}
|
||||
|
||||
QueryQualificationDetailRequest::~QueryQualificationDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailRequest::getQualificationType()const
|
||||
{
|
||||
return qualificationType_;
|
||||
}
|
||||
|
||||
void QueryQualificationDetailRequest::setQualificationType(const std::string& qualificationType)
|
||||
{
|
||||
qualificationType_ = qualificationType;
|
||||
setParameter("QualificationType", qualificationType);
|
||||
}
|
||||
|
||||
78
domain/src/model/QueryQualificationDetailResult.cc
Normal file
78
domain/src/model/QueryQualificationDetailResult.cc
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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/QueryQualificationDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryQualificationDetailResult::QueryQualificationDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryQualificationDetailResult::QueryQualificationDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryQualificationDetailResult::~QueryQualificationDetailResult()
|
||||
{}
|
||||
|
||||
void QueryQualificationDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCredentials = value["Credentials"]["QualificationCredential"];
|
||||
for (auto value : allCredentials)
|
||||
{
|
||||
QualificationCredential credentialsObject;
|
||||
if(!value["CredentialNo"].isNull())
|
||||
credentialsObject.credentialNo = value["CredentialNo"].asString();
|
||||
if(!value["CredentialType"].isNull())
|
||||
credentialsObject.credentialType = value["CredentialType"].asString();
|
||||
if(!value["CredentialUrl"].isNull())
|
||||
credentialsObject.credentialUrl = value["CredentialUrl"].asString();
|
||||
if(!value["Params"].isNull())
|
||||
credentialsObject.params = value["Params"].asString();
|
||||
credentials_.push_back(credentialsObject);
|
||||
}
|
||||
if(!value["TrackId"].isNull())
|
||||
trackId_ = value["TrackId"].asString();
|
||||
if(!value["AuditStatus"].isNull())
|
||||
auditStatus_ = std::stoi(value["AuditStatus"].asString());
|
||||
|
||||
}
|
||||
|
||||
int QueryQualificationDetailResult::getAuditStatus()const
|
||||
{
|
||||
return auditStatus_;
|
||||
}
|
||||
|
||||
std::vector<QueryQualificationDetailResult::QualificationCredential> QueryQualificationDetailResult::getCredentials()const
|
||||
{
|
||||
return credentials_;
|
||||
}
|
||||
|
||||
std::string QueryQualificationDetailResult::getTrackId()const
|
||||
{
|
||||
return trackId_;
|
||||
}
|
||||
|
||||
60
domain/src/model/QueryServerLockRequest.cc
Normal file
60
domain/src/model/QueryServerLockRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryServerLockRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryServerLockRequest;
|
||||
|
||||
QueryServerLockRequest::QueryServerLockRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryServerLock")
|
||||
{}
|
||||
|
||||
QueryServerLockRequest::~QueryServerLockRequest()
|
||||
{}
|
||||
|
||||
std::string QueryServerLockRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void QueryServerLockRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QueryServerLockRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryServerLockRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryServerLockRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryServerLockRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
115
domain/src/model/QueryServerLockResult.cc
Normal file
115
domain/src/model/QueryServerLockResult.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/QueryServerLockResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryServerLockResult::QueryServerLockResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryServerLockResult::QueryServerLockResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryServerLockResult::~QueryServerLockResult()
|
||||
{}
|
||||
|
||||
void QueryServerLockResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
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["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DomainInstanceId"].isNull())
|
||||
domainInstanceId_ = value["DomainInstanceId"].asString();
|
||||
if(!value["LockProductId"].isNull())
|
||||
lockProductId_ = value["LockProductId"].asString();
|
||||
if(!value["StartDate"].isNull())
|
||||
startDate_ = value["StartDate"].asString();
|
||||
if(!value["ExpireDate"].isNull())
|
||||
expireDate_ = value["ExpireDate"].asString();
|
||||
if(!value["LockInstanceId"].isNull())
|
||||
lockInstanceId_ = value["LockInstanceId"].asString();
|
||||
if(!value["ServerLockStatus"].isNull())
|
||||
serverLockStatus_ = std::stoi(value["ServerLockStatus"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getGmtCreate()const
|
||||
{
|
||||
return gmtCreate_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getExpireDate()const
|
||||
{
|
||||
return expireDate_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getGmtModified()const
|
||||
{
|
||||
return gmtModified_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getDomainInstanceId()const
|
||||
{
|
||||
return domainInstanceId_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getLockInstanceId()const
|
||||
{
|
||||
return lockInstanceId_;
|
||||
}
|
||||
|
||||
int QueryServerLockResult::getServerLockStatus()const
|
||||
{
|
||||
return serverLockStatus_;
|
||||
}
|
||||
|
||||
std::string QueryServerLockResult::getLockProductId()const
|
||||
{
|
||||
return lockProductId_;
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void QueryTaskDetailListRequest::setInstanceId(const std::string& instanceId)
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QueryTaskDetailListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryTaskDetailListRequest::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
@@ -80,6 +69,17 @@ void QueryTaskDetailListRequest::setDomainName(const std::string& domainName)
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryTaskDetailListRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryTaskDetailListRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
int QueryTaskDetailListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
|
||||
71
domain/src/model/ResetQualificationVerificationRequest.cc
Normal file
71
domain/src/model/ResetQualificationVerificationRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ResetQualificationVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::ResetQualificationVerificationRequest;
|
||||
|
||||
ResetQualificationVerificationRequest::ResetQualificationVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "ResetQualificationVerification")
|
||||
{}
|
||||
|
||||
ResetQualificationVerificationRequest::~ResetQualificationVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ResetQualificationVerificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void ResetQualificationVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void ResetQualificationVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string ResetQualificationVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ResetQualificationVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
domain/src/model/ResetQualificationVerificationResult.cc
Normal file
45
domain/src/model/ResetQualificationVerificationResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/ResetQualificationVerificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
ResetQualificationVerificationResult::ResetQualificationVerificationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ResetQualificationVerificationResult::ResetQualificationVerificationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ResetQualificationVerificationResult::~ResetQualificationVerificationResult()
|
||||
{}
|
||||
|
||||
void ResetQualificationVerificationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,17 @@ void SaveBatchDomainRemarkRequest::setInstanceIds(const std::string& instanceIds
|
||||
setParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
std::string SaveBatchDomainRemarkRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveBatchDomainRemarkRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveBatchDomainRemarkRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
|
||||
@@ -37,31 +37,32 @@ void SaveBatchTaskForCreatingOrderActivateRequest::setOrderActivateParam(const s
|
||||
for(int i = 0; i!= orderActivateParam.size(); i++) {
|
||||
auto obj = orderActivateParam.at(i);
|
||||
std::string str ="OrderActivateParam."+ std::to_string(i);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".SubscriptionDuration", std::to_string(obj.subscriptionDuration));
|
||||
setParameter(str + ".RegistrantProfileId", std::to_string(obj.registrantProfileId));
|
||||
setParameter(str + ".EnableDomainProxy", std::to_string(obj.enableDomainProxy));
|
||||
setParameter(str + ".PermitPremiumActivation", std::to_string(obj.permitPremiumActivation));
|
||||
setParameter(str + ".AliyunDns", std::to_string(obj.aliyunDns));
|
||||
setParameter(str + ".Dns1", obj.dns1);
|
||||
setParameter(str + ".Dns2", obj.dns2);
|
||||
setParameter(str + ".ZhCity", obj.zhCity);
|
||||
setParameter(str + ".ZhRegistrantOrganization", obj.zhRegistrantOrganization);
|
||||
setParameter(str + ".Country", obj.country);
|
||||
setParameter(str + ".ZhRegistrantName", obj.zhRegistrantName);
|
||||
setParameter(str + ".ZhProvince", obj.zhProvince);
|
||||
setParameter(str + ".ZhAddress", obj.zhAddress);
|
||||
setParameter(str + ".SubscriptionDuration", std::to_string(obj.subscriptionDuration));
|
||||
setParameter(str + ".PermitPremiumActivation", std::to_string(obj.permitPremiumActivation));
|
||||
setParameter(str + ".City", obj.city);
|
||||
setParameter(str + ".RegistrantOrganization", obj.registrantOrganization);
|
||||
setParameter(str + ".RegistrantName", obj.registrantName);
|
||||
setParameter(str + ".Province", obj.province);
|
||||
setParameter(str + ".Address", obj.address);
|
||||
setParameter(str + ".Email", obj.email);
|
||||
setParameter(str + ".PostalCode", obj.postalCode);
|
||||
setParameter(str + ".TelArea", obj.telArea);
|
||||
setParameter(str + ".Telephone", obj.telephone);
|
||||
setParameter(str + ".Dns2", obj.dns2);
|
||||
setParameter(str + ".Dns1", obj.dns1);
|
||||
setParameter(str + ".RegistrantProfileId", std::to_string(obj.registrantProfileId));
|
||||
setParameter(str + ".AliyunDns", std::to_string(obj.aliyunDns));
|
||||
setParameter(str + ".ZhCity", obj.zhCity);
|
||||
setParameter(str + ".TelExt", obj.telExt);
|
||||
setParameter(str + ".ZhRegistrantName", obj.zhRegistrantName);
|
||||
setParameter(str + ".Province", obj.province);
|
||||
setParameter(str + ".PostalCode", obj.postalCode);
|
||||
setParameter(str + ".Email", obj.email);
|
||||
setParameter(str + ".ZhRegistrantOrganization", obj.zhRegistrantOrganization);
|
||||
setParameter(str + ".Address", obj.address);
|
||||
setParameter(str + ".TelArea", obj.telArea);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".ZhAddress", obj.zhAddress);
|
||||
setParameter(str + ".RegistrantType", obj.registrantType);
|
||||
setParameter(str + ".Telephone", obj.telephone);
|
||||
setParameter(str + ".TrademarkDomainActivation", std::to_string(obj.trademarkDomainActivation));
|
||||
setParameter(str + ".ZhProvince", obj.zhProvince);
|
||||
setParameter(str + ".RegistrantOrganization", obj.registrantOrganization);
|
||||
setParameter(str + ".EnableDomainProxy", std::to_string(obj.enableDomainProxy));
|
||||
setParameter(str + ".RegistrantName", obj.registrantName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ void SaveBatchTaskForCreatingOrderRedeemRequest::setOrderRedeemParam(const std::
|
||||
for(int i = 0; i!= orderRedeemParam.size(); i++) {
|
||||
auto obj = orderRedeemParam.at(i);
|
||||
std::string str ="OrderRedeemParam."+ std::to_string(i);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".CurrentExpirationDate", std::to_string(obj.currentExpirationDate));
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,9 +48,9 @@ void SaveBatchTaskForCreatingOrderRenewRequest::setOrderRenewParam(const std::ve
|
||||
for(int i = 0; i!= orderRenewParam.size(); i++) {
|
||||
auto obj = orderRenewParam.at(i);
|
||||
std::string str ="OrderRenewParam."+ std::to_string(i);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".CurrentExpirationDate", std::to_string(obj.currentExpirationDate));
|
||||
setParameter(str + ".SubscriptionDuration", std::to_string(obj.subscriptionDuration));
|
||||
setParameter(str + ".CurrentExpirationDate", std::to_string(obj.currentExpirationDate));
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@ void SaveBatchTaskForCreatingOrderTransferRequest::setOrderTransferParam(const s
|
||||
for(int i = 0; i!= orderTransferParam.size(); i++) {
|
||||
auto obj = orderTransferParam.at(i);
|
||||
std::string str ="OrderTransferParam."+ std::to_string(i);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".AuthorizationCode", obj.authorizationCode);
|
||||
setParameter(str + ".RegistrantProfileId", std::to_string(obj.registrantProfileId));
|
||||
setParameter(str + ".PermitPremiumTransfer", std::to_string(obj.permitPremiumTransfer));
|
||||
setParameter(str + ".AuthorizationCode", obj.authorizationCode);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".RegistrantProfileId", std::to_string(obj.registrantProfileId));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
71
domain/src/model/SaveSingleTaskForAssociatingEnsRequest.cc
Normal file
71
domain/src/model/SaveSingleTaskForAssociatingEnsRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveSingleTaskForAssociatingEnsRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SaveSingleTaskForAssociatingEnsRequest;
|
||||
|
||||
SaveSingleTaskForAssociatingEnsRequest::SaveSingleTaskForAssociatingEnsRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "SaveSingleTaskForAssociatingEns")
|
||||
{}
|
||||
|
||||
SaveSingleTaskForAssociatingEnsRequest::~SaveSingleTaskForAssociatingEnsRequest()
|
||||
{}
|
||||
|
||||
std::string SaveSingleTaskForAssociatingEnsRequest::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForAssociatingEnsRequest::setAddress(const std::string& address)
|
||||
{
|
||||
address_ = address;
|
||||
setParameter("Address", address);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForAssociatingEnsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForAssociatingEnsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForAssociatingEnsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForAssociatingEnsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForAssociatingEnsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForAssociatingEnsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/SaveSingleTaskForAssociatingEnsResult.cc
Normal file
52
domain/src/model/SaveSingleTaskForAssociatingEnsResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveSingleTaskForAssociatingEnsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SaveSingleTaskForAssociatingEnsResult::SaveSingleTaskForAssociatingEnsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SaveSingleTaskForAssociatingEnsResult::SaveSingleTaskForAssociatingEnsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SaveSingleTaskForAssociatingEnsResult::~SaveSingleTaskForAssociatingEnsResult()
|
||||
{}
|
||||
|
||||
void SaveSingleTaskForAssociatingEnsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForAssociatingEnsResult::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,17 @@ void SaveSingleTaskForCreatingDnsHostRequest::setDnsName(const std::string& dnsN
|
||||
setParameter("DnsName", dnsName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForCreatingDnsHostRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForCreatingDnsHostRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForCreatingDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -267,6 +267,17 @@ void SaveSingleTaskForCreatingOrderActivateRequest::setTelephone(const std::stri
|
||||
setParameter("Telephone", telephone);
|
||||
}
|
||||
|
||||
bool SaveSingleTaskForCreatingOrderActivateRequest::getTrademarkDomainActivation()const
|
||||
{
|
||||
return trademarkDomainActivation_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForCreatingOrderActivateRequest::setTrademarkDomainActivation(bool trademarkDomainActivation)
|
||||
{
|
||||
trademarkDomainActivation_ = trademarkDomainActivation;
|
||||
setParameter("TrademarkDomainActivation", std::to_string(trademarkDomainActivation));
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForCreatingOrderActivateRequest::getZhProvince()const
|
||||
{
|
||||
return zhProvince_;
|
||||
|
||||
@@ -47,6 +47,17 @@ void SaveSingleTaskForDeletingDnsHostRequest::setDnsName(const std::string& dnsN
|
||||
setParameter("DnsName", dnsName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDeletingDnsHostRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDeletingDnsHostRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDeletingDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveSingleTaskForDisassociatingEnsRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SaveSingleTaskForDisassociatingEnsRequest;
|
||||
|
||||
SaveSingleTaskForDisassociatingEnsRequest::SaveSingleTaskForDisassociatingEnsRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "SaveSingleTaskForDisassociatingEns")
|
||||
{}
|
||||
|
||||
SaveSingleTaskForDisassociatingEnsRequest::~SaveSingleTaskForDisassociatingEnsRequest()
|
||||
{}
|
||||
|
||||
std::string SaveSingleTaskForDisassociatingEnsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDisassociatingEnsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDisassociatingEnsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDisassociatingEnsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDisassociatingEnsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDisassociatingEnsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/SaveSingleTaskForDisassociatingEnsResult.cc
Normal file
52
domain/src/model/SaveSingleTaskForDisassociatingEnsResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/SaveSingleTaskForDisassociatingEnsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SaveSingleTaskForDisassociatingEnsResult::SaveSingleTaskForDisassociatingEnsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SaveSingleTaskForDisassociatingEnsResult::SaveSingleTaskForDisassociatingEnsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SaveSingleTaskForDisassociatingEnsResult::~SaveSingleTaskForDisassociatingEnsResult()
|
||||
{}
|
||||
|
||||
void SaveSingleTaskForDisassociatingEnsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskNo"].isNull())
|
||||
taskNo_ = value["TaskNo"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDisassociatingEnsResult::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,17 @@ void SaveSingleTaskForModifyingDnsHostRequest::setDnsName(const std::string& dns
|
||||
setParameter("DnsName", dnsName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForModifyingDnsHostRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForModifyingDnsHostRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForModifyingDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
@@ -36,6 +36,17 @@ void SaveSingleTaskForSynchronizingDnsHostRequest::setInstanceId(const std::stri
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForSynchronizingDnsHostRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForSynchronizingDnsHostRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForSynchronizingDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
|
||||
Reference in New Issue
Block a user