DescribeDataPushResultRequest.cc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/ens/model/DescribeDataPushResultRequest.h>
  17. using AlibabaCloud::Ens::Model::DescribeDataPushResultRequest;
  18. DescribeDataPushResultRequest::DescribeDataPushResultRequest()
  19. : RpcServiceRequest("ens", "2017-11-10", "DescribeDataPushResult") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeDataPushResultRequest::~DescribeDataPushResultRequest() {}
  23. std::string DescribeDataPushResultRequest::getRegionIds() const {
  24. return regionIds_;
  25. }
  26. void DescribeDataPushResultRequest::setRegionIds(const std::string &regionIds) {
  27. regionIds_ = regionIds;
  28. setParameter(std::string("RegionIds"), regionIds);
  29. }
  30. std::string DescribeDataPushResultRequest::getDataVersions() const {
  31. return dataVersions_;
  32. }
  33. void DescribeDataPushResultRequest::setDataVersions(const std::string &dataVersions) {
  34. dataVersions_ = dataVersions;
  35. setParameter(std::string("DataVersions"), dataVersions);
  36. }
  37. std::string DescribeDataPushResultRequest::getMaxDate() const {
  38. return maxDate_;
  39. }
  40. void DescribeDataPushResultRequest::setMaxDate(const std::string &maxDate) {
  41. maxDate_ = maxDate;
  42. setParameter(std::string("MaxDate"), maxDate);
  43. }
  44. int DescribeDataPushResultRequest::getPageNumber() const {
  45. return pageNumber_;
  46. }
  47. void DescribeDataPushResultRequest::setPageNumber(int pageNumber) {
  48. pageNumber_ = pageNumber;
  49. setParameter(std::string("PageNumber"), std::to_string(pageNumber));
  50. }
  51. int DescribeDataPushResultRequest::getPageSize() const {
  52. return pageSize_;
  53. }
  54. void DescribeDataPushResultRequest::setPageSize(int pageSize) {
  55. pageSize_ = pageSize;
  56. setParameter(std::string("PageSize"), std::to_string(pageSize));
  57. }
  58. std::string DescribeDataPushResultRequest::getMinDate() const {
  59. return minDate_;
  60. }
  61. void DescribeDataPushResultRequest::setMinDate(const std::string &minDate) {
  62. minDate_ = minDate;
  63. setParameter(std::string("MinDate"), minDate);
  64. }
  65. std::string DescribeDataPushResultRequest::getAppId() const {
  66. return appId_;
  67. }
  68. void DescribeDataPushResultRequest::setAppId(const std::string &appId) {
  69. appId_ = appId;
  70. setParameter(std::string("AppId"), appId);
  71. }
  72. std::string DescribeDataPushResultRequest::getDataNames() const {
  73. return dataNames_;
  74. }
  75. void DescribeDataPushResultRequest::setDataNames(const std::string &dataNames) {
  76. dataNames_ = dataNames;
  77. setParameter(std::string("DataNames"), dataNames);
  78. }