96 lines
2.4 KiB
C++
96 lines
2.4 KiB
C++
/*
|
|
* 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/UpdateGtmRecoveryPlanRequest.h>
|
|
|
|
using AlibabaCloud::Alidns::Model::UpdateGtmRecoveryPlanRequest;
|
|
|
|
UpdateGtmRecoveryPlanRequest::UpdateGtmRecoveryPlanRequest() :
|
|
RpcServiceRequest("alidns", "2015-01-09", "UpdateGtmRecoveryPlan")
|
|
{
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
UpdateGtmRecoveryPlanRequest::~UpdateGtmRecoveryPlanRequest()
|
|
{}
|
|
|
|
std::string UpdateGtmRecoveryPlanRequest::getFaultAddrPool()const
|
|
{
|
|
return faultAddrPool_;
|
|
}
|
|
|
|
void UpdateGtmRecoveryPlanRequest::setFaultAddrPool(const std::string& faultAddrPool)
|
|
{
|
|
faultAddrPool_ = faultAddrPool;
|
|
setParameter("FaultAddrPool", faultAddrPool);
|
|
}
|
|
|
|
std::string UpdateGtmRecoveryPlanRequest::getRemark()const
|
|
{
|
|
return remark_;
|
|
}
|
|
|
|
void UpdateGtmRecoveryPlanRequest::setRemark(const std::string& remark)
|
|
{
|
|
remark_ = remark;
|
|
setParameter("Remark", remark);
|
|
}
|
|
|
|
std::string UpdateGtmRecoveryPlanRequest::getUserClientIp()const
|
|
{
|
|
return userClientIp_;
|
|
}
|
|
|
|
void UpdateGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
|
{
|
|
userClientIp_ = userClientIp;
|
|
setParameter("UserClientIp", userClientIp);
|
|
}
|
|
|
|
std::string UpdateGtmRecoveryPlanRequest::getName()const
|
|
{
|
|
return name_;
|
|
}
|
|
|
|
void UpdateGtmRecoveryPlanRequest::setName(const std::string& name)
|
|
{
|
|
name_ = name;
|
|
setParameter("Name", name);
|
|
}
|
|
|
|
long UpdateGtmRecoveryPlanRequest::getRecoveryPlanId()const
|
|
{
|
|
return recoveryPlanId_;
|
|
}
|
|
|
|
void UpdateGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
|
|
{
|
|
recoveryPlanId_ = recoveryPlanId;
|
|
setParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
|
|
}
|
|
|
|
std::string UpdateGtmRecoveryPlanRequest::getLang()const
|
|
{
|
|
return lang_;
|
|
}
|
|
|
|
void UpdateGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
|
{
|
|
lang_ = lang;
|
|
setParameter("Lang", lang);
|
|
}
|
|
|