100 lines
3.3 KiB
C++
100 lines
3.3 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/cc5g/model/UpdateDNSAuthorizationRuleRequest.h>
|
|
|
|
using AlibabaCloud::CC5G::Model::UpdateDNSAuthorizationRuleRequest;
|
|
|
|
UpdateDNSAuthorizationRuleRequest::UpdateDNSAuthorizationRuleRequest()
|
|
: RpcServiceRequest("cc5g", "2022-03-14", "UpdateDNSAuthorizationRule") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
UpdateDNSAuthorizationRuleRequest::~UpdateDNSAuthorizationRuleRequest() {}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getClientToken() const {
|
|
return clientToken_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setClientToken(const std::string &clientToken) {
|
|
clientToken_ = clientToken;
|
|
setParameter(std::string("ClientToken"), clientToken);
|
|
}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getDescription() const {
|
|
return description_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setDescription(const std::string &description) {
|
|
description_ = description;
|
|
setParameter(std::string("Description"), description);
|
|
}
|
|
|
|
bool UpdateDNSAuthorizationRuleRequest::getDryRun() const {
|
|
return dryRun_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setDryRun(bool dryRun) {
|
|
dryRun_ = dryRun;
|
|
setParameter(std::string("DryRun"), dryRun ? "true" : "false");
|
|
}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getSourceDNSIp() const {
|
|
return sourceDNSIp_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setSourceDNSIp(const std::string &sourceDNSIp) {
|
|
sourceDNSIp_ = sourceDNSIp;
|
|
setParameter(std::string("SourceDNSIp"), sourceDNSIp);
|
|
}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getAuthorizationRuleId() const {
|
|
return authorizationRuleId_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setAuthorizationRuleId(const std::string &authorizationRuleId) {
|
|
authorizationRuleId_ = authorizationRuleId;
|
|
setParameter(std::string("AuthorizationRuleId"), authorizationRuleId);
|
|
}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getDestinationIp() const {
|
|
return destinationIp_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setDestinationIp(const std::string &destinationIp) {
|
|
destinationIp_ = destinationIp;
|
|
setParameter(std::string("DestinationIp"), destinationIp);
|
|
}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getWirelessCloudConnectorId() const {
|
|
return wirelessCloudConnectorId_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setWirelessCloudConnectorId(const std::string &wirelessCloudConnectorId) {
|
|
wirelessCloudConnectorId_ = wirelessCloudConnectorId;
|
|
setParameter(std::string("WirelessCloudConnectorId"), wirelessCloudConnectorId);
|
|
}
|
|
|
|
std::string UpdateDNSAuthorizationRuleRequest::getName() const {
|
|
return name_;
|
|
}
|
|
|
|
void UpdateDNSAuthorizationRuleRequest::setName(const std::string &name) {
|
|
name_ = name;
|
|
setParameter(std::string("Name"), name);
|
|
}
|
|
|