DOMAIN SDK Auto Released By huizeng.zh,Version:1.18.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
82
domain/src/model/CancelDomainVerificationRequest.cc
Normal file
82
domain/src/model/CancelDomainVerificationRequest.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/CancelDomainVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::CancelDomainVerificationRequest;
|
||||
|
||||
CancelDomainVerificationRequest::CancelDomainVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "CancelDomainVerification")
|
||||
{}
|
||||
|
||||
CancelDomainVerificationRequest::~CancelDomainVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getActionType()const
|
||||
{
|
||||
return actionType_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setActionType(const std::string& actionType)
|
||||
{
|
||||
actionType_ = actionType;
|
||||
setParameter("ActionType", actionType);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CancelDomainVerificationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelDomainVerificationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
domain/src/model/CancelDomainVerificationResult.cc
Normal file
45
domain/src/model/CancelDomainVerificationResult.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/CancelDomainVerificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
CancelDomainVerificationResult::CancelDomainVerificationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelDomainVerificationResult::CancelDomainVerificationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelDomainVerificationResult::~CancelDomainVerificationResult()
|
||||
{}
|
||||
|
||||
void CancelDomainVerificationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -81,6 +81,14 @@ void QueryDomainByInstanceIdResult::parse(const std::string &payload)
|
||||
registrantType_ = value["RegistrantType"].asString();
|
||||
if(!value["DomainNameVerificationStatus"].isNull())
|
||||
domainNameVerificationStatus_ = value["DomainNameVerificationStatus"].asString();
|
||||
if(!value["ZhRegistrantOrganization"].isNull())
|
||||
zhRegistrantOrganization_ = value["ZhRegistrantOrganization"].asString();
|
||||
if(!value["ZhRegistrantName"].isNull())
|
||||
zhRegistrantName_ = value["ZhRegistrantName"].asString();
|
||||
if(!value["RegistrationDateLong"].isNull())
|
||||
registrationDateLong_ = std::stol(value["RegistrationDateLong"].asString());
|
||||
if(!value["ExpirationDateLong"].isNull())
|
||||
expirationDateLong_ = std::stol(value["ExpirationDateLong"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -104,6 +112,11 @@ std::string QueryDomainByInstanceIdResult::getRegistrationDate()const
|
||||
return registrationDate_;
|
||||
}
|
||||
|
||||
long QueryDomainByInstanceIdResult::getRegistrationDateLong()const
|
||||
{
|
||||
return registrationDateLong_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -119,6 +132,11 @@ std::string QueryDomainByInstanceIdResult::getRealNameStatus()const
|
||||
return realNameStatus_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getZhRegistrantName()const
|
||||
{
|
||||
return zhRegistrantName_;
|
||||
}
|
||||
|
||||
bool QueryDomainByInstanceIdResult::getPremium()const
|
||||
{
|
||||
return premium_;
|
||||
@@ -129,6 +147,11 @@ std::string QueryDomainByInstanceIdResult::getDomainNameVerificationStatus()cons
|
||||
return domainNameVerificationStatus_;
|
||||
}
|
||||
|
||||
long QueryDomainByInstanceIdResult::getExpirationDateLong()const
|
||||
{
|
||||
return expirationDateLong_;
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryDomainByInstanceIdResult::getDnsList()const
|
||||
{
|
||||
return dnsList_;
|
||||
@@ -154,6 +177,11 @@ std::string QueryDomainByInstanceIdResult::getUserId()const
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainByInstanceIdResult::getZhRegistrantOrganization()const
|
||||
{
|
||||
return zhRegistrantOrganization_;
|
||||
}
|
||||
|
||||
bool QueryDomainByInstanceIdResult::getEmailVerificationClientHold()const
|
||||
{
|
||||
return emailVerificationClientHold_;
|
||||
|
||||
@@ -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/QueryDomainRealNameVerificationInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryDomainRealNameVerificationInfoRequest;
|
||||
|
||||
QueryDomainRealNameVerificationInfoRequest::QueryDomainRealNameVerificationInfoRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryDomainRealNameVerificationInfo")
|
||||
{}
|
||||
|
||||
QueryDomainRealNameVerificationInfoRequest::~QueryDomainRealNameVerificationInfoRequest()
|
||||
{}
|
||||
|
||||
bool QueryDomainRealNameVerificationInfoRequest::getFetchImage()const
|
||||
{
|
||||
return fetchImage_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setFetchImage(bool fetchImage)
|
||||
{
|
||||
fetchImage_ = fetchImage;
|
||||
setParameter("FetchImage", std::to_string(fetchImage));
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -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/QueryDomainRealNameVerificationInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryDomainRealNameVerificationInfoResult::QueryDomainRealNameVerificationInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryDomainRealNameVerificationInfoResult::QueryDomainRealNameVerificationInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryDomainRealNameVerificationInfoResult::~QueryDomainRealNameVerificationInfoResult()
|
||||
{}
|
||||
|
||||
void QueryDomainRealNameVerificationInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SubmissionDate"].isNull())
|
||||
submissionDate_ = value["SubmissionDate"].asString();
|
||||
if(!value["IdentityCredential"].isNull())
|
||||
identityCredential_ = value["IdentityCredential"].asString();
|
||||
if(!value["IdentityCredentialNo"].isNull())
|
||||
identityCredentialNo_ = value["IdentityCredentialNo"].asString();
|
||||
if(!value["IdentityCredentialType"].isNull())
|
||||
identityCredentialType_ = value["IdentityCredentialType"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["IdentityCredentialUrl"].isNull())
|
||||
identityCredentialUrl_ = value["IdentityCredentialUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getIdentityCredentialType()const
|
||||
{
|
||||
return identityCredentialType_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getIdentityCredential()const
|
||||
{
|
||||
return identityCredential_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getSubmissionDate()const
|
||||
{
|
||||
return submissionDate_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getIdentityCredentialNo()const
|
||||
{
|
||||
return identityCredentialNo_;
|
||||
}
|
||||
|
||||
std::string QueryDomainRealNameVerificationInfoResult::getIdentityCredentialUrl()const
|
||||
{
|
||||
return identityCredentialUrl_;
|
||||
}
|
||||
|
||||
49
domain/src/model/QueryEmailVerificationRequest.cc
Normal file
49
domain/src/model/QueryEmailVerificationRequest.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/QueryEmailVerificationRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::QueryEmailVerificationRequest;
|
||||
|
||||
QueryEmailVerificationRequest::QueryEmailVerificationRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "QueryEmailVerification")
|
||||
{}
|
||||
|
||||
QueryEmailVerificationRequest::~QueryEmailVerificationRequest()
|
||||
{}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationRequest::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
}
|
||||
|
||||
void QueryEmailVerificationRequest::setEmail(const std::string& email)
|
||||
{
|
||||
email_ = email;
|
||||
setParameter("Email", email);
|
||||
}
|
||||
|
||||
115
domain/src/model/QueryEmailVerificationResult.cc
Normal file
115
domain/src/model/QueryEmailVerificationResult.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/QueryEmailVerificationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
QueryEmailVerificationResult::QueryEmailVerificationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryEmailVerificationResult::QueryEmailVerificationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryEmailVerificationResult::~QueryEmailVerificationResult()
|
||||
{}
|
||||
|
||||
void QueryEmailVerificationResult::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["Email"].isNull())
|
||||
email_ = value["Email"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
userId_ = value["UserId"].asString();
|
||||
if(!value["EmailVerificationNo"].isNull())
|
||||
emailVerificationNo_ = value["EmailVerificationNo"].asString();
|
||||
if(!value["TokenSendTime"].isNull())
|
||||
tokenSendTime_ = value["TokenSendTime"].asString();
|
||||
if(!value["VerificationStatus"].isNull())
|
||||
verificationStatus_ = std::stoi(value["VerificationStatus"].asString());
|
||||
if(!value["VerificationTime"].isNull())
|
||||
verificationTime_ = value["VerificationTime"].asString();
|
||||
if(!value["SendIp"].isNull())
|
||||
sendIp_ = value["SendIp"].asString();
|
||||
if(!value["ConfirmIp"].isNull())
|
||||
confirmIp_ = value["ConfirmIp"].asString();
|
||||
|
||||
}
|
||||
|
||||
int QueryEmailVerificationResult::getVerificationStatus()const
|
||||
{
|
||||
return verificationStatus_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getGmtCreate()const
|
||||
{
|
||||
return gmtCreate_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getEmail()const
|
||||
{
|
||||
return email_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getEmailVerificationNo()const
|
||||
{
|
||||
return emailVerificationNo_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getConfirmIp()const
|
||||
{
|
||||
return confirmIp_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getGmtModified()const
|
||||
{
|
||||
return gmtModified_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getSendIp()const
|
||||
{
|
||||
return sendIp_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getVerificationTime()const
|
||||
{
|
||||
return verificationTime_;
|
||||
}
|
||||
|
||||
std::string QueryEmailVerificationResult::getTokenSendTime()const
|
||||
{
|
||||
return tokenSendTime_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,8 @@ void QueryRegistrantProfileRealNameVerificationInfoResult::parse(const std::stri
|
||||
identityCredentialNo_ = value["IdentityCredentialNo"].asString();
|
||||
if(!value["IdentityCredentialType"].isNull())
|
||||
identityCredentialType_ = value["IdentityCredentialType"].asString();
|
||||
if(!value["IdentityCredentialUrl"].isNull())
|
||||
identityCredentialUrl_ = value["IdentityCredentialUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -85,3 +87,8 @@ long QueryRegistrantProfileRealNameVerificationInfoResult::getRegistrantProfileI
|
||||
return registrantProfileId_;
|
||||
}
|
||||
|
||||
std::string QueryRegistrantProfileRealNameVerificationInfoResult::getIdentityCredentialUrl()const
|
||||
{
|
||||
return identityCredentialUrl_;
|
||||
}
|
||||
|
||||
|
||||
60
domain/src/model/SaveSingleTaskForDeletingDnsHostRequest.cc
Normal file
60
domain/src/model/SaveSingleTaskForDeletingDnsHostRequest.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/SaveSingleTaskForDeletingDnsHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Domain::Model::SaveSingleTaskForDeletingDnsHostRequest;
|
||||
|
||||
SaveSingleTaskForDeletingDnsHostRequest::SaveSingleTaskForDeletingDnsHostRequest() :
|
||||
RpcServiceRequest("domain", "2018-01-29", "SaveSingleTaskForDeletingDnsHost")
|
||||
{}
|
||||
|
||||
SaveSingleTaskForDeletingDnsHostRequest::~SaveSingleTaskForDeletingDnsHostRequest()
|
||||
{}
|
||||
|
||||
std::string SaveSingleTaskForDeletingDnsHostRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDeletingDnsHostRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDeletingDnsHostRequest::getDnsName()const
|
||||
{
|
||||
return dnsName_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDeletingDnsHostRequest::setDnsName(const std::string& dnsName)
|
||||
{
|
||||
dnsName_ = dnsName;
|
||||
setParameter("DnsName", dnsName);
|
||||
}
|
||||
|
||||
std::string SaveSingleTaskForDeletingDnsHostRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void SaveSingleTaskForDeletingDnsHostRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
52
domain/src/model/SaveSingleTaskForDeletingDnsHostResult.cc
Normal file
52
domain/src/model/SaveSingleTaskForDeletingDnsHostResult.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/SaveSingleTaskForDeletingDnsHostResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
|
||||
SaveSingleTaskForDeletingDnsHostResult::SaveSingleTaskForDeletingDnsHostResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SaveSingleTaskForDeletingDnsHostResult::SaveSingleTaskForDeletingDnsHostResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SaveSingleTaskForDeletingDnsHostResult::~SaveSingleTaskForDeletingDnsHostResult()
|
||||
{}
|
||||
|
||||
void SaveSingleTaskForDeletingDnsHostResult::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 SaveSingleTaskForDeletingDnsHostResult::getTaskNo()const
|
||||
{
|
||||
return taskNo_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user