QueryTaskListRequest.cc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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/domain/model/QueryTaskListRequest.h>
  17. using AlibabaCloud::Domain::Model::QueryTaskListRequest;
  18. QueryTaskListRequest::QueryTaskListRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "QueryTaskList")
  20. {}
  21. QueryTaskListRequest::~QueryTaskListRequest()
  22. {}
  23. long QueryTaskListRequest::getEndCreateTime()const
  24. {
  25. return endCreateTime_;
  26. }
  27. void QueryTaskListRequest::setEndCreateTime(long endCreateTime)
  28. {
  29. endCreateTime_ = endCreateTime;
  30. setCoreParameter("EndCreateTime", std::to_string(endCreateTime));
  31. }
  32. int QueryTaskListRequest::getPageNum()const
  33. {
  34. return pageNum_;
  35. }
  36. void QueryTaskListRequest::setPageNum(int pageNum)
  37. {
  38. pageNum_ = pageNum;
  39. setCoreParameter("PageNum", std::to_string(pageNum));
  40. }
  41. long QueryTaskListRequest::getBeginCreateTime()const
  42. {
  43. return beginCreateTime_;
  44. }
  45. void QueryTaskListRequest::setBeginCreateTime(long beginCreateTime)
  46. {
  47. beginCreateTime_ = beginCreateTime;
  48. setCoreParameter("BeginCreateTime", std::to_string(beginCreateTime));
  49. }
  50. std::string QueryTaskListRequest::getUserClientIp()const
  51. {
  52. return userClientIp_;
  53. }
  54. void QueryTaskListRequest::setUserClientIp(const std::string& userClientIp)
  55. {
  56. userClientIp_ = userClientIp;
  57. setCoreParameter("UserClientIp", userClientIp);
  58. }
  59. int QueryTaskListRequest::getPageSize()const
  60. {
  61. return pageSize_;
  62. }
  63. void QueryTaskListRequest::setPageSize(int pageSize)
  64. {
  65. pageSize_ = pageSize;
  66. setCoreParameter("PageSize", std::to_string(pageSize));
  67. }
  68. std::string QueryTaskListRequest::getLang()const
  69. {
  70. return lang_;
  71. }
  72. void QueryTaskListRequest::setLang(const std::string& lang)
  73. {
  74. lang_ = lang;
  75. setCoreParameter("Lang", lang);
  76. }