DescribeSystemEventCountRequest.cc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/DescribeSystemEventCountRequest.h>
  17. using AlibabaCloud::Cms::Model::DescribeSystemEventCountRequest;
  18. DescribeSystemEventCountRequest::DescribeSystemEventCountRequest()
  19. : RpcServiceRequest("cms", "2019-01-01", "DescribeSystemEventCount") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeSystemEventCountRequest::~DescribeSystemEventCountRequest() {}
  23. std::string DescribeSystemEventCountRequest::getStartTime() const {
  24. return startTime_;
  25. }
  26. void DescribeSystemEventCountRequest::setStartTime(const std::string &startTime) {
  27. startTime_ = startTime;
  28. setParameter(std::string("StartTime"), startTime);
  29. }
  30. std::string DescribeSystemEventCountRequest::getSearchKeywords() const {
  31. return searchKeywords_;
  32. }
  33. void DescribeSystemEventCountRequest::setSearchKeywords(const std::string &searchKeywords) {
  34. searchKeywords_ = searchKeywords;
  35. setParameter(std::string("SearchKeywords"), searchKeywords);
  36. }
  37. std::string DescribeSystemEventCountRequest::getProduct() const {
  38. return product_;
  39. }
  40. void DescribeSystemEventCountRequest::setProduct(const std::string &product) {
  41. product_ = product;
  42. setParameter(std::string("Product"), product);
  43. }
  44. std::string DescribeSystemEventCountRequest::getLevel() const {
  45. return level_;
  46. }
  47. void DescribeSystemEventCountRequest::setLevel(const std::string &level) {
  48. level_ = level;
  49. setParameter(std::string("Level"), level);
  50. }
  51. std::string DescribeSystemEventCountRequest::getGroupId() const {
  52. return groupId_;
  53. }
  54. void DescribeSystemEventCountRequest::setGroupId(const std::string &groupId) {
  55. groupId_ = groupId;
  56. setParameter(std::string("GroupId"), groupId);
  57. }
  58. std::string DescribeSystemEventCountRequest::getEndTime() const {
  59. return endTime_;
  60. }
  61. void DescribeSystemEventCountRequest::setEndTime(const std::string &endTime) {
  62. endTime_ = endTime;
  63. setParameter(std::string("EndTime"), endTime);
  64. }
  65. std::string DescribeSystemEventCountRequest::getName() const {
  66. return name_;
  67. }
  68. void DescribeSystemEventCountRequest::setName(const std::string &name) {
  69. name_ = name;
  70. setParameter(std::string("Name"), name);
  71. }
  72. std::string DescribeSystemEventCountRequest::getEventType() const {
  73. return eventType_;
  74. }
  75. void DescribeSystemEventCountRequest::setEventType(const std::string &eventType) {
  76. eventType_ = eventType;
  77. setParameter(std::string("EventType"), eventType);
  78. }
  79. std::string DescribeSystemEventCountRequest::getStatus() const {
  80. return status_;
  81. }
  82. void DescribeSystemEventCountRequest::setStatus(const std::string &status) {
  83. status_ = status;
  84. setParameter(std::string("Status"), status);
  85. }