91 lines
2.9 KiB
C++
91 lines
2.9 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/ImportAppAlertRulesRequest.h>
|
|
|
|
using AlibabaCloud::ARMS::Model::ImportAppAlertRulesRequest;
|
|
|
|
ImportAppAlertRulesRequest::ImportAppAlertRulesRequest()
|
|
: RpcServiceRequest("arms", "2019-08-08", "ImportAppAlertRules") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
ImportAppAlertRulesRequest::~ImportAppAlertRulesRequest() {}
|
|
|
|
bool ImportAppAlertRulesRequest::getIsAutoStart() const {
|
|
return isAutoStart_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setIsAutoStart(bool isAutoStart) {
|
|
isAutoStart_ = isAutoStart;
|
|
setParameter(std::string("IsAutoStart"), isAutoStart ? "true" : "false");
|
|
}
|
|
|
|
std::string ImportAppAlertRulesRequest::getProxyUserId() const {
|
|
return proxyUserId_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setProxyUserId(const std::string &proxyUserId) {
|
|
proxyUserId_ = proxyUserId;
|
|
setParameter(std::string("ProxyUserId"), proxyUserId);
|
|
}
|
|
|
|
std::string ImportAppAlertRulesRequest::getRegionId() const {
|
|
return regionId_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setRegionId(const std::string ®ionId) {
|
|
regionId_ = regionId;
|
|
setParameter(std::string("RegionId"), regionId);
|
|
}
|
|
|
|
std::string ImportAppAlertRulesRequest::getContactGroupIds() const {
|
|
return contactGroupIds_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setContactGroupIds(const std::string &contactGroupIds) {
|
|
contactGroupIds_ = contactGroupIds;
|
|
setParameter(std::string("ContactGroupIds"), contactGroupIds);
|
|
}
|
|
|
|
std::string ImportAppAlertRulesRequest::getPids() const {
|
|
return pids_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setPids(const std::string &pids) {
|
|
pids_ = pids;
|
|
setParameter(std::string("Pids"), pids);
|
|
}
|
|
|
|
std::string ImportAppAlertRulesRequest::getTemplageAlertConfig() const {
|
|
return templageAlertConfig_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setTemplageAlertConfig(const std::string &templageAlertConfig) {
|
|
templageAlertConfig_ = templageAlertConfig;
|
|
setParameter(std::string("TemplageAlertConfig"), templageAlertConfig);
|
|
}
|
|
|
|
std::string ImportAppAlertRulesRequest::getTemplateAlertId() const {
|
|
return templateAlertId_;
|
|
}
|
|
|
|
void ImportAppAlertRulesRequest::setTemplateAlertId(const std::string &templateAlertId) {
|
|
templateAlertId_ = templateAlertId;
|
|
setParameter(std::string("TemplateAlertId"), templateAlertId);
|
|
}
|
|
|