QueryTaskInfoHistoryRequest.cc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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/QueryTaskInfoHistoryRequest.h>
  17. using AlibabaCloud::Domain::Model::QueryTaskInfoHistoryRequest;
  18. QueryTaskInfoHistoryRequest::QueryTaskInfoHistoryRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "QueryTaskInfoHistory")
  20. {}
  21. QueryTaskInfoHistoryRequest::~QueryTaskInfoHistoryRequest()
  22. {}
  23. long QueryTaskInfoHistoryRequest::getBeginCreateTime()const
  24. {
  25. return beginCreateTime_;
  26. }
  27. void QueryTaskInfoHistoryRequest::setBeginCreateTime(long beginCreateTime)
  28. {
  29. beginCreateTime_ = beginCreateTime;
  30. setParameter("BeginCreateTime", std::to_string(beginCreateTime));
  31. }
  32. long QueryTaskInfoHistoryRequest::getEndCreateTime()const
  33. {
  34. return endCreateTime_;
  35. }
  36. void QueryTaskInfoHistoryRequest::setEndCreateTime(long endCreateTime)
  37. {
  38. endCreateTime_ = endCreateTime;
  39. setParameter("EndCreateTime", std::to_string(endCreateTime));
  40. }
  41. std::string QueryTaskInfoHistoryRequest::getTaskNoCursor()const
  42. {
  43. return taskNoCursor_;
  44. }
  45. void QueryTaskInfoHistoryRequest::setTaskNoCursor(const std::string& taskNoCursor)
  46. {
  47. taskNoCursor_ = taskNoCursor;
  48. setParameter("TaskNoCursor", taskNoCursor);
  49. }
  50. std::string QueryTaskInfoHistoryRequest::getUserClientIp()const
  51. {
  52. return userClientIp_;
  53. }
  54. void QueryTaskInfoHistoryRequest::setUserClientIp(const std::string& userClientIp)
  55. {
  56. userClientIp_ = userClientIp;
  57. setParameter("UserClientIp", userClientIp);
  58. }
  59. int QueryTaskInfoHistoryRequest::getPageSize()const
  60. {
  61. return pageSize_;
  62. }
  63. void QueryTaskInfoHistoryRequest::setPageSize(int pageSize)
  64. {
  65. pageSize_ = pageSize;
  66. setParameter("PageSize", std::to_string(pageSize));
  67. }
  68. std::string QueryTaskInfoHistoryRequest::getLang()const
  69. {
  70. return lang_;
  71. }
  72. void QueryTaskInfoHistoryRequest::setLang(const std::string& lang)
  73. {
  74. lang_ = lang;
  75. setParameter("Lang", lang);
  76. }
  77. long QueryTaskInfoHistoryRequest::getCreateTimeCursor()const
  78. {
  79. return createTimeCursor_;
  80. }
  81. void QueryTaskInfoHistoryRequest::setCreateTimeCursor(long createTimeCursor)
  82. {
  83. createTimeCursor_ = createTimeCursor;
  84. setParameter("CreateTimeCursor", std::to_string(createTimeCursor));
  85. }