Supported sorting for DescribeDnsProduceInstances.
This commit is contained in:
@@ -2427,6 +2427,42 @@ AlidnsClient::DescribeDomainRecordsOutcomeCallable AlidnsClient::describeDomainR
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDomainResolveStatisticsSummaryOutcome AlidnsClient::describeDomainResolveStatisticsSummary(const DescribeDomainResolveStatisticsSummaryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainResolveStatisticsSummaryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainResolveStatisticsSummaryOutcome(DescribeDomainResolveStatisticsSummaryResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainResolveStatisticsSummaryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeDomainResolveStatisticsSummaryAsync(const DescribeDomainResolveStatisticsSummaryRequest& request, const DescribeDomainResolveStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainResolveStatisticsSummary(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDomainResolveStatisticsSummaryOutcomeCallable AlidnsClient::describeDomainResolveStatisticsSummaryCallable(const DescribeDomainResolveStatisticsSummaryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainResolveStatisticsSummaryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainResolveStatisticsSummary(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDomainStatisticsOutcome AlidnsClient::describeDomainStatistics(const DescribeDomainStatisticsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3147,6 +3183,150 @@ AlidnsClient::DescribeInstanceDomainsOutcomeCallable AlidnsClient::describeInsta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheInstancesOutcome AlidnsClient::describeIspFlushCacheInstances(const DescribeIspFlushCacheInstancesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeIspFlushCacheInstancesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeIspFlushCacheInstancesOutcome(DescribeIspFlushCacheInstancesResult(outcome.result()));
|
||||
else
|
||||
return DescribeIspFlushCacheInstancesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeIspFlushCacheInstancesAsync(const DescribeIspFlushCacheInstancesRequest& request, const DescribeIspFlushCacheInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeIspFlushCacheInstances(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheInstancesOutcomeCallable AlidnsClient::describeIspFlushCacheInstancesCallable(const DescribeIspFlushCacheInstancesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeIspFlushCacheInstancesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeIspFlushCacheInstances(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheRemainQuotaOutcome AlidnsClient::describeIspFlushCacheRemainQuota(const DescribeIspFlushCacheRemainQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeIspFlushCacheRemainQuotaOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeIspFlushCacheRemainQuotaOutcome(DescribeIspFlushCacheRemainQuotaResult(outcome.result()));
|
||||
else
|
||||
return DescribeIspFlushCacheRemainQuotaOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeIspFlushCacheRemainQuotaAsync(const DescribeIspFlushCacheRemainQuotaRequest& request, const DescribeIspFlushCacheRemainQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeIspFlushCacheRemainQuota(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheRemainQuotaOutcomeCallable AlidnsClient::describeIspFlushCacheRemainQuotaCallable(const DescribeIspFlushCacheRemainQuotaRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeIspFlushCacheRemainQuotaOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeIspFlushCacheRemainQuota(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheTaskOutcome AlidnsClient::describeIspFlushCacheTask(const DescribeIspFlushCacheTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeIspFlushCacheTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeIspFlushCacheTaskOutcome(DescribeIspFlushCacheTaskResult(outcome.result()));
|
||||
else
|
||||
return DescribeIspFlushCacheTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeIspFlushCacheTaskAsync(const DescribeIspFlushCacheTaskRequest& request, const DescribeIspFlushCacheTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeIspFlushCacheTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheTaskOutcomeCallable AlidnsClient::describeIspFlushCacheTaskCallable(const DescribeIspFlushCacheTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeIspFlushCacheTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeIspFlushCacheTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheTasksOutcome AlidnsClient::describeIspFlushCacheTasks(const DescribeIspFlushCacheTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeIspFlushCacheTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeIspFlushCacheTasksOutcome(DescribeIspFlushCacheTasksResult(outcome.result()));
|
||||
else
|
||||
return DescribeIspFlushCacheTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeIspFlushCacheTasksAsync(const DescribeIspFlushCacheTasksRequest& request, const DescribeIspFlushCacheTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeIspFlushCacheTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeIspFlushCacheTasksOutcomeCallable AlidnsClient::describeIspFlushCacheTasksCallable(const DescribeIspFlushCacheTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeIspFlushCacheTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeIspFlushCacheTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribePdnsAccountSummaryOutcome AlidnsClient::describePdnsAccountSummary(const DescribePdnsAccountSummaryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3579,6 +3759,42 @@ AlidnsClient::DescribeRecordLogsOutcomeCallable AlidnsClient::describeRecordLogs
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeRecordResolveStatisticsSummaryOutcome AlidnsClient::describeRecordResolveStatisticsSummary(const DescribeRecordResolveStatisticsSummaryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRecordResolveStatisticsSummaryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRecordResolveStatisticsSummaryOutcome(DescribeRecordResolveStatisticsSummaryResult(outcome.result()));
|
||||
else
|
||||
return DescribeRecordResolveStatisticsSummaryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeRecordResolveStatisticsSummaryAsync(const DescribeRecordResolveStatisticsSummaryRequest& request, const DescribeRecordResolveStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRecordResolveStatisticsSummary(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeRecordResolveStatisticsSummaryOutcomeCallable AlidnsClient::describeRecordResolveStatisticsSummaryCallable(const DescribeRecordResolveStatisticsSummaryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRecordResolveStatisticsSummaryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRecordResolveStatisticsSummary(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeRecordStatisticsOutcome AlidnsClient::describeRecordStatistics(const DescribeRecordStatisticsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4587,6 +4803,42 @@ AlidnsClient::SetGtmMonitorStatusOutcomeCallable AlidnsClient::setGtmMonitorStat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::SubmitIspFlushCacheTaskOutcome AlidnsClient::submitIspFlushCacheTask(const SubmitIspFlushCacheTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SubmitIspFlushCacheTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SubmitIspFlushCacheTaskOutcome(SubmitIspFlushCacheTaskResult(outcome.result()));
|
||||
else
|
||||
return SubmitIspFlushCacheTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::submitIspFlushCacheTaskAsync(const SubmitIspFlushCacheTaskRequest& request, const SubmitIspFlushCacheTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, submitIspFlushCacheTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::SubmitIspFlushCacheTaskOutcomeCallable AlidnsClient::submitIspFlushCacheTaskCallable(const SubmitIspFlushCacheTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SubmitIspFlushCacheTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->submitIspFlushCacheTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::SwitchDnsGtmInstanceStrategyModeOutcome AlidnsClient::switchDnsGtmInstanceStrategyMode(const SwitchDnsGtmInstanceStrategyModeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5415,6 +5667,42 @@ AlidnsClient::UpdateGtmRecoveryPlanOutcomeCallable AlidnsClient::updateGtmRecove
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateIspFlushCacheInstanceConfigOutcome AlidnsClient::updateIspFlushCacheInstanceConfig(const UpdateIspFlushCacheInstanceConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateIspFlushCacheInstanceConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateIspFlushCacheInstanceConfigOutcome(UpdateIspFlushCacheInstanceConfigResult(outcome.result()));
|
||||
else
|
||||
return UpdateIspFlushCacheInstanceConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::updateIspFlushCacheInstanceConfigAsync(const UpdateIspFlushCacheInstanceConfigRequest& request, const UpdateIspFlushCacheInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateIspFlushCacheInstanceConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateIspFlushCacheInstanceConfigOutcomeCallable AlidnsClient::updateIspFlushCacheInstanceConfigCallable(const UpdateIspFlushCacheInstanceConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateIspFlushCacheInstanceConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateIspFlushCacheInstanceConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::ValidateDnsGtmCnameRrCanUseOutcome AlidnsClient::validateDnsGtmCnameRrCanUse(const ValidateDnsGtmCnameRrCanUseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,89 +1,77 @@
|
||||
/*
|
||||
* 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/alidns/model/AddCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddCustomLineRequest;
|
||||
|
||||
AddCustomLineRequest::AddCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomLineRequest::~AddCustomLineRequest()
|
||||
{}
|
||||
|
||||
std::string AddCustomLineRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddCustomLineRequest;
|
||||
|
||||
AddCustomLineRequest::AddCustomLineRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddCustomLine") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
AddCustomLineRequest::~AddCustomLineRequest() {}
|
||||
|
||||
std::string AddCustomLineRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::vector<AddCustomLineRequest::IpSegment> AddCustomLineRequest::getIpSegment()const
|
||||
{
|
||||
return ipSegment_;
|
||||
void AddCustomLineRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setIpSegment(const std::vector<IpSegment>& ipSegment)
|
||||
{
|
||||
ipSegment_ = ipSegment;
|
||||
for(int dep1 = 0; dep1!= ipSegment.size(); dep1++) {
|
||||
auto ipSegmentObj = ipSegment.at(dep1);
|
||||
std::string ipSegmentObjStr = "IpSegment." + std::to_string(dep1 + 1);
|
||||
setParameter(ipSegmentObjStr + ".EndIp", ipSegmentObj.endIp);
|
||||
setParameter(ipSegmentObjStr + ".StartIp", ipSegmentObj.startIp);
|
||||
}
|
||||
std::vector<AddCustomLineRequest::IpSegment> AddCustomLineRequest::getIpSegment() const {
|
||||
return ipSegment_;
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddCustomLineRequest::setIpSegment(const std::vector<AddCustomLineRequest::IpSegment> &ipSegment) {
|
||||
ipSegment_ = ipSegment;
|
||||
for(int dep1 = 0; dep1 != ipSegment.size(); dep1++) {
|
||||
auto ipSegmentObj = ipSegment.at(dep1);
|
||||
std::string ipSegmentObjStr = std::string("IpSegment") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(ipSegmentObjStr + ".EndIp", ipSegmentObj.endIp);
|
||||
setParameter(ipSegmentObjStr + ".StartIp", ipSegmentObj.startIp);
|
||||
}
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddCustomLineRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getLineName()const
|
||||
{
|
||||
return lineName_;
|
||||
void AddCustomLineRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLineName(const std::string& lineName)
|
||||
{
|
||||
lineName_ = lineName;
|
||||
setParameter("LineName", lineName);
|
||||
std::string AddCustomLineRequest::getLineName() const {
|
||||
return lineName_;
|
||||
}
|
||||
|
||||
std::string AddCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddCustomLineRequest::setLineName(const std::string &lineName) {
|
||||
lineName_ = lineName;
|
||||
setParameter(std::string("LineName"), lineName);
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddCustomLineRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddCustomLineRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,155 +1,131 @@
|
||||
/*
|
||||
* 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/alidns/model/AddDnsCacheDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsCacheDomainRequest;
|
||||
|
||||
AddDnsCacheDomainRequest::AddDnsCacheDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDnsCacheDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDnsCacheDomainRequest::~AddDnsCacheDomainRequest()
|
||||
{}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDnsCacheDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsCacheDomainRequest;
|
||||
|
||||
AddDnsCacheDomainRequest::AddDnsCacheDomainRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDnsCacheDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
AddDnsCacheDomainRequest::~AddDnsCacheDomainRequest() {}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddDnsCacheDomainRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddDnsCacheDomainRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getSourceProtocol()const
|
||||
{
|
||||
return sourceProtocol_;
|
||||
void AddDnsCacheDomainRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setSourceProtocol(const std::string& sourceProtocol)
|
||||
{
|
||||
sourceProtocol_ = sourceProtocol;
|
||||
setParameter("SourceProtocol", sourceProtocol);
|
||||
std::string AddDnsCacheDomainRequest::getSourceProtocol() const {
|
||||
return sourceProtocol_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDnsCacheDomainRequest::setSourceProtocol(const std::string &sourceProtocol) {
|
||||
sourceProtocol_ = sourceProtocol;
|
||||
setParameter(std::string("SourceProtocol"), sourceProtocol);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDnsCacheDomainRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddDnsCacheDomainRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddDnsCacheDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int AddDnsCacheDomainRequest::getCacheTtlMax()const
|
||||
{
|
||||
return cacheTtlMax_;
|
||||
void AddDnsCacheDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setCacheTtlMax(int cacheTtlMax)
|
||||
{
|
||||
cacheTtlMax_ = cacheTtlMax;
|
||||
setParameter("CacheTtlMax", std::to_string(cacheTtlMax));
|
||||
int AddDnsCacheDomainRequest::getCacheTtlMax() const {
|
||||
return cacheTtlMax_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void AddDnsCacheDomainRequest::setCacheTtlMax(int cacheTtlMax) {
|
||||
cacheTtlMax_ = cacheTtlMax;
|
||||
setParameter(std::string("CacheTtlMax"), std::to_string(cacheTtlMax));
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string AddDnsCacheDomainRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getSourceEdns()const
|
||||
{
|
||||
return sourceEdns_;
|
||||
void AddDnsCacheDomainRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setSourceEdns(const std::string& sourceEdns)
|
||||
{
|
||||
sourceEdns_ = sourceEdns;
|
||||
setParameter("SourceEdns", sourceEdns);
|
||||
std::string AddDnsCacheDomainRequest::getSourceEdns() const {
|
||||
return sourceEdns_;
|
||||
}
|
||||
|
||||
std::string AddDnsCacheDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDnsCacheDomainRequest::setSourceEdns(const std::string &sourceEdns) {
|
||||
sourceEdns_ = sourceEdns;
|
||||
setParameter(std::string("SourceEdns"), sourceEdns);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDnsCacheDomainRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int AddDnsCacheDomainRequest::getCacheTtlMin()const
|
||||
{
|
||||
return cacheTtlMin_;
|
||||
void AddDnsCacheDomainRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setCacheTtlMin(int cacheTtlMin)
|
||||
{
|
||||
cacheTtlMin_ = cacheTtlMin;
|
||||
setParameter("CacheTtlMin", std::to_string(cacheTtlMin));
|
||||
int AddDnsCacheDomainRequest::getCacheTtlMin() const {
|
||||
return cacheTtlMin_;
|
||||
}
|
||||
|
||||
std::vector<AddDnsCacheDomainRequest::SourceDnsServer> AddDnsCacheDomainRequest::getSourceDnsServer()const
|
||||
{
|
||||
return sourceDnsServer_;
|
||||
void AddDnsCacheDomainRequest::setCacheTtlMin(int cacheTtlMin) {
|
||||
cacheTtlMin_ = cacheTtlMin;
|
||||
setParameter(std::string("CacheTtlMin"), std::to_string(cacheTtlMin));
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setSourceDnsServer(const std::vector<SourceDnsServer>& sourceDnsServer)
|
||||
{
|
||||
sourceDnsServer_ = sourceDnsServer;
|
||||
for(int dep1 = 0; dep1!= sourceDnsServer.size(); dep1++) {
|
||||
auto sourceDnsServerObj = sourceDnsServer.at(dep1);
|
||||
std::string sourceDnsServerObjStr = "SourceDnsServer." + std::to_string(dep1 + 1);
|
||||
setParameter(sourceDnsServerObjStr + ".Port", sourceDnsServerObj.port);
|
||||
setParameter(sourceDnsServerObjStr + ".Host", sourceDnsServerObj.host);
|
||||
}
|
||||
std::vector<AddDnsCacheDomainRequest::SourceDnsServer> AddDnsCacheDomainRequest::getSourceDnsServer() const {
|
||||
return sourceDnsServer_;
|
||||
}
|
||||
|
||||
void AddDnsCacheDomainRequest::setSourceDnsServer(const std::vector<AddDnsCacheDomainRequest::SourceDnsServer> &sourceDnsServer) {
|
||||
sourceDnsServer_ = sourceDnsServer;
|
||||
for(int dep1 = 0; dep1 != sourceDnsServer.size(); dep1++) {
|
||||
auto sourceDnsServerObj = sourceDnsServer.at(dep1);
|
||||
std::string sourceDnsServerObjStr = std::string("SourceDnsServer") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(sourceDnsServerObjStr + ".Port", sourceDnsServerObj.port);
|
||||
setParameter(sourceDnsServerObjStr + ".Host", sourceDnsServerObj.host);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,237 +1,199 @@
|
||||
/*
|
||||
* 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/alidns/model/AddDnsGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsGtmAccessStrategyRequest;
|
||||
|
||||
AddDnsGtmAccessStrategyRequest::AddDnsGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDnsGtmAccessStrategy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDnsGtmAccessStrategyRequest::~AddDnsGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getDefaultLbaStrategy()const
|
||||
{
|
||||
return defaultLbaStrategy_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDnsGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsGtmAccessStrategyRequest;
|
||||
|
||||
AddDnsGtmAccessStrategyRequest::AddDnsGtmAccessStrategyRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDnsGtmAccessStrategy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultLbaStrategy(const std::string& defaultLbaStrategy)
|
||||
{
|
||||
defaultLbaStrategy_ = defaultLbaStrategy;
|
||||
setParameter("DefaultLbaStrategy", defaultLbaStrategy);
|
||||
AddDnsGtmAccessStrategyRequest::~AddDnsGtmAccessStrategyRequest() {}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getDefaultLbaStrategy() const {
|
||||
return defaultLbaStrategy_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getFailoverAddrPoolType()const
|
||||
{
|
||||
return failoverAddrPoolType_;
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultLbaStrategy(const std::string &defaultLbaStrategy) {
|
||||
defaultLbaStrategy_ = defaultLbaStrategy;
|
||||
setParameter(std::string("DefaultLbaStrategy"), defaultLbaStrategy);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverAddrPoolType(const std::string& failoverAddrPoolType)
|
||||
{
|
||||
failoverAddrPoolType_ = failoverAddrPoolType;
|
||||
setParameter("FailoverAddrPoolType", failoverAddrPoolType);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getFailoverAddrPoolType() const {
|
||||
return failoverAddrPoolType_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getDefaultAddrPoolType()const
|
||||
{
|
||||
return defaultAddrPoolType_;
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverAddrPoolType(const std::string &failoverAddrPoolType) {
|
||||
failoverAddrPoolType_ = failoverAddrPoolType;
|
||||
setParameter(std::string("FailoverAddrPoolType"), failoverAddrPoolType);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultAddrPoolType(const std::string& defaultAddrPoolType)
|
||||
{
|
||||
defaultAddrPoolType_ = defaultAddrPoolType;
|
||||
setParameter("DefaultAddrPoolType", defaultAddrPoolType);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getDefaultAddrPoolType() const {
|
||||
return defaultAddrPoolType_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAccessStrategyRequest::getFailoverMaxReturnAddrNum()const
|
||||
{
|
||||
return failoverMaxReturnAddrNum_;
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultAddrPoolType(const std::string &defaultAddrPoolType) {
|
||||
defaultAddrPoolType_ = defaultAddrPoolType;
|
||||
setParameter(std::string("DefaultAddrPoolType"), defaultAddrPoolType);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverMaxReturnAddrNum(int failoverMaxReturnAddrNum)
|
||||
{
|
||||
failoverMaxReturnAddrNum_ = failoverMaxReturnAddrNum;
|
||||
setParameter("FailoverMaxReturnAddrNum", std::to_string(failoverMaxReturnAddrNum));
|
||||
int AddDnsGtmAccessStrategyRequest::getFailoverMaxReturnAddrNum() const {
|
||||
return failoverMaxReturnAddrNum_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getFailoverLbaStrategy()const
|
||||
{
|
||||
return failoverLbaStrategy_;
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverMaxReturnAddrNum(int failoverMaxReturnAddrNum) {
|
||||
failoverMaxReturnAddrNum_ = failoverMaxReturnAddrNum;
|
||||
setParameter(std::string("FailoverMaxReturnAddrNum"), std::to_string(failoverMaxReturnAddrNum));
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverLbaStrategy(const std::string& failoverLbaStrategy)
|
||||
{
|
||||
failoverLbaStrategy_ = failoverLbaStrategy;
|
||||
setParameter("FailoverLbaStrategy", failoverLbaStrategy);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getFailoverLbaStrategy() const {
|
||||
return failoverLbaStrategy_;
|
||||
}
|
||||
|
||||
std::vector<AddDnsGtmAccessStrategyRequest::DefaultAddrPool> AddDnsGtmAccessStrategyRequest::getDefaultAddrPool()const
|
||||
{
|
||||
return defaultAddrPool_;
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverLbaStrategy(const std::string &failoverLbaStrategy) {
|
||||
failoverLbaStrategy_ = failoverLbaStrategy;
|
||||
setParameter(std::string("FailoverLbaStrategy"), failoverLbaStrategy);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultAddrPool(const std::vector<DefaultAddrPool>& defaultAddrPool)
|
||||
{
|
||||
defaultAddrPool_ = defaultAddrPool;
|
||||
for(int dep1 = 0; dep1!= defaultAddrPool.size(); dep1++) {
|
||||
auto defaultAddrPoolObj = defaultAddrPool.at(dep1);
|
||||
std::string defaultAddrPoolObjStr = "DefaultAddrPool." + std::to_string(dep1 + 1);
|
||||
setParameter(defaultAddrPoolObjStr + ".Id", defaultAddrPoolObj.id);
|
||||
setParameter(defaultAddrPoolObjStr + ".LbaWeight", std::to_string(defaultAddrPoolObj.lbaWeight));
|
||||
}
|
||||
std::vector<AddDnsGtmAccessStrategyRequest::DefaultAddrPool> AddDnsGtmAccessStrategyRequest::getDefaultAddrPool() const {
|
||||
return defaultAddrPool_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAccessStrategyRequest::getFailoverMinAvailableAddrNum()const
|
||||
{
|
||||
return failoverMinAvailableAddrNum_;
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultAddrPool(const std::vector<AddDnsGtmAccessStrategyRequest::DefaultAddrPool> &defaultAddrPool) {
|
||||
defaultAddrPool_ = defaultAddrPool;
|
||||
for(int dep1 = 0; dep1 != defaultAddrPool.size(); dep1++) {
|
||||
auto defaultAddrPoolObj = defaultAddrPool.at(dep1);
|
||||
std::string defaultAddrPoolObjStr = std::string("DefaultAddrPool") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(defaultAddrPoolObjStr + ".Id", defaultAddrPoolObj.id);
|
||||
setParameter(defaultAddrPoolObjStr + ".LbaWeight", std::to_string(defaultAddrPoolObj.lbaWeight));
|
||||
}
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverMinAvailableAddrNum(int failoverMinAvailableAddrNum)
|
||||
{
|
||||
failoverMinAvailableAddrNum_ = failoverMinAvailableAddrNum;
|
||||
setParameter("FailoverMinAvailableAddrNum", std::to_string(failoverMinAvailableAddrNum));
|
||||
int AddDnsGtmAccessStrategyRequest::getFailoverMinAvailableAddrNum() const {
|
||||
return failoverMinAvailableAddrNum_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAccessStrategyRequest::getDefaultMaxReturnAddrNum()const
|
||||
{
|
||||
return defaultMaxReturnAddrNum_;
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverMinAvailableAddrNum(int failoverMinAvailableAddrNum) {
|
||||
failoverMinAvailableAddrNum_ = failoverMinAvailableAddrNum;
|
||||
setParameter(std::string("FailoverMinAvailableAddrNum"), std::to_string(failoverMinAvailableAddrNum));
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultMaxReturnAddrNum(int defaultMaxReturnAddrNum)
|
||||
{
|
||||
defaultMaxReturnAddrNum_ = defaultMaxReturnAddrNum;
|
||||
setParameter("DefaultMaxReturnAddrNum", std::to_string(defaultMaxReturnAddrNum));
|
||||
int AddDnsGtmAccessStrategyRequest::getDefaultMaxReturnAddrNum() const {
|
||||
return defaultMaxReturnAddrNum_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAccessStrategyRequest::getDefaultMinAvailableAddrNum()const
|
||||
{
|
||||
return defaultMinAvailableAddrNum_;
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultMaxReturnAddrNum(int defaultMaxReturnAddrNum) {
|
||||
defaultMaxReturnAddrNum_ = defaultMaxReturnAddrNum;
|
||||
setParameter(std::string("DefaultMaxReturnAddrNum"), std::to_string(defaultMaxReturnAddrNum));
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultMinAvailableAddrNum(int defaultMinAvailableAddrNum)
|
||||
{
|
||||
defaultMinAvailableAddrNum_ = defaultMinAvailableAddrNum;
|
||||
setParameter("DefaultMinAvailableAddrNum", std::to_string(defaultMinAvailableAddrNum));
|
||||
int AddDnsGtmAccessStrategyRequest::getDefaultMinAvailableAddrNum() const {
|
||||
return defaultMinAvailableAddrNum_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getStrategyMode()const
|
||||
{
|
||||
return strategyMode_;
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultMinAvailableAddrNum(int defaultMinAvailableAddrNum) {
|
||||
defaultMinAvailableAddrNum_ = defaultMinAvailableAddrNum;
|
||||
setParameter(std::string("DefaultMinAvailableAddrNum"), std::to_string(defaultMinAvailableAddrNum));
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setStrategyMode(const std::string& strategyMode)
|
||||
{
|
||||
strategyMode_ = strategyMode;
|
||||
setParameter("StrategyMode", strategyMode);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getStrategyMode() const {
|
||||
return strategyMode_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDnsGtmAccessStrategyRequest::setStrategyMode(const std::string &strategyMode) {
|
||||
strategyMode_ = strategyMode;
|
||||
setParameter(std::string("StrategyMode"), strategyMode);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getLines()const
|
||||
{
|
||||
return lines_;
|
||||
void AddDnsGtmAccessStrategyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setLines(const std::string& lines)
|
||||
{
|
||||
lines_ = lines;
|
||||
setParameter("Lines", lines);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getLines() const {
|
||||
return lines_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getStrategyName()const
|
||||
{
|
||||
return strategyName_;
|
||||
void AddDnsGtmAccessStrategyRequest::setLines(const std::string &lines) {
|
||||
lines_ = lines;
|
||||
setParameter(std::string("Lines"), lines);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setStrategyName(const std::string& strategyName)
|
||||
{
|
||||
strategyName_ = strategyName;
|
||||
setParameter("StrategyName", strategyName);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getStrategyName() const {
|
||||
return strategyName_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getDefaultLatencyOptimization()const
|
||||
{
|
||||
return defaultLatencyOptimization_;
|
||||
void AddDnsGtmAccessStrategyRequest::setStrategyName(const std::string &strategyName) {
|
||||
strategyName_ = strategyName;
|
||||
setParameter(std::string("StrategyName"), strategyName);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultLatencyOptimization(const std::string& defaultLatencyOptimization)
|
||||
{
|
||||
defaultLatencyOptimization_ = defaultLatencyOptimization;
|
||||
setParameter("DefaultLatencyOptimization", defaultLatencyOptimization);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getDefaultLatencyOptimization() const {
|
||||
return defaultLatencyOptimization_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void AddDnsGtmAccessStrategyRequest::setDefaultLatencyOptimization(const std::string &defaultLatencyOptimization) {
|
||||
defaultLatencyOptimization_ = defaultLatencyOptimization;
|
||||
setParameter(std::string("DefaultLatencyOptimization"), defaultLatencyOptimization);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getFailoverLatencyOptimization()const
|
||||
{
|
||||
return failoverLatencyOptimization_;
|
||||
void AddDnsGtmAccessStrategyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverLatencyOptimization(const std::string& failoverLatencyOptimization)
|
||||
{
|
||||
failoverLatencyOptimization_ = failoverLatencyOptimization;
|
||||
setParameter("FailoverLatencyOptimization", failoverLatencyOptimization);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getFailoverLatencyOptimization() const {
|
||||
return failoverLatencyOptimization_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAccessStrategyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverLatencyOptimization(const std::string &failoverLatencyOptimization) {
|
||||
failoverLatencyOptimization_ = failoverLatencyOptimization;
|
||||
setParameter(std::string("FailoverLatencyOptimization"), failoverLatencyOptimization);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDnsGtmAccessStrategyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::vector<AddDnsGtmAccessStrategyRequest::FailoverAddrPool> AddDnsGtmAccessStrategyRequest::getFailoverAddrPool()const
|
||||
{
|
||||
return failoverAddrPool_;
|
||||
void AddDnsGtmAccessStrategyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverAddrPool(const std::vector<FailoverAddrPool>& failoverAddrPool)
|
||||
{
|
||||
failoverAddrPool_ = failoverAddrPool;
|
||||
for(int dep1 = 0; dep1!= failoverAddrPool.size(); dep1++) {
|
||||
auto failoverAddrPoolObj = failoverAddrPool.at(dep1);
|
||||
std::string failoverAddrPoolObjStr = "FailoverAddrPool." + std::to_string(dep1 + 1);
|
||||
setParameter(failoverAddrPoolObjStr + ".Id", failoverAddrPoolObj.id);
|
||||
setParameter(failoverAddrPoolObjStr + ".LbaWeight", std::to_string(failoverAddrPoolObj.lbaWeight));
|
||||
}
|
||||
std::vector<AddDnsGtmAccessStrategyRequest::FailoverAddrPool> AddDnsGtmAccessStrategyRequest::getFailoverAddrPool() const {
|
||||
return failoverAddrPool_;
|
||||
}
|
||||
|
||||
void AddDnsGtmAccessStrategyRequest::setFailoverAddrPool(const std::vector<AddDnsGtmAccessStrategyRequest::FailoverAddrPool> &failoverAddrPool) {
|
||||
failoverAddrPool_ = failoverAddrPool;
|
||||
for(int dep1 = 0; dep1 != failoverAddrPool.size(); dep1++) {
|
||||
auto failoverAddrPoolObj = failoverAddrPool.at(dep1);
|
||||
std::string failoverAddrPoolObjStr = std::string("FailoverAddrPool") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(failoverAddrPoolObjStr + ".Id", failoverAddrPoolObj.id);
|
||||
setParameter(failoverAddrPoolObjStr + ".LbaWeight", std::to_string(failoverAddrPoolObj.lbaWeight));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,196 +1,166 @@
|
||||
/*
|
||||
* 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/alidns/model/AddDnsGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsGtmAddressPoolRequest;
|
||||
|
||||
AddDnsGtmAddressPoolRequest::AddDnsGtmAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDnsGtmAddressPool")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDnsGtmAddressPoolRequest::~AddDnsGtmAddressPoolRequest()
|
||||
{}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getMonitorExtendInfo()const
|
||||
{
|
||||
return monitorExtendInfo_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDnsGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsGtmAddressPoolRequest;
|
||||
|
||||
AddDnsGtmAddressPoolRequest::AddDnsGtmAddressPoolRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDnsGtmAddressPool") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setMonitorExtendInfo(const std::string& monitorExtendInfo)
|
||||
{
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter("MonitorExtendInfo", monitorExtendInfo);
|
||||
AddDnsGtmAddressPoolRequest::~AddDnsGtmAddressPoolRequest() {}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getMonitorExtendInfo() const {
|
||||
return monitorExtendInfo_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getLbaStrategy()const
|
||||
{
|
||||
return lbaStrategy_;
|
||||
void AddDnsGtmAddressPoolRequest::setMonitorExtendInfo(const std::string &monitorExtendInfo) {
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter(std::string("MonitorExtendInfo"), monitorExtendInfo);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setLbaStrategy(const std::string& lbaStrategy)
|
||||
{
|
||||
lbaStrategy_ = lbaStrategy;
|
||||
setParameter("LbaStrategy", lbaStrategy);
|
||||
std::string AddDnsGtmAddressPoolRequest::getLbaStrategy() const {
|
||||
return lbaStrategy_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void AddDnsGtmAddressPoolRequest::setLbaStrategy(const std::string &lbaStrategy) {
|
||||
lbaStrategy_ = lbaStrategy;
|
||||
setParameter(std::string("LbaStrategy"), lbaStrategy);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string AddDnsGtmAddressPoolRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAddressPoolRequest::getTimeout()const
|
||||
{
|
||||
return timeout_;
|
||||
void AddDnsGtmAddressPoolRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setParameter("Timeout", std::to_string(timeout));
|
||||
int AddDnsGtmAddressPoolRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAddressPoolRequest::getEvaluationCount()const
|
||||
{
|
||||
return evaluationCount_;
|
||||
void AddDnsGtmAddressPoolRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setEvaluationCount(int evaluationCount)
|
||||
{
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter("EvaluationCount", std::to_string(evaluationCount));
|
||||
int AddDnsGtmAddressPoolRequest::getEvaluationCount() const {
|
||||
return evaluationCount_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDnsGtmAddressPoolRequest::setEvaluationCount(int evaluationCount) {
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter(std::string("EvaluationCount"), std::to_string(evaluationCount));
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDnsGtmAddressPoolRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::vector<AddDnsGtmAddressPoolRequest::Addr> AddDnsGtmAddressPoolRequest::getAddr()const
|
||||
{
|
||||
return addr_;
|
||||
void AddDnsGtmAddressPoolRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setAddr(const std::vector<Addr>& addr)
|
||||
{
|
||||
addr_ = addr;
|
||||
for(int dep1 = 0; dep1!= addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = "Addr." + std::to_string(dep1 + 1);
|
||||
setParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setParameter(addrObjStr + ".AttributeInfo", addrObj.attributeInfo);
|
||||
setParameter(addrObjStr + ".Remark", addrObj.remark);
|
||||
setParameter(addrObjStr + ".Addr", addrObj.addr);
|
||||
setParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
}
|
||||
std::vector<AddDnsGtmAddressPoolRequest::Addr> AddDnsGtmAddressPoolRequest::getAddr() const {
|
||||
return addr_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getMonitorStatus()const
|
||||
{
|
||||
return monitorStatus_;
|
||||
void AddDnsGtmAddressPoolRequest::setAddr(const std::vector<AddDnsGtmAddressPoolRequest::Addr> &addr) {
|
||||
addr_ = addr;
|
||||
for(int dep1 = 0; dep1 != addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = std::string("Addr") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(addrObjStr + ".AttributeInfo", addrObj.attributeInfo);
|
||||
setParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setParameter(addrObjStr + ".Remark", addrObj.remark);
|
||||
setParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setParameter(addrObjStr + ".Addr", addrObj.addr);
|
||||
}
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setMonitorStatus(const std::string& monitorStatus)
|
||||
{
|
||||
monitorStatus_ = monitorStatus;
|
||||
setParameter("MonitorStatus", monitorStatus);
|
||||
std::string AddDnsGtmAddressPoolRequest::getMonitorStatus() const {
|
||||
return monitorStatus_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void AddDnsGtmAddressPoolRequest::setMonitorStatus(const std::string &monitorStatus) {
|
||||
monitorStatus_ = monitorStatus;
|
||||
setParameter(std::string("MonitorStatus"), monitorStatus);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string AddDnsGtmAddressPoolRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDnsGtmAddressPoolRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDnsGtmAddressPoolRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddDnsGtmAddressPoolRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddDnsGtmAddressPoolRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmAddressPoolRequest::getProtocolType()const
|
||||
{
|
||||
return protocolType_;
|
||||
void AddDnsGtmAddressPoolRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setProtocolType(const std::string& protocolType)
|
||||
{
|
||||
protocolType_ = protocolType;
|
||||
setParameter("ProtocolType", protocolType);
|
||||
std::string AddDnsGtmAddressPoolRequest::getProtocolType() const {
|
||||
return protocolType_;
|
||||
}
|
||||
|
||||
int AddDnsGtmAddressPoolRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void AddDnsGtmAddressPoolRequest::setProtocolType(const std::string &protocolType) {
|
||||
protocolType_ = protocolType;
|
||||
setParameter(std::string("ProtocolType"), protocolType);
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
int AddDnsGtmAddressPoolRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
std::vector<AddDnsGtmAddressPoolRequest::IspCityNode> AddDnsGtmAddressPoolRequest::getIspCityNode()const
|
||||
{
|
||||
return ispCityNode_;
|
||||
void AddDnsGtmAddressPoolRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
std::vector<AddDnsGtmAddressPoolRequest::IspCityNode> AddDnsGtmAddressPoolRequest::getIspCityNode() const {
|
||||
return ispCityNode_;
|
||||
}
|
||||
|
||||
void AddDnsGtmAddressPoolRequest::setIspCityNode(const std::vector<AddDnsGtmAddressPoolRequest::IspCityNode> &ispCityNode) {
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1 != ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = std::string("IspCityNode") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,133 +1,113 @@
|
||||
/*
|
||||
* 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/alidns/model/AddDnsGtmMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsGtmMonitorRequest;
|
||||
|
||||
AddDnsGtmMonitorRequest::AddDnsGtmMonitorRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDnsGtmMonitor")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDnsGtmMonitorRequest::~AddDnsGtmMonitorRequest()
|
||||
{}
|
||||
|
||||
std::string AddDnsGtmMonitorRequest::getMonitorExtendInfo()const
|
||||
{
|
||||
return monitorExtendInfo_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDnsGtmMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDnsGtmMonitorRequest;
|
||||
|
||||
AddDnsGtmMonitorRequest::AddDnsGtmMonitorRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDnsGtmMonitor") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setMonitorExtendInfo(const std::string& monitorExtendInfo)
|
||||
{
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter("MonitorExtendInfo", monitorExtendInfo);
|
||||
AddDnsGtmMonitorRequest::~AddDnsGtmMonitorRequest() {}
|
||||
|
||||
std::string AddDnsGtmMonitorRequest::getMonitorExtendInfo() const {
|
||||
return monitorExtendInfo_;
|
||||
}
|
||||
|
||||
int AddDnsGtmMonitorRequest::getTimeout()const
|
||||
{
|
||||
return timeout_;
|
||||
void AddDnsGtmMonitorRequest::setMonitorExtendInfo(const std::string &monitorExtendInfo) {
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter(std::string("MonitorExtendInfo"), monitorExtendInfo);
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setParameter("Timeout", std::to_string(timeout));
|
||||
int AddDnsGtmMonitorRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmMonitorRequest::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
void AddDnsGtmMonitorRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setAddrPoolId(const std::string& addrPoolId)
|
||||
{
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter("AddrPoolId", addrPoolId);
|
||||
std::string AddDnsGtmMonitorRequest::getAddrPoolId() const {
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmMonitorRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDnsGtmMonitorRequest::setAddrPoolId(const std::string &addrPoolId) {
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter(std::string("AddrPoolId"), addrPoolId);
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDnsGtmMonitorRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int AddDnsGtmMonitorRequest::getEvaluationCount()const
|
||||
{
|
||||
return evaluationCount_;
|
||||
void AddDnsGtmMonitorRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setEvaluationCount(int evaluationCount)
|
||||
{
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter("EvaluationCount", std::to_string(evaluationCount));
|
||||
int AddDnsGtmMonitorRequest::getEvaluationCount() const {
|
||||
return evaluationCount_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmMonitorRequest::getProtocolType()const
|
||||
{
|
||||
return protocolType_;
|
||||
void AddDnsGtmMonitorRequest::setEvaluationCount(int evaluationCount) {
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter(std::string("EvaluationCount"), std::to_string(evaluationCount));
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setProtocolType(const std::string& protocolType)
|
||||
{
|
||||
protocolType_ = protocolType;
|
||||
setParameter("ProtocolType", protocolType);
|
||||
std::string AddDnsGtmMonitorRequest::getProtocolType() const {
|
||||
return protocolType_;
|
||||
}
|
||||
|
||||
int AddDnsGtmMonitorRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void AddDnsGtmMonitorRequest::setProtocolType(const std::string &protocolType) {
|
||||
protocolType_ = protocolType;
|
||||
setParameter(std::string("ProtocolType"), protocolType);
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
int AddDnsGtmMonitorRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
std::string AddDnsGtmMonitorRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDnsGtmMonitorRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDnsGtmMonitorRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::vector<AddDnsGtmMonitorRequest::IspCityNode> AddDnsGtmMonitorRequest::getIspCityNode()const
|
||||
{
|
||||
return ispCityNode_;
|
||||
void AddDnsGtmMonitorRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
std::vector<AddDnsGtmMonitorRequest::IspCityNode> AddDnsGtmMonitorRequest::getIspCityNode() const {
|
||||
return ispCityNode_;
|
||||
}
|
||||
|
||||
void AddDnsGtmMonitorRequest::setIspCityNode(const std::vector<AddDnsGtmMonitorRequest::IspCityNode> &ispCityNode) {
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1 != ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = std::string("IspCityNode") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainBackupRequest;
|
||||
|
||||
AddDomainBackupRequest::AddDomainBackupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainBackupRequest::~AddDomainBackupRequest()
|
||||
{}
|
||||
|
||||
std::string AddDomainBackupRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainBackupRequest;
|
||||
|
||||
AddDomainBackupRequest::AddDomainBackupRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDomainBackup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
AddDomainBackupRequest::~AddDomainBackupRequest() {}
|
||||
|
||||
std::string AddDomainBackupRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
void AddDomainBackupRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setParameter("PeriodType", periodType);
|
||||
std::string AddDomainBackupRequest::getPeriodType() const {
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddDomainBackupRequest::setPeriodType(const std::string &periodType) {
|
||||
periodType_ = periodType;
|
||||
setParameter(std::string("PeriodType"), periodType);
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddDomainBackupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDomainBackupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDomainBackupRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddDomainBackupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDomainBackupRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDomainBackupRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddDomainBackupRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void AddDomainBackupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["PeriodType"].isNull())
|
||||
periodType_ = value["PeriodType"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainGroupRequest;
|
||||
|
||||
AddDomainGroupRequest::AddDomainGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainGroupRequest::~AddDomainGroupRequest()
|
||||
{}
|
||||
|
||||
std::string AddDomainGroupRequest::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainGroupRequest;
|
||||
|
||||
AddDomainGroupRequest::AddDomainGroupRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDomainGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDomainGroupRequest::setGroupName(const std::string& groupName)
|
||||
{
|
||||
groupName_ = groupName;
|
||||
setParameter("GroupName", groupName);
|
||||
AddDomainGroupRequest::~AddDomainGroupRequest() {}
|
||||
|
||||
std::string AddDomainGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
std::string AddDomainGroupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDomainGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
void AddDomainGroupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDomainGroupRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddDomainGroupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDomainGroupRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDomainGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDomainGroupRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddDomainGroupRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void AddDomainGroupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +1,117 @@
|
||||
/*
|
||||
* 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/alidns/model/AddDomainRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainRecordRequest;
|
||||
|
||||
AddDomainRecordRequest::AddDomainRecordRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainRecord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainRecordRequest::~AddDomainRecordRequest()
|
||||
{}
|
||||
|
||||
std::string AddDomainRecordRequest::getRR()const
|
||||
{
|
||||
return rR_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainRecordRequest;
|
||||
|
||||
AddDomainRecordRequest::AddDomainRecordRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDomainRecord") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setRR(const std::string& rR)
|
||||
{
|
||||
rR_ = rR;
|
||||
setParameter("RR", rR);
|
||||
AddDomainRecordRequest::~AddDomainRecordRequest() {}
|
||||
|
||||
std::string AddDomainRecordRequest::getRR() const {
|
||||
return rR_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getLine()const
|
||||
{
|
||||
return line_;
|
||||
void AddDomainRecordRequest::setRR(const std::string &rR) {
|
||||
rR_ = rR;
|
||||
setParameter(std::string("RR"), rR);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setLine(const std::string& line)
|
||||
{
|
||||
line_ = line;
|
||||
setParameter("Line", line);
|
||||
std::string AddDomainRecordRequest::getLine() const {
|
||||
return line_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void AddDomainRecordRequest::setLine(const std::string &line) {
|
||||
line_ = line;
|
||||
setParameter(std::string("Line"), line);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string AddDomainRecordRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddDomainRecordRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddDomainRecordRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDomainRecordRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDomainRecordRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getValue()const
|
||||
{
|
||||
return value_;
|
||||
void AddDomainRecordRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setValue(const std::string& value)
|
||||
{
|
||||
value_ = value;
|
||||
setParameter("Value", value);
|
||||
std::string AddDomainRecordRequest::getValue() const {
|
||||
return value_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddDomainRecordRequest::setValue(const std::string &value) {
|
||||
value_ = value;
|
||||
setParameter(std::string("Value"), value);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddDomainRecordRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddDomainRecordRequest::getPriority()const
|
||||
{
|
||||
return priority_;
|
||||
void AddDomainRecordRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setPriority(long priority)
|
||||
{
|
||||
priority_ = priority;
|
||||
setParameter("Priority", std::to_string(priority));
|
||||
long AddDomainRecordRequest::getPriority() const {
|
||||
return priority_;
|
||||
}
|
||||
|
||||
long AddDomainRecordRequest::getTTL()const
|
||||
{
|
||||
return tTL_;
|
||||
void AddDomainRecordRequest::setPriority(long priority) {
|
||||
priority_ = priority;
|
||||
setParameter(std::string("Priority"), std::to_string(priority));
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setTTL(long tTL)
|
||||
{
|
||||
tTL_ = tTL;
|
||||
setParameter("TTL", std::to_string(tTL));
|
||||
long AddDomainRecordRequest::getTTL() const {
|
||||
return tTL_;
|
||||
}
|
||||
|
||||
std::string AddDomainRecordRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDomainRecordRequest::setTTL(long tTL) {
|
||||
tTL_ = tTL;
|
||||
setParameter(std::string("TTL"), std::to_string(tTL));
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDomainRecordRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddDomainRecordRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainRequest;
|
||||
|
||||
AddDomainRequest::AddDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainRequest::~AddDomainRequest()
|
||||
{}
|
||||
|
||||
std::string AddDomainRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddDomainRequest;
|
||||
|
||||
AddDomainRequest::AddDomainRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddDomainRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
AddDomainRequest::~AddDomainRequest() {}
|
||||
|
||||
std::string AddDomainRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string AddDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddDomainRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void AddDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string AddDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddDomainRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddDomainRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
void AddDomainRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
std::string AddDomainRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string AddDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddDomainRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void AddDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddDomainRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddDomainRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddDomainRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddDomainRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ void AddDomainResult::parse(const std::string &payload)
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (const auto &item : allDnsServers)
|
||||
dnsServers_.push_back(item.asString());
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
if(!value["DomainId"].isNull())
|
||||
domainId_ = value["DomainId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
@@ -50,8 +52,6 @@ void AddDomainResult::parse(const std::string &payload)
|
||||
punyCode_ = value["PunyCode"].asString();
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmAccessStrategyRequest;
|
||||
|
||||
AddGtmAccessStrategyRequest::AddGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmAccessStrategy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmAccessStrategyRequest::~AddGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getDefaultAddrPoolId()const
|
||||
{
|
||||
return defaultAddrPoolId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmAccessStrategyRequest;
|
||||
|
||||
AddGtmAccessStrategyRequest::AddGtmAccessStrategyRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddGtmAccessStrategy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setDefaultAddrPoolId(const std::string& defaultAddrPoolId)
|
||||
{
|
||||
defaultAddrPoolId_ = defaultAddrPoolId;
|
||||
setParameter("DefaultAddrPoolId", defaultAddrPoolId);
|
||||
AddGtmAccessStrategyRequest::~AddGtmAccessStrategyRequest() {}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getDefaultAddrPoolId() const {
|
||||
return defaultAddrPoolId_;
|
||||
}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getFailoverAddrPoolId()const
|
||||
{
|
||||
return failoverAddrPoolId_;
|
||||
void AddGtmAccessStrategyRequest::setDefaultAddrPoolId(const std::string &defaultAddrPoolId) {
|
||||
defaultAddrPoolId_ = defaultAddrPoolId;
|
||||
setParameter(std::string("DefaultAddrPoolId"), defaultAddrPoolId);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setFailoverAddrPoolId(const std::string& failoverAddrPoolId)
|
||||
{
|
||||
failoverAddrPoolId_ = failoverAddrPoolId;
|
||||
setParameter("FailoverAddrPoolId", failoverAddrPoolId);
|
||||
std::string AddGtmAccessStrategyRequest::getFailoverAddrPoolId() const {
|
||||
return failoverAddrPoolId_;
|
||||
}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getStrategyName()const
|
||||
{
|
||||
return strategyName_;
|
||||
void AddGtmAccessStrategyRequest::setFailoverAddrPoolId(const std::string &failoverAddrPoolId) {
|
||||
failoverAddrPoolId_ = failoverAddrPoolId;
|
||||
setParameter(std::string("FailoverAddrPoolId"), failoverAddrPoolId);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setStrategyName(const std::string& strategyName)
|
||||
{
|
||||
strategyName_ = strategyName;
|
||||
setParameter("StrategyName", strategyName);
|
||||
std::string AddGtmAccessStrategyRequest::getStrategyName() const {
|
||||
return strategyName_;
|
||||
}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getAccessLines()const
|
||||
{
|
||||
return accessLines_;
|
||||
void AddGtmAccessStrategyRequest::setStrategyName(const std::string &strategyName) {
|
||||
strategyName_ = strategyName;
|
||||
setParameter(std::string("StrategyName"), strategyName);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setAccessLines(const std::string& accessLines)
|
||||
{
|
||||
accessLines_ = accessLines;
|
||||
setParameter("AccessLines", accessLines);
|
||||
std::string AddGtmAccessStrategyRequest::getAccessLines() const {
|
||||
return accessLines_;
|
||||
}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void AddGtmAccessStrategyRequest::setAccessLines(const std::string &accessLines) {
|
||||
accessLines_ = accessLines;
|
||||
setParameter(std::string("AccessLines"), accessLines);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string AddGtmAccessStrategyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddGtmAccessStrategyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddGtmAccessStrategyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddGtmAccessStrategyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddGtmAccessStrategyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddGtmAccessStrategyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddGtmAccessStrategyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,194 +1,164 @@
|
||||
/*
|
||||
* 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/alidns/model/AddGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmAddressPoolRequest;
|
||||
|
||||
AddGtmAddressPoolRequest::AddGtmAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmAddressPool")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmAddressPoolRequest::~AddGtmAddressPoolRequest()
|
||||
{}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getMonitorExtendInfo()const
|
||||
{
|
||||
return monitorExtendInfo_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmAddressPoolRequest;
|
||||
|
||||
AddGtmAddressPoolRequest::AddGtmAddressPoolRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddGtmAddressPool") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setMonitorExtendInfo(const std::string& monitorExtendInfo)
|
||||
{
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter("MonitorExtendInfo", monitorExtendInfo);
|
||||
AddGtmAddressPoolRequest::~AddGtmAddressPoolRequest() {}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getMonitorExtendInfo() const {
|
||||
return monitorExtendInfo_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void AddGtmAddressPoolRequest::setMonitorExtendInfo(const std::string &monitorExtendInfo) {
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter(std::string("MonitorExtendInfo"), monitorExtendInfo);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string AddGtmAddressPoolRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
int AddGtmAddressPoolRequest::getTimeout()const
|
||||
{
|
||||
return timeout_;
|
||||
void AddGtmAddressPoolRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setParameter("Timeout", std::to_string(timeout));
|
||||
int AddGtmAddressPoolRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
int AddGtmAddressPoolRequest::getMinAvailableAddrNum()const
|
||||
{
|
||||
return minAvailableAddrNum_;
|
||||
void AddGtmAddressPoolRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setMinAvailableAddrNum(int minAvailableAddrNum)
|
||||
{
|
||||
minAvailableAddrNum_ = minAvailableAddrNum;
|
||||
setParameter("MinAvailableAddrNum", std::to_string(minAvailableAddrNum));
|
||||
int AddGtmAddressPoolRequest::getMinAvailableAddrNum() const {
|
||||
return minAvailableAddrNum_;
|
||||
}
|
||||
|
||||
int AddGtmAddressPoolRequest::getEvaluationCount()const
|
||||
{
|
||||
return evaluationCount_;
|
||||
void AddGtmAddressPoolRequest::setMinAvailableAddrNum(int minAvailableAddrNum) {
|
||||
minAvailableAddrNum_ = minAvailableAddrNum;
|
||||
setParameter(std::string("MinAvailableAddrNum"), std::to_string(minAvailableAddrNum));
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setEvaluationCount(int evaluationCount)
|
||||
{
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter("EvaluationCount", std::to_string(evaluationCount));
|
||||
int AddGtmAddressPoolRequest::getEvaluationCount() const {
|
||||
return evaluationCount_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddGtmAddressPoolRequest::setEvaluationCount(int evaluationCount) {
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter(std::string("EvaluationCount"), std::to_string(evaluationCount));
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddGtmAddressPoolRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::vector<AddGtmAddressPoolRequest::Addr> AddGtmAddressPoolRequest::getAddr()const
|
||||
{
|
||||
return addr_;
|
||||
void AddGtmAddressPoolRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setAddr(const std::vector<Addr>& addr)
|
||||
{
|
||||
addr_ = addr;
|
||||
for(int dep1 = 0; dep1!= addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = "Addr." + std::to_string(dep1 + 1);
|
||||
setParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setParameter(addrObjStr + ".Value", addrObj.value);
|
||||
}
|
||||
std::vector<AddGtmAddressPoolRequest::Addr> AddGtmAddressPoolRequest::getAddr() const {
|
||||
return addr_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getMonitorStatus()const
|
||||
{
|
||||
return monitorStatus_;
|
||||
void AddGtmAddressPoolRequest::setAddr(const std::vector<AddGtmAddressPoolRequest::Addr> &addr) {
|
||||
addr_ = addr;
|
||||
for(int dep1 = 0; dep1 != addr.size(); dep1++) {
|
||||
auto addrObj = addr.at(dep1);
|
||||
std::string addrObjStr = std::string("Addr") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(addrObjStr + ".Mode", addrObj.mode);
|
||||
setParameter(addrObjStr + ".LbaWeight", std::to_string(addrObj.lbaWeight));
|
||||
setParameter(addrObjStr + ".Value", addrObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setMonitorStatus(const std::string& monitorStatus)
|
||||
{
|
||||
monitorStatus_ = monitorStatus;
|
||||
setParameter("MonitorStatus", monitorStatus);
|
||||
std::string AddGtmAddressPoolRequest::getMonitorStatus() const {
|
||||
return monitorStatus_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void AddGtmAddressPoolRequest::setMonitorStatus(const std::string &monitorStatus) {
|
||||
monitorStatus_ = monitorStatus;
|
||||
setParameter(std::string("MonitorStatus"), monitorStatus);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string AddGtmAddressPoolRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddGtmAddressPoolRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddGtmAddressPoolRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddGtmAddressPoolRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddGtmAddressPoolRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string AddGtmAddressPoolRequest::getProtocolType()const
|
||||
{
|
||||
return protocolType_;
|
||||
void AddGtmAddressPoolRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setProtocolType(const std::string& protocolType)
|
||||
{
|
||||
protocolType_ = protocolType;
|
||||
setParameter("ProtocolType", protocolType);
|
||||
std::string AddGtmAddressPoolRequest::getProtocolType() const {
|
||||
return protocolType_;
|
||||
}
|
||||
|
||||
int AddGtmAddressPoolRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void AddGtmAddressPoolRequest::setProtocolType(const std::string &protocolType) {
|
||||
protocolType_ = protocolType;
|
||||
setParameter(std::string("ProtocolType"), protocolType);
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
int AddGtmAddressPoolRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
std::vector<AddGtmAddressPoolRequest::IspCityNode> AddGtmAddressPoolRequest::getIspCityNode()const
|
||||
{
|
||||
return ispCityNode_;
|
||||
void AddGtmAddressPoolRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
std::vector<AddGtmAddressPoolRequest::IspCityNode> AddGtmAddressPoolRequest::getIspCityNode() const {
|
||||
return ispCityNode_;
|
||||
}
|
||||
|
||||
void AddGtmAddressPoolRequest::setIspCityNode(const std::vector<AddGtmAddressPoolRequest::IspCityNode> &ispCityNode) {
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1 != ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = std::string("IspCityNode") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,133 +1,113 @@
|
||||
/*
|
||||
* 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/alidns/model/AddGtmMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmMonitorRequest;
|
||||
|
||||
AddGtmMonitorRequest::AddGtmMonitorRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmMonitor")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmMonitorRequest::~AddGtmMonitorRequest()
|
||||
{}
|
||||
|
||||
std::string AddGtmMonitorRequest::getMonitorExtendInfo()const
|
||||
{
|
||||
return monitorExtendInfo_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddGtmMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmMonitorRequest;
|
||||
|
||||
AddGtmMonitorRequest::AddGtmMonitorRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddGtmMonitor") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setMonitorExtendInfo(const std::string& monitorExtendInfo)
|
||||
{
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter("MonitorExtendInfo", monitorExtendInfo);
|
||||
AddGtmMonitorRequest::~AddGtmMonitorRequest() {}
|
||||
|
||||
std::string AddGtmMonitorRequest::getMonitorExtendInfo() const {
|
||||
return monitorExtendInfo_;
|
||||
}
|
||||
|
||||
int AddGtmMonitorRequest::getTimeout()const
|
||||
{
|
||||
return timeout_;
|
||||
void AddGtmMonitorRequest::setMonitorExtendInfo(const std::string &monitorExtendInfo) {
|
||||
monitorExtendInfo_ = monitorExtendInfo;
|
||||
setParameter(std::string("MonitorExtendInfo"), monitorExtendInfo);
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setTimeout(int timeout)
|
||||
{
|
||||
timeout_ = timeout;
|
||||
setParameter("Timeout", std::to_string(timeout));
|
||||
int AddGtmMonitorRequest::getTimeout() const {
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
std::string AddGtmMonitorRequest::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
void AddGtmMonitorRequest::setTimeout(int timeout) {
|
||||
timeout_ = timeout;
|
||||
setParameter(std::string("Timeout"), std::to_string(timeout));
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setAddrPoolId(const std::string& addrPoolId)
|
||||
{
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter("AddrPoolId", addrPoolId);
|
||||
std::string AddGtmMonitorRequest::getAddrPoolId() const {
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
std::string AddGtmMonitorRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddGtmMonitorRequest::setAddrPoolId(const std::string &addrPoolId) {
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter(std::string("AddrPoolId"), addrPoolId);
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddGtmMonitorRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int AddGtmMonitorRequest::getEvaluationCount()const
|
||||
{
|
||||
return evaluationCount_;
|
||||
void AddGtmMonitorRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setEvaluationCount(int evaluationCount)
|
||||
{
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter("EvaluationCount", std::to_string(evaluationCount));
|
||||
int AddGtmMonitorRequest::getEvaluationCount() const {
|
||||
return evaluationCount_;
|
||||
}
|
||||
|
||||
std::string AddGtmMonitorRequest::getProtocolType()const
|
||||
{
|
||||
return protocolType_;
|
||||
void AddGtmMonitorRequest::setEvaluationCount(int evaluationCount) {
|
||||
evaluationCount_ = evaluationCount;
|
||||
setParameter(std::string("EvaluationCount"), std::to_string(evaluationCount));
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setProtocolType(const std::string& protocolType)
|
||||
{
|
||||
protocolType_ = protocolType;
|
||||
setParameter("ProtocolType", protocolType);
|
||||
std::string AddGtmMonitorRequest::getProtocolType() const {
|
||||
return protocolType_;
|
||||
}
|
||||
|
||||
int AddGtmMonitorRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void AddGtmMonitorRequest::setProtocolType(const std::string &protocolType) {
|
||||
protocolType_ = protocolType;
|
||||
setParameter(std::string("ProtocolType"), protocolType);
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
int AddGtmMonitorRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
std::string AddGtmMonitorRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddGtmMonitorRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddGtmMonitorRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::vector<AddGtmMonitorRequest::IspCityNode> AddGtmMonitorRequest::getIspCityNode()const
|
||||
{
|
||||
return ispCityNode_;
|
||||
void AddGtmMonitorRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setIspCityNode(const std::vector<IspCityNode>& ispCityNode)
|
||||
{
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1!= ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = "IspCityNode." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
std::vector<AddGtmMonitorRequest::IspCityNode> AddGtmMonitorRequest::getIspCityNode() const {
|
||||
return ispCityNode_;
|
||||
}
|
||||
|
||||
void AddGtmMonitorRequest::setIspCityNode(const std::vector<AddGtmMonitorRequest::IspCityNode> &ispCityNode) {
|
||||
ispCityNode_ = ispCityNode;
|
||||
for(int dep1 = 0; dep1 != ispCityNode.size(); dep1++) {
|
||||
auto ispCityNodeObj = ispCityNode.at(dep1);
|
||||
std::string ispCityNodeObjStr = std::string("IspCityNode") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(ispCityNodeObjStr + ".CityCode", ispCityNodeObj.cityCode);
|
||||
setParameter(ispCityNodeObjStr + ".IspCode", ispCityNodeObj.ispCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddGtmRecoveryPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmRecoveryPlanRequest;
|
||||
|
||||
AddGtmRecoveryPlanRequest::AddGtmRecoveryPlanRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmRecoveryPlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmRecoveryPlanRequest::~AddGtmRecoveryPlanRequest()
|
||||
{}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getFaultAddrPool()const
|
||||
{
|
||||
return faultAddrPool_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/AddGtmRecoveryPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::AddGtmRecoveryPlanRequest;
|
||||
|
||||
AddGtmRecoveryPlanRequest::AddGtmRecoveryPlanRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "AddGtmRecoveryPlan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setFaultAddrPool(const std::string& faultAddrPool)
|
||||
{
|
||||
faultAddrPool_ = faultAddrPool;
|
||||
setParameter("FaultAddrPool", faultAddrPool);
|
||||
AddGtmRecoveryPlanRequest::~AddGtmRecoveryPlanRequest() {}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getFaultAddrPool() const {
|
||||
return faultAddrPool_;
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
void AddGtmRecoveryPlanRequest::setFaultAddrPool(const std::string &faultAddrPool) {
|
||||
faultAddrPool_ = faultAddrPool;
|
||||
setParameter(std::string("FaultAddrPool"), faultAddrPool);
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
std::string AddGtmRecoveryPlanRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void AddGtmRecoveryPlanRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string AddGtmRecoveryPlanRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddGtmRecoveryPlanRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddGtmRecoveryPlanRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void AddGtmRecoveryPlanRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string AddGtmRecoveryPlanRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/BindInstanceDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::BindInstanceDomainsRequest;
|
||||
|
||||
BindInstanceDomainsRequest::BindInstanceDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "BindInstanceDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindInstanceDomainsRequest::~BindInstanceDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/BindInstanceDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::BindInstanceDomainsRequest;
|
||||
|
||||
BindInstanceDomainsRequest::BindInstanceDomainsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "BindInstanceDomains") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
BindInstanceDomainsRequest::~BindInstanceDomainsRequest() {}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getDomainNames() const {
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void BindInstanceDomainsRequest::setDomainNames(const std::string &domainNames) {
|
||||
domainNames_ = domainNames;
|
||||
setParameter(std::string("DomainNames"), domainNames);
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string BindInstanceDomainsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void BindInstanceDomainsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string BindInstanceDomainsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string BindInstanceDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void BindInstanceDomainsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string BindInstanceDomainsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void BindInstanceDomainsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void BindInstanceDomainsResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/ChangeDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::ChangeDomainGroupRequest;
|
||||
|
||||
ChangeDomainGroupRequest::ChangeDomainGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeDomainGroupRequest::~ChangeDomainGroupRequest()
|
||||
{}
|
||||
|
||||
std::string ChangeDomainGroupRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/ChangeDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::ChangeDomainGroupRequest;
|
||||
|
||||
ChangeDomainGroupRequest::ChangeDomainGroupRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ChangeDomainGroupRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
ChangeDomainGroupRequest::~ChangeDomainGroupRequest() {}
|
||||
|
||||
std::string ChangeDomainGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainGroupRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void ChangeDomainGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void ChangeDomainGroupRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string ChangeDomainGroupRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainGroupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void ChangeDomainGroupRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void ChangeDomainGroupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string ChangeDomainGroupRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainGroupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void ChangeDomainGroupRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void ChangeDomainGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string ChangeDomainGroupRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void ChangeDomainGroupRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void ChangeDomainGroupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::ChangeDomainOfDnsProductRequest;
|
||||
|
||||
ChangeDomainOfDnsProductRequest::ChangeDomainOfDnsProductRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainOfDnsProduct")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeDomainOfDnsProductRequest::~ChangeDomainOfDnsProductRequest()
|
||||
{}
|
||||
|
||||
std::string ChangeDomainOfDnsProductRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::ChangeDomainOfDnsProductRequest;
|
||||
|
||||
ChangeDomainOfDnsProductRequest::ChangeDomainOfDnsProductRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainOfDnsProduct") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
ChangeDomainOfDnsProductRequest::~ChangeDomainOfDnsProductRequest() {}
|
||||
|
||||
std::string ChangeDomainOfDnsProductRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainOfDnsProductRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void ChangeDomainOfDnsProductRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string ChangeDomainOfDnsProductRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainOfDnsProductRequest::getNewDomain()const
|
||||
{
|
||||
return newDomain_;
|
||||
void ChangeDomainOfDnsProductRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setNewDomain(const std::string& newDomain)
|
||||
{
|
||||
newDomain_ = newDomain;
|
||||
setParameter("NewDomain", newDomain);
|
||||
std::string ChangeDomainOfDnsProductRequest::getNewDomain() const {
|
||||
return newDomain_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainOfDnsProductRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void ChangeDomainOfDnsProductRequest::setNewDomain(const std::string &newDomain) {
|
||||
newDomain_ = newDomain;
|
||||
setParameter(std::string("NewDomain"), newDomain);
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string ChangeDomainOfDnsProductRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
bool ChangeDomainOfDnsProductRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
void ChangeDomainOfDnsProductRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setForce(bool force)
|
||||
{
|
||||
force_ = force;
|
||||
setParameter("Force", force ? "true" : "false");
|
||||
bool ChangeDomainOfDnsProductRequest::getForce() const {
|
||||
return force_;
|
||||
}
|
||||
|
||||
std::string ChangeDomainOfDnsProductRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void ChangeDomainOfDnsProductRequest::setForce(bool force) {
|
||||
force_ = force;
|
||||
setParameter(std::string("Force"), force ? "true" : "false");
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string ChangeDomainOfDnsProductRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void ChangeDomainOfDnsProductRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CopyGtmConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CopyGtmConfigRequest;
|
||||
|
||||
CopyGtmConfigRequest::CopyGtmConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "CopyGtmConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CopyGtmConfigRequest::~CopyGtmConfigRequest()
|
||||
{}
|
||||
|
||||
std::string CopyGtmConfigRequest::getSourceId()const
|
||||
{
|
||||
return sourceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CopyGtmConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CopyGtmConfigRequest;
|
||||
|
||||
CopyGtmConfigRequest::CopyGtmConfigRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "CopyGtmConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CopyGtmConfigRequest::setSourceId(const std::string& sourceId)
|
||||
{
|
||||
sourceId_ = sourceId;
|
||||
setParameter("SourceId", sourceId);
|
||||
CopyGtmConfigRequest::~CopyGtmConfigRequest() {}
|
||||
|
||||
std::string CopyGtmConfigRequest::getSourceId() const {
|
||||
return sourceId_;
|
||||
}
|
||||
|
||||
std::string CopyGtmConfigRequest::getTargetId()const
|
||||
{
|
||||
return targetId_;
|
||||
void CopyGtmConfigRequest::setSourceId(const std::string &sourceId) {
|
||||
sourceId_ = sourceId;
|
||||
setParameter(std::string("SourceId"), sourceId);
|
||||
}
|
||||
|
||||
void CopyGtmConfigRequest::setTargetId(const std::string& targetId)
|
||||
{
|
||||
targetId_ = targetId;
|
||||
setParameter("TargetId", targetId);
|
||||
std::string CopyGtmConfigRequest::getTargetId() const {
|
||||
return targetId_;
|
||||
}
|
||||
|
||||
std::string CopyGtmConfigRequest::getCopyType()const
|
||||
{
|
||||
return copyType_;
|
||||
void CopyGtmConfigRequest::setTargetId(const std::string &targetId) {
|
||||
targetId_ = targetId;
|
||||
setParameter(std::string("TargetId"), targetId);
|
||||
}
|
||||
|
||||
void CopyGtmConfigRequest::setCopyType(const std::string& copyType)
|
||||
{
|
||||
copyType_ = copyType;
|
||||
setParameter("CopyType", copyType);
|
||||
std::string CopyGtmConfigRequest::getCopyType() const {
|
||||
return copyType_;
|
||||
}
|
||||
|
||||
std::string CopyGtmConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void CopyGtmConfigRequest::setCopyType(const std::string ©Type) {
|
||||
copyType_ = copyType;
|
||||
setParameter(std::string("CopyType"), copyType);
|
||||
}
|
||||
|
||||
void CopyGtmConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string CopyGtmConfigRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string CopyGtmConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CopyGtmConfigRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void CopyGtmConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CopyGtmConfigRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CopyGtmConfigRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* 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/alidns/model/CreatePdnsAppKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CreatePdnsAppKeyRequest;
|
||||
|
||||
CreatePdnsAppKeyRequest::CreatePdnsAppKeyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "CreatePdnsAppKey")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePdnsAppKeyRequest::~CreatePdnsAppKeyRequest()
|
||||
{}
|
||||
|
||||
std::string CreatePdnsAppKeyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CreatePdnsAppKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CreatePdnsAppKeyRequest;
|
||||
|
||||
CreatePdnsAppKeyRequest::CreatePdnsAppKeyRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "CreatePdnsAppKey") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreatePdnsAppKeyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
CreatePdnsAppKeyRequest::~CreatePdnsAppKeyRequest() {}
|
||||
|
||||
std::string CreatePdnsAppKeyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CreatePdnsAppKeyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CreatePdnsUdpIpSegmentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CreatePdnsUdpIpSegmentRequest;
|
||||
|
||||
CreatePdnsUdpIpSegmentRequest::CreatePdnsUdpIpSegmentRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "CreatePdnsUdpIpSegment")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePdnsUdpIpSegmentRequest::~CreatePdnsUdpIpSegmentRequest()
|
||||
{}
|
||||
|
||||
std::string CreatePdnsUdpIpSegmentRequest::getIp()const
|
||||
{
|
||||
return ip_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CreatePdnsUdpIpSegmentRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CreatePdnsUdpIpSegmentRequest;
|
||||
|
||||
CreatePdnsUdpIpSegmentRequest::CreatePdnsUdpIpSegmentRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "CreatePdnsUdpIpSegment") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreatePdnsUdpIpSegmentRequest::setIp(const std::string& ip)
|
||||
{
|
||||
ip_ = ip;
|
||||
setParameter("Ip", ip);
|
||||
CreatePdnsUdpIpSegmentRequest::~CreatePdnsUdpIpSegmentRequest() {}
|
||||
|
||||
std::string CreatePdnsUdpIpSegmentRequest::getIp() const {
|
||||
return ip_;
|
||||
}
|
||||
|
||||
std::string CreatePdnsUdpIpSegmentRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void CreatePdnsUdpIpSegmentRequest::setIp(const std::string &ip) {
|
||||
ip_ = ip;
|
||||
setParameter(std::string("Ip"), ip);
|
||||
}
|
||||
|
||||
void CreatePdnsUdpIpSegmentRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string CreatePdnsUdpIpSegmentRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string CreatePdnsUdpIpSegmentRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void CreatePdnsUdpIpSegmentRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void CreatePdnsUdpIpSegmentRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string CreatePdnsUdpIpSegmentRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CreatePdnsUdpIpSegmentRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteCustomLinesRequest;
|
||||
|
||||
DeleteCustomLinesRequest::DeleteCustomLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteCustomLines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomLinesRequest::~DeleteCustomLinesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLineIds()const
|
||||
{
|
||||
return lineIds_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteCustomLinesRequest;
|
||||
|
||||
DeleteCustomLinesRequest::DeleteCustomLinesRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteCustomLines") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLineIds(const std::string& lineIds)
|
||||
{
|
||||
lineIds_ = lineIds;
|
||||
setParameter("LineIds", lineIds);
|
||||
DeleteCustomLinesRequest::~DeleteCustomLinesRequest() {}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLineIds() const {
|
||||
return lineIds_;
|
||||
}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteCustomLinesRequest::setLineIds(const std::string &lineIds) {
|
||||
lineIds_ = lineIds;
|
||||
setParameter(std::string("LineIds"), lineIds);
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteCustomLinesRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteCustomLinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteCustomLinesRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteCustomLinesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteCustomLinesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDnsCacheDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDnsCacheDomainRequest;
|
||||
|
||||
DeleteDnsCacheDomainRequest::DeleteDnsCacheDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsCacheDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDnsCacheDomainRequest::~DeleteDnsCacheDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDnsCacheDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDnsCacheDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDnsCacheDomainRequest;
|
||||
|
||||
DeleteDnsCacheDomainRequest::DeleteDnsCacheDomainRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsCacheDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDnsCacheDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteDnsCacheDomainRequest::~DeleteDnsCacheDomainRequest() {}
|
||||
|
||||
std::string DeleteDnsCacheDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsCacheDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteDnsCacheDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteDnsCacheDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteDnsCacheDomainRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsCacheDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteDnsCacheDomainRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDnsCacheDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteDnsCacheDomainRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsCacheDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDnsCacheDomainRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDnsCacheDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDnsCacheDomainRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDnsCacheDomainRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDnsGtmAccessStrategyRequest;
|
||||
|
||||
DeleteDnsGtmAccessStrategyRequest::DeleteDnsGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsGtmAccessStrategy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDnsGtmAccessStrategyRequest::~DeleteDnsGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDnsGtmAccessStrategyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDnsGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDnsGtmAccessStrategyRequest;
|
||||
|
||||
DeleteDnsGtmAccessStrategyRequest::DeleteDnsGtmAccessStrategyRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsGtmAccessStrategy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DeleteDnsGtmAccessStrategyRequest::~DeleteDnsGtmAccessStrategyRequest() {}
|
||||
|
||||
std::string DeleteDnsGtmAccessStrategyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsGtmAccessStrategyRequest::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
void DeleteDnsGtmAccessStrategyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAccessStrategyRequest::setStrategyId(const std::string& strategyId)
|
||||
{
|
||||
strategyId_ = strategyId;
|
||||
setParameter("StrategyId", strategyId);
|
||||
std::string DeleteDnsGtmAccessStrategyRequest::getStrategyId() const {
|
||||
return strategyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsGtmAccessStrategyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDnsGtmAccessStrategyRequest::setStrategyId(const std::string &strategyId) {
|
||||
strategyId_ = strategyId;
|
||||
setParameter(std::string("StrategyId"), strategyId);
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAccessStrategyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDnsGtmAccessStrategyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAccessStrategyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDnsGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDnsGtmAddressPoolRequest;
|
||||
|
||||
DeleteDnsGtmAddressPoolRequest::DeleteDnsGtmAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsGtmAddressPool")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDnsGtmAddressPoolRequest::~DeleteDnsGtmAddressPoolRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDnsGtmAddressPoolRequest::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDnsGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDnsGtmAddressPoolRequest;
|
||||
|
||||
DeleteDnsGtmAddressPoolRequest::DeleteDnsGtmAddressPoolRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteDnsGtmAddressPool") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAddressPoolRequest::setAddrPoolId(const std::string& addrPoolId)
|
||||
{
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter("AddrPoolId", addrPoolId);
|
||||
DeleteDnsGtmAddressPoolRequest::~DeleteDnsGtmAddressPoolRequest() {}
|
||||
|
||||
std::string DeleteDnsGtmAddressPoolRequest::getAddrPoolId() const {
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsGtmAddressPoolRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteDnsGtmAddressPoolRequest::setAddrPoolId(const std::string &addrPoolId) {
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter(std::string("AddrPoolId"), addrPoolId);
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteDnsGtmAddressPoolRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDnsGtmAddressPoolRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDnsGtmAddressPoolRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAddressPoolRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDnsGtmAddressPoolRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDnsGtmAddressPoolRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDomainGroupRequest;
|
||||
|
||||
DeleteDomainGroupRequest::DeleteDomainGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainGroupRequest::~DeleteDomainGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDomainGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDomainGroupRequest;
|
||||
|
||||
DeleteDomainGroupRequest::DeleteDomainGroupRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
DeleteDomainGroupRequest::~DeleteDomainGroupRequest() {}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteDomainGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteDomainGroupRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainGroupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDomainGroupRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDomainGroupRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDomainGroupRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDomainRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDomainRecordRequest;
|
||||
|
||||
DeleteDomainRecordRequest::DeleteDomainRecordRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainRecord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainRecordRequest::~DeleteDomainRecordRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDomainRecordRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDomainRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDomainRecordRequest;
|
||||
|
||||
DeleteDomainRecordRequest::DeleteDomainRecordRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainRecord") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
DeleteDomainRecordRequest::~DeleteDomainRecordRequest() {}
|
||||
|
||||
std::string DeleteDomainRecordRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainRecordRequest::getRecordId()const
|
||||
{
|
||||
return recordId_;
|
||||
void DeleteDomainRecordRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDomainRecordRequest::setRecordId(const std::string& recordId)
|
||||
{
|
||||
recordId_ = recordId;
|
||||
setParameter("RecordId", recordId);
|
||||
std::string DeleteDomainRecordRequest::getRecordId() const {
|
||||
return recordId_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainRecordRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteDomainRecordRequest::setRecordId(const std::string &recordId) {
|
||||
recordId_ = recordId;
|
||||
setParameter(std::string("RecordId"), recordId);
|
||||
}
|
||||
|
||||
void DeleteDomainRecordRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteDomainRecordRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainRecordRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDomainRecordRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDomainRecordRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDomainRecordRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDomainRecordRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDomainRequest;
|
||||
|
||||
DeleteDomainRequest::DeleteDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainRequest::~DeleteDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteDomainRequest;
|
||||
|
||||
DeleteDomainRequest::DeleteDomainRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteDomainRequest::~DeleteDomainRequest() {}
|
||||
|
||||
std::string DeleteDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteDomainRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteDomainRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteDomainRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDomainRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteDomainRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteDomainRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteDomainRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteDomainRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteDomainRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteDomainRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteGtmAccessStrategyRequest;
|
||||
|
||||
DeleteGtmAccessStrategyRequest::DeleteGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAccessStrategy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGtmAccessStrategyRequest::~DeleteGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteGtmAccessStrategyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteGtmAccessStrategyRequest;
|
||||
|
||||
DeleteGtmAccessStrategyRequest::DeleteGtmAccessStrategyRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAccessStrategy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DeleteGtmAccessStrategyRequest::~DeleteGtmAccessStrategyRequest() {}
|
||||
|
||||
std::string DeleteGtmAccessStrategyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteGtmAccessStrategyRequest::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
void DeleteGtmAccessStrategyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteGtmAccessStrategyRequest::setStrategyId(const std::string& strategyId)
|
||||
{
|
||||
strategyId_ = strategyId;
|
||||
setParameter("StrategyId", strategyId);
|
||||
std::string DeleteGtmAccessStrategyRequest::getStrategyId() const {
|
||||
return strategyId_;
|
||||
}
|
||||
|
||||
std::string DeleteGtmAccessStrategyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteGtmAccessStrategyRequest::setStrategyId(const std::string &strategyId) {
|
||||
strategyId_ = strategyId;
|
||||
setParameter(std::string("StrategyId"), strategyId);
|
||||
}
|
||||
|
||||
void DeleteGtmAccessStrategyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteGtmAccessStrategyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteGtmAccessStrategyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteGtmAddressPoolRequest;
|
||||
|
||||
DeleteGtmAddressPoolRequest::DeleteGtmAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAddressPool")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGtmAddressPoolRequest::~DeleteGtmAddressPoolRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteGtmAddressPoolRequest::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteGtmAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteGtmAddressPoolRequest;
|
||||
|
||||
DeleteGtmAddressPoolRequest::DeleteGtmAddressPoolRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAddressPool") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteGtmAddressPoolRequest::setAddrPoolId(const std::string& addrPoolId)
|
||||
{
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter("AddrPoolId", addrPoolId);
|
||||
DeleteGtmAddressPoolRequest::~DeleteGtmAddressPoolRequest() {}
|
||||
|
||||
std::string DeleteGtmAddressPoolRequest::getAddrPoolId() const {
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
std::string DeleteGtmAddressPoolRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteGtmAddressPoolRequest::setAddrPoolId(const std::string &addrPoolId) {
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter(std::string("AddrPoolId"), addrPoolId);
|
||||
}
|
||||
|
||||
void DeleteGtmAddressPoolRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteGtmAddressPoolRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteGtmAddressPoolRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteGtmAddressPoolRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteGtmAddressPoolRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteGtmAddressPoolRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteGtmAddressPoolRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteGtmRecoveryPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteGtmRecoveryPlanRequest;
|
||||
|
||||
DeleteGtmRecoveryPlanRequest::DeleteGtmRecoveryPlanRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmRecoveryPlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGtmRecoveryPlanRequest::~DeleteGtmRecoveryPlanRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteGtmRecoveryPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteGtmRecoveryPlanRequest;
|
||||
|
||||
DeleteGtmRecoveryPlanRequest::DeleteGtmRecoveryPlanRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmRecoveryPlan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DeleteGtmRecoveryPlanRequest::~DeleteGtmRecoveryPlanRequest() {}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long DeleteGtmRecoveryPlanRequest::getRecoveryPlanId()const
|
||||
{
|
||||
return recoveryPlanId_;
|
||||
void DeleteGtmRecoveryPlanRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
|
||||
{
|
||||
recoveryPlanId_ = recoveryPlanId;
|
||||
setParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
|
||||
long DeleteGtmRecoveryPlanRequest::getRecoveryPlanId() const {
|
||||
return recoveryPlanId_;
|
||||
}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId) {
|
||||
recoveryPlanId_ = recoveryPlanId;
|
||||
setParameter(std::string("RecoveryPlanId"), std::to_string(recoveryPlanId));
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteGtmRecoveryPlanRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteSubDomainRecordsRequest;
|
||||
|
||||
DeleteSubDomainRecordsRequest::DeleteSubDomainRecordsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteSubDomainRecords")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSubDomainRecordsRequest::~DeleteSubDomainRecordsRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getRR()const
|
||||
{
|
||||
return rR_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DeleteSubDomainRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DeleteSubDomainRecordsRequest;
|
||||
|
||||
DeleteSubDomainRecordsRequest::DeleteSubDomainRecordsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DeleteSubDomainRecords") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setRR(const std::string& rR)
|
||||
{
|
||||
rR_ = rR;
|
||||
setParameter("RR", rR);
|
||||
DeleteSubDomainRecordsRequest::~DeleteSubDomainRecordsRequest() {}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getRR() const {
|
||||
return rR_;
|
||||
}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteSubDomainRecordsRequest::setRR(const std::string &rR) {
|
||||
rR_ = rR;
|
||||
setParameter(std::string("RR"), rR);
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteSubDomainRecordsRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void DeleteSubDomainRecordsRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string DeleteSubDomainRecordsRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteSubDomainRecordsRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteSubDomainRecordsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DeleteSubDomainRecordsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DeleteSubDomainRecordsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DeleteSubDomainRecordsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DeleteSubDomainRecordsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DeleteSubDomainRecordsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteSubDomainRecordsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeBatchResultCountRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeBatchResultCountRequest;
|
||||
|
||||
DescribeBatchResultCountRequest::DescribeBatchResultCountRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultCount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBatchResultCountRequest::~DescribeBatchResultCountRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBatchResultCountRequest::getBatchType()const
|
||||
{
|
||||
return batchType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeBatchResultCountRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeBatchResultCountRequest;
|
||||
|
||||
DescribeBatchResultCountRequest::DescribeBatchResultCountRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultCount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeBatchResultCountRequest::setBatchType(const std::string& batchType)
|
||||
{
|
||||
batchType_ = batchType;
|
||||
setParameter("BatchType", batchType);
|
||||
DescribeBatchResultCountRequest::~DescribeBatchResultCountRequest() {}
|
||||
|
||||
std::string DescribeBatchResultCountRequest::getBatchType() const {
|
||||
return batchType_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultCountRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeBatchResultCountRequest::setBatchType(const std::string &batchType) {
|
||||
batchType_ = batchType;
|
||||
setParameter(std::string("BatchType"), batchType);
|
||||
}
|
||||
|
||||
void DescribeBatchResultCountRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeBatchResultCountRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultCountRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeBatchResultCountRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeBatchResultCountRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeBatchResultCountRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
long DescribeBatchResultCountRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
void DescribeBatchResultCountRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeBatchResultCountRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
long DescribeBatchResultCountRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeBatchResultCountRequest::setTaskId(long taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), std::to_string(taskId));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,16 +43,16 @@ void DescribeBatchResultCountResult::parse(const std::string &payload)
|
||||
status_ = std::stoi(value["Status"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
if(!value["Reason"].isNull())
|
||||
reason_ = value["Reason"].asString();
|
||||
if(!value["BatchType"].isNull())
|
||||
batchType_ = value["BatchType"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stol(value["TaskId"].asString());
|
||||
if(!value["FailedCount"].isNull())
|
||||
failedCount_ = std::stoi(value["FailedCount"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["BatchType"].isNull())
|
||||
batchType_ = value["BatchType"].asString();
|
||||
if(!value["Reason"].isNull())
|
||||
reason_ = value["Reason"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -81,13 +81,13 @@ int DescribeBatchResultCountResult::getSuccessCount()const
|
||||
return successCount_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultCountResult::getReason()const
|
||||
{
|
||||
return reason_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultCountResult::getBatchType()const
|
||||
{
|
||||
return batchType_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultCountResult::getReason()const
|
||||
{
|
||||
return reason_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeBatchResultDetailRequest;
|
||||
|
||||
DescribeBatchResultDetailRequest::DescribeBatchResultDetailRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBatchResultDetailRequest::~DescribeBatchResultDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getBatchType()const
|
||||
{
|
||||
return batchType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeBatchResultDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeBatchResultDetailRequest;
|
||||
|
||||
DescribeBatchResultDetailRequest::DescribeBatchResultDetailRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setBatchType(const std::string& batchType)
|
||||
{
|
||||
batchType_ = batchType;
|
||||
setParameter("BatchType", batchType);
|
||||
DescribeBatchResultDetailRequest::~DescribeBatchResultDetailRequest() {}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getBatchType() const {
|
||||
return batchType_;
|
||||
}
|
||||
|
||||
int DescribeBatchResultDetailRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeBatchResultDetailRequest::setBatchType(const std::string &batchType) {
|
||||
batchType_ = batchType;
|
||||
setParameter(std::string("BatchType"), batchType);
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int DescribeBatchResultDetailRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeBatchResultDetailRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeBatchResultDetailRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int DescribeBatchResultDetailRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeBatchResultDetailRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeBatchResultDetailRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeBatchResultDetailRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeBatchResultDetailRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
long DescribeBatchResultDetailRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
void DescribeBatchResultDetailRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
long DescribeBatchResultDetailRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
std::string DescribeBatchResultDetailRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
void DescribeBatchResultDetailRequest::setTaskId(long taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), std::to_string(taskId));
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
std::string DescribeBatchResultDetailRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeBatchResultDetailRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,46 +43,46 @@ void DescribeBatchResultDetailResult::parse(const std::string &payload)
|
||||
for (auto valueBatchResultDetailsBatchResultDetail : allBatchResultDetailsNode)
|
||||
{
|
||||
BatchResultDetail batchResultDetailsObject;
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Domain"].isNull())
|
||||
batchResultDetailsObject.domain = valueBatchResultDetailsBatchResultDetail["Domain"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Type"].isNull())
|
||||
batchResultDetailsObject.type = valueBatchResultDetailsBatchResultDetail["Type"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Rr"].isNull())
|
||||
batchResultDetailsObject.rr = valueBatchResultDetailsBatchResultDetail["Rr"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Value"].isNull())
|
||||
batchResultDetailsObject.value = valueBatchResultDetailsBatchResultDetail["Value"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Status"].isNull())
|
||||
batchResultDetailsObject.status = valueBatchResultDetailsBatchResultDetail["Status"].asString() == "true";
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Reason"].isNull())
|
||||
batchResultDetailsObject.reason = valueBatchResultDetailsBatchResultDetail["Reason"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["NewRr"].isNull())
|
||||
batchResultDetailsObject.newRr = valueBatchResultDetailsBatchResultDetail["NewRr"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["NewValue"].isNull())
|
||||
batchResultDetailsObject.newValue = valueBatchResultDetailsBatchResultDetail["NewValue"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["BatchType"].isNull())
|
||||
batchResultDetailsObject.batchType = valueBatchResultDetailsBatchResultDetail["BatchType"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["OperateDateStr"].isNull())
|
||||
batchResultDetailsObject.operateDateStr = valueBatchResultDetailsBatchResultDetail["OperateDateStr"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Line"].isNull())
|
||||
batchResultDetailsObject.line = valueBatchResultDetailsBatchResultDetail["Line"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Priority"].isNull())
|
||||
batchResultDetailsObject.priority = valueBatchResultDetailsBatchResultDetail["Priority"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Ttl"].isNull())
|
||||
batchResultDetailsObject.ttl = valueBatchResultDetailsBatchResultDetail["Ttl"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["RecordId"].isNull())
|
||||
batchResultDetailsObject.recordId = valueBatchResultDetailsBatchResultDetail["RecordId"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Type"].isNull())
|
||||
batchResultDetailsObject.type = valueBatchResultDetailsBatchResultDetail["Type"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Domain"].isNull())
|
||||
batchResultDetailsObject.domain = valueBatchResultDetailsBatchResultDetail["Domain"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Remark"].isNull())
|
||||
batchResultDetailsObject.remark = valueBatchResultDetailsBatchResultDetail["Remark"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["RecordId"].isNull())
|
||||
batchResultDetailsObject.recordId = valueBatchResultDetailsBatchResultDetail["RecordId"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Rr"].isNull())
|
||||
batchResultDetailsObject.rr = valueBatchResultDetailsBatchResultDetail["Rr"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Priority"].isNull())
|
||||
batchResultDetailsObject.priority = valueBatchResultDetailsBatchResultDetail["Priority"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["RrStatus"].isNull())
|
||||
batchResultDetailsObject.rrStatus = valueBatchResultDetailsBatchResultDetail["RrStatus"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["OperateDateStr"].isNull())
|
||||
batchResultDetailsObject.operateDateStr = valueBatchResultDetailsBatchResultDetail["OperateDateStr"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["NewValue"].isNull())
|
||||
batchResultDetailsObject.newValue = valueBatchResultDetailsBatchResultDetail["NewValue"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Value"].isNull())
|
||||
batchResultDetailsObject.value = valueBatchResultDetailsBatchResultDetail["Value"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Ttl"].isNull())
|
||||
batchResultDetailsObject.ttl = valueBatchResultDetailsBatchResultDetail["Ttl"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["BatchType"].isNull())
|
||||
batchResultDetailsObject.batchType = valueBatchResultDetailsBatchResultDetail["BatchType"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Line"].isNull())
|
||||
batchResultDetailsObject.line = valueBatchResultDetailsBatchResultDetail["Line"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["NewRr"].isNull())
|
||||
batchResultDetailsObject.newRr = valueBatchResultDetailsBatchResultDetail["NewRr"].asString();
|
||||
if(!valueBatchResultDetailsBatchResultDetail["Reason"].isNull())
|
||||
batchResultDetailsObject.reason = valueBatchResultDetailsBatchResultDetail["Reason"].asString();
|
||||
batchResultDetails_.push_back(batchResultDetailsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLineRequest;
|
||||
|
||||
DescribeCustomLineRequest::DescribeCustomLineRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCustomLineRequest::~DescribeCustomLineRequest()
|
||||
{}
|
||||
|
||||
long DescribeCustomLineRequest::getLineId()const
|
||||
{
|
||||
return lineId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLineRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLineRequest;
|
||||
|
||||
DescribeCustomLineRequest::DescribeCustomLineRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLine") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLineId(long lineId)
|
||||
{
|
||||
lineId_ = lineId;
|
||||
setParameter("LineId", std::to_string(lineId));
|
||||
DescribeCustomLineRequest::~DescribeCustomLineRequest() {}
|
||||
|
||||
long DescribeCustomLineRequest::getLineId() const {
|
||||
return lineId_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeCustomLineRequest::setLineId(long lineId) {
|
||||
lineId_ = lineId;
|
||||
setParameter(std::string("LineId"), std::to_string(lineId));
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeCustomLineRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeCustomLineRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeCustomLineRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCustomLineRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,28 +43,28 @@ void DescribeCustomLineResult::parse(const std::string &payload)
|
||||
for (auto valueIpSegmentListIpSegment : allIpSegmentListNode)
|
||||
{
|
||||
IpSegment ipSegmentListObject;
|
||||
if(!valueIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = valueIpSegmentListIpSegment["Name"].asString();
|
||||
if(!valueIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = valueIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!valueIpSegmentListIpSegment["EndIp"].isNull())
|
||||
ipSegmentListObject.endIp = valueIpSegmentListIpSegment["EndIp"].asString();
|
||||
if(!valueIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = valueIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!valueIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = valueIpSegmentListIpSegment["Name"].asString();
|
||||
ipSegmentList_.push_back(ipSegmentListObject);
|
||||
}
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stol(value["Id"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stol(value["Id"].asString());
|
||||
if(!value["IpSegments"].isNull())
|
||||
ipSegments_ = value["IpSegments"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -93,16 +93,16 @@ std::string DescribeCustomLineResult::getIpSegments()const
|
||||
return ipSegments_;
|
||||
}
|
||||
|
||||
long DescribeCustomLineResult::getCreateTimestamp()const
|
||||
{
|
||||
return createTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
long DescribeCustomLineResult::getCreateTimestamp()const
|
||||
{
|
||||
return createTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLineResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLinesRequest;
|
||||
|
||||
DescribeCustomLinesRequest::DescribeCustomLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCustomLinesRequest::~DescribeCustomLinesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeCustomLinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeCustomLinesRequest;
|
||||
|
||||
DescribeCustomLinesRequest::DescribeCustomLinesRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeCustomLines") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeCustomLinesRequest::~DescribeCustomLinesRequest() {}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeCustomLinesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeCustomLinesRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
long DescribeCustomLinesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeCustomLinesRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeCustomLinesRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long DescribeCustomLinesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeCustomLinesRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long DescribeCustomLinesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeCustomLinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeCustomLinesRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeCustomLinesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCustomLinesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,40 +43,40 @@ void DescribeCustomLinesResult::parse(const std::string &payload)
|
||||
for (auto valueCustomLinesCustomLine : allCustomLinesNode)
|
||||
{
|
||||
CustomLine customLinesObject;
|
||||
if(!valueCustomLinesCustomLine["Id"].isNull())
|
||||
customLinesObject.id = std::stol(valueCustomLinesCustomLine["Id"].asString());
|
||||
if(!valueCustomLinesCustomLine["Name"].isNull())
|
||||
customLinesObject.name = valueCustomLinesCustomLine["Name"].asString();
|
||||
if(!valueCustomLinesCustomLine["CreateTime"].isNull())
|
||||
customLinesObject.createTime = valueCustomLinesCustomLine["CreateTime"].asString();
|
||||
if(!valueCustomLinesCustomLine["CreateTimestamp"].isNull())
|
||||
customLinesObject.createTimestamp = std::stol(valueCustomLinesCustomLine["CreateTimestamp"].asString());
|
||||
if(!valueCustomLinesCustomLine["IpSegments"].isNull())
|
||||
customLinesObject.ipSegments = valueCustomLinesCustomLine["IpSegments"].asString();
|
||||
if(!valueCustomLinesCustomLine["Code"].isNull())
|
||||
customLinesObject.code = valueCustomLinesCustomLine["Code"].asString();
|
||||
if(!valueCustomLinesCustomLine["Name"].isNull())
|
||||
customLinesObject.name = valueCustomLinesCustomLine["Name"].asString();
|
||||
if(!valueCustomLinesCustomLine["IpSegments"].isNull())
|
||||
customLinesObject.ipSegments = valueCustomLinesCustomLine["IpSegments"].asString();
|
||||
if(!valueCustomLinesCustomLine["Id"].isNull())
|
||||
customLinesObject.id = std::stol(valueCustomLinesCustomLine["Id"].asString());
|
||||
if(!valueCustomLinesCustomLine["CreateTimestamp"].isNull())
|
||||
customLinesObject.createTimestamp = std::stol(valueCustomLinesCustomLine["CreateTimestamp"].asString());
|
||||
auto allIpSegmentListNode = valueCustomLinesCustomLine["IpSegmentList"]["IpSegment"];
|
||||
for (auto valueCustomLinesCustomLineIpSegmentListIpSegment : allIpSegmentListNode)
|
||||
{
|
||||
CustomLine::IpSegment ipSegmentListObject;
|
||||
if(!valueCustomLinesCustomLineIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = valueCustomLinesCustomLineIpSegmentListIpSegment["Name"].asString();
|
||||
if(!valueCustomLinesCustomLineIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = valueCustomLinesCustomLineIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!valueCustomLinesCustomLineIpSegmentListIpSegment["EndIp"].isNull())
|
||||
ipSegmentListObject.endIp = valueCustomLinesCustomLineIpSegmentListIpSegment["EndIp"].asString();
|
||||
if(!valueCustomLinesCustomLineIpSegmentListIpSegment["StartIp"].isNull())
|
||||
ipSegmentListObject.startIp = valueCustomLinesCustomLineIpSegmentListIpSegment["StartIp"].asString();
|
||||
if(!valueCustomLinesCustomLineIpSegmentListIpSegment["Name"].isNull())
|
||||
ipSegmentListObject.name = valueCustomLinesCustomLineIpSegmentListIpSegment["Name"].asString();
|
||||
customLinesObject.ipSegmentList.push_back(ipSegmentListObject);
|
||||
}
|
||||
customLines_.push_back(customLinesObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDNSSLBSubDomainsRequest;
|
||||
|
||||
DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDNSSLBSubDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getRr()const
|
||||
{
|
||||
return rr_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDNSSLBSubDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDNSSLBSubDomainsRequest;
|
||||
|
||||
DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDNSSLBSubDomains") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setRr(const std::string& rr)
|
||||
{
|
||||
rr_ = rr;
|
||||
setParameter("Rr", rr);
|
||||
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest() {}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getRr() const {
|
||||
return rr_;
|
||||
}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeDNSSLBSubDomainsRequest::setRr(const std::string &rr) {
|
||||
rr_ = rr;
|
||||
setParameter(std::string("Rr"), rr);
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeDNSSLBSubDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeDNSSLBSubDomainsRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
long DescribeDNSSLBSubDomainsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DescribeDNSSLBSubDomainsRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDNSSLBSubDomainsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long DescribeDNSSLBSubDomainsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDNSSLBSubDomainsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long DescribeDNSSLBSubDomainsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDNSSLBSubDomainsRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDNSSLBSubDomainsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDNSSLBSubDomainsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@ void DescribeDNSSLBSubDomainsResult::parse(const std::string &payload)
|
||||
for (auto valueSlbSubDomainsSlbSubDomain : allSlbSubDomainsNode)
|
||||
{
|
||||
SlbSubDomain slbSubDomainsObject;
|
||||
if(!valueSlbSubDomainsSlbSubDomain["SubDomain"].isNull())
|
||||
slbSubDomainsObject.subDomain = valueSlbSubDomainsSlbSubDomain["SubDomain"].asString();
|
||||
if(!valueSlbSubDomainsSlbSubDomain["Type"].isNull())
|
||||
slbSubDomainsObject.type = valueSlbSubDomainsSlbSubDomain["Type"].asString();
|
||||
if(!valueSlbSubDomainsSlbSubDomain["RecordCount"].isNull())
|
||||
slbSubDomainsObject.recordCount = std::stol(valueSlbSubDomainsSlbSubDomain["RecordCount"].asString());
|
||||
if(!valueSlbSubDomainsSlbSubDomain["Open"].isNull())
|
||||
slbSubDomainsObject.open = valueSlbSubDomainsSlbSubDomain["Open"].asString() == "true";
|
||||
if(!valueSlbSubDomainsSlbSubDomain["Type"].isNull())
|
||||
slbSubDomainsObject.type = valueSlbSubDomainsSlbSubDomain["Type"].asString();
|
||||
if(!valueSlbSubDomainsSlbSubDomain["SubDomain"].isNull())
|
||||
slbSubDomainsObject.subDomain = valueSlbSubDomainsSlbSubDomain["SubDomain"].asString();
|
||||
auto allLineAlgorithmsNode = valueSlbSubDomainsSlbSubDomain["LineAlgorithms"]["LineAlgorithm"];
|
||||
for (auto valueSlbSubDomainsSlbSubDomainLineAlgorithmsLineAlgorithm : allLineAlgorithmsNode)
|
||||
{
|
||||
@@ -65,10 +65,10 @@ void DescribeDNSSLBSubDomainsResult::parse(const std::string &payload)
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsCacheDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsCacheDomainsRequest;
|
||||
|
||||
DescribeDnsCacheDomainsRequest::DescribeDnsCacheDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsCacheDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsCacheDomainsRequest::~DescribeDnsCacheDomainsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDnsCacheDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsCacheDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsCacheDomainsRequest;
|
||||
|
||||
DescribeDnsCacheDomainsRequest::DescribeDnsCacheDomainsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsCacheDomains") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsCacheDomainsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeDnsCacheDomainsRequest::~DescribeDnsCacheDomainsRequest() {}
|
||||
|
||||
long DescribeDnsCacheDomainsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsCacheDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsCacheDomainsRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDnsCacheDomainsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsCacheDomainsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long DescribeDnsCacheDomainsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDnsCacheDomainsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsCacheDomainsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long DescribeDnsCacheDomainsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsCacheDomainsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsCacheDomainsRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDnsCacheDomainsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsCacheDomainsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsCacheDomainsRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
void DescribeDnsCacheDomainsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDnsCacheDomainsRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
std::string DescribeDnsCacheDomainsRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeDnsCacheDomainsRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,36 +43,36 @@ void DescribeDnsCacheDomainsResult::parse(const std::string &payload)
|
||||
for (auto valueDomainsDomain : allDomainsNode)
|
||||
{
|
||||
Domain domainsObject;
|
||||
if(!valueDomainsDomain["DomainId"].isNull())
|
||||
domainsObject.domainId = valueDomainsDomain["DomainId"].asString();
|
||||
if(!valueDomainsDomain["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsDomain["DomainName"].asString();
|
||||
if(!valueDomainsDomain["InstanceId"].isNull())
|
||||
domainsObject.instanceId = valueDomainsDomain["InstanceId"].asString();
|
||||
if(!valueDomainsDomain["VersionCode"].isNull())
|
||||
domainsObject.versionCode = valueDomainsDomain["VersionCode"].asString();
|
||||
if(!valueDomainsDomain["Remark"].isNull())
|
||||
domainsObject.remark = valueDomainsDomain["Remark"].asString();
|
||||
if(!valueDomainsDomain["UpdateTime"].isNull())
|
||||
domainsObject.updateTime = valueDomainsDomain["UpdateTime"].asString();
|
||||
if(!valueDomainsDomain["UpdateTimestamp"].isNull())
|
||||
domainsObject.updateTimestamp = std::stol(valueDomainsDomain["UpdateTimestamp"].asString());
|
||||
if(!valueDomainsDomain["CreateTime"].isNull())
|
||||
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||
if(!valueDomainsDomain["CacheTtlMin"].isNull())
|
||||
domainsObject.cacheTtlMin = std::stoi(valueDomainsDomain["CacheTtlMin"].asString());
|
||||
if(!valueDomainsDomain["CacheTtlMax"].isNull())
|
||||
domainsObject.cacheTtlMax = std::stoi(valueDomainsDomain["CacheTtlMax"].asString());
|
||||
if(!valueDomainsDomain["SourceProtocol"].isNull())
|
||||
domainsObject.sourceProtocol = valueDomainsDomain["SourceProtocol"].asString();
|
||||
if(!valueDomainsDomain["SourceEdns"].isNull())
|
||||
domainsObject.sourceEdns = valueDomainsDomain["SourceEdns"].asString();
|
||||
if(!valueDomainsDomain["UpdateTime"].isNull())
|
||||
domainsObject.updateTime = valueDomainsDomain["UpdateTime"].asString();
|
||||
if(!valueDomainsDomain["Remark"].isNull())
|
||||
domainsObject.remark = valueDomainsDomain["Remark"].asString();
|
||||
if(!valueDomainsDomain["ExpireTime"].isNull())
|
||||
domainsObject.expireTime = valueDomainsDomain["ExpireTime"].asString();
|
||||
if(!valueDomainsDomain["CreateTime"].isNull())
|
||||
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||
if(!valueDomainsDomain["InstanceId"].isNull())
|
||||
domainsObject.instanceId = valueDomainsDomain["InstanceId"].asString();
|
||||
if(!valueDomainsDomain["SourceEdns"].isNull())
|
||||
domainsObject.sourceEdns = valueDomainsDomain["SourceEdns"].asString();
|
||||
if(!valueDomainsDomain["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsDomain["DomainName"].asString();
|
||||
if(!valueDomainsDomain["DomainId"].isNull())
|
||||
domainsObject.domainId = valueDomainsDomain["DomainId"].asString();
|
||||
if(!valueDomainsDomain["UpdateTimestamp"].isNull())
|
||||
domainsObject.updateTimestamp = std::stol(valueDomainsDomain["UpdateTimestamp"].asString());
|
||||
if(!valueDomainsDomain["ExpireTimestamp"].isNull())
|
||||
domainsObject.expireTimestamp = std::stol(valueDomainsDomain["ExpireTimestamp"].asString());
|
||||
if(!valueDomainsDomain["CacheTtlMax"].isNull())
|
||||
domainsObject.cacheTtlMax = std::stoi(valueDomainsDomain["CacheTtlMax"].asString());
|
||||
if(!valueDomainsDomain["CacheTtlMin"].isNull())
|
||||
domainsObject.cacheTtlMin = std::stoi(valueDomainsDomain["CacheTtlMin"].asString());
|
||||
if(!valueDomainsDomain["VersionCode"].isNull())
|
||||
domainsObject.versionCode = valueDomainsDomain["VersionCode"].asString();
|
||||
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||
auto allSourceDnsServersNode = valueDomainsDomain["SourceDnsServers"]["SourceDnsServer"];
|
||||
for (auto valueDomainsDomainSourceDnsServersSourceDnsServer : allSourceDnsServersNode)
|
||||
{
|
||||
@@ -87,10 +87,10 @@ void DescribeDnsCacheDomainsResult::parse(const std::string &payload)
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAccessStrategiesRequest;
|
||||
|
||||
DescribeDnsGtmAccessStrategiesRequest::DescribeDnsGtmAccessStrategiesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAccessStrategies")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmAccessStrategiesRequest::~DescribeDnsGtmAccessStrategiesRequest()
|
||||
{}
|
||||
|
||||
int DescribeDnsGtmAccessStrategiesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAccessStrategiesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAccessStrategiesRequest;
|
||||
|
||||
DescribeDnsGtmAccessStrategiesRequest::DescribeDnsGtmAccessStrategiesRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAccessStrategies") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeDnsGtmAccessStrategiesRequest::~DescribeDnsGtmAccessStrategiesRequest() {}
|
||||
|
||||
int DescribeDnsGtmAccessStrategiesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmAccessStrategiesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeDnsGtmAccessStrategiesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getStrategyMode()const
|
||||
{
|
||||
return strategyMode_;
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setStrategyMode(const std::string& strategyMode)
|
||||
{
|
||||
strategyMode_ = strategyMode;
|
||||
setParameter("StrategyMode", strategyMode);
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getStrategyMode() const {
|
||||
return strategyMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setStrategyMode(const std::string &strategyMode) {
|
||||
strategyMode_ = strategyMode;
|
||||
setParameter(std::string("StrategyMode"), strategyMode);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmAccessStrategiesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategiesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,58 +43,58 @@ void DescribeDnsGtmAccessStrategiesResult::parse(const std::string &payload)
|
||||
for (auto valueStrategiesStrategy : allStrategiesNode)
|
||||
{
|
||||
Strategy strategiesObject;
|
||||
if(!valueStrategiesStrategy["EffectiveLbaStrategy"].isNull())
|
||||
strategiesObject.effectiveLbaStrategy = valueStrategiesStrategy["EffectiveLbaStrategy"].asString();
|
||||
if(!valueStrategiesStrategy["StrategyId"].isNull())
|
||||
strategiesObject.strategyId = valueStrategiesStrategy["StrategyId"].asString();
|
||||
if(!valueStrategiesStrategy["StrategyName"].isNull())
|
||||
strategiesObject.strategyName = valueStrategiesStrategy["StrategyName"].asString();
|
||||
if(!valueStrategiesStrategy["EffectiveAddrPoolGroupType"].isNull())
|
||||
strategiesObject.effectiveAddrPoolGroupType = valueStrategiesStrategy["EffectiveAddrPoolGroupType"].asString();
|
||||
if(!valueStrategiesStrategy["CreateTime"].isNull())
|
||||
strategiesObject.createTime = valueStrategiesStrategy["CreateTime"].asString();
|
||||
if(!valueStrategiesStrategy["CreateTimestamp"].isNull())
|
||||
strategiesObject.createTimestamp = std::stol(valueStrategiesStrategy["CreateTimestamp"].asString());
|
||||
if(!valueStrategiesStrategy["EffectiveAddrPoolGroupType"].isNull())
|
||||
strategiesObject.effectiveAddrPoolGroupType = valueStrategiesStrategy["EffectiveAddrPoolGroupType"].asString();
|
||||
if(!valueStrategiesStrategy["EffectiveAddrPoolType"].isNull())
|
||||
strategiesObject.effectiveAddrPoolType = valueStrategiesStrategy["EffectiveAddrPoolType"].asString();
|
||||
if(!valueStrategiesStrategy["EffectiveLbaStrategy"].isNull())
|
||||
strategiesObject.effectiveLbaStrategy = valueStrategiesStrategy["EffectiveLbaStrategy"].asString();
|
||||
auto allEffectiveAddrPoolsNode = valueStrategiesStrategy["EffectiveAddrPools"]["EffectiveAddrPool"];
|
||||
for (auto valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool : allEffectiveAddrPoolsNode)
|
||||
{
|
||||
Strategy::EffectiveAddrPool effectiveAddrPoolsObject;
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["LbaWeight"].isNull())
|
||||
effectiveAddrPoolsObject.lbaWeight = std::stoi(valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["LbaWeight"].asString());
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Name"].isNull())
|
||||
effectiveAddrPoolsObject.name = valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Name"].asString();
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["AddrCount"].isNull())
|
||||
effectiveAddrPoolsObject.addrCount = std::stoi(valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["AddrCount"].asString());
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Id"].isNull())
|
||||
effectiveAddrPoolsObject.id = valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Id"].asString();
|
||||
strategiesObject.effectiveAddrPools.push_back(effectiveAddrPoolsObject);
|
||||
}
|
||||
auto allLinesNode = valueStrategiesStrategy["Lines"]["Line"];
|
||||
for (auto valueStrategiesStrategyLinesLine : allLinesNode)
|
||||
{
|
||||
Strategy::Line linesObject;
|
||||
if(!valueStrategiesStrategyLinesLine["GroupName"].isNull())
|
||||
linesObject.groupName = valueStrategiesStrategyLinesLine["GroupName"].asString();
|
||||
if(!valueStrategiesStrategyLinesLine["LineCode"].isNull())
|
||||
linesObject.lineCode = valueStrategiesStrategyLinesLine["LineCode"].asString();
|
||||
if(!valueStrategiesStrategyLinesLine["LineName"].isNull())
|
||||
linesObject.lineName = valueStrategiesStrategyLinesLine["LineName"].asString();
|
||||
if(!valueStrategiesStrategyLinesLine["GroupCode"].isNull())
|
||||
linesObject.groupCode = valueStrategiesStrategyLinesLine["GroupCode"].asString();
|
||||
if(!valueStrategiesStrategyLinesLine["GroupName"].isNull())
|
||||
linesObject.groupName = valueStrategiesStrategyLinesLine["GroupName"].asString();
|
||||
strategiesObject.lines.push_back(linesObject);
|
||||
}
|
||||
auto allEffectiveAddrPoolsNode = valueStrategiesStrategy["EffectiveAddrPools"]["EffectiveAddrPool"];
|
||||
for (auto valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool : allEffectiveAddrPoolsNode)
|
||||
{
|
||||
Strategy::EffectiveAddrPool effectiveAddrPoolsObject;
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Id"].isNull())
|
||||
effectiveAddrPoolsObject.id = valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Id"].asString();
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Name"].isNull())
|
||||
effectiveAddrPoolsObject.name = valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["Name"].asString();
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["AddrCount"].isNull())
|
||||
effectiveAddrPoolsObject.addrCount = std::stoi(valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["AddrCount"].asString());
|
||||
if(!valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["LbaWeight"].isNull())
|
||||
effectiveAddrPoolsObject.lbaWeight = std::stoi(valueStrategiesStrategyEffectiveAddrPoolsEffectiveAddrPool["LbaWeight"].asString());
|
||||
strategiesObject.effectiveAddrPools.push_back(effectiveAddrPoolsObject);
|
||||
}
|
||||
strategies_.push_back(strategiesObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest;
|
||||
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigRequest::DescribeDnsGtmAccessStrategyAvailableConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAccessStrategyAvailableConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigRequest::~DescribeDnsGtmAccessStrategyAvailableConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyAvailableConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAccessStrategyAvailableConfigRequest;
|
||||
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigRequest::DescribeDnsGtmAccessStrategyAvailableConfigRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAccessStrategyAvailableConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeDnsGtmAccessStrategyAvailableConfigRequest::~DescribeDnsGtmAccessStrategyAvailableConfigRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getStrategyMode()const
|
||||
{
|
||||
return strategyMode_;
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setStrategyMode(const std::string& strategyMode)
|
||||
{
|
||||
strategyMode_ = strategyMode;
|
||||
setParameter("StrategyMode", strategyMode);
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getStrategyMode() const {
|
||||
return strategyMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setStrategyMode(const std::string &strategyMode) {
|
||||
strategyMode_ = strategyMode;
|
||||
setParameter(std::string("StrategyMode"), strategyMode);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmAccessStrategyAvailableConfigRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyAvailableConfigRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,82 +39,82 @@ void DescribeDnsGtmAccessStrategyAvailableConfigResult::parse(const std::string
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainAddrPoolsNode = value["DomainAddrPools"]["DomainAddrPool"];
|
||||
for (auto valueDomainAddrPoolsDomainAddrPool : allDomainAddrPoolsNode)
|
||||
{
|
||||
DomainAddrPool domainAddrPoolsObject;
|
||||
if(!valueDomainAddrPoolsDomainAddrPool["Name"].isNull())
|
||||
domainAddrPoolsObject.name = valueDomainAddrPoolsDomainAddrPool["Name"].asString();
|
||||
if(!valueDomainAddrPoolsDomainAddrPool["AddrCount"].isNull())
|
||||
domainAddrPoolsObject.addrCount = std::stoi(valueDomainAddrPoolsDomainAddrPool["AddrCount"].asString());
|
||||
if(!valueDomainAddrPoolsDomainAddrPool["Id"].isNull())
|
||||
domainAddrPoolsObject.id = valueDomainAddrPoolsDomainAddrPool["Id"].asString();
|
||||
domainAddrPools_.push_back(domainAddrPoolsObject);
|
||||
}
|
||||
auto allIpv4AddrPoolsNode = value["Ipv4AddrPools"]["Ipv4AddrPool"];
|
||||
for (auto valueIpv4AddrPoolsIpv4AddrPool : allIpv4AddrPoolsNode)
|
||||
{
|
||||
Ipv4AddrPool ipv4AddrPoolsObject;
|
||||
if(!valueIpv4AddrPoolsIpv4AddrPool["Id"].isNull())
|
||||
ipv4AddrPoolsObject.id = valueIpv4AddrPoolsIpv4AddrPool["Id"].asString();
|
||||
if(!valueIpv4AddrPoolsIpv4AddrPool["Name"].isNull())
|
||||
ipv4AddrPoolsObject.name = valueIpv4AddrPoolsIpv4AddrPool["Name"].asString();
|
||||
if(!valueIpv4AddrPoolsIpv4AddrPool["AddrCount"].isNull())
|
||||
ipv4AddrPoolsObject.addrCount = std::stoi(valueIpv4AddrPoolsIpv4AddrPool["AddrCount"].asString());
|
||||
if(!valueIpv4AddrPoolsIpv4AddrPool["Id"].isNull())
|
||||
ipv4AddrPoolsObject.id = valueIpv4AddrPoolsIpv4AddrPool["Id"].asString();
|
||||
ipv4AddrPools_.push_back(ipv4AddrPoolsObject);
|
||||
}
|
||||
auto allIpv6AddrPoolsNode = value["Ipv6AddrPools"]["Ipv6AddrPool"];
|
||||
for (auto valueIpv6AddrPoolsIpv6AddrPool : allIpv6AddrPoolsNode)
|
||||
{
|
||||
Ipv6AddrPool ipv6AddrPoolsObject;
|
||||
if(!valueIpv6AddrPoolsIpv6AddrPool["Name"].isNull())
|
||||
ipv6AddrPoolsObject.name = valueIpv6AddrPoolsIpv6AddrPool["Name"].asString();
|
||||
if(!valueIpv6AddrPoolsIpv6AddrPool["AddrCount"].isNull())
|
||||
ipv6AddrPoolsObject.addrCount = std::stoi(valueIpv6AddrPoolsIpv6AddrPool["AddrCount"].asString());
|
||||
if(!valueIpv6AddrPoolsIpv6AddrPool["Id"].isNull())
|
||||
ipv6AddrPoolsObject.id = valueIpv6AddrPoolsIpv6AddrPool["Id"].asString();
|
||||
ipv6AddrPools_.push_back(ipv6AddrPoolsObject);
|
||||
}
|
||||
auto allLinesNode = value["Lines"]["Line"];
|
||||
for (auto valueLinesLine : allLinesNode)
|
||||
{
|
||||
Line linesObject;
|
||||
if(!valueLinesLine["FatherCode"].isNull())
|
||||
linesObject.fatherCode = valueLinesLine["FatherCode"].asString();
|
||||
if(!valueLinesLine["GroupName"].isNull())
|
||||
linesObject.groupName = valueLinesLine["GroupName"].asString();
|
||||
if(!valueLinesLine["LineCode"].isNull())
|
||||
linesObject.lineCode = valueLinesLine["LineCode"].asString();
|
||||
if(!valueLinesLine["LineName"].isNull())
|
||||
linesObject.lineName = valueLinesLine["LineName"].asString();
|
||||
if(!valueLinesLine["GroupCode"].isNull())
|
||||
linesObject.groupCode = valueLinesLine["GroupCode"].asString();
|
||||
if(!valueLinesLine["GroupName"].isNull())
|
||||
linesObject.groupName = valueLinesLine["GroupName"].asString();
|
||||
if(!valueLinesLine["FatherCode"].isNull())
|
||||
linesObject.fatherCode = valueLinesLine["FatherCode"].asString();
|
||||
lines_.push_back(linesObject);
|
||||
}
|
||||
auto allIpv6AddrPoolsNode = value["Ipv6AddrPools"]["Ipv6AddrPool"];
|
||||
for (auto valueIpv6AddrPoolsIpv6AddrPool : allIpv6AddrPoolsNode)
|
||||
{
|
||||
Ipv6AddrPool ipv6AddrPoolsObject;
|
||||
if(!valueIpv6AddrPoolsIpv6AddrPool["Id"].isNull())
|
||||
ipv6AddrPoolsObject.id = valueIpv6AddrPoolsIpv6AddrPool["Id"].asString();
|
||||
if(!valueIpv6AddrPoolsIpv6AddrPool["Name"].isNull())
|
||||
ipv6AddrPoolsObject.name = valueIpv6AddrPoolsIpv6AddrPool["Name"].asString();
|
||||
if(!valueIpv6AddrPoolsIpv6AddrPool["AddrCount"].isNull())
|
||||
ipv6AddrPoolsObject.addrCount = std::stoi(valueIpv6AddrPoolsIpv6AddrPool["AddrCount"].asString());
|
||||
ipv6AddrPools_.push_back(ipv6AddrPoolsObject);
|
||||
}
|
||||
auto allDomainAddrPoolsNode = value["DomainAddrPools"]["DomainAddrPool"];
|
||||
for (auto valueDomainAddrPoolsDomainAddrPool : allDomainAddrPoolsNode)
|
||||
{
|
||||
DomainAddrPool domainAddrPoolsObject;
|
||||
if(!valueDomainAddrPoolsDomainAddrPool["Id"].isNull())
|
||||
domainAddrPoolsObject.id = valueDomainAddrPoolsDomainAddrPool["Id"].asString();
|
||||
if(!valueDomainAddrPoolsDomainAddrPool["Name"].isNull())
|
||||
domainAddrPoolsObject.name = valueDomainAddrPoolsDomainAddrPool["Name"].asString();
|
||||
if(!valueDomainAddrPoolsDomainAddrPool["AddrCount"].isNull())
|
||||
domainAddrPoolsObject.addrCount = std::stoi(valueDomainAddrPoolsDomainAddrPool["AddrCount"].asString());
|
||||
domainAddrPools_.push_back(domainAddrPoolsObject);
|
||||
}
|
||||
auto allSelectedDomainLines = value["SelectedDomainLines"]["SelectedDomainLine"];
|
||||
for (const auto &item : allSelectedDomainLines)
|
||||
selectedDomainLines_.push_back(item.asString());
|
||||
auto allSelectedIpv4Lines = value["SelectedIpv4Lines"]["SelectedIpv4Line"];
|
||||
for (const auto &item : allSelectedIpv4Lines)
|
||||
selectedIpv4Lines_.push_back(item.asString());
|
||||
auto allSelectedIpv6Lines = value["SelectedIpv6Lines"]["SelectedIpv6Line"];
|
||||
for (const auto &item : allSelectedIpv6Lines)
|
||||
selectedIpv6Lines_.push_back(item.asString());
|
||||
auto allSelectedDomainLines = value["SelectedDomainLines"]["SelectedDomainLine"];
|
||||
for (const auto &item : allSelectedDomainLines)
|
||||
selectedDomainLines_.push_back(item.asString());
|
||||
if(!value["SuggestSetDefaultLine"].isNull())
|
||||
suggestSetDefaultLine_ = value["SuggestSetDefaultLine"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Ipv4AddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getIpv4AddrPools()const
|
||||
{
|
||||
return ipv4AddrPools_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::DomainAddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getDomainAddrPools()const
|
||||
{
|
||||
return domainAddrPools_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDnsGtmAccessStrategyAvailableConfigResult::Ipv4AddrPool> DescribeDnsGtmAccessStrategyAvailableConfigResult::getIpv4AddrPools()const
|
||||
{
|
||||
return ipv4AddrPools_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDnsGtmAccessStrategyAvailableConfigResult::getSelectedDomainLines()const
|
||||
{
|
||||
return selectedDomainLines_;
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAccessStrategyRequest;
|
||||
|
||||
DescribeDnsGtmAccessStrategyRequest::DescribeDnsGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAccessStrategy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmAccessStrategyRequest::~DescribeDnsGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAccessStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAccessStrategyRequest;
|
||||
|
||||
DescribeDnsGtmAccessStrategyRequest::DescribeDnsGtmAccessStrategyRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAccessStrategy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DescribeDnsGtmAccessStrategyRequest::~DescribeDnsGtmAccessStrategyRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyRequest::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
void DescribeDnsGtmAccessStrategyRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyRequest::setStrategyId(const std::string& strategyId)
|
||||
{
|
||||
strategyId_ = strategyId;
|
||||
setParameter("StrategyId", strategyId);
|
||||
std::string DescribeDnsGtmAccessStrategyRequest::getStrategyId() const {
|
||||
return strategyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmAccessStrategyRequest::setStrategyId(const std::string &strategyId) {
|
||||
strategyId_ = strategyId;
|
||||
setParameter(std::string("StrategyId"), strategyId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmAccessStrategyRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAccessStrategyRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,92 +39,92 @@ void DescribeDnsGtmAccessStrategyResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFailoverAddrPoolsNode = value["FailoverAddrPools"]["FailoverAddrPool"];
|
||||
for (auto valueFailoverAddrPoolsFailoverAddrPool : allFailoverAddrPoolsNode)
|
||||
{
|
||||
FailoverAddrPool failoverAddrPoolsObject;
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["LbaWeight"].isNull())
|
||||
failoverAddrPoolsObject.lbaWeight = std::stoi(valueFailoverAddrPoolsFailoverAddrPool["LbaWeight"].asString());
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["Name"].isNull())
|
||||
failoverAddrPoolsObject.name = valueFailoverAddrPoolsFailoverAddrPool["Name"].asString();
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["AddrCount"].isNull())
|
||||
failoverAddrPoolsObject.addrCount = std::stoi(valueFailoverAddrPoolsFailoverAddrPool["AddrCount"].asString());
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["Id"].isNull())
|
||||
failoverAddrPoolsObject.id = valueFailoverAddrPoolsFailoverAddrPool["Id"].asString();
|
||||
failoverAddrPools_.push_back(failoverAddrPoolsObject);
|
||||
}
|
||||
auto allDefaultAddrPoolsNode = value["DefaultAddrPools"]["DefaultAddrPool"];
|
||||
for (auto valueDefaultAddrPoolsDefaultAddrPool : allDefaultAddrPoolsNode)
|
||||
{
|
||||
DefaultAddrPool defaultAddrPoolsObject;
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["LbaWeight"].isNull())
|
||||
defaultAddrPoolsObject.lbaWeight = std::stoi(valueDefaultAddrPoolsDefaultAddrPool["LbaWeight"].asString());
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["Name"].isNull())
|
||||
defaultAddrPoolsObject.name = valueDefaultAddrPoolsDefaultAddrPool["Name"].asString();
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["AddrCount"].isNull())
|
||||
defaultAddrPoolsObject.addrCount = std::stoi(valueDefaultAddrPoolsDefaultAddrPool["AddrCount"].asString());
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["Id"].isNull())
|
||||
defaultAddrPoolsObject.id = valueDefaultAddrPoolsDefaultAddrPool["Id"].asString();
|
||||
defaultAddrPools_.push_back(defaultAddrPoolsObject);
|
||||
}
|
||||
auto allLinesNode = value["Lines"]["Line"];
|
||||
for (auto valueLinesLine : allLinesNode)
|
||||
{
|
||||
Line linesObject;
|
||||
if(!valueLinesLine["GroupName"].isNull())
|
||||
linesObject.groupName = valueLinesLine["GroupName"].asString();
|
||||
if(!valueLinesLine["LineCode"].isNull())
|
||||
linesObject.lineCode = valueLinesLine["LineCode"].asString();
|
||||
if(!valueLinesLine["LineName"].isNull())
|
||||
linesObject.lineName = valueLinesLine["LineName"].asString();
|
||||
if(!valueLinesLine["GroupCode"].isNull())
|
||||
linesObject.groupCode = valueLinesLine["GroupCode"].asString();
|
||||
if(!valueLinesLine["GroupName"].isNull())
|
||||
linesObject.groupName = valueLinesLine["GroupName"].asString();
|
||||
lines_.push_back(linesObject);
|
||||
}
|
||||
auto allDefaultAddrPoolsNode = value["DefaultAddrPools"]["DefaultAddrPool"];
|
||||
for (auto valueDefaultAddrPoolsDefaultAddrPool : allDefaultAddrPoolsNode)
|
||||
{
|
||||
DefaultAddrPool defaultAddrPoolsObject;
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["Id"].isNull())
|
||||
defaultAddrPoolsObject.id = valueDefaultAddrPoolsDefaultAddrPool["Id"].asString();
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["Name"].isNull())
|
||||
defaultAddrPoolsObject.name = valueDefaultAddrPoolsDefaultAddrPool["Name"].asString();
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["AddrCount"].isNull())
|
||||
defaultAddrPoolsObject.addrCount = std::stoi(valueDefaultAddrPoolsDefaultAddrPool["AddrCount"].asString());
|
||||
if(!valueDefaultAddrPoolsDefaultAddrPool["LbaWeight"].isNull())
|
||||
defaultAddrPoolsObject.lbaWeight = std::stoi(valueDefaultAddrPoolsDefaultAddrPool["LbaWeight"].asString());
|
||||
defaultAddrPools_.push_back(defaultAddrPoolsObject);
|
||||
}
|
||||
auto allFailoverAddrPoolsNode = value["FailoverAddrPools"]["FailoverAddrPool"];
|
||||
for (auto valueFailoverAddrPoolsFailoverAddrPool : allFailoverAddrPoolsNode)
|
||||
{
|
||||
FailoverAddrPool failoverAddrPoolsObject;
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["Id"].isNull())
|
||||
failoverAddrPoolsObject.id = valueFailoverAddrPoolsFailoverAddrPool["Id"].asString();
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["Name"].isNull())
|
||||
failoverAddrPoolsObject.name = valueFailoverAddrPoolsFailoverAddrPool["Name"].asString();
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["AddrCount"].isNull())
|
||||
failoverAddrPoolsObject.addrCount = std::stoi(valueFailoverAddrPoolsFailoverAddrPool["AddrCount"].asString());
|
||||
if(!valueFailoverAddrPoolsFailoverAddrPool["LbaWeight"].isNull())
|
||||
failoverAddrPoolsObject.lbaWeight = std::stoi(valueFailoverAddrPoolsFailoverAddrPool["LbaWeight"].asString());
|
||||
failoverAddrPools_.push_back(failoverAddrPoolsObject);
|
||||
}
|
||||
if(!value["StrategyId"].isNull())
|
||||
strategyId_ = value["StrategyId"].asString();
|
||||
if(!value["StrategyName"].isNull())
|
||||
strategyName_ = value["StrategyName"].asString();
|
||||
if(!value["StrategyMode"].isNull())
|
||||
strategyMode_ = value["StrategyMode"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["FailoverMinAvailableAddrNum"].isNull())
|
||||
failoverMinAvailableAddrNum_ = std::stoi(value["FailoverMinAvailableAddrNum"].asString());
|
||||
if(!value["DefaultAddrPoolType"].isNull())
|
||||
defaultAddrPoolType_ = value["DefaultAddrPoolType"].asString();
|
||||
if(!value["DefaultLbaStrategy"].isNull())
|
||||
defaultLbaStrategy_ = value["DefaultLbaStrategy"].asString();
|
||||
if(!value["DefaultMinAvailableAddrNum"].isNull())
|
||||
defaultMinAvailableAddrNum_ = std::stoi(value["DefaultMinAvailableAddrNum"].asString());
|
||||
if(!value["DefaultAvailableAddrNum"].isNull())
|
||||
defaultAvailableAddrNum_ = std::stoi(value["DefaultAvailableAddrNum"].asString());
|
||||
if(!value["StrategyId"].isNull())
|
||||
strategyId_ = value["StrategyId"].asString();
|
||||
if(!value["FailoverAddrPoolGroupStatus"].isNull())
|
||||
failoverAddrPoolGroupStatus_ = value["FailoverAddrPoolGroupStatus"].asString();
|
||||
if(!value["FailoverAvailableAddrNum"].isNull())
|
||||
failoverAvailableAddrNum_ = std::stoi(value["FailoverAvailableAddrNum"].asString());
|
||||
if(!value["FailoverLbaStrategy"].isNull())
|
||||
failoverLbaStrategy_ = value["FailoverLbaStrategy"].asString();
|
||||
if(!value["DefaultMaxReturnAddrNum"].isNull())
|
||||
defaultMaxReturnAddrNum_ = std::stoi(value["DefaultMaxReturnAddrNum"].asString());
|
||||
if(!value["DefaultLatencyOptimization"].isNull())
|
||||
defaultLatencyOptimization_ = value["DefaultLatencyOptimization"].asString();
|
||||
if(!value["StrategyMode"].isNull())
|
||||
strategyMode_ = value["StrategyMode"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["DefaultLbaStrategy"].isNull())
|
||||
defaultLbaStrategy_ = value["DefaultLbaStrategy"].asString();
|
||||
if(!value["DefaultAddrPoolGroupStatus"].isNull())
|
||||
defaultAddrPoolGroupStatus_ = value["DefaultAddrPoolGroupStatus"].asString();
|
||||
if(!value["FailoverAddrPoolType"].isNull())
|
||||
failoverAddrPoolType_ = value["FailoverAddrPoolType"].asString();
|
||||
if(!value["FailoverLbaStrategy"].isNull())
|
||||
failoverLbaStrategy_ = value["FailoverLbaStrategy"].asString();
|
||||
if(!value["FailoverMinAvailableAddrNum"].isNull())
|
||||
failoverMinAvailableAddrNum_ = std::stoi(value["FailoverMinAvailableAddrNum"].asString());
|
||||
if(!value["FailoverMaxReturnAddrNum"].isNull())
|
||||
failoverMaxReturnAddrNum_ = std::stoi(value["FailoverMaxReturnAddrNum"].asString());
|
||||
if(!value["FailoverLatencyOptimization"].isNull())
|
||||
failoverLatencyOptimization_ = value["FailoverLatencyOptimization"].asString();
|
||||
if(!value["FailoverAddrPoolGroupStatus"].isNull())
|
||||
failoverAddrPoolGroupStatus_ = value["FailoverAddrPoolGroupStatus"].asString();
|
||||
if(!value["AccessMode"].isNull())
|
||||
accessMode_ = value["AccessMode"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["DefaultLatencyOptimization"].isNull())
|
||||
defaultLatencyOptimization_ = value["DefaultLatencyOptimization"].asString();
|
||||
if(!value["EffectiveAddrPoolGroupType"].isNull())
|
||||
effectiveAddrPoolGroupType_ = value["EffectiveAddrPoolGroupType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["DefaultAvailableAddrNum"].isNull())
|
||||
defaultAvailableAddrNum_ = std::stoi(value["DefaultAvailableAddrNum"].asString());
|
||||
if(!value["FailoverAvailableAddrNum"].isNull())
|
||||
failoverAvailableAddrNum_ = std::stoi(value["FailoverAvailableAddrNum"].asString());
|
||||
if(!value["DefaultMinAvailableAddrNum"].isNull())
|
||||
defaultMinAvailableAddrNum_ = std::stoi(value["DefaultMinAvailableAddrNum"].asString());
|
||||
if(!value["FailoverLatencyOptimization"].isNull())
|
||||
failoverLatencyOptimization_ = value["FailoverLatencyOptimization"].asString();
|
||||
if(!value["StrategyName"].isNull())
|
||||
strategyName_ = value["StrategyName"].asString();
|
||||
if(!value["FailoverMaxReturnAddrNum"].isNull())
|
||||
failoverMaxReturnAddrNum_ = std::stoi(value["FailoverMaxReturnAddrNum"].asString());
|
||||
if(!value["AccessMode"].isNull())
|
||||
accessMode_ = value["AccessMode"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -138,6 +138,11 @@ std::string DescribeDnsGtmAccessStrategyResult::getDefaultAddrPoolType()const
|
||||
return defaultAddrPoolType_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmAccessStrategyResult::getDefaultAvailableAddrNum()const
|
||||
{
|
||||
return defaultAvailableAddrNum_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAccessStrategyResult::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
@@ -148,11 +153,6 @@ std::string DescribeDnsGtmAccessStrategyResult::getFailoverAddrPoolGroupStatus()
|
||||
return failoverAddrPoolGroupStatus_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmAccessStrategyResult::getDefaultAvailableAddrNum()const
|
||||
{
|
||||
return defaultAvailableAddrNum_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmAccessStrategyResult::getFailoverAvailableAddrNum()const
|
||||
{
|
||||
return failoverAvailableAddrNum_;
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAddrAttributeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAddrAttributeInfoRequest;
|
||||
|
||||
DescribeDnsGtmAddrAttributeInfoRequest::DescribeDnsGtmAddrAttributeInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAddrAttributeInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmAddrAttributeInfoRequest::~DescribeDnsGtmAddrAttributeInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getAddrs()const
|
||||
{
|
||||
return addrs_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAddrAttributeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAddrAttributeInfoRequest;
|
||||
|
||||
DescribeDnsGtmAddrAttributeInfoRequest::DescribeDnsGtmAddrAttributeInfoRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAddrAttributeInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setAddrs(const std::string& addrs)
|
||||
{
|
||||
addrs_ = addrs;
|
||||
setParameter("Addrs", addrs);
|
||||
DescribeDnsGtmAddrAttributeInfoRequest::~DescribeDnsGtmAddrAttributeInfoRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getAddrs() const {
|
||||
return addrs_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setAddrs(const std::string &addrs) {
|
||||
addrs_ = addrs;
|
||||
setParameter(std::string("Addrs"), addrs);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmAddrAttributeInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddrAttributeInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,16 +46,16 @@ void DescribeDnsGtmAddrAttributeInfoResult::parse(const std::string &payload)
|
||||
if(!valueAddrAddrItem["Addr"].isNull())
|
||||
addrObject.addr = valueAddrAddrItem["Addr"].asString();
|
||||
auto attributeInfoNode = value["AttributeInfo"];
|
||||
if(!attributeInfoNode["FatherCode"].isNull())
|
||||
addrObject.attributeInfo.fatherCode = attributeInfoNode["FatherCode"].asString();
|
||||
if(!attributeInfoNode["GroupName"].isNull())
|
||||
addrObject.attributeInfo.groupName = attributeInfoNode["GroupName"].asString();
|
||||
if(!attributeInfoNode["LineCode"].isNull())
|
||||
addrObject.attributeInfo.lineCode = attributeInfoNode["LineCode"].asString();
|
||||
if(!attributeInfoNode["LineName"].isNull())
|
||||
addrObject.attributeInfo.lineName = attributeInfoNode["LineName"].asString();
|
||||
if(!attributeInfoNode["GroupCode"].isNull())
|
||||
addrObject.attributeInfo.groupCode = attributeInfoNode["GroupCode"].asString();
|
||||
if(!attributeInfoNode["GroupName"].isNull())
|
||||
addrObject.attributeInfo.groupName = attributeInfoNode["GroupName"].asString();
|
||||
if(!attributeInfoNode["FatherCode"].isNull())
|
||||
addrObject.attributeInfo.fatherCode = attributeInfoNode["FatherCode"].asString();
|
||||
addr_.push_back(addrObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAddressPoolAvailableConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAddressPoolAvailableConfigRequest;
|
||||
|
||||
DescribeDnsGtmAddressPoolAvailableConfigRequest::DescribeDnsGtmAddressPoolAvailableConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAddressPoolAvailableConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmAddressPoolAvailableConfigRequest::~DescribeDnsGtmAddressPoolAvailableConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmAddressPoolAvailableConfigRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAddressPoolAvailableConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAddressPoolAvailableConfigRequest;
|
||||
|
||||
DescribeDnsGtmAddressPoolAvailableConfigRequest::DescribeDnsGtmAddressPoolAvailableConfigRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAddressPoolAvailableConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddressPoolAvailableConfigRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeDnsGtmAddressPoolAvailableConfigRequest::~DescribeDnsGtmAddressPoolAvailableConfigRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmAddressPoolAvailableConfigRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAddressPoolAvailableConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmAddressPoolAvailableConfigRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddressPoolAvailableConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmAddressPoolAvailableConfigRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAddressPoolAvailableConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmAddressPoolAvailableConfigRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddressPoolAvailableConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmAddressPoolAvailableConfigRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAddressPoolAvailableConfigRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,16 +43,16 @@ void DescribeDnsGtmAddressPoolAvailableConfigResult::parse(const std::string &pa
|
||||
for (auto valueAttributeInfosAttributeInfo : allAttributeInfosNode)
|
||||
{
|
||||
AttributeInfo attributeInfosObject;
|
||||
if(!valueAttributeInfosAttributeInfo["FatherCode"].isNull())
|
||||
attributeInfosObject.fatherCode = valueAttributeInfosAttributeInfo["FatherCode"].asString();
|
||||
if(!valueAttributeInfosAttributeInfo["GroupName"].isNull())
|
||||
attributeInfosObject.groupName = valueAttributeInfosAttributeInfo["GroupName"].asString();
|
||||
if(!valueAttributeInfosAttributeInfo["LineCode"].isNull())
|
||||
attributeInfosObject.lineCode = valueAttributeInfosAttributeInfo["LineCode"].asString();
|
||||
if(!valueAttributeInfosAttributeInfo["LineName"].isNull())
|
||||
attributeInfosObject.lineName = valueAttributeInfosAttributeInfo["LineName"].asString();
|
||||
if(!valueAttributeInfosAttributeInfo["GroupCode"].isNull())
|
||||
attributeInfosObject.groupCode = valueAttributeInfosAttributeInfo["GroupCode"].asString();
|
||||
if(!valueAttributeInfosAttributeInfo["GroupName"].isNull())
|
||||
attributeInfosObject.groupName = valueAttributeInfosAttributeInfo["GroupName"].asString();
|
||||
if(!valueAttributeInfosAttributeInfo["FatherCode"].isNull())
|
||||
attributeInfosObject.fatherCode = valueAttributeInfosAttributeInfo["FatherCode"].asString();
|
||||
attributeInfos_.push_back(attributeInfosObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAvailableAlertGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAvailableAlertGroupRequest;
|
||||
|
||||
DescribeDnsGtmAvailableAlertGroupRequest::DescribeDnsGtmAvailableAlertGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAvailableAlertGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmAvailableAlertGroupRequest::~DescribeDnsGtmAvailableAlertGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmAvailableAlertGroupRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmAvailableAlertGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmAvailableAlertGroupRequest;
|
||||
|
||||
DescribeDnsGtmAvailableAlertGroupRequest::DescribeDnsGtmAvailableAlertGroupRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmAvailableAlertGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAvailableAlertGroupRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DescribeDnsGtmAvailableAlertGroupRequest::~DescribeDnsGtmAvailableAlertGroupRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmAvailableAlertGroupRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmAvailableAlertGroupRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmAvailableAlertGroupRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAvailableAlertGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmAvailableAlertGroupRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmAvailableAlertGroupRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceAddressPoolRequest;
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolRequest::DescribeDnsGtmInstanceAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceAddressPool")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolRequest::~DescribeDnsGtmInstanceAddressPoolRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolRequest::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceAddressPoolRequest;
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolRequest::DescribeDnsGtmInstanceAddressPoolRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceAddressPool") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolRequest::setAddrPoolId(const std::string& addrPoolId)
|
||||
{
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter("AddrPoolId", addrPoolId);
|
||||
DescribeDnsGtmInstanceAddressPoolRequest::~DescribeDnsGtmInstanceAddressPoolRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolRequest::getAddrPoolId() const {
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmInstanceAddressPoolRequest::setAddrPoolId(const std::string &addrPoolId) {
|
||||
addrPoolId_ = addrPoolId;
|
||||
setParameter(std::string("AddrPoolId"), addrPoolId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmInstanceAddressPoolRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmInstanceAddressPoolRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmInstanceAddressPoolRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,50 +43,50 @@ void DescribeDnsGtmInstanceAddressPoolResult::parse(const std::string &payload)
|
||||
for (auto valueAddrsAddr : allAddrsNode)
|
||||
{
|
||||
Addr addrsObject;
|
||||
if(!valueAddrsAddr["CreateTime"].isNull())
|
||||
addrsObject.createTime = valueAddrsAddr["CreateTime"].asString();
|
||||
if(!valueAddrsAddr["CreateTimestamp"].isNull())
|
||||
addrsObject.createTimestamp = std::stol(valueAddrsAddr["CreateTimestamp"].asString());
|
||||
if(!valueAddrsAddr["UpdateTime"].isNull())
|
||||
addrsObject.updateTime = valueAddrsAddr["UpdateTime"].asString();
|
||||
if(!valueAddrsAddr["UpdateTimestamp"].isNull())
|
||||
addrsObject.updateTimestamp = std::stol(valueAddrsAddr["UpdateTimestamp"].asString());
|
||||
if(!valueAddrsAddr["Addr"].isNull())
|
||||
addrsObject.addr = valueAddrsAddr["Addr"].asString();
|
||||
if(!valueAddrsAddr["LbaWeight"].isNull())
|
||||
addrsObject.lbaWeight = std::stoi(valueAddrsAddr["LbaWeight"].asString());
|
||||
if(!valueAddrsAddr["Mode"].isNull())
|
||||
addrsObject.mode = valueAddrsAddr["Mode"].asString();
|
||||
if(!valueAddrsAddr["AttributeInfo"].isNull())
|
||||
addrsObject.attributeInfo = valueAddrsAddr["AttributeInfo"].asString();
|
||||
if(!valueAddrsAddr["UpdateTime"].isNull())
|
||||
addrsObject.updateTime = valueAddrsAddr["UpdateTime"].asString();
|
||||
if(!valueAddrsAddr["AlertStatus"].isNull())
|
||||
addrsObject.alertStatus = valueAddrsAddr["AlertStatus"].asString();
|
||||
if(!valueAddrsAddr["Remark"].isNull())
|
||||
addrsObject.remark = valueAddrsAddr["Remark"].asString();
|
||||
if(!valueAddrsAddr["AttributeInfo"].isNull())
|
||||
addrsObject.attributeInfo = valueAddrsAddr["AttributeInfo"].asString();
|
||||
if(!valueAddrsAddr["LbaWeight"].isNull())
|
||||
addrsObject.lbaWeight = std::stoi(valueAddrsAddr["LbaWeight"].asString());
|
||||
if(!valueAddrsAddr["Addr"].isNull())
|
||||
addrsObject.addr = valueAddrsAddr["Addr"].asString();
|
||||
if(!valueAddrsAddr["CreateTime"].isNull())
|
||||
addrsObject.createTime = valueAddrsAddr["CreateTime"].asString();
|
||||
if(!valueAddrsAddr["Mode"].isNull())
|
||||
addrsObject.mode = valueAddrsAddr["Mode"].asString();
|
||||
if(!valueAddrsAddr["CreateTimestamp"].isNull())
|
||||
addrsObject.createTimestamp = std::stol(valueAddrsAddr["CreateTimestamp"].asString());
|
||||
addrs_.push_back(addrsObject);
|
||||
}
|
||||
if(!value["AddrPoolId"].isNull())
|
||||
addrPoolId_ = value["AddrPoolId"].asString();
|
||||
if(!value["LbaStrategy"].isNull())
|
||||
lbaStrategy_ = value["LbaStrategy"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["UpdateTime"].isNull())
|
||||
updateTime_ = value["UpdateTime"].asString();
|
||||
if(!value["UpdateTimestamp"].isNull())
|
||||
updateTimestamp_ = std::stol(value["UpdateTimestamp"].asString());
|
||||
if(!value["AddrCount"].isNull())
|
||||
addrCount_ = std::stoi(value["AddrCount"].asString());
|
||||
if(!value["MonitorConfigId"].isNull())
|
||||
monitorConfigId_ = value["MonitorConfigId"].asString();
|
||||
if(!value["MonitorStatus"].isNull())
|
||||
monitorStatus_ = value["MonitorStatus"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
type_ = value["Type"].asString();
|
||||
if(!value["LbaStrategy"].isNull())
|
||||
lbaStrategy_ = value["LbaStrategy"].asString();
|
||||
if(!value["UpdateTime"].isNull())
|
||||
updateTime_ = value["UpdateTime"].asString();
|
||||
if(!value["AddrPoolId"].isNull())
|
||||
addrPoolId_ = value["AddrPoolId"].asString();
|
||||
if(!value["UpdateTimestamp"].isNull())
|
||||
updateTimestamp_ = std::stol(value["UpdateTimestamp"].asString());
|
||||
if(!value["MonitorConfigId"].isNull())
|
||||
monitorConfigId_ = value["MonitorConfigId"].asString();
|
||||
if(!value["MonitorStatus"].isNull())
|
||||
monitorStatus_ = value["MonitorStatus"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -110,16 +110,16 @@ std::string DescribeDnsGtmInstanceAddressPoolResult::getCreateTime()const
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolResult::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolResult::getUpdateTime()const
|
||||
{
|
||||
return updateTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolResult::getAddrPoolId()const
|
||||
{
|
||||
return addrPoolId_;
|
||||
}
|
||||
|
||||
long DescribeDnsGtmInstanceAddressPoolResult::getUpdateTimestamp()const
|
||||
{
|
||||
return updateTimestamp_;
|
||||
@@ -130,16 +130,16 @@ std::string DescribeDnsGtmInstanceAddressPoolResult::getMonitorConfigId()const
|
||||
return monitorConfigId_;
|
||||
}
|
||||
|
||||
long DescribeDnsGtmInstanceAddressPoolResult::getCreateTimestamp()const
|
||||
{
|
||||
return createTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolResult::getMonitorStatus()const
|
||||
{
|
||||
return monitorStatus_;
|
||||
}
|
||||
|
||||
long DescribeDnsGtmInstanceAddressPoolResult::getCreateTimestamp()const
|
||||
{
|
||||
return createTimestamp_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmInstanceAddressPoolResult::getAddrCount()const
|
||||
{
|
||||
return addrCount_;
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceAddressPoolsRequest;
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolsRequest::DescribeDnsGtmInstanceAddressPoolsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceAddressPools")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolsRequest::~DescribeDnsGtmInstanceAddressPoolsRequest()
|
||||
{}
|
||||
|
||||
int DescribeDnsGtmInstanceAddressPoolsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceAddressPoolsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceAddressPoolsRequest;
|
||||
|
||||
DescribeDnsGtmInstanceAddressPoolsRequest::DescribeDnsGtmInstanceAddressPoolsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceAddressPools") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeDnsGtmInstanceAddressPoolsRequest::~DescribeDnsGtmInstanceAddressPoolsRequest() {}
|
||||
|
||||
int DescribeDnsGtmInstanceAddressPoolsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DescribeDnsGtmInstanceAddressPoolsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmInstanceAddressPoolsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmInstanceAddressPoolsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeDnsGtmInstanceAddressPoolsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceAddressPoolsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmInstanceAddressPoolsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceAddressPoolsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,38 +43,38 @@ void DescribeDnsGtmInstanceAddressPoolsResult::parse(const std::string &payload)
|
||||
for (auto valueAddrPoolsAddrPool : allAddrPoolsNode)
|
||||
{
|
||||
AddrPool addrPoolsObject;
|
||||
if(!valueAddrPoolsAddrPool["AddrPoolId"].isNull())
|
||||
addrPoolsObject.addrPoolId = valueAddrPoolsAddrPool["AddrPoolId"].asString();
|
||||
if(!valueAddrPoolsAddrPool["CreateTime"].isNull())
|
||||
addrPoolsObject.createTime = valueAddrPoolsAddrPool["CreateTime"].asString();
|
||||
if(!valueAddrPoolsAddrPool["CreateTimestamp"].isNull())
|
||||
addrPoolsObject.createTimestamp = std::stol(valueAddrPoolsAddrPool["CreateTimestamp"].asString());
|
||||
if(!valueAddrPoolsAddrPool["UpdateTime"].isNull())
|
||||
addrPoolsObject.updateTime = valueAddrPoolsAddrPool["UpdateTime"].asString();
|
||||
if(!valueAddrPoolsAddrPool["Type"].isNull())
|
||||
addrPoolsObject.type = valueAddrPoolsAddrPool["Type"].asString();
|
||||
if(!valueAddrPoolsAddrPool["UpdateTimestamp"].isNull())
|
||||
addrPoolsObject.updateTimestamp = std::stol(valueAddrPoolsAddrPool["UpdateTimestamp"].asString());
|
||||
if(!valueAddrPoolsAddrPool["MonitorStatus"].isNull())
|
||||
addrPoolsObject.monitorStatus = valueAddrPoolsAddrPool["MonitorStatus"].asString();
|
||||
if(!valueAddrPoolsAddrPool["UpdateTime"].isNull())
|
||||
addrPoolsObject.updateTime = valueAddrPoolsAddrPool["UpdateTime"].asString();
|
||||
if(!valueAddrPoolsAddrPool["CreateTime"].isNull())
|
||||
addrPoolsObject.createTime = valueAddrPoolsAddrPool["CreateTime"].asString();
|
||||
if(!valueAddrPoolsAddrPool["AddrPoolId"].isNull())
|
||||
addrPoolsObject.addrPoolId = valueAddrPoolsAddrPool["AddrPoolId"].asString();
|
||||
if(!valueAddrPoolsAddrPool["LbaStrategy"].isNull())
|
||||
addrPoolsObject.lbaStrategy = valueAddrPoolsAddrPool["LbaStrategy"].asString();
|
||||
if(!valueAddrPoolsAddrPool["Name"].isNull())
|
||||
addrPoolsObject.name = valueAddrPoolsAddrPool["Name"].asString();
|
||||
if(!valueAddrPoolsAddrPool["AddrCount"].isNull())
|
||||
addrPoolsObject.addrCount = std::stoi(valueAddrPoolsAddrPool["AddrCount"].asString());
|
||||
if(!valueAddrPoolsAddrPool["MonitorConfigId"].isNull())
|
||||
addrPoolsObject.monitorConfigId = valueAddrPoolsAddrPool["MonitorConfigId"].asString();
|
||||
if(!valueAddrPoolsAddrPool["MonitorStatus"].isNull())
|
||||
addrPoolsObject.monitorStatus = valueAddrPoolsAddrPool["MonitorStatus"].asString();
|
||||
if(!valueAddrPoolsAddrPool["Name"].isNull())
|
||||
addrPoolsObject.name = valueAddrPoolsAddrPool["Name"].asString();
|
||||
if(!valueAddrPoolsAddrPool["Type"].isNull())
|
||||
addrPoolsObject.type = valueAddrPoolsAddrPool["Type"].asString();
|
||||
if(!valueAddrPoolsAddrPool["LbaStrategy"].isNull())
|
||||
addrPoolsObject.lbaStrategy = valueAddrPoolsAddrPool["LbaStrategy"].asString();
|
||||
if(!valueAddrPoolsAddrPool["CreateTimestamp"].isNull())
|
||||
addrPoolsObject.createTimestamp = std::stol(valueAddrPoolsAddrPool["CreateTimestamp"].asString());
|
||||
addrPools_.push_back(addrPoolsObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceRequest;
|
||||
|
||||
DescribeDnsGtmInstanceRequest::DescribeDnsGtmInstanceRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmInstanceRequest::~DescribeDnsGtmInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceRequest;
|
||||
|
||||
DescribeDnsGtmInstanceRequest::DescribeDnsGtmInstanceRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeDnsGtmInstanceRequest::~DescribeDnsGtmInstanceRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmInstanceRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmInstanceRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmInstanceRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceStatusRequest;
|
||||
|
||||
DescribeDnsGtmInstanceStatusRequest::DescribeDnsGtmInstanceStatusRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmInstanceStatusRequest::~DescribeDnsGtmInstanceStatusRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmInstanceStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceStatusRequest;
|
||||
|
||||
DescribeDnsGtmInstanceStatusRequest::DescribeDnsGtmInstanceStatusRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeDnsGtmInstanceStatusRequest::~DescribeDnsGtmInstanceStatusRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmInstanceStatusRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceStatusRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmInstanceStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceStatusRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmInstanceStatusRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceStatusRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmInstanceStatusRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceStatusRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmInstanceStatusRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceStatusRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,16 +39,16 @@ void DescribeDnsGtmInstanceStatusResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AddrNotAvailableNum"].isNull())
|
||||
addrNotAvailableNum_ = std::stoi(value["AddrNotAvailableNum"].asString());
|
||||
if(!value["AddrPoolGroupNotAvailableNum"].isNull())
|
||||
addrPoolGroupNotAvailableNum_ = std::stoi(value["AddrPoolGroupNotAvailableNum"].asString());
|
||||
if(!value["SwitchToFailoverStrategyNum"].isNull())
|
||||
switchToFailoverStrategyNum_ = std::stoi(value["SwitchToFailoverStrategyNum"].asString());
|
||||
if(!value["StrategyNotAvailableNum"].isNull())
|
||||
strategyNotAvailableNum_ = std::stoi(value["StrategyNotAvailableNum"].asString());
|
||||
if(!value["AddrAvailableNum"].isNull())
|
||||
addrAvailableNum_ = std::stoi(value["AddrAvailableNum"].asString());
|
||||
if(!value["SwitchToFailoverStrategyNum"].isNull())
|
||||
switchToFailoverStrategyNum_ = std::stoi(value["SwitchToFailoverStrategyNum"].asString());
|
||||
if(!value["AddrNotAvailableNum"].isNull())
|
||||
addrNotAvailableNum_ = std::stoi(value["AddrNotAvailableNum"].asString());
|
||||
if(!value["AddrPoolGroupNotAvailableNum"].isNull())
|
||||
addrPoolGroupNotAvailableNum_ = std::stoi(value["AddrPoolGroupNotAvailableNum"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceSystemCnameRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceSystemCnameRequest;
|
||||
|
||||
DescribeDnsGtmInstanceSystemCnameRequest::DescribeDnsGtmInstanceSystemCnameRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceSystemCname")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmInstanceSystemCnameRequest::~DescribeDnsGtmInstanceSystemCnameRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmInstanceSystemCnameRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstanceSystemCnameRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstanceSystemCnameRequest;
|
||||
|
||||
DescribeDnsGtmInstanceSystemCnameRequest::DescribeDnsGtmInstanceSystemCnameRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstanceSystemCname") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceSystemCnameRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeDnsGtmInstanceSystemCnameRequest::~DescribeDnsGtmInstanceSystemCnameRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmInstanceSystemCnameRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceSystemCnameRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmInstanceSystemCnameRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceSystemCnameRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmInstanceSystemCnameRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstanceSystemCnameRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmInstanceSystemCnameRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceSystemCnameRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmInstanceSystemCnameRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstanceSystemCnameRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstancesRequest;
|
||||
|
||||
DescribeDnsGtmInstancesRequest::DescribeDnsGtmInstancesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstances")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmInstancesRequest::~DescribeDnsGtmInstancesRequest()
|
||||
{}
|
||||
|
||||
int DescribeDnsGtmInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmInstancesRequest;
|
||||
|
||||
DescribeDnsGtmInstancesRequest::DescribeDnsGtmInstancesRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmInstances") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeDnsGtmInstancesRequest::~DescribeDnsGtmInstancesRequest() {}
|
||||
|
||||
int DescribeDnsGtmInstancesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstancesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
void DescribeDnsGtmInstancesRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
std::string DescribeDnsGtmInstancesRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstancesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmInstancesRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmInstancesRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmInstancesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDnsGtmInstancesRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeDnsGtmInstancesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstancesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmInstancesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmInstancesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmInstancesRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
void DescribeDnsGtmInstancesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
std::string DescribeDnsGtmInstancesRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmInstancesRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmLogsRequest;
|
||||
|
||||
DescribeDnsGtmLogsRequest::DescribeDnsGtmLogsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmLogsRequest::~DescribeDnsGtmLogsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDnsGtmLogsRequest::getStartTimestamp()const
|
||||
{
|
||||
return startTimestamp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmLogsRequest;
|
||||
|
||||
DescribeDnsGtmLogsRequest::DescribeDnsGtmLogsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmLogs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setStartTimestamp(long startTimestamp)
|
||||
{
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter("StartTimestamp", std::to_string(startTimestamp));
|
||||
DescribeDnsGtmLogsRequest::~DescribeDnsGtmLogsRequest() {}
|
||||
|
||||
long DescribeDnsGtmLogsRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmLogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeDnsGtmLogsRequest::setStartTimestamp(long startTimestamp) {
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter(std::string("StartTimestamp"), std::to_string(startTimestamp));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int DescribeDnsGtmLogsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
long DescribeDnsGtmLogsRequest::getEndTimestamp()const
|
||||
{
|
||||
return endTimestamp_;
|
||||
void DescribeDnsGtmLogsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setEndTimestamp(long endTimestamp)
|
||||
{
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter("EndTimestamp", std::to_string(endTimestamp));
|
||||
long DescribeDnsGtmLogsRequest::getEndTimestamp() const {
|
||||
return endTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmLogsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DescribeDnsGtmLogsRequest::setEndTimestamp(long endTimestamp) {
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter(std::string("EndTimestamp"), std::to_string(endTimestamp));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DescribeDnsGtmLogsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmLogsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmLogsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmLogsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDnsGtmLogsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeDnsGtmLogsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmLogsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmLogsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmLogsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmLogsRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
void DescribeDnsGtmLogsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
std::string DescribeDnsGtmLogsRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmLogsRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,32 +43,32 @@ void DescribeDnsGtmLogsResult::parse(const std::string &payload)
|
||||
for (auto valueLogsLog : allLogsNode)
|
||||
{
|
||||
Log logsObject;
|
||||
if(!valueLogsLog["OperTimestamp"].isNull())
|
||||
logsObject.operTimestamp = std::stol(valueLogsLog["OperTimestamp"].asString());
|
||||
if(!valueLogsLog["EntityId"].isNull())
|
||||
logsObject.entityId = valueLogsLog["EntityId"].asString();
|
||||
if(!valueLogsLog["EntityType"].isNull())
|
||||
logsObject.entityType = valueLogsLog["EntityType"].asString();
|
||||
if(!valueLogsLog["OperTime"].isNull())
|
||||
logsObject.operTime = valueLogsLog["OperTime"].asString();
|
||||
if(!valueLogsLog["OperAction"].isNull())
|
||||
logsObject.operAction = valueLogsLog["OperAction"].asString();
|
||||
if(!valueLogsLog["EntityType"].isNull())
|
||||
logsObject.entityType = valueLogsLog["EntityType"].asString();
|
||||
if(!valueLogsLog["EntityId"].isNull())
|
||||
logsObject.entityId = valueLogsLog["EntityId"].asString();
|
||||
if(!valueLogsLog["EntityName"].isNull())
|
||||
logsObject.entityName = valueLogsLog["EntityName"].asString();
|
||||
if(!valueLogsLog["OperTimestamp"].isNull())
|
||||
logsObject.operTimestamp = std::stol(valueLogsLog["OperTimestamp"].asString());
|
||||
if(!valueLogsLog["Id"].isNull())
|
||||
logsObject.id = std::stol(valueLogsLog["Id"].asString());
|
||||
if(!valueLogsLog["Content"].isNull())
|
||||
logsObject.content = valueLogsLog["Content"].asString();
|
||||
if(!valueLogsLog["EntityName"].isNull())
|
||||
logsObject.entityName = valueLogsLog["EntityName"].asString();
|
||||
if(!valueLogsLog["Id"].isNull())
|
||||
logsObject.id = std::stol(valueLogsLog["Id"].asString());
|
||||
logs_.push_back(logsObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmMonitorAvailableConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmMonitorAvailableConfigRequest;
|
||||
|
||||
DescribeDnsGtmMonitorAvailableConfigRequest::DescribeDnsGtmMonitorAvailableConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmMonitorAvailableConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmMonitorAvailableConfigRequest::~DescribeDnsGtmMonitorAvailableConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmMonitorAvailableConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmMonitorAvailableConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmMonitorAvailableConfigRequest;
|
||||
|
||||
DescribeDnsGtmMonitorAvailableConfigRequest::DescribeDnsGtmMonitorAvailableConfigRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmMonitorAvailableConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorAvailableConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
DescribeDnsGtmMonitorAvailableConfigRequest::~DescribeDnsGtmMonitorAvailableConfigRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmMonitorAvailableConfigRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmMonitorAvailableConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmMonitorAvailableConfigRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorAvailableConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmMonitorAvailableConfigRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorAvailableConfigRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void DescribeDnsGtmMonitorAvailableConfigResult::parse(const std::string &payloa
|
||||
for (auto valueIpv4IspCityNodesIpv4IspCityNode : allIpv4IspCityNodesNode)
|
||||
{
|
||||
Ipv4IspCityNode ipv4IspCityNodesObject;
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].isNull())
|
||||
ipv4IspCityNodesObject.groupName = valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityCode"].isNull())
|
||||
ipv4IspCityNodesObject.cityCode = valueIpv4IspCityNodesIpv4IspCityNode["CityCode"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].isNull())
|
||||
ipv4IspCityNodesObject.groupName = valueIpv4IspCityNodesIpv4IspCityNode["GroupName"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].isNull())
|
||||
ipv4IspCityNodesObject.ispCode = valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityName"].isNull())
|
||||
ipv4IspCityNodesObject.cityName = valueIpv4IspCityNodesIpv4IspCityNode["CityName"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspName"].isNull())
|
||||
ipv4IspCityNodesObject.ispName = valueIpv4IspCityNodesIpv4IspCityNode["IspName"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["GroupType"].isNull())
|
||||
ipv4IspCityNodesObject.groupType = valueIpv4IspCityNodesIpv4IspCityNode["GroupType"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["CityName"].isNull())
|
||||
ipv4IspCityNodesObject.cityName = valueIpv4IspCityNodesIpv4IspCityNode["CityName"].asString();
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["DefaultSelected"].isNull())
|
||||
ipv4IspCityNodesObject.defaultSelected = valueIpv4IspCityNodesIpv4IspCityNode["DefaultSelected"].asString() == "true";
|
||||
if(!valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].isNull())
|
||||
ipv4IspCityNodesObject.ispCode = valueIpv4IspCityNodesIpv4IspCityNode["IspCode"].asString();
|
||||
auto allIps = value["Ips"]["Ip"];
|
||||
for (auto value : allIps)
|
||||
ipv4IspCityNodesObject.ips.push_back(value.asString());
|
||||
@@ -66,20 +66,20 @@ void DescribeDnsGtmMonitorAvailableConfigResult::parse(const std::string &payloa
|
||||
for (auto valueDomainIpv4IspCityNodesDomainIpv4IspCityNode : allDomainIpv4IspCityNodesNode)
|
||||
{
|
||||
DomainIpv4IspCityNode domainIpv4IspCityNodesObject;
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].isNull())
|
||||
domainIpv4IspCityNodesObject.groupName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityCode"].isNull())
|
||||
domainIpv4IspCityNodesObject.cityCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityCode"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].isNull())
|
||||
domainIpv4IspCityNodesObject.groupName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupName"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].isNull())
|
||||
domainIpv4IspCityNodesObject.ispCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].isNull())
|
||||
domainIpv4IspCityNodesObject.cityName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspName"].isNull())
|
||||
domainIpv4IspCityNodesObject.ispName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspName"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupType"].isNull())
|
||||
domainIpv4IspCityNodesObject.groupType = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["GroupType"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].isNull())
|
||||
domainIpv4IspCityNodesObject.cityName = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["CityName"].asString();
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["DefaultSelected"].isNull())
|
||||
domainIpv4IspCityNodesObject.defaultSelected = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["DefaultSelected"].asString() == "true";
|
||||
if(!valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].isNull())
|
||||
domainIpv4IspCityNodesObject.ispCode = valueDomainIpv4IspCityNodesDomainIpv4IspCityNode["IspCode"].asString();
|
||||
auto allIps1 = value["Ips"]["Ip"];
|
||||
for (auto value : allIps1)
|
||||
domainIpv4IspCityNodesObject.ips1.push_back(value.asString());
|
||||
@@ -89,21 +89,21 @@ void DescribeDnsGtmMonitorAvailableConfigResult::parse(const std::string &payloa
|
||||
for (auto valueDomainIpv6IspCityNodesDomainIpv6IspCityNode : allDomainIpv6IspCityNodesNode)
|
||||
{
|
||||
DomainIpv6IspCityNode domainIpv6IspCityNodesObject;
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].isNull())
|
||||
domainIpv6IspCityNodesObject.groupName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityCode"].isNull())
|
||||
domainIpv6IspCityNodesObject.cityCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityCode"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].isNull())
|
||||
domainIpv6IspCityNodesObject.groupName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupName"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].isNull())
|
||||
domainIpv6IspCityNodesObject.ispCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].isNull())
|
||||
domainIpv6IspCityNodesObject.cityName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspName"].isNull())
|
||||
domainIpv6IspCityNodesObject.ispName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspName"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupType"].isNull())
|
||||
domainIpv6IspCityNodesObject.groupType = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["GroupType"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].isNull())
|
||||
domainIpv6IspCityNodesObject.cityName = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["CityName"].asString();
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["DefaultSelected"].isNull())
|
||||
domainIpv6IspCityNodesObject.defaultSelected = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["DefaultSelected"].asString() == "true";
|
||||
if(!valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].isNull())
|
||||
domainIpv6IspCityNodesObject.ispCode = valueDomainIpv6IspCityNodesDomainIpv6IspCityNode["IspCode"].asString();
|
||||
auto allIps2 = value["Ips"]["Ip"];
|
||||
auto allIps2 = value["Ips"]["ip"];
|
||||
for (auto value : allIps2)
|
||||
domainIpv6IspCityNodesObject.ips2.push_back(value.asString());
|
||||
domainIpv6IspCityNodes_.push_back(domainIpv6IspCityNodesObject);
|
||||
@@ -112,20 +112,20 @@ void DescribeDnsGtmMonitorAvailableConfigResult::parse(const std::string &payloa
|
||||
for (auto valueIpv6IspCityNodesIpv6IspCityNode : allIpv6IspCityNodesNode)
|
||||
{
|
||||
Ipv6IspCityNode ipv6IspCityNodesObject;
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].isNull())
|
||||
ipv6IspCityNodesObject.groupName = valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityCode"].isNull())
|
||||
ipv6IspCityNodesObject.cityCode = valueIpv6IspCityNodesIpv6IspCityNode["CityCode"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].isNull())
|
||||
ipv6IspCityNodesObject.groupName = valueIpv6IspCityNodesIpv6IspCityNode["GroupName"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].isNull())
|
||||
ipv6IspCityNodesObject.ispCode = valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityName"].isNull())
|
||||
ipv6IspCityNodesObject.cityName = valueIpv6IspCityNodesIpv6IspCityNode["CityName"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspName"].isNull())
|
||||
ipv6IspCityNodesObject.ispName = valueIpv6IspCityNodesIpv6IspCityNode["IspName"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["GroupType"].isNull())
|
||||
ipv6IspCityNodesObject.groupType = valueIpv6IspCityNodesIpv6IspCityNode["GroupType"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["CityName"].isNull())
|
||||
ipv6IspCityNodesObject.cityName = valueIpv6IspCityNodesIpv6IspCityNode["CityName"].asString();
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["DefaultSelected"].isNull())
|
||||
ipv6IspCityNodesObject.defaultSelected = valueIpv6IspCityNodesIpv6IspCityNode["DefaultSelected"].asString() == "true";
|
||||
if(!valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].isNull())
|
||||
ipv6IspCityNodesObject.ispCode = valueIpv6IspCityNodesIpv6IspCityNode["IspCode"].asString();
|
||||
auto allIps3 = value["Ips"]["Ip"];
|
||||
for (auto value : allIps3)
|
||||
ipv6IspCityNodesObject.ips3.push_back(value.asString());
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmMonitorConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmMonitorConfigRequest;
|
||||
|
||||
DescribeDnsGtmMonitorConfigRequest::DescribeDnsGtmMonitorConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmMonitorConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsGtmMonitorConfigRequest::~DescribeDnsGtmMonitorConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigRequest::getMonitorConfigId()const
|
||||
{
|
||||
return monitorConfigId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsGtmMonitorConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsGtmMonitorConfigRequest;
|
||||
|
||||
DescribeDnsGtmMonitorConfigRequest::DescribeDnsGtmMonitorConfigRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsGtmMonitorConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorConfigRequest::setMonitorConfigId(const std::string& monitorConfigId)
|
||||
{
|
||||
monitorConfigId_ = monitorConfigId;
|
||||
setParameter("MonitorConfigId", monitorConfigId);
|
||||
DescribeDnsGtmMonitorConfigRequest::~DescribeDnsGtmMonitorConfigRequest() {}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigRequest::getMonitorConfigId() const {
|
||||
return monitorConfigId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsGtmMonitorConfigRequest::setMonitorConfigId(const std::string &monitorConfigId) {
|
||||
monitorConfigId_ = monitorConfigId;
|
||||
setParameter(std::string("MonitorConfigId"), monitorConfigId);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsGtmMonitorConfigRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsGtmMonitorConfigRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsGtmMonitorConfigRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsGtmMonitorConfigRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,40 +43,40 @@ void DescribeDnsGtmMonitorConfigResult::parse(const std::string &payload)
|
||||
for (auto valueIspCityNodesIspCityNode : allIspCityNodesNode)
|
||||
{
|
||||
IspCityNode ispCityNodesObject;
|
||||
if(!valueIspCityNodesIspCityNode["CountryName"].isNull())
|
||||
ispCityNodesObject.countryName = valueIspCityNodesIspCityNode["CountryName"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CountryCode"].isNull())
|
||||
ispCityNodesObject.countryCode = valueIspCityNodesIspCityNode["CountryCode"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CityName"].isNull())
|
||||
ispCityNodesObject.cityName = valueIspCityNodesIspCityNode["CityName"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CityCode"].isNull())
|
||||
ispCityNodesObject.cityCode = valueIspCityNodesIspCityNode["CityCode"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CountryName"].isNull())
|
||||
ispCityNodesObject.countryName = valueIspCityNodesIspCityNode["CountryName"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["IspCode"].isNull())
|
||||
ispCityNodesObject.ispCode = valueIspCityNodesIspCityNode["IspCode"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CityName"].isNull())
|
||||
ispCityNodesObject.cityName = valueIspCityNodesIspCityNode["CityName"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CountryCode"].isNull())
|
||||
ispCityNodesObject.countryCode = valueIspCityNodesIspCityNode["CountryCode"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["IspName"].isNull())
|
||||
ispCityNodesObject.ispName = valueIspCityNodesIspCityNode["IspName"].asString();
|
||||
ispCityNodes_.push_back(ispCityNodesObject);
|
||||
}
|
||||
if(!value["MonitorConfigId"].isNull())
|
||||
monitorConfigId_ = value["MonitorConfigId"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["UpdateTime"].isNull())
|
||||
updateTime_ = value["UpdateTime"].asString();
|
||||
if(!value["UpdateTimestamp"].isNull())
|
||||
updateTimestamp_ = std::stol(value["UpdateTimestamp"].asString());
|
||||
if(!value["ProtocolType"].isNull())
|
||||
protocolType_ = value["ProtocolType"].asString();
|
||||
if(!value["Interval"].isNull())
|
||||
interval_ = std::stoi(value["Interval"].asString());
|
||||
if(!value["EvaluationCount"].isNull())
|
||||
evaluationCount_ = std::stoi(value["EvaluationCount"].asString());
|
||||
if(!value["Timeout"].isNull())
|
||||
timeout_ = std::stoi(value["Timeout"].asString());
|
||||
if(!value["ProtocolType"].isNull())
|
||||
protocolType_ = value["ProtocolType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["UpdateTime"].isNull())
|
||||
updateTime_ = value["UpdateTime"].asString();
|
||||
if(!value["EvaluationCount"].isNull())
|
||||
evaluationCount_ = std::stoi(value["EvaluationCount"].asString());
|
||||
if(!value["UpdateTimestamp"].isNull())
|
||||
updateTimestamp_ = std::stol(value["UpdateTimestamp"].asString());
|
||||
if(!value["MonitorExtendInfo"].isNull())
|
||||
monitorExtendInfo_ = value["MonitorExtendInfo"].asString();
|
||||
if(!value["MonitorConfigId"].isNull())
|
||||
monitorConfigId_ = value["MonitorConfigId"].asString();
|
||||
if(!value["CreateTimestamp"].isNull())
|
||||
createTimestamp_ = std::stol(value["CreateTimestamp"].asString());
|
||||
if(!value["Interval"].isNull())
|
||||
interval_ = std::stoi(value["Interval"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -85,16 +85,16 @@ std::vector<DescribeDnsGtmMonitorConfigResult::IspCityNode> DescribeDnsGtmMonito
|
||||
return ispCityNodes_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigResult::getProtocolType()const
|
||||
{
|
||||
return protocolType_;
|
||||
}
|
||||
|
||||
int DescribeDnsGtmMonitorConfigResult::getTimeout()const
|
||||
{
|
||||
return timeout_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigResult::getProtocolType()const
|
||||
{
|
||||
return protocolType_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsGtmMonitorConfigResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsProductInstanceRequest;
|
||||
|
||||
DescribeDnsProductInstanceRequest::DescribeDnsProductInstanceRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsProductInstanceRequest::~DescribeDnsProductInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDnsProductInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsProductInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsProductInstanceRequest;
|
||||
|
||||
DescribeDnsProductInstanceRequest::DescribeDnsProductInstanceRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
DescribeDnsProductInstanceRequest::~DescribeDnsProductInstanceRequest() {}
|
||||
|
||||
std::string DescribeDnsProductInstanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DescribeDnsProductInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DescribeDnsProductInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstanceRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsProductInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstanceRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsProductInstanceRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstanceRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsProductInstanceRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstanceRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDnsProductInstanceRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstanceRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,72 +42,72 @@ void DescribeDnsProductInstanceResult::parse(const std::string &payload)
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (const auto &item : allDnsServers)
|
||||
dnsServers_.push_back(item.asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["VersionCode"].isNull())
|
||||
versionCode_ = value["VersionCode"].asString();
|
||||
if(!value["VersionName"].isNull())
|
||||
versionName_ = value["VersionName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["StartTimestamp"].isNull())
|
||||
startTimestamp_ = std::stol(value["StartTimestamp"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["EndTimestamp"].isNull())
|
||||
endTimestamp_ = std::stol(value["EndTimestamp"].asString());
|
||||
if(!value["Domain"].isNull())
|
||||
domain_ = value["Domain"].asString();
|
||||
if(!value["BindCount"].isNull())
|
||||
bindCount_ = std::stol(value["BindCount"].asString());
|
||||
if(!value["BindUsedCount"].isNull())
|
||||
bindUsedCount_ = std::stol(value["BindUsedCount"].asString());
|
||||
if(!value["TTLMinValue"].isNull())
|
||||
tTLMinValue_ = std::stol(value["TTLMinValue"].asString());
|
||||
if(!value["SubDomainLevel"].isNull())
|
||||
subDomainLevel_ = std::stol(value["SubDomainLevel"].asString());
|
||||
if(!value["DnsSLBCount"].isNull())
|
||||
dnsSLBCount_ = std::stol(value["DnsSLBCount"].asString());
|
||||
if(!value["URLForwardCount"].isNull())
|
||||
uRLForwardCount_ = std::stol(value["URLForwardCount"].asString());
|
||||
if(!value["DDosDefendFlow"].isNull())
|
||||
dDosDefendFlow_ = std::stol(value["DDosDefendFlow"].asString());
|
||||
if(!value["DDosDefendQuery"].isNull())
|
||||
dDosDefendQuery_ = std::stol(value["DDosDefendQuery"].asString());
|
||||
if(!value["OverseaDDosDefendFlow"].isNull())
|
||||
overseaDDosDefendFlow_ = std::stol(value["OverseaDDosDefendFlow"].asString());
|
||||
if(!value["SearchEngineLines"].isNull())
|
||||
searchEngineLines_ = value["SearchEngineLines"].asString();
|
||||
if(!value["ISPLines"].isNull())
|
||||
iSPLines_ = value["ISPLines"].asString();
|
||||
if(!value["ISPRegionLines"].isNull())
|
||||
iSPRegionLines_ = value["ISPRegionLines"].asString();
|
||||
if(!value["OverseaLine"].isNull())
|
||||
overseaLine_ = value["OverseaLine"].asString();
|
||||
if(!value["MonitorNodeCount"].isNull())
|
||||
monitorNodeCount_ = std::stol(value["MonitorNodeCount"].asString());
|
||||
if(!value["MonitorFrequency"].isNull())
|
||||
monitorFrequency_ = std::stol(value["MonitorFrequency"].asString());
|
||||
if(!value["MonitorTaskCount"].isNull())
|
||||
monitorTaskCount_ = std::stol(value["MonitorTaskCount"].asString());
|
||||
if(!value["RegionLines"].isNull())
|
||||
regionLines_ = value["RegionLines"].asString() == "true";
|
||||
if(!value["Gslb"].isNull())
|
||||
gslb_ = value["Gslb"].asString() == "true";
|
||||
if(!value["InClean"].isNull())
|
||||
inClean_ = value["InClean"].asString() == "true";
|
||||
if(!value["InBlackHole"].isNull())
|
||||
inBlackHole_ = value["InBlackHole"].asString() == "true";
|
||||
if(!value["BindDomainCount"].isNull())
|
||||
bindDomainCount_ = std::stol(value["BindDomainCount"].asString());
|
||||
if(!value["BindDomainUsedCount"].isNull())
|
||||
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
|
||||
if(!value["RegionLines"].isNull())
|
||||
regionLines_ = value["RegionLines"].asString() == "true";
|
||||
if(!value["BindCount"].isNull())
|
||||
bindCount_ = std::stol(value["BindCount"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["StartTimestamp"].isNull())
|
||||
startTimestamp_ = std::stol(value["StartTimestamp"].asString());
|
||||
if(!value["ISPLines"].isNull())
|
||||
iSPLines_ = value["ISPLines"].asString();
|
||||
if(!value["EndTimestamp"].isNull())
|
||||
endTimestamp_ = std::stol(value["EndTimestamp"].asString());
|
||||
if(!value["DDosDefendQuery"].isNull())
|
||||
dDosDefendQuery_ = std::stol(value["DDosDefendQuery"].asString());
|
||||
if(!value["DnsSecurity"].isNull())
|
||||
dnsSecurity_ = value["DnsSecurity"].asString();
|
||||
if(!value["PaymentType"].isNull())
|
||||
paymentType_ = value["PaymentType"].asString();
|
||||
if(!value["DomainType"].isNull())
|
||||
domainType_ = value["DomainType"].asString();
|
||||
if(!value["URLForwardCount"].isNull())
|
||||
uRLForwardCount_ = std::stol(value["URLForwardCount"].asString());
|
||||
if(!value["TTLMinValue"].isNull())
|
||||
tTLMinValue_ = std::stol(value["TTLMinValue"].asString());
|
||||
if(!value["PaymentType"].isNull())
|
||||
paymentType_ = value["PaymentType"].asString();
|
||||
if(!value["VersionName"].isNull())
|
||||
versionName_ = value["VersionName"].asString();
|
||||
if(!value["OverseaLine"].isNull())
|
||||
overseaLine_ = value["OverseaLine"].asString();
|
||||
if(!value["ISPRegionLines"].isNull())
|
||||
iSPRegionLines_ = value["ISPRegionLines"].asString();
|
||||
if(!value["Gslb"].isNull())
|
||||
gslb_ = value["Gslb"].asString() == "true";
|
||||
if(!value["BindUsedCount"].isNull())
|
||||
bindUsedCount_ = std::stol(value["BindUsedCount"].asString());
|
||||
if(!value["DnsSLBCount"].isNull())
|
||||
dnsSLBCount_ = std::stol(value["DnsSLBCount"].asString());
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["MonitorTaskCount"].isNull())
|
||||
monitorTaskCount_ = std::stol(value["MonitorTaskCount"].asString());
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["DDosDefendFlow"].isNull())
|
||||
dDosDefendFlow_ = std::stol(value["DDosDefendFlow"].asString());
|
||||
if(!value["MonitorFrequency"].isNull())
|
||||
monitorFrequency_ = std::stol(value["MonitorFrequency"].asString());
|
||||
if(!value["SearchEngineLines"].isNull())
|
||||
searchEngineLines_ = value["SearchEngineLines"].asString();
|
||||
if(!value["BindDomainUsedCount"].isNull())
|
||||
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
|
||||
if(!value["VersionCode"].isNull())
|
||||
versionCode_ = value["VersionCode"].asString();
|
||||
if(!value["OverseaDDosDefendFlow"].isNull())
|
||||
overseaDDosDefendFlow_ = std::stol(value["OverseaDDosDefendFlow"].asString());
|
||||
if(!value["InClean"].isNull())
|
||||
inClean_ = value["InClean"].asString() == "true";
|
||||
if(!value["SubDomainLevel"].isNull())
|
||||
subDomainLevel_ = std::stol(value["SubDomainLevel"].asString());
|
||||
if(!value["Domain"].isNull())
|
||||
domain_ = value["Domain"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -131,16 +131,16 @@ bool DescribeDnsProductInstanceResult::getRegionLines()const
|
||||
return regionLines_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstanceResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeDnsProductInstanceResult::getBindCount()const
|
||||
{
|
||||
return bindCount_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstanceResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeDnsProductInstanceResult::getStartTimestamp()const
|
||||
{
|
||||
return startTimestamp_;
|
||||
@@ -266,16 +266,16 @@ long DescribeDnsProductInstanceResult::getOverseaDDosDefendFlow()const
|
||||
return overseaDDosDefendFlow_;
|
||||
}
|
||||
|
||||
long DescribeDnsProductInstanceResult::getSubDomainLevel()const
|
||||
{
|
||||
return subDomainLevel_;
|
||||
}
|
||||
|
||||
bool DescribeDnsProductInstanceResult::getInClean()const
|
||||
{
|
||||
return inClean_;
|
||||
}
|
||||
|
||||
long DescribeDnsProductInstanceResult::getSubDomainLevel()const
|
||||
{
|
||||
return subDomainLevel_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstanceResult::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
|
||||
@@ -1,106 +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/alidns/model/DescribeDnsProductInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsProductInstancesRequest;
|
||||
|
||||
DescribeDnsProductInstancesRequest::DescribeDnsProductInstancesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstances")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsProductInstancesRequest::~DescribeDnsProductInstancesRequest()
|
||||
{}
|
||||
|
||||
long DescribeDnsProductInstancesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDnsProductInstancesRequest;
|
||||
|
||||
DescribeDnsProductInstancesRequest::DescribeDnsProductInstancesRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstances") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeDnsProductInstancesRequest::~DescribeDnsProductInstancesRequest() {}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getOrderBy() const {
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DescribeDnsProductInstancesRequest::setOrderBy(const std::string &orderBy) {
|
||||
orderBy_ = orderBy;
|
||||
setParameter(std::string("OrderBy"), orderBy);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
long DescribeDnsProductInstancesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getDomainType()const
|
||||
{
|
||||
return domainType_;
|
||||
void DescribeDnsProductInstancesRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setDomainType(const std::string& domainType)
|
||||
{
|
||||
domainType_ = domainType;
|
||||
setParameter("DomainType", domainType);
|
||||
std::string DescribeDnsProductInstancesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDnsProductInstancesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDnsProductInstancesRequest::getDomainType() const {
|
||||
return domainType_;
|
||||
}
|
||||
|
||||
long DescribeDnsProductInstancesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDnsProductInstancesRequest::setDomainType(const std::string &domainType) {
|
||||
domainType_ = domainType;
|
||||
setParameter(std::string("DomainType"), domainType);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
std::string DescribeDnsProductInstancesRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDnsProductInstancesRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
long DescribeDnsProductInstancesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getVersionCode()const
|
||||
{
|
||||
return versionCode_;
|
||||
void DescribeDnsProductInstancesRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setVersionCode(const std::string& versionCode)
|
||||
{
|
||||
versionCode_ = versionCode;
|
||||
setParameter("VersionCode", versionCode);
|
||||
std::string DescribeDnsProductInstancesRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getVersionCode() const {
|
||||
return versionCode_;
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setVersionCode(const std::string &versionCode) {
|
||||
versionCode_ = versionCode;
|
||||
setParameter(std::string("VersionCode"), versionCode);
|
||||
}
|
||||
|
||||
std::string DescribeDnsProductInstancesRequest::getDirection() const {
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDnsProductInstancesRequest::setDirection(const std::string &direction) {
|
||||
direction_ = direction;
|
||||
setParameter(std::string("Direction"), direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,80 +43,80 @@ void DescribeDnsProductInstancesResult::parse(const std::string &payload)
|
||||
for (auto valueDnsProductsDnsProduct : allDnsProductsNode)
|
||||
{
|
||||
DnsProduct dnsProductsObject;
|
||||
if(!valueDnsProductsDnsProduct["InstanceId"].isNull())
|
||||
dnsProductsObject.instanceId = valueDnsProductsDnsProduct["InstanceId"].asString();
|
||||
if(!valueDnsProductsDnsProduct["VersionCode"].isNull())
|
||||
dnsProductsObject.versionCode = valueDnsProductsDnsProduct["VersionCode"].asString();
|
||||
if(!valueDnsProductsDnsProduct["VersionName"].isNull())
|
||||
dnsProductsObject.versionName = valueDnsProductsDnsProduct["VersionName"].asString();
|
||||
if(!valueDnsProductsDnsProduct["StartTime"].isNull())
|
||||
dnsProductsObject.startTime = valueDnsProductsDnsProduct["StartTime"].asString();
|
||||
if(!valueDnsProductsDnsProduct["EndTime"].isNull())
|
||||
dnsProductsObject.endTime = valueDnsProductsDnsProduct["EndTime"].asString();
|
||||
if(!valueDnsProductsDnsProduct["StartTimestamp"].isNull())
|
||||
dnsProductsObject.startTimestamp = std::stol(valueDnsProductsDnsProduct["StartTimestamp"].asString());
|
||||
if(!valueDnsProductsDnsProduct["EndTimestamp"].isNull())
|
||||
dnsProductsObject.endTimestamp = std::stol(valueDnsProductsDnsProduct["EndTimestamp"].asString());
|
||||
if(!valueDnsProductsDnsProduct["Domain"].isNull())
|
||||
dnsProductsObject.domain = valueDnsProductsDnsProduct["Domain"].asString();
|
||||
if(!valueDnsProductsDnsProduct["BindCount"].isNull())
|
||||
dnsProductsObject.bindCount = std::stol(valueDnsProductsDnsProduct["BindCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["BindUsedCount"].isNull())
|
||||
dnsProductsObject.bindUsedCount = std::stol(valueDnsProductsDnsProduct["BindUsedCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["TTLMinValue"].isNull())
|
||||
dnsProductsObject.tTLMinValue = std::stol(valueDnsProductsDnsProduct["TTLMinValue"].asString());
|
||||
if(!valueDnsProductsDnsProduct["SubDomainLevel"].isNull())
|
||||
dnsProductsObject.subDomainLevel = std::stol(valueDnsProductsDnsProduct["SubDomainLevel"].asString());
|
||||
if(!valueDnsProductsDnsProduct["DnsSLBCount"].isNull())
|
||||
dnsProductsObject.dnsSLBCount = std::stol(valueDnsProductsDnsProduct["DnsSLBCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["URLForwardCount"].isNull())
|
||||
dnsProductsObject.uRLForwardCount = std::stol(valueDnsProductsDnsProduct["URLForwardCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["DDosDefendFlow"].isNull())
|
||||
dnsProductsObject.dDosDefendFlow = std::stol(valueDnsProductsDnsProduct["DDosDefendFlow"].asString());
|
||||
if(!valueDnsProductsDnsProduct["DDosDefendQuery"].isNull())
|
||||
dnsProductsObject.dDosDefendQuery = std::stol(valueDnsProductsDnsProduct["DDosDefendQuery"].asString());
|
||||
if(!valueDnsProductsDnsProduct["OverseaDDosDefendFlow"].isNull())
|
||||
dnsProductsObject.overseaDDosDefendFlow = std::stol(valueDnsProductsDnsProduct["OverseaDDosDefendFlow"].asString());
|
||||
if(!valueDnsProductsDnsProduct["SearchEngineLines"].isNull())
|
||||
dnsProductsObject.searchEngineLines = valueDnsProductsDnsProduct["SearchEngineLines"].asString();
|
||||
if(!valueDnsProductsDnsProduct["ISPLines"].isNull())
|
||||
dnsProductsObject.iSPLines = valueDnsProductsDnsProduct["ISPLines"].asString();
|
||||
if(!valueDnsProductsDnsProduct["ISPRegionLines"].isNull())
|
||||
dnsProductsObject.iSPRegionLines = valueDnsProductsDnsProduct["ISPRegionLines"].asString();
|
||||
if(!valueDnsProductsDnsProduct["OverseaLine"].isNull())
|
||||
dnsProductsObject.overseaLine = valueDnsProductsDnsProduct["OverseaLine"].asString();
|
||||
if(!valueDnsProductsDnsProduct["PaymentType"].isNull())
|
||||
dnsProductsObject.paymentType = valueDnsProductsDnsProduct["PaymentType"].asString();
|
||||
if(!valueDnsProductsDnsProduct["MonitorNodeCount"].isNull())
|
||||
dnsProductsObject.monitorNodeCount = std::stol(valueDnsProductsDnsProduct["MonitorNodeCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["MonitorFrequency"].isNull())
|
||||
dnsProductsObject.monitorFrequency = std::stol(valueDnsProductsDnsProduct["MonitorFrequency"].asString());
|
||||
if(!valueDnsProductsDnsProduct["InBlackHole"].isNull())
|
||||
dnsProductsObject.inBlackHole = valueDnsProductsDnsProduct["InBlackHole"].asString() == "true";
|
||||
if(!valueDnsProductsDnsProduct["BindDomainUsedCount"].isNull())
|
||||
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["ISPRegionLines"].isNull())
|
||||
dnsProductsObject.iSPRegionLines = valueDnsProductsDnsProduct["ISPRegionLines"].asString();
|
||||
if(!valueDnsProductsDnsProduct["TTLMinValue"].isNull())
|
||||
dnsProductsObject.tTLMinValue = std::stol(valueDnsProductsDnsProduct["TTLMinValue"].asString());
|
||||
if(!valueDnsProductsDnsProduct["ISPLines"].isNull())
|
||||
dnsProductsObject.iSPLines = valueDnsProductsDnsProduct["ISPLines"].asString();
|
||||
if(!valueDnsProductsDnsProduct["SearchEngineLines"].isNull())
|
||||
dnsProductsObject.searchEngineLines = valueDnsProductsDnsProduct["SearchEngineLines"].asString();
|
||||
if(!valueDnsProductsDnsProduct["EndTimestamp"].isNull())
|
||||
dnsProductsObject.endTimestamp = std::stol(valueDnsProductsDnsProduct["EndTimestamp"].asString());
|
||||
if(!valueDnsProductsDnsProduct["VersionName"].isNull())
|
||||
dnsProductsObject.versionName = valueDnsProductsDnsProduct["VersionName"].asString();
|
||||
if(!valueDnsProductsDnsProduct["VersionCode"].isNull())
|
||||
dnsProductsObject.versionCode = valueDnsProductsDnsProduct["VersionCode"].asString();
|
||||
if(!valueDnsProductsDnsProduct["MonitorTaskCount"].isNull())
|
||||
dnsProductsObject.monitorTaskCount = std::stol(valueDnsProductsDnsProduct["MonitorTaskCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["BindUsedCount"].isNull())
|
||||
dnsProductsObject.bindUsedCount = std::stol(valueDnsProductsDnsProduct["BindUsedCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["Domain"].isNull())
|
||||
dnsProductsObject.domain = valueDnsProductsDnsProduct["Domain"].asString();
|
||||
if(!valueDnsProductsDnsProduct["MonitorFrequency"].isNull())
|
||||
dnsProductsObject.monitorFrequency = std::stol(valueDnsProductsDnsProduct["MonitorFrequency"].asString());
|
||||
if(!valueDnsProductsDnsProduct["InClean"].isNull())
|
||||
dnsProductsObject.inClean = valueDnsProductsDnsProduct["InClean"].asString() == "true";
|
||||
if(!valueDnsProductsDnsProduct["URLForwardCount"].isNull())
|
||||
dnsProductsObject.uRLForwardCount = std::stol(valueDnsProductsDnsProduct["URLForwardCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["StartTimestamp"].isNull())
|
||||
dnsProductsObject.startTimestamp = std::stol(valueDnsProductsDnsProduct["StartTimestamp"].asString());
|
||||
if(!valueDnsProductsDnsProduct["DDosDefendQuery"].isNull())
|
||||
dnsProductsObject.dDosDefendQuery = std::stol(valueDnsProductsDnsProduct["DDosDefendQuery"].asString());
|
||||
if(!valueDnsProductsDnsProduct["InstanceId"].isNull())
|
||||
dnsProductsObject.instanceId = valueDnsProductsDnsProduct["InstanceId"].asString();
|
||||
if(!valueDnsProductsDnsProduct["DDosDefendFlow"].isNull())
|
||||
dnsProductsObject.dDosDefendFlow = std::stol(valueDnsProductsDnsProduct["DDosDefendFlow"].asString());
|
||||
if(!valueDnsProductsDnsProduct["BindCount"].isNull())
|
||||
dnsProductsObject.bindCount = std::stol(valueDnsProductsDnsProduct["BindCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["SubDomainLevel"].isNull())
|
||||
dnsProductsObject.subDomainLevel = std::stol(valueDnsProductsDnsProduct["SubDomainLevel"].asString());
|
||||
if(!valueDnsProductsDnsProduct["BindDomainCount"].isNull())
|
||||
dnsProductsObject.bindDomainCount = std::stol(valueDnsProductsDnsProduct["BindDomainCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["EndTime"].isNull())
|
||||
dnsProductsObject.endTime = valueDnsProductsDnsProduct["EndTime"].asString();
|
||||
if(!valueDnsProductsDnsProduct["StartTime"].isNull())
|
||||
dnsProductsObject.startTime = valueDnsProductsDnsProduct["StartTime"].asString();
|
||||
if(!valueDnsProductsDnsProduct["OverseaDDosDefendFlow"].isNull())
|
||||
dnsProductsObject.overseaDDosDefendFlow = std::stol(valueDnsProductsDnsProduct["OverseaDDosDefendFlow"].asString());
|
||||
if(!valueDnsProductsDnsProduct["RegionLines"].isNull())
|
||||
dnsProductsObject.regionLines = valueDnsProductsDnsProduct["RegionLines"].asString() == "true";
|
||||
if(!valueDnsProductsDnsProduct["Gslb"].isNull())
|
||||
dnsProductsObject.gslb = valueDnsProductsDnsProduct["Gslb"].asString() == "true";
|
||||
if(!valueDnsProductsDnsProduct["InClean"].isNull())
|
||||
dnsProductsObject.inClean = valueDnsProductsDnsProduct["InClean"].asString() == "true";
|
||||
if(!valueDnsProductsDnsProduct["InBlackHole"].isNull())
|
||||
dnsProductsObject.inBlackHole = valueDnsProductsDnsProduct["InBlackHole"].asString() == "true";
|
||||
if(!valueDnsProductsDnsProduct["BindDomainCount"].isNull())
|
||||
dnsProductsObject.bindDomainCount = std::stol(valueDnsProductsDnsProduct["BindDomainCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["BindDomainUsedCount"].isNull())
|
||||
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
|
||||
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
|
||||
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
|
||||
if(!valueDnsProductsDnsProduct["PaymentType"].isNull())
|
||||
dnsProductsObject.paymentType = valueDnsProductsDnsProduct["PaymentType"].asString();
|
||||
if(!valueDnsProductsDnsProduct["DnsSLBCount"].isNull())
|
||||
dnsProductsObject.dnsSLBCount = std::stol(valueDnsProductsDnsProduct["DnsSLBCount"].asString());
|
||||
dnsProducts_.push_back(dnsProductsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["DomainType"].isNull())
|
||||
domainType_ = value["DomainType"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohAccountStatisticsRequest;
|
||||
|
||||
DescribeDohAccountStatisticsRequest::DescribeDohAccountStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohAccountStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohAccountStatisticsRequest::~DescribeDohAccountStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohAccountStatisticsRequest;
|
||||
|
||||
DescribeDohAccountStatisticsRequest::DescribeDohAccountStatisticsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDohAccountStatistics") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
DescribeDohAccountStatisticsRequest::~DescribeDohAccountStatisticsRequest() {}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDohAccountStatisticsRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDohAccountStatisticsRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDohAccountStatisticsRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDohAccountStatisticsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,18 +43,18 @@ void DescribeDohAccountStatisticsResult::parse(const std::string &payload)
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsRequest;
|
||||
|
||||
DescribeDohDomainStatisticsRequest::DescribeDohDomainStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohDomainStatisticsRequest::~DescribeDohDomainStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsRequest;
|
||||
|
||||
DescribeDohDomainStatisticsRequest::DescribeDohDomainStatisticsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatistics") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeDohDomainStatisticsRequest::~DescribeDohDomainStatisticsRequest() {}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
void DescribeDohDomainStatisticsRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
std::string DescribeDohDomainStatisticsRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDohDomainStatisticsRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDohDomainStatisticsRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDohDomainStatisticsRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDohDomainStatisticsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,18 +43,18 @@ void DescribeDohDomainStatisticsResult::parse(const std::string &payload)
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDohDomainStatisticsSummaryRequest::DescribeDohDomainStatisticsSummaryRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatisticsSummary")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohDomainStatisticsSummaryRequest::~DescribeDohDomainStatisticsSummaryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDohDomainStatisticsSummaryRequest::DescribeDohDomainStatisticsSummaryRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatisticsSummary") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeDohDomainStatisticsSummaryRequest::~DescribeDohDomainStatisticsSummaryRequest() {}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getOrderBy() const {
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setOrderBy(const std::string &orderBy) {
|
||||
orderBy_ = orderBy;
|
||||
setParameter(std::string("OrderBy"), orderBy);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int DescribeDohDomainStatisticsSummaryRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeDohDomainStatisticsSummaryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setParameter("Direction", direction);
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getDirection() const {
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setDirection(const std::string &direction) {
|
||||
direction_ = direction;
|
||||
setParameter(std::string("Direction"), direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,34 +43,34 @@ void DescribeDohDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["DomainName"].isNull())
|
||||
statisticsObject.domainName = valueStatisticsStatistic["DomainName"].asString();
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["DomainName"].isNull())
|
||||
statisticsObject.domainName = valueStatisticsStatistic["DomainName"].asString();
|
||||
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsRequest;
|
||||
|
||||
DescribeDohSubDomainStatisticsRequest::DescribeDohSubDomainStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohSubDomainStatisticsRequest::~DescribeDohSubDomainStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsRequest;
|
||||
|
||||
DescribeDohSubDomainStatisticsRequest::DescribeDohSubDomainStatisticsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatistics") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
DescribeDohSubDomainStatisticsRequest::~DescribeDohSubDomainStatisticsRequest() {}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDohSubDomainStatisticsRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getSubDomain()const
|
||||
{
|
||||
return subDomain_;
|
||||
void DescribeDohSubDomainStatisticsRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setSubDomain(const std::string& subDomain)
|
||||
{
|
||||
subDomain_ = subDomain;
|
||||
setParameter("SubDomain", subDomain);
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getSubDomain() const {
|
||||
return subDomain_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDohSubDomainStatisticsRequest::setSubDomain(const std::string &subDomain) {
|
||||
subDomain_ = subDomain;
|
||||
setParameter(std::string("SubDomain"), subDomain);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,18 +43,18 @@ void DescribeDohSubDomainStatisticsResult::parse(const std::string &payload)
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +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/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryRequest::DescribeDohSubDomainStatisticsSummaryRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatisticsSummary")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryRequest::~DescribeDohSubDomainStatisticsSummaryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryRequest::DescribeDohSubDomainStatisticsSummaryRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatisticsSummary") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeDohSubDomainStatisticsSummaryRequest::~DescribeDohSubDomainStatisticsSummaryRequest() {}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getOrderBy() const {
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setOrderBy(const std::string &orderBy) {
|
||||
orderBy_ = orderBy;
|
||||
setParameter(std::string("OrderBy"), orderBy);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int DescribeDohSubDomainStatisticsSummaryRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeDohSubDomainStatisticsSummaryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getSubDomain()const
|
||||
{
|
||||
return subDomain_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setSubDomain(const std::string& subDomain)
|
||||
{
|
||||
subDomain_ = subDomain;
|
||||
setParameter("SubDomain", subDomain);
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getSubDomain() const {
|
||||
return subDomain_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setSubDomain(const std::string &subDomain) {
|
||||
subDomain_ = subDomain;
|
||||
setParameter(std::string("SubDomain"), subDomain);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setParameter("Direction", direction);
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDirection() const {
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setDirection(const std::string &direction) {
|
||||
direction_ = direction;
|
||||
setParameter(std::string("Direction"), direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,34 +43,34 @@ void DescribeDohSubDomainStatisticsSummaryResult::parse(const std::string &paylo
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["SubDomain"].isNull())
|
||||
statisticsObject.subDomain = valueStatisticsStatistic["SubDomain"].asString();
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||
if(!valueStatisticsStatistic["SubDomain"].isNull())
|
||||
statisticsObject.subDomain = valueStatisticsStatistic["SubDomain"].asString();
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohUserInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohUserInfoRequest;
|
||||
|
||||
DescribeDohUserInfoRequest::DescribeDohUserInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohUserInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohUserInfoRequest::~DescribeDohUserInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohUserInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohUserInfoRequest;
|
||||
|
||||
DescribeDohUserInfoRequest::DescribeDohUserInfoRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDohUserInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
DescribeDohUserInfoRequest::~DescribeDohUserInfoRequest() {}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDohUserInfoRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDohUserInfoRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDohUserInfoRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("EndDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDohUserInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DescribeDohUserInfoResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SubDomainCount"].isNull())
|
||||
subDomainCount_ = std::stoi(value["SubDomainCount"].asString());
|
||||
if(!value["PdnsId"].isNull())
|
||||
pdnsId_ = std::stol(value["PdnsId"].asString());
|
||||
if(!value["DomainCount"].isNull())
|
||||
domainCount_ = std::stoi(value["DomainCount"].asString());
|
||||
if(!value["SubDomainCount"].isNull())
|
||||
subDomainCount_ = std::stoi(value["SubDomainCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainDnssecInfoRequest;
|
||||
|
||||
DescribeDomainDnssecInfoRequest::DescribeDomainDnssecInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainDnssecInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainDnssecInfoRequest::~DescribeDomainDnssecInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainDnssecInfoRequest;
|
||||
|
||||
DescribeDomainDnssecInfoRequest::DescribeDomainDnssecInfoRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainDnssecInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeDomainDnssecInfoRequest::~DescribeDomainDnssecInfoRequest() {}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDomainDnssecInfoRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDomainDnssecInfoRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDomainDnssecInfoRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDomainDnssecInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,24 +39,24 @@ void DescribeDomainDnssecInfoResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["DsRecord"].isNull())
|
||||
dsRecord_ = value["DsRecord"].asString();
|
||||
if(!value["Digest"].isNull())
|
||||
digest_ = value["Digest"].asString();
|
||||
if(!value["DigestType"].isNull())
|
||||
digestType_ = value["DigestType"].asString();
|
||||
if(!value["Algorithm"].isNull())
|
||||
algorithm_ = value["Algorithm"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["PublicKey"].isNull())
|
||||
publicKey_ = value["PublicKey"].asString();
|
||||
if(!value["DigestType"].isNull())
|
||||
digestType_ = value["DigestType"].asString();
|
||||
if(!value["DsRecord"].isNull())
|
||||
dsRecord_ = value["DsRecord"].asString();
|
||||
if(!value["KeyTag"].isNull())
|
||||
keyTag_ = value["KeyTag"].asString();
|
||||
if(!value["Flags"].isNull())
|
||||
flags_ = value["Flags"].asString();
|
||||
if(!value["Algorithm"].isNull())
|
||||
algorithm_ = value["Algorithm"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -65,31 +65,31 @@ std::string DescribeDomainDnssecInfoResult::getStatus()const
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDigest()const
|
||||
{
|
||||
return digest_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getPublicKey()const
|
||||
{
|
||||
return publicKey_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDsRecord()const
|
||||
{
|
||||
return dsRecord_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDigestType()const
|
||||
{
|
||||
return digestType_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDsRecord()const
|
||||
{
|
||||
return dsRecord_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getKeyTag()const
|
||||
{
|
||||
return keyTag_;
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainGroupsRequest;
|
||||
|
||||
DescribeDomainGroupsRequest::DescribeDomainGroupsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainGroups")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainGroupsRequest::~DescribeDomainGroupsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDomainGroupsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainGroupsRequest;
|
||||
|
||||
DescribeDomainGroupsRequest::DescribeDomainGroupsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainGroups") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDomainGroupsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeDomainGroupsRequest::~DescribeDomainGroupsRequest() {}
|
||||
|
||||
long DescribeDomainGroupsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainGroupsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDomainGroupsRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDomainGroupsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDomainGroupsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long DescribeDomainGroupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDomainGroupsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDomainGroupsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long DescribeDomainGroupsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainGroupsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDomainGroupsRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDomainGroupsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDomainGroupsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainGroupsRequest::getKeyWord()const
|
||||
{
|
||||
return keyWord_;
|
||||
void DescribeDomainGroupsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDomainGroupsRequest::setKeyWord(const std::string& keyWord)
|
||||
{
|
||||
keyWord_ = keyWord;
|
||||
setParameter("KeyWord", keyWord);
|
||||
std::string DescribeDomainGroupsRequest::getKeyWord() const {
|
||||
return keyWord_;
|
||||
}
|
||||
|
||||
void DescribeDomainGroupsRequest::setKeyWord(const std::string &keyWord) {
|
||||
keyWord_ = keyWord;
|
||||
setParameter(std::string("KeyWord"), keyWord);
|
||||
}
|
||||
|
||||
|
||||
@@ -53,10 +53,10 @@ void DescribeDomainGroupsResult::parse(const std::string &payload)
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainInfoRequest;
|
||||
|
||||
DescribeDomainInfoRequest::DescribeDomainInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainInfoRequest::~DescribeDomainInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainInfoRequest;
|
||||
|
||||
DescribeDomainInfoRequest::DescribeDomainInfoRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDomainInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeDomainInfoRequest::~DescribeDomainInfoRequest() {}
|
||||
|
||||
std::string DescribeDomainInfoRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DescribeDomainInfoRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDomainInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DescribeDomainInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDomainInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDomainInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDomainInfoRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDomainInfoRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDomainInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDomainInfoRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
bool DescribeDomainInfoRequest::getNeedDetailAttributes()const
|
||||
{
|
||||
return needDetailAttributes_;
|
||||
void DescribeDomainInfoRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDomainInfoRequest::setNeedDetailAttributes(bool needDetailAttributes)
|
||||
{
|
||||
needDetailAttributes_ = needDetailAttributes;
|
||||
setParameter("NeedDetailAttributes", needDetailAttributes ? "true" : "false");
|
||||
bool DescribeDomainInfoRequest::getNeedDetailAttributes() const {
|
||||
return needDetailAttributes_;
|
||||
}
|
||||
|
||||
void DescribeDomainInfoRequest::setNeedDetailAttributes(bool needDetailAttributes) {
|
||||
needDetailAttributes_ = needDetailAttributes;
|
||||
setParameter(std::string("NeedDetailAttributes"), needDetailAttributes ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
|
||||
for (auto valueRecordLinesRecordLine : allRecordLinesNode)
|
||||
{
|
||||
RecordLine recordLinesObject;
|
||||
if(!valueRecordLinesRecordLine["LineCode"].isNull())
|
||||
recordLinesObject.lineCode = valueRecordLinesRecordLine["LineCode"].asString();
|
||||
if(!valueRecordLinesRecordLine["FatherCode"].isNull())
|
||||
recordLinesObject.fatherCode = valueRecordLinesRecordLine["FatherCode"].asString();
|
||||
if(!valueRecordLinesRecordLine["LineName"].isNull())
|
||||
recordLinesObject.lineName = valueRecordLinesRecordLine["LineName"].asString();
|
||||
if(!valueRecordLinesRecordLine["LineDisplayName"].isNull())
|
||||
recordLinesObject.lineDisplayName = valueRecordLinesRecordLine["LineDisplayName"].asString();
|
||||
if(!valueRecordLinesRecordLine["LineCode"].isNull())
|
||||
recordLinesObject.lineCode = valueRecordLinesRecordLine["LineCode"].asString();
|
||||
if(!valueRecordLinesRecordLine["LineName"].isNull())
|
||||
recordLinesObject.lineName = valueRecordLinesRecordLine["LineName"].asString();
|
||||
recordLines_.push_back(recordLinesObject);
|
||||
}
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
@@ -59,57 +59,57 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
|
||||
auto allAvailableTtls = value["AvailableTtls"]["AvailableTtl"];
|
||||
for (const auto &item : allAvailableTtls)
|
||||
availableTtls_.push_back(item.asString());
|
||||
if(!value["DomainId"].isNull())
|
||||
domainId_ = value["DomainId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["PunyCode"].isNull())
|
||||
punyCode_ = value["PunyCode"].asString();
|
||||
if(!value["RecordLineTreeJson"].isNull())
|
||||
recordLineTreeJson_ = value["RecordLineTreeJson"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
if(!value["InBlackHole"].isNull())
|
||||
inBlackHole_ = value["InBlackHole"].asString() == "true";
|
||||
if(!value["RegionLines"].isNull())
|
||||
regionLines_ = value["RegionLines"].asString() == "true";
|
||||
if(!value["SlaveDns"].isNull())
|
||||
slaveDns_ = value["SlaveDns"].asString() == "true";
|
||||
if(!value["AliDomain"].isNull())
|
||||
aliDomain_ = value["AliDomain"].asString() == "true";
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["PunyCode"].isNull())
|
||||
punyCode_ = value["PunyCode"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
remark_ = value["Remark"].asString();
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["VersionCode"].isNull())
|
||||
versionCode_ = value["VersionCode"].asString();
|
||||
if(!value["VersionName"].isNull())
|
||||
versionName_ = value["VersionName"].asString();
|
||||
if(!value["DomainId"].isNull())
|
||||
domainId_ = value["DomainId"].asString();
|
||||
if(!value["MinTtl"].isNull())
|
||||
minTtl_ = std::stol(value["MinTtl"].asString());
|
||||
if(!value["RecordLineTreeJson"].isNull())
|
||||
recordLineTreeJson_ = value["RecordLineTreeJson"].asString();
|
||||
if(!value["LineType"].isNull())
|
||||
lineType_ = value["LineType"].asString();
|
||||
if(!value["RegionLines"].isNull())
|
||||
regionLines_ = value["RegionLines"].asString() == "true";
|
||||
if(!value["InBlackHole"].isNull())
|
||||
inBlackHole_ = value["InBlackHole"].asString() == "true";
|
||||
if(!value["InClean"].isNull())
|
||||
inClean_ = value["InClean"].asString() == "true";
|
||||
if(!value["SlaveDns"].isNull())
|
||||
slaveDns_ = value["SlaveDns"].asString() == "true";
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["VersionName"].isNull())
|
||||
versionName_ = value["VersionName"].asString();
|
||||
if(!value["LineType"].isNull())
|
||||
lineType_ = value["LineType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getRecordLineTreeJson()const
|
||||
{
|
||||
return recordLineTreeJson_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
bool DescribeDomainInfoResult::getInBlackHole()const
|
||||
{
|
||||
return inBlackHole_;
|
||||
@@ -120,31 +120,31 @@ bool DescribeDomainInfoResult::getRegionLines()const
|
||||
return regionLines_;
|
||||
}
|
||||
|
||||
bool DescribeDomainInfoResult::getAliDomain()const
|
||||
{
|
||||
return aliDomain_;
|
||||
}
|
||||
|
||||
bool DescribeDomainInfoResult::getSlaveDns()const
|
||||
{
|
||||
return slaveDns_;
|
||||
}
|
||||
|
||||
bool DescribeDomainInfoResult::getAliDomain()const
|
||||
{
|
||||
return aliDomain_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
@@ -190,11 +190,6 @@ std::vector<std::string> DescribeDomainInfoResult::getAvailableTtls()const
|
||||
return availableTtls_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getVersionName()const
|
||||
{
|
||||
return versionName_;
|
||||
}
|
||||
|
||||
long DescribeDomainInfoResult::getMinTtl()const
|
||||
{
|
||||
return minTtl_;
|
||||
@@ -205,6 +200,11 @@ bool DescribeDomainInfoResult::getInClean()const
|
||||
return inClean_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getVersionName()const
|
||||
{
|
||||
return versionName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainInfoResult::getLineType()const
|
||||
{
|
||||
return lineType_;
|
||||
|
||||
@@ -1,128 +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/alidns/model/DescribeDomainLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainLogsRequest;
|
||||
|
||||
DescribeDomainLogsRequest::DescribeDomainLogsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainLogsRequest::~DescribeDomainLogsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainLogsRequest;
|
||||
|
||||
DescribeDomainLogsRequest::DescribeDomainLogsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainLogs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
DescribeDomainLogsRequest::~DescribeDomainLogsRequest() {}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
void DescribeDomainLogsRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
std::string DescribeDomainLogsRequest::getStartDate() const {
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void DescribeDomainLogsRequest::setStartDate(const std::string &startDate) {
|
||||
startDate_ = startDate;
|
||||
setParameter(std::string("StartDate"), startDate);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string DescribeDomainLogsRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
long DescribeDomainLogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeDomainLogsRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
long DescribeDomainLogsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
void DescribeDomainLogsRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
std::string DescribeDomainLogsRequest::getEndDate() const {
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDomainLogsRequest::setEndDate(const std::string &endDate) {
|
||||
endDate_ = endDate;
|
||||
setParameter(std::string("endDate"), endDate);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDomainLogsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
long DescribeDomainLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeDomainLogsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long DescribeDomainLogsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDomainLogsRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDomainLogsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainLogsRequest::getKeyWord()const
|
||||
{
|
||||
return keyWord_;
|
||||
void DescribeDomainLogsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setKeyWord(const std::string& keyWord)
|
||||
{
|
||||
keyWord_ = keyWord;
|
||||
setParameter("KeyWord", keyWord);
|
||||
std::string DescribeDomainLogsRequest::getKeyWord() const {
|
||||
return keyWord_;
|
||||
}
|
||||
|
||||
void DescribeDomainLogsRequest::setKeyWord(const std::string &keyWord) {
|
||||
keyWord_ = keyWord;
|
||||
setParameter(std::string("KeyWord"), keyWord);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,28 +43,28 @@ void DescribeDomainLogsResult::parse(const std::string &payload)
|
||||
for (auto valueDomainLogsDomainLog : allDomainLogsNode)
|
||||
{
|
||||
DomainLog domainLogsObject;
|
||||
if(!valueDomainLogsDomainLog["ActionTime"].isNull())
|
||||
domainLogsObject.actionTime = valueDomainLogsDomainLog["ActionTime"].asString();
|
||||
if(!valueDomainLogsDomainLog["ActionTimestamp"].isNull())
|
||||
domainLogsObject.actionTimestamp = std::stol(valueDomainLogsDomainLog["ActionTimestamp"].asString());
|
||||
if(!valueDomainLogsDomainLog["DomainName"].isNull())
|
||||
domainLogsObject.domainName = valueDomainLogsDomainLog["DomainName"].asString();
|
||||
if(!valueDomainLogsDomainLog["Action"].isNull())
|
||||
domainLogsObject.action = valueDomainLogsDomainLog["Action"].asString();
|
||||
if(!valueDomainLogsDomainLog["Message"].isNull())
|
||||
domainLogsObject.message = valueDomainLogsDomainLog["Message"].asString();
|
||||
if(!valueDomainLogsDomainLog["ClientIp"].isNull())
|
||||
domainLogsObject.clientIp = valueDomainLogsDomainLog["ClientIp"].asString();
|
||||
if(!valueDomainLogsDomainLog["ActionTimestamp"].isNull())
|
||||
domainLogsObject.actionTimestamp = std::stol(valueDomainLogsDomainLog["ActionTimestamp"].asString());
|
||||
if(!valueDomainLogsDomainLog["ZoneId"].isNull())
|
||||
domainLogsObject.zoneId = valueDomainLogsDomainLog["ZoneId"].asString();
|
||||
if(!valueDomainLogsDomainLog["ClientIp"].isNull())
|
||||
domainLogsObject.clientIp = valueDomainLogsDomainLog["ClientIp"].asString();
|
||||
if(!valueDomainLogsDomainLog["Message"].isNull())
|
||||
domainLogsObject.message = valueDomainLogsDomainLog["Message"].asString();
|
||||
if(!valueDomainLogsDomainLog["ActionTime"].isNull())
|
||||
domainLogsObject.actionTime = valueDomainLogsDomainLog["ActionTime"].asString();
|
||||
if(!valueDomainLogsDomainLog["DomainName"].isNull())
|
||||
domainLogsObject.domainName = valueDomainLogsDomainLog["DomainName"].asString();
|
||||
domainLogs_.push_back(domainLogsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainNsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainNsRequest;
|
||||
|
||||
DescribeDomainNsRequest::DescribeDomainNsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainNs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainNsRequest::~DescribeDomainNsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainNsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainNsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainNsRequest;
|
||||
|
||||
DescribeDomainNsRequest::DescribeDomainNsRequest()
|
||||
: RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainNs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDomainNsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeDomainNsRequest::~DescribeDomainNsRequest() {}
|
||||
|
||||
std::string DescribeDomainNsRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainNsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DescribeDomainNsRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeDomainNsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DescribeDomainNsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainNsRequest::getDomainType()const
|
||||
{
|
||||
return domainType_;
|
||||
void DescribeDomainNsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDomainNsRequest::setDomainType(const std::string& domainType)
|
||||
{
|
||||
domainType_ = domainType;
|
||||
setParameter("DomainType", domainType);
|
||||
std::string DescribeDomainNsRequest::getDomainType() const {
|
||||
return domainType_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainNsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
void DescribeDomainNsRequest::setDomainType(const std::string &domainType) {
|
||||
domainType_ = domainType;
|
||||
setParameter(std::string("DomainType"), domainType);
|
||||
}
|
||||
|
||||
void DescribeDomainNsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter("UserClientIp", userClientIp);
|
||||
std::string DescribeDomainNsRequest::getUserClientIp() const {
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainNsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
void DescribeDomainNsRequest::setUserClientIp(const std::string &userClientIp) {
|
||||
userClientIp_ = userClientIp;
|
||||
setParameter(std::string("UserClientIp"), userClientIp);
|
||||
}
|
||||
|
||||
void DescribeDomainNsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
std::string DescribeDomainNsRequest::getLang() const {
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainNsRequest::setLang(const std::string &lang) {
|
||||
lang_ = lang;
|
||||
setParameter(std::string("Lang"), lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,16 +39,18 @@ void DescribeDomainNsResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (const auto &item : allDnsServers)
|
||||
dnsServers_.push_back(item.asString());
|
||||
auto allExpectDnsServers = value["ExpectDnsServers"]["ExpectDnsServer"];
|
||||
for (const auto &item : allExpectDnsServers)
|
||||
expectDnsServers_.push_back(item.asString());
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (const auto &item : allDnsServers)
|
||||
dnsServers_.push_back(item.asString());
|
||||
if(!value["AllAliDns"].isNull())
|
||||
allAliDns_ = value["AllAliDns"].asString() == "true";
|
||||
if(!value["IncludeAliDns"].isNull())
|
||||
includeAliDns_ = value["IncludeAliDns"].asString() == "true";
|
||||
if(!value["DetectFailedReasonCode"].isNull())
|
||||
detectFailedReasonCode_ = value["DetectFailedReasonCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -72,3 +74,8 @@ bool DescribeDomainNsResult::getIncludeAliDns()const
|
||||
return includeAliDns_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainNsResult::getDetectFailedReasonCode()const
|
||||
{
|
||||
return detectFailedReasonCode_;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user