DescribeSuspEventsRequest.cc 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #include <alibabacloud/sas/model/DescribeSuspEventsRequest.h>
  17. using AlibabaCloud::Sas::Model::DescribeSuspEventsRequest;
  18. DescribeSuspEventsRequest::DescribeSuspEventsRequest()
  19. : RpcServiceRequest("sas", "2018-12-03", "DescribeSuspEvents") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeSuspEventsRequest::~DescribeSuspEventsRequest() {}
  23. std::string DescribeSuspEventsRequest::getSource() const {
  24. return source_;
  25. }
  26. void DescribeSuspEventsRequest::setSource(const std::string &source) {
  27. source_ = source;
  28. setParameter(std::string("Source"), source);
  29. }
  30. std::string DescribeSuspEventsRequest::getContainerFieldName() const {
  31. return containerFieldName_;
  32. }
  33. void DescribeSuspEventsRequest::setContainerFieldName(const std::string &containerFieldName) {
  34. containerFieldName_ = containerFieldName;
  35. setParameter(std::string("ContainerFieldName"), containerFieldName);
  36. }
  37. std::string DescribeSuspEventsRequest::getSourceIp() const {
  38. return sourceIp_;
  39. }
  40. void DescribeSuspEventsRequest::setSourceIp(const std::string &sourceIp) {
  41. sourceIp_ = sourceIp;
  42. setParameter(std::string("SourceIp"), sourceIp);
  43. }
  44. std::string DescribeSuspEventsRequest::getEventNames() const {
  45. return eventNames_;
  46. }
  47. void DescribeSuspEventsRequest::setEventNames(const std::string &eventNames) {
  48. eventNames_ = eventNames;
  49. setParameter(std::string("EventNames"), eventNames);
  50. }
  51. std::string DescribeSuspEventsRequest::getFrom() const {
  52. return from_;
  53. }
  54. void DescribeSuspEventsRequest::setFrom(const std::string &from) {
  55. from_ = from;
  56. setParameter(std::string("From"), from);
  57. }
  58. long DescribeSuspEventsRequest::getId() const {
  59. return id_;
  60. }
  61. void DescribeSuspEventsRequest::setId(long id) {
  62. id_ = id;
  63. setParameter(std::string("Id"), std::to_string(id));
  64. }
  65. std::string DescribeSuspEventsRequest::getTacticId() const {
  66. return tacticId_;
  67. }
  68. void DescribeSuspEventsRequest::setTacticId(const std::string &tacticId) {
  69. tacticId_ = tacticId;
  70. setBodyParameter(std::string("TacticId"), tacticId);
  71. }
  72. std::string DescribeSuspEventsRequest::getAlarmUniqueInfo() const {
  73. return alarmUniqueInfo_;
  74. }
  75. void DescribeSuspEventsRequest::setAlarmUniqueInfo(const std::string &alarmUniqueInfo) {
  76. alarmUniqueInfo_ = alarmUniqueInfo;
  77. setParameter(std::string("AlarmUniqueInfo"), alarmUniqueInfo);
  78. }
  79. std::string DescribeSuspEventsRequest::getUniqueInfo() const {
  80. return uniqueInfo_;
  81. }
  82. void DescribeSuspEventsRequest::setUniqueInfo(const std::string &uniqueInfo) {
  83. uniqueInfo_ = uniqueInfo;
  84. setParameter(std::string("UniqueInfo"), uniqueInfo);
  85. }
  86. long DescribeSuspEventsRequest::getGroupId() const {
  87. return groupId_;
  88. }
  89. void DescribeSuspEventsRequest::setGroupId(long groupId) {
  90. groupId_ = groupId;
  91. setParameter(std::string("GroupId"), std::to_string(groupId));
  92. }
  93. std::string DescribeSuspEventsRequest::getOperateTimeEnd() const {
  94. return operateTimeEnd_;
  95. }
  96. void DescribeSuspEventsRequest::setOperateTimeEnd(const std::string &operateTimeEnd) {
  97. operateTimeEnd_ = operateTimeEnd;
  98. setParameter(std::string("OperateTimeEnd"), operateTimeEnd);
  99. }
  100. std::string DescribeSuspEventsRequest::getName() const {
  101. return name_;
  102. }
  103. void DescribeSuspEventsRequest::setName(const std::string &name) {
  104. name_ = name;
  105. setParameter(std::string("Name"), name);
  106. }
  107. std::string DescribeSuspEventsRequest::getStatus() const {
  108. return status_;
  109. }
  110. void DescribeSuspEventsRequest::setStatus(const std::string &status) {
  111. status_ = status;
  112. setParameter(std::string("Status"), status);
  113. }
  114. std::string DescribeSuspEventsRequest::getUuids() const {
  115. return uuids_;
  116. }
  117. void DescribeSuspEventsRequest::setUuids(const std::string &uuids) {
  118. uuids_ = uuids;
  119. setParameter(std::string("Uuids"), uuids);
  120. }
  121. std::string DescribeSuspEventsRequest::getTimeEnd() const {
  122. return timeEnd_;
  123. }
  124. void DescribeSuspEventsRequest::setTimeEnd(const std::string &timeEnd) {
  125. timeEnd_ = timeEnd;
  126. setParameter(std::string("TimeEnd"), timeEnd);
  127. }
  128. std::string DescribeSuspEventsRequest::getTargetType() const {
  129. return targetType_;
  130. }
  131. void DescribeSuspEventsRequest::setTargetType(const std::string &targetType) {
  132. targetType_ = targetType;
  133. setParameter(std::string("TargetType"), targetType);
  134. }
  135. std::string DescribeSuspEventsRequest::getRemark() const {
  136. return remark_;
  137. }
  138. void DescribeSuspEventsRequest::setRemark(const std::string &remark) {
  139. remark_ = remark;
  140. setParameter(std::string("Remark"), remark);
  141. }
  142. std::string DescribeSuspEventsRequest::getContainerFieldValue() const {
  143. return containerFieldValue_;
  144. }
  145. void DescribeSuspEventsRequest::setContainerFieldValue(const std::string &containerFieldValue) {
  146. containerFieldValue_ = containerFieldValue;
  147. setParameter(std::string("ContainerFieldValue"), containerFieldValue);
  148. }
  149. std::string DescribeSuspEventsRequest::getPageSize() const {
  150. return pageSize_;
  151. }
  152. void DescribeSuspEventsRequest::setPageSize(const std::string &pageSize) {
  153. pageSize_ = pageSize;
  154. setParameter(std::string("PageSize"), pageSize);
  155. }
  156. std::string DescribeSuspEventsRequest::getLang() const {
  157. return lang_;
  158. }
  159. void DescribeSuspEventsRequest::setLang(const std::string &lang) {
  160. lang_ = lang;
  161. setParameter(std::string("Lang"), lang);
  162. }
  163. std::string DescribeSuspEventsRequest::getDealed() const {
  164. return dealed_;
  165. }
  166. void DescribeSuspEventsRequest::setDealed(const std::string &dealed) {
  167. dealed_ = dealed;
  168. setParameter(std::string("Dealed"), dealed);
  169. }
  170. std::string DescribeSuspEventsRequest::getCurrentPage() const {
  171. return currentPage_;
  172. }
  173. void DescribeSuspEventsRequest::setCurrentPage(const std::string &currentPage) {
  174. currentPage_ = currentPage;
  175. setParameter(std::string("CurrentPage"), currentPage);
  176. }
  177. std::string DescribeSuspEventsRequest::getClusterId() const {
  178. return clusterId_;
  179. }
  180. void DescribeSuspEventsRequest::setClusterId(const std::string &clusterId) {
  181. clusterId_ = clusterId;
  182. setParameter(std::string("ClusterId"), clusterId);
  183. }
  184. std::vector<std::string> DescribeSuspEventsRequest::getOperateErrorCodeList() const {
  185. return operateErrorCodeList_;
  186. }
  187. void DescribeSuspEventsRequest::setOperateErrorCodeList(const std::vector<std::string> &operateErrorCodeList) {
  188. operateErrorCodeList_ = operateErrorCodeList;
  189. }
  190. std::string DescribeSuspEventsRequest::getOperateTimeStart() const {
  191. return operateTimeStart_;
  192. }
  193. void DescribeSuspEventsRequest::setOperateTimeStart(const std::string &operateTimeStart) {
  194. operateTimeStart_ = operateTimeStart;
  195. setParameter(std::string("OperateTimeStart"), operateTimeStart);
  196. }
  197. std::string DescribeSuspEventsRequest::getTimeStart() const {
  198. return timeStart_;
  199. }
  200. void DescribeSuspEventsRequest::setTimeStart(const std::string &timeStart) {
  201. timeStart_ = timeStart;
  202. setParameter(std::string("TimeStart"), timeStart);
  203. }
  204. std::string DescribeSuspEventsRequest::getLevels() const {
  205. return levels_;
  206. }
  207. void DescribeSuspEventsRequest::setLevels(const std::string &levels) {
  208. levels_ = levels;
  209. setParameter(std::string("Levels"), levels);
  210. }
  211. std::string DescribeSuspEventsRequest::getParentEventTypes() const {
  212. return parentEventTypes_;
  213. }
  214. void DescribeSuspEventsRequest::setParentEventTypes(const std::string &parentEventTypes) {
  215. parentEventTypes_ = parentEventTypes;
  216. setParameter(std::string("ParentEventTypes"), parentEventTypes);
  217. }