ListTaskFlowInstanceRequest.cc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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/dms-enterprise/model/ListTaskFlowInstanceRequest.h>
  17. using AlibabaCloud::Dms_enterprise::Model::ListTaskFlowInstanceRequest;
  18. ListTaskFlowInstanceRequest::ListTaskFlowInstanceRequest()
  19. : RpcServiceRequest("dms-enterprise", "2018-11-01", "ListTaskFlowInstance") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ListTaskFlowInstanceRequest::~ListTaskFlowInstanceRequest() {}
  23. int ListTaskFlowInstanceRequest::getTriggerType() const {
  24. return triggerType_;
  25. }
  26. void ListTaskFlowInstanceRequest::setTriggerType(int triggerType) {
  27. triggerType_ = triggerType;
  28. setParameter(std::string("TriggerType"), std::to_string(triggerType));
  29. }
  30. long ListTaskFlowInstanceRequest::getDagId() const {
  31. return dagId_;
  32. }
  33. void ListTaskFlowInstanceRequest::setDagId(long dagId) {
  34. dagId_ = dagId;
  35. setParameter(std::string("DagId"), std::to_string(dagId));
  36. }
  37. long ListTaskFlowInstanceRequest::getTid() const {
  38. return tid_;
  39. }
  40. void ListTaskFlowInstanceRequest::setTid(long tid) {
  41. tid_ = tid;
  42. setParameter(std::string("Tid"), std::to_string(tid));
  43. }
  44. int ListTaskFlowInstanceRequest::getPageSize() const {
  45. return pageSize_;
  46. }
  47. void ListTaskFlowInstanceRequest::setPageSize(int pageSize) {
  48. pageSize_ = pageSize;
  49. setParameter(std::string("PageSize"), std::to_string(pageSize));
  50. }
  51. int ListTaskFlowInstanceRequest::getPageIndex() const {
  52. return pageIndex_;
  53. }
  54. void ListTaskFlowInstanceRequest::setPageIndex(int pageIndex) {
  55. pageIndex_ = pageIndex;
  56. setParameter(std::string("PageIndex"), std::to_string(pageIndex));
  57. }
  58. std::string ListTaskFlowInstanceRequest::getStartTimeBegin() const {
  59. return startTimeBegin_;
  60. }
  61. void ListTaskFlowInstanceRequest::setStartTimeBegin(const std::string &startTimeBegin) {
  62. startTimeBegin_ = startTimeBegin;
  63. setParameter(std::string("StartTimeBegin"), startTimeBegin);
  64. }
  65. std::string ListTaskFlowInstanceRequest::getStartTimeEnd() const {
  66. return startTimeEnd_;
  67. }
  68. void ListTaskFlowInstanceRequest::setStartTimeEnd(const std::string &startTimeEnd) {
  69. startTimeEnd_ = startTimeEnd;
  70. setParameter(std::string("StartTimeEnd"), startTimeEnd);
  71. }