DescribeAlertLogListRequest.cc 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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/cms/model/DescribeAlertLogListRequest.h>
  17. using AlibabaCloud::Cms::Model::DescribeAlertLogListRequest;
  18. DescribeAlertLogListRequest::DescribeAlertLogListRequest() :
  19. RpcServiceRequest("cms", "2019-01-01", "DescribeAlertLogList")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. DescribeAlertLogListRequest::~DescribeAlertLogListRequest()
  24. {}
  25. std::string DescribeAlertLogListRequest::getSendStatus()const
  26. {
  27. return sendStatus_;
  28. }
  29. void DescribeAlertLogListRequest::setSendStatus(const std::string& sendStatus)
  30. {
  31. sendStatus_ = sendStatus;
  32. setParameter("SendStatus", sendStatus);
  33. }
  34. std::string DescribeAlertLogListRequest::getContactGroup()const
  35. {
  36. return contactGroup_;
  37. }
  38. void DescribeAlertLogListRequest::setContactGroup(const std::string& contactGroup)
  39. {
  40. contactGroup_ = contactGroup;
  41. setParameter("ContactGroup", contactGroup);
  42. }
  43. std::string DescribeAlertLogListRequest::getSearchKey()const
  44. {
  45. return searchKey_;
  46. }
  47. void DescribeAlertLogListRequest::setSearchKey(const std::string& searchKey)
  48. {
  49. searchKey_ = searchKey;
  50. setParameter("SearchKey", searchKey);
  51. }
  52. std::string DescribeAlertLogListRequest::getRuleName()const
  53. {
  54. return ruleName_;
  55. }
  56. void DescribeAlertLogListRequest::setRuleName(const std::string& ruleName)
  57. {
  58. ruleName_ = ruleName;
  59. setParameter("RuleName", ruleName);
  60. }
  61. long DescribeAlertLogListRequest::getStartTime()const
  62. {
  63. return startTime_;
  64. }
  65. void DescribeAlertLogListRequest::setStartTime(long startTime)
  66. {
  67. startTime_ = startTime;
  68. setParameter("StartTime", std::to_string(startTime));
  69. }
  70. int DescribeAlertLogListRequest::getPageNumber()const
  71. {
  72. return pageNumber_;
  73. }
  74. void DescribeAlertLogListRequest::setPageNumber(int pageNumber)
  75. {
  76. pageNumber_ = pageNumber;
  77. setParameter("PageNumber", std::to_string(pageNumber));
  78. }
  79. std::string DescribeAlertLogListRequest::getLastMin()const
  80. {
  81. return lastMin_;
  82. }
  83. void DescribeAlertLogListRequest::setLastMin(const std::string& lastMin)
  84. {
  85. lastMin_ = lastMin;
  86. setParameter("LastMin", lastMin);
  87. }
  88. int DescribeAlertLogListRequest::getPageSize()const
  89. {
  90. return pageSize_;
  91. }
  92. void DescribeAlertLogListRequest::setPageSize(int pageSize)
  93. {
  94. pageSize_ = pageSize;
  95. setParameter("PageSize", std::to_string(pageSize));
  96. }
  97. std::string DescribeAlertLogListRequest::getMetricName()const
  98. {
  99. return metricName_;
  100. }
  101. void DescribeAlertLogListRequest::setMetricName(const std::string& metricName)
  102. {
  103. metricName_ = metricName;
  104. setParameter("MetricName", metricName);
  105. }
  106. std::string DescribeAlertLogListRequest::getProduct()const
  107. {
  108. return product_;
  109. }
  110. void DescribeAlertLogListRequest::setProduct(const std::string& product)
  111. {
  112. product_ = product;
  113. setParameter("Product", product);
  114. }
  115. std::string DescribeAlertLogListRequest::getLevel()const
  116. {
  117. return level_;
  118. }
  119. void DescribeAlertLogListRequest::setLevel(const std::string& level)
  120. {
  121. level_ = level;
  122. setParameter("Level", level);
  123. }
  124. std::string DescribeAlertLogListRequest::getGroupId()const
  125. {
  126. return groupId_;
  127. }
  128. void DescribeAlertLogListRequest::setGroupId(const std::string& groupId)
  129. {
  130. groupId_ = groupId;
  131. setParameter("GroupId", groupId);
  132. }
  133. long DescribeAlertLogListRequest::getEndTime()const
  134. {
  135. return endTime_;
  136. }
  137. void DescribeAlertLogListRequest::setEndTime(long endTime)
  138. {
  139. endTime_ = endTime;
  140. setParameter("EndTime", std::to_string(endTime));
  141. }
  142. std::string DescribeAlertLogListRequest::getGroupBy()const
  143. {
  144. return groupBy_;
  145. }
  146. void DescribeAlertLogListRequest::setGroupBy(const std::string& groupBy)
  147. {
  148. groupBy_ = groupBy;
  149. setParameter("GroupBy", groupBy);
  150. }
  151. std::string DescribeAlertLogListRequest::get_Namespace()const
  152. {
  153. return _namespace_;
  154. }
  155. void DescribeAlertLogListRequest::set_Namespace(const std::string& _namespace)
  156. {
  157. _namespace_ = _namespace;
  158. setParameter("_Namespace", _namespace);
  159. }