DescribeAnomalySQLListRequest.cc 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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/oceanbasepro/model/DescribeAnomalySQLListRequest.h>
  17. using AlibabaCloud::OceanBasePro::Model::DescribeAnomalySQLListRequest;
  18. DescribeAnomalySQLListRequest::DescribeAnomalySQLListRequest()
  19. : RpcServiceRequest("oceanbasepro", "2019-09-01", "DescribeAnomalySQLList") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeAnomalySQLListRequest::~DescribeAnomalySQLListRequest() {}
  23. std::string DescribeAnomalySQLListRequest::getStartTime() const {
  24. return startTime_;
  25. }
  26. void DescribeAnomalySQLListRequest::setStartTime(const std::string &startTime) {
  27. startTime_ = startTime;
  28. setBodyParameter(std::string("StartTime"), startTime);
  29. }
  30. int DescribeAnomalySQLListRequest::getPageNumber() const {
  31. return pageNumber_;
  32. }
  33. void DescribeAnomalySQLListRequest::setPageNumber(int pageNumber) {
  34. pageNumber_ = pageNumber;
  35. setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
  36. }
  37. std::string DescribeAnomalySQLListRequest::getSearchRule() const {
  38. return searchRule_;
  39. }
  40. void DescribeAnomalySQLListRequest::setSearchRule(const std::string &searchRule) {
  41. searchRule_ = searchRule;
  42. setBodyParameter(std::string("SearchRule"), searchRule);
  43. }
  44. std::string DescribeAnomalySQLListRequest::getTenantId() const {
  45. return tenantId_;
  46. }
  47. void DescribeAnomalySQLListRequest::setTenantId(const std::string &tenantId) {
  48. tenantId_ = tenantId;
  49. setBodyParameter(std::string("TenantId"), tenantId);
  50. }
  51. int DescribeAnomalySQLListRequest::getPageSize() const {
  52. return pageSize_;
  53. }
  54. void DescribeAnomalySQLListRequest::setPageSize(int pageSize) {
  55. pageSize_ = pageSize;
  56. setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
  57. }
  58. std::string DescribeAnomalySQLListRequest::getSearchParameter() const {
  59. return searchParameter_;
  60. }
  61. void DescribeAnomalySQLListRequest::setSearchParameter(const std::string &searchParameter) {
  62. searchParameter_ = searchParameter;
  63. setBodyParameter(std::string("SearchParameter"), searchParameter);
  64. }
  65. std::string DescribeAnomalySQLListRequest::getSortOrder() const {
  66. return sortOrder_;
  67. }
  68. void DescribeAnomalySQLListRequest::setSortOrder(const std::string &sortOrder) {
  69. sortOrder_ = sortOrder;
  70. setBodyParameter(std::string("SortOrder"), sortOrder);
  71. }
  72. std::string DescribeAnomalySQLListRequest::getSearchValue() const {
  73. return searchValue_;
  74. }
  75. void DescribeAnomalySQLListRequest::setSearchValue(const std::string &searchValue) {
  76. searchValue_ = searchValue;
  77. setBodyParameter(std::string("SearchValue"), searchValue);
  78. }
  79. std::string DescribeAnomalySQLListRequest::getSQLId() const {
  80. return sQLId_;
  81. }
  82. void DescribeAnomalySQLListRequest::setSQLId(const std::string &sQLId) {
  83. sQLId_ = sQLId;
  84. setBodyParameter(std::string("SQLId"), sQLId);
  85. }
  86. std::string DescribeAnomalySQLListRequest::getFilterCondition() const {
  87. return filterCondition_;
  88. }
  89. void DescribeAnomalySQLListRequest::setFilterCondition(const std::string &filterCondition) {
  90. filterCondition_ = filterCondition;
  91. setBodyParameter(std::string("FilterCondition"), filterCondition);
  92. }
  93. std::string DescribeAnomalySQLListRequest::getEndTime() const {
  94. return endTime_;
  95. }
  96. void DescribeAnomalySQLListRequest::setEndTime(const std::string &endTime) {
  97. endTime_ = endTime;
  98. setBodyParameter(std::string("EndTime"), endTime);
  99. }
  100. std::string DescribeAnomalySQLListRequest::getNodeIp() const {
  101. return nodeIp_;
  102. }
  103. void DescribeAnomalySQLListRequest::setNodeIp(const std::string &nodeIp) {
  104. nodeIp_ = nodeIp;
  105. setBodyParameter(std::string("NodeIp"), nodeIp);
  106. }
  107. std::string DescribeAnomalySQLListRequest::getInstanceId() const {
  108. return instanceId_;
  109. }
  110. void DescribeAnomalySQLListRequest::setInstanceId(const std::string &instanceId) {
  111. instanceId_ = instanceId;
  112. setBodyParameter(std::string("InstanceId"), instanceId);
  113. }
  114. std::string DescribeAnomalySQLListRequest::getDbName() const {
  115. return dbName_;
  116. }
  117. void DescribeAnomalySQLListRequest::setDbName(const std::string &dbName) {
  118. dbName_ = dbName;
  119. setBodyParameter(std::string("DbName"), dbName);
  120. }
  121. std::string DescribeAnomalySQLListRequest::getSearchKeyWord() const {
  122. return searchKeyWord_;
  123. }
  124. void DescribeAnomalySQLListRequest::setSearchKeyWord(const std::string &searchKeyWord) {
  125. searchKeyWord_ = searchKeyWord;
  126. setBodyParameter(std::string("SearchKeyWord"), searchKeyWord);
  127. }
  128. std::string DescribeAnomalySQLListRequest::getSortColumn() const {
  129. return sortColumn_;
  130. }
  131. void DescribeAnomalySQLListRequest::setSortColumn(const std::string &sortColumn) {
  132. sortColumn_ = sortColumn;
  133. setBodyParameter(std::string("SortColumn"), sortColumn);
  134. }
  135. std::string DescribeAnomalySQLListRequest::getAcceptLanguage() const {
  136. return acceptLanguage_;
  137. }
  138. void DescribeAnomalySQLListRequest::setAcceptLanguage(const std::string &acceptLanguage) {
  139. acceptLanguage_ = acceptLanguage;
  140. setBodyParameter(std::string("AcceptLanguage"), acceptLanguage);
  141. }