73 lines
2.2 KiB
C++
73 lines
2.2 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/arms/model/ChangeAlarmSeverityRequest.h>
|
|
|
|
using AlibabaCloud::ARMS::Model::ChangeAlarmSeverityRequest;
|
|
|
|
ChangeAlarmSeverityRequest::ChangeAlarmSeverityRequest()
|
|
: RpcServiceRequest("arms", "2019-08-08", "ChangeAlarmSeverity") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
ChangeAlarmSeverityRequest::~ChangeAlarmSeverityRequest() {}
|
|
|
|
std::string ChangeAlarmSeverityRequest::getSeverity() const {
|
|
return severity_;
|
|
}
|
|
|
|
void ChangeAlarmSeverityRequest::setSeverity(const std::string &severity) {
|
|
severity_ = severity;
|
|
setParameter(std::string("Severity"), severity);
|
|
}
|
|
|
|
std::string ChangeAlarmSeverityRequest::getProxyUserId() const {
|
|
return proxyUserId_;
|
|
}
|
|
|
|
void ChangeAlarmSeverityRequest::setProxyUserId(const std::string &proxyUserId) {
|
|
proxyUserId_ = proxyUserId;
|
|
setParameter(std::string("ProxyUserId"), proxyUserId);
|
|
}
|
|
|
|
std::string ChangeAlarmSeverityRequest::getRegionId() const {
|
|
return regionId_;
|
|
}
|
|
|
|
void ChangeAlarmSeverityRequest::setRegionId(const std::string ®ionId) {
|
|
regionId_ = regionId;
|
|
setParameter(std::string("RegionId"), regionId);
|
|
}
|
|
|
|
long ChangeAlarmSeverityRequest::getHandlerId() const {
|
|
return handlerId_;
|
|
}
|
|
|
|
void ChangeAlarmSeverityRequest::setHandlerId(long handlerId) {
|
|
handlerId_ = handlerId;
|
|
setParameter(std::string("HandlerId"), std::to_string(handlerId));
|
|
}
|
|
|
|
long ChangeAlarmSeverityRequest::getAlarmId() const {
|
|
return alarmId_;
|
|
}
|
|
|
|
void ChangeAlarmSeverityRequest::setAlarmId(long alarmId) {
|
|
alarmId_ = alarmId;
|
|
setParameter(std::string("AlarmId"), std::to_string(alarmId));
|
|
}
|
|
|