DescribeFlowNodeInstanceLauncherLogRequest.cc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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/emr/model/DescribeFlowNodeInstanceLauncherLogRequest.h>
  17. using AlibabaCloud::Emr::Model::DescribeFlowNodeInstanceLauncherLogRequest;
  18. DescribeFlowNodeInstanceLauncherLogRequest::DescribeFlowNodeInstanceLauncherLogRequest() :
  19. RpcServiceRequest("emr", "2016-04-08", "DescribeFlowNodeInstanceLauncherLog")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. DescribeFlowNodeInstanceLauncherLogRequest::~DescribeFlowNodeInstanceLauncherLogRequest()
  24. {}
  25. int DescribeFlowNodeInstanceLauncherLogRequest::getOffset()const
  26. {
  27. return offset_;
  28. }
  29. void DescribeFlowNodeInstanceLauncherLogRequest::setOffset(int offset)
  30. {
  31. offset_ = offset;
  32. setParameter("Offset", std::to_string(offset));
  33. }
  34. int DescribeFlowNodeInstanceLauncherLogRequest::getStart()const
  35. {
  36. return start_;
  37. }
  38. void DescribeFlowNodeInstanceLauncherLogRequest::setStart(int start)
  39. {
  40. start_ = start;
  41. setParameter("Start", std::to_string(start));
  42. }
  43. int DescribeFlowNodeInstanceLauncherLogRequest::getLength()const
  44. {
  45. return length_;
  46. }
  47. void DescribeFlowNodeInstanceLauncherLogRequest::setLength(int length)
  48. {
  49. length_ = length;
  50. setParameter("Length", std::to_string(length));
  51. }
  52. long DescribeFlowNodeInstanceLauncherLogRequest::getEndTime()const
  53. {
  54. return endTime_;
  55. }
  56. void DescribeFlowNodeInstanceLauncherLogRequest::setEndTime(long endTime)
  57. {
  58. endTime_ = endTime;
  59. setParameter("EndTime", std::to_string(endTime));
  60. }
  61. long DescribeFlowNodeInstanceLauncherLogRequest::getStartTime()const
  62. {
  63. return startTime_;
  64. }
  65. void DescribeFlowNodeInstanceLauncherLogRequest::setStartTime(long startTime)
  66. {
  67. startTime_ = startTime;
  68. setParameter("StartTime", std::to_string(startTime));
  69. }
  70. bool DescribeFlowNodeInstanceLauncherLogRequest::getReverse()const
  71. {
  72. return reverse_;
  73. }
  74. void DescribeFlowNodeInstanceLauncherLogRequest::setReverse(bool reverse)
  75. {
  76. reverse_ = reverse;
  77. setParameter("Reverse", reverse ? "true" : "false");
  78. }
  79. std::string DescribeFlowNodeInstanceLauncherLogRequest::getNodeInstanceId()const
  80. {
  81. return nodeInstanceId_;
  82. }
  83. void DescribeFlowNodeInstanceLauncherLogRequest::setNodeInstanceId(const std::string& nodeInstanceId)
  84. {
  85. nodeInstanceId_ = nodeInstanceId;
  86. setParameter("NodeInstanceId", nodeInstanceId);
  87. }
  88. std::string DescribeFlowNodeInstanceLauncherLogRequest::getRegionId()const
  89. {
  90. return regionId_;
  91. }
  92. void DescribeFlowNodeInstanceLauncherLogRequest::setRegionId(const std::string& regionId)
  93. {
  94. regionId_ = regionId;
  95. setParameter("RegionId", regionId);
  96. }
  97. int DescribeFlowNodeInstanceLauncherLogRequest::getLines()const
  98. {
  99. return lines_;
  100. }
  101. void DescribeFlowNodeInstanceLauncherLogRequest::setLines(int lines)
  102. {
  103. lines_ = lines;
  104. setParameter("Lines", std::to_string(lines));
  105. }
  106. std::string DescribeFlowNodeInstanceLauncherLogRequest::getProjectId()const
  107. {
  108. return projectId_;
  109. }
  110. void DescribeFlowNodeInstanceLauncherLogRequest::setProjectId(const std::string& projectId)
  111. {
  112. projectId_ = projectId;
  113. setParameter("ProjectId", projectId);
  114. }