| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- /*
- * 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/sas/model/DescribeSuspEventsRequest.h>
- using AlibabaCloud::Sas::Model::DescribeSuspEventsRequest;
- DescribeSuspEventsRequest::DescribeSuspEventsRequest()
- : RpcServiceRequest("sas", "2018-12-03", "DescribeSuspEvents") {
- setMethod(HttpRequest::Method::Post);
- }
- DescribeSuspEventsRequest::~DescribeSuspEventsRequest() {}
- std::string DescribeSuspEventsRequest::getSource() const {
- return source_;
- }
- void DescribeSuspEventsRequest::setSource(const std::string &source) {
- source_ = source;
- setParameter(std::string("Source"), source);
- }
- std::string DescribeSuspEventsRequest::getContainerFieldName() const {
- return containerFieldName_;
- }
- void DescribeSuspEventsRequest::setContainerFieldName(const std::string &containerFieldName) {
- containerFieldName_ = containerFieldName;
- setParameter(std::string("ContainerFieldName"), containerFieldName);
- }
- std::string DescribeSuspEventsRequest::getSourceIp() const {
- return sourceIp_;
- }
- void DescribeSuspEventsRequest::setSourceIp(const std::string &sourceIp) {
- sourceIp_ = sourceIp;
- setParameter(std::string("SourceIp"), sourceIp);
- }
- std::string DescribeSuspEventsRequest::getEventNames() const {
- return eventNames_;
- }
- void DescribeSuspEventsRequest::setEventNames(const std::string &eventNames) {
- eventNames_ = eventNames;
- setParameter(std::string("EventNames"), eventNames);
- }
- std::string DescribeSuspEventsRequest::getFrom() const {
- return from_;
- }
- void DescribeSuspEventsRequest::setFrom(const std::string &from) {
- from_ = from;
- setParameter(std::string("From"), from);
- }
- long DescribeSuspEventsRequest::getId() const {
- return id_;
- }
- void DescribeSuspEventsRequest::setId(long id) {
- id_ = id;
- setParameter(std::string("Id"), std::to_string(id));
- }
- std::string DescribeSuspEventsRequest::getTacticId() const {
- return tacticId_;
- }
- void DescribeSuspEventsRequest::setTacticId(const std::string &tacticId) {
- tacticId_ = tacticId;
- setBodyParameter(std::string("TacticId"), tacticId);
- }
- std::string DescribeSuspEventsRequest::getAlarmUniqueInfo() const {
- return alarmUniqueInfo_;
- }
- void DescribeSuspEventsRequest::setAlarmUniqueInfo(const std::string &alarmUniqueInfo) {
- alarmUniqueInfo_ = alarmUniqueInfo;
- setParameter(std::string("AlarmUniqueInfo"), alarmUniqueInfo);
- }
- std::string DescribeSuspEventsRequest::getUniqueInfo() const {
- return uniqueInfo_;
- }
- void DescribeSuspEventsRequest::setUniqueInfo(const std::string &uniqueInfo) {
- uniqueInfo_ = uniqueInfo;
- setParameter(std::string("UniqueInfo"), uniqueInfo);
- }
- long DescribeSuspEventsRequest::getGroupId() const {
- return groupId_;
- }
- void DescribeSuspEventsRequest::setGroupId(long groupId) {
- groupId_ = groupId;
- setParameter(std::string("GroupId"), std::to_string(groupId));
- }
- std::string DescribeSuspEventsRequest::getOperateTimeEnd() const {
- return operateTimeEnd_;
- }
- void DescribeSuspEventsRequest::setOperateTimeEnd(const std::string &operateTimeEnd) {
- operateTimeEnd_ = operateTimeEnd;
- setParameter(std::string("OperateTimeEnd"), operateTimeEnd);
- }
- std::string DescribeSuspEventsRequest::getName() const {
- return name_;
- }
- void DescribeSuspEventsRequest::setName(const std::string &name) {
- name_ = name;
- setParameter(std::string("Name"), name);
- }
- std::string DescribeSuspEventsRequest::getStatus() const {
- return status_;
- }
- void DescribeSuspEventsRequest::setStatus(const std::string &status) {
- status_ = status;
- setParameter(std::string("Status"), status);
- }
- std::string DescribeSuspEventsRequest::getUuids() const {
- return uuids_;
- }
- void DescribeSuspEventsRequest::setUuids(const std::string &uuids) {
- uuids_ = uuids;
- setParameter(std::string("Uuids"), uuids);
- }
- std::string DescribeSuspEventsRequest::getTimeEnd() const {
- return timeEnd_;
- }
- void DescribeSuspEventsRequest::setTimeEnd(const std::string &timeEnd) {
- timeEnd_ = timeEnd;
- setParameter(std::string("TimeEnd"), timeEnd);
- }
- std::string DescribeSuspEventsRequest::getTargetType() const {
- return targetType_;
- }
- void DescribeSuspEventsRequest::setTargetType(const std::string &targetType) {
- targetType_ = targetType;
- setParameter(std::string("TargetType"), targetType);
- }
- std::string DescribeSuspEventsRequest::getRemark() const {
- return remark_;
- }
- void DescribeSuspEventsRequest::setRemark(const std::string &remark) {
- remark_ = remark;
- setParameter(std::string("Remark"), remark);
- }
- std::string DescribeSuspEventsRequest::getContainerFieldValue() const {
- return containerFieldValue_;
- }
- void DescribeSuspEventsRequest::setContainerFieldValue(const std::string &containerFieldValue) {
- containerFieldValue_ = containerFieldValue;
- setParameter(std::string("ContainerFieldValue"), containerFieldValue);
- }
- std::string DescribeSuspEventsRequest::getPageSize() const {
- return pageSize_;
- }
- void DescribeSuspEventsRequest::setPageSize(const std::string &pageSize) {
- pageSize_ = pageSize;
- setParameter(std::string("PageSize"), pageSize);
- }
- std::string DescribeSuspEventsRequest::getLang() const {
- return lang_;
- }
- void DescribeSuspEventsRequest::setLang(const std::string &lang) {
- lang_ = lang;
- setParameter(std::string("Lang"), lang);
- }
- std::string DescribeSuspEventsRequest::getDealed() const {
- return dealed_;
- }
- void DescribeSuspEventsRequest::setDealed(const std::string &dealed) {
- dealed_ = dealed;
- setParameter(std::string("Dealed"), dealed);
- }
- std::string DescribeSuspEventsRequest::getCurrentPage() const {
- return currentPage_;
- }
- void DescribeSuspEventsRequest::setCurrentPage(const std::string ¤tPage) {
- currentPage_ = currentPage;
- setParameter(std::string("CurrentPage"), currentPage);
- }
- std::string DescribeSuspEventsRequest::getClusterId() const {
- return clusterId_;
- }
- void DescribeSuspEventsRequest::setClusterId(const std::string &clusterId) {
- clusterId_ = clusterId;
- setParameter(std::string("ClusterId"), clusterId);
- }
- std::vector<std::string> DescribeSuspEventsRequest::getOperateErrorCodeList() const {
- return operateErrorCodeList_;
- }
- void DescribeSuspEventsRequest::setOperateErrorCodeList(const std::vector<std::string> &operateErrorCodeList) {
- operateErrorCodeList_ = operateErrorCodeList;
- }
- std::string DescribeSuspEventsRequest::getOperateTimeStart() const {
- return operateTimeStart_;
- }
- void DescribeSuspEventsRequest::setOperateTimeStart(const std::string &operateTimeStart) {
- operateTimeStart_ = operateTimeStart;
- setParameter(std::string("OperateTimeStart"), operateTimeStart);
- }
- std::string DescribeSuspEventsRequest::getTimeStart() const {
- return timeStart_;
- }
- void DescribeSuspEventsRequest::setTimeStart(const std::string &timeStart) {
- timeStart_ = timeStart;
- setParameter(std::string("TimeStart"), timeStart);
- }
- std::string DescribeSuspEventsRequest::getLevels() const {
- return levels_;
- }
- void DescribeSuspEventsRequest::setLevels(const std::string &levels) {
- levels_ = levels;
- setParameter(std::string("Levels"), levels);
- }
- std::string DescribeSuspEventsRequest::getParentEventTypes() const {
- return parentEventTypes_;
- }
- void DescribeSuspEventsRequest::setParentEventTypes(const std::string &parentEventTypes) {
- parentEventTypes_ = parentEventTypes;
- setParameter(std::string("ParentEventTypes"), parentEventTypes);
- }
|