DescribeRunningLogRecordsRequest.cc 5.6 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/dds/model/DescribeRunningLogRecordsRequest.h>
  17. using AlibabaCloud::Dds::Model::DescribeRunningLogRecordsRequest;
  18. DescribeRunningLogRecordsRequest::DescribeRunningLogRecordsRequest()
  19. : RpcServiceRequest("dds", "2015-12-01", "DescribeRunningLogRecords") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeRunningLogRecordsRequest::~DescribeRunningLogRecordsRequest() {}
  23. long DescribeRunningLogRecordsRequest::getResourceOwnerId() const {
  24. return resourceOwnerId_;
  25. }
  26. void DescribeRunningLogRecordsRequest::setResourceOwnerId(long resourceOwnerId) {
  27. resourceOwnerId_ = resourceOwnerId;
  28. setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
  29. }
  30. std::string DescribeRunningLogRecordsRequest::getRoleId() const {
  31. return roleId_;
  32. }
  33. void DescribeRunningLogRecordsRequest::setRoleId(const std::string &roleId) {
  34. roleId_ = roleId;
  35. setParameter(std::string("RoleId"), roleId);
  36. }
  37. std::string DescribeRunningLogRecordsRequest::getStartTime() const {
  38. return startTime_;
  39. }
  40. void DescribeRunningLogRecordsRequest::setStartTime(const std::string &startTime) {
  41. startTime_ = startTime;
  42. setParameter(std::string("StartTime"), startTime);
  43. }
  44. int DescribeRunningLogRecordsRequest::getPageNumber() const {
  45. return pageNumber_;
  46. }
  47. void DescribeRunningLogRecordsRequest::setPageNumber(int pageNumber) {
  48. pageNumber_ = pageNumber;
  49. setParameter(std::string("PageNumber"), std::to_string(pageNumber));
  50. }
  51. std::string DescribeRunningLogRecordsRequest::getAccessKeyId() const {
  52. return accessKeyId_;
  53. }
  54. void DescribeRunningLogRecordsRequest::setAccessKeyId(const std::string &accessKeyId) {
  55. accessKeyId_ = accessKeyId;
  56. setParameter(std::string("AccessKeyId"), accessKeyId);
  57. }
  58. std::string DescribeRunningLogRecordsRequest::getResourceGroupId() const {
  59. return resourceGroupId_;
  60. }
  61. void DescribeRunningLogRecordsRequest::setResourceGroupId(const std::string &resourceGroupId) {
  62. resourceGroupId_ = resourceGroupId;
  63. setParameter(std::string("ResourceGroupId"), resourceGroupId);
  64. }
  65. std::string DescribeRunningLogRecordsRequest::getSecurityToken() const {
  66. return securityToken_;
  67. }
  68. void DescribeRunningLogRecordsRequest::setSecurityToken(const std::string &securityToken) {
  69. securityToken_ = securityToken;
  70. setParameter(std::string("SecurityToken"), securityToken);
  71. }
  72. int DescribeRunningLogRecordsRequest::getPageSize() const {
  73. return pageSize_;
  74. }
  75. void DescribeRunningLogRecordsRequest::setPageSize(int pageSize) {
  76. pageSize_ = pageSize;
  77. setParameter(std::string("PageSize"), std::to_string(pageSize));
  78. }
  79. std::string DescribeRunningLogRecordsRequest::getDBInstanceId() const {
  80. return dBInstanceId_;
  81. }
  82. void DescribeRunningLogRecordsRequest::setDBInstanceId(const std::string &dBInstanceId) {
  83. dBInstanceId_ = dBInstanceId;
  84. setParameter(std::string("DBInstanceId"), dBInstanceId);
  85. }
  86. std::string DescribeRunningLogRecordsRequest::getRoleType() const {
  87. return roleType_;
  88. }
  89. void DescribeRunningLogRecordsRequest::setRoleType(const std::string &roleType) {
  90. roleType_ = roleType;
  91. setParameter(std::string("RoleType"), roleType);
  92. }
  93. std::string DescribeRunningLogRecordsRequest::getNodeId() const {
  94. return nodeId_;
  95. }
  96. void DescribeRunningLogRecordsRequest::setNodeId(const std::string &nodeId) {
  97. nodeId_ = nodeId;
  98. setParameter(std::string("NodeId"), nodeId);
  99. }
  100. std::string DescribeRunningLogRecordsRequest::getResourceOwnerAccount() const {
  101. return resourceOwnerAccount_;
  102. }
  103. void DescribeRunningLogRecordsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
  104. resourceOwnerAccount_ = resourceOwnerAccount;
  105. setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
  106. }
  107. std::string DescribeRunningLogRecordsRequest::getOwnerAccount() const {
  108. return ownerAccount_;
  109. }
  110. void DescribeRunningLogRecordsRequest::setOwnerAccount(const std::string &ownerAccount) {
  111. ownerAccount_ = ownerAccount;
  112. setParameter(std::string("OwnerAccount"), ownerAccount);
  113. }
  114. std::string DescribeRunningLogRecordsRequest::getEndTime() const {
  115. return endTime_;
  116. }
  117. void DescribeRunningLogRecordsRequest::setEndTime(const std::string &endTime) {
  118. endTime_ = endTime;
  119. setParameter(std::string("EndTime"), endTime);
  120. }
  121. long DescribeRunningLogRecordsRequest::getOwnerId() const {
  122. return ownerId_;
  123. }
  124. void DescribeRunningLogRecordsRequest::setOwnerId(long ownerId) {
  125. ownerId_ = ownerId;
  126. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  127. }
  128. std::string DescribeRunningLogRecordsRequest::getDBName() const {
  129. return dBName_;
  130. }
  131. void DescribeRunningLogRecordsRequest::setDBName(const std::string &dBName) {
  132. dBName_ = dBName;
  133. setParameter(std::string("DBName"), dBName);
  134. }
  135. std::string DescribeRunningLogRecordsRequest::getOrderType() const {
  136. return orderType_;
  137. }
  138. void DescribeRunningLogRecordsRequest::setOrderType(const std::string &orderType) {
  139. orderType_ = orderType;
  140. setParameter(std::string("OrderType"), orderType);
  141. }