RunManualDagNodesRequest.cc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/dataworks-public/model/RunManualDagNodesRequest.h>
  17. using AlibabaCloud::Dataworks_public::Model::RunManualDagNodesRequest;
  18. RunManualDagNodesRequest::RunManualDagNodesRequest()
  19. : RpcServiceRequest("dataworks-public", "2020-05-18", "RunManualDagNodes") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. RunManualDagNodesRequest::~RunManualDagNodesRequest() {}
  23. std::string RunManualDagNodesRequest::getProjectEnv() const {
  24. return projectEnv_;
  25. }
  26. void RunManualDagNodesRequest::setProjectEnv(const std::string &projectEnv) {
  27. projectEnv_ = projectEnv;
  28. setBodyParameter(std::string("ProjectEnv"), projectEnv);
  29. }
  30. std::string RunManualDagNodesRequest::getProjectName() const {
  31. return projectName_;
  32. }
  33. void RunManualDagNodesRequest::setProjectName(const std::string &projectName) {
  34. projectName_ = projectName;
  35. setBodyParameter(std::string("ProjectName"), projectName);
  36. }
  37. std::string RunManualDagNodesRequest::getDagParameters() const {
  38. return dagParameters_;
  39. }
  40. void RunManualDagNodesRequest::setDagParameters(const std::string &dagParameters) {
  41. dagParameters_ = dagParameters;
  42. setBodyParameter(std::string("DagParameters"), dagParameters);
  43. }
  44. std::string RunManualDagNodesRequest::getIncludeNodeIds() const {
  45. return includeNodeIds_;
  46. }
  47. void RunManualDagNodesRequest::setIncludeNodeIds(const std::string &includeNodeIds) {
  48. includeNodeIds_ = includeNodeIds;
  49. setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds);
  50. }
  51. std::string RunManualDagNodesRequest::getBizDate() const {
  52. return bizDate_;
  53. }
  54. void RunManualDagNodesRequest::setBizDate(const std::string &bizDate) {
  55. bizDate_ = bizDate;
  56. setBodyParameter(std::string("BizDate"), bizDate);
  57. }
  58. std::string RunManualDagNodesRequest::getExcludeNodeIds() const {
  59. return excludeNodeIds_;
  60. }
  61. void RunManualDagNodesRequest::setExcludeNodeIds(const std::string &excludeNodeIds) {
  62. excludeNodeIds_ = excludeNodeIds;
  63. setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds);
  64. }
  65. std::string RunManualDagNodesRequest::getFlowName() const {
  66. return flowName_;
  67. }
  68. void RunManualDagNodesRequest::setFlowName(const std::string &flowName) {
  69. flowName_ = flowName;
  70. setBodyParameter(std::string("FlowName"), flowName);
  71. }
  72. long RunManualDagNodesRequest::getProjectId() const {
  73. return projectId_;
  74. }
  75. void RunManualDagNodesRequest::setProjectId(long projectId) {
  76. projectId_ = projectId;
  77. setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
  78. }
  79. std::string RunManualDagNodesRequest::getNodeParameters() const {
  80. return nodeParameters_;
  81. }
  82. void RunManualDagNodesRequest::setNodeParameters(const std::string &nodeParameters) {
  83. nodeParameters_ = nodeParameters;
  84. setBodyParameter(std::string("NodeParameters"), nodeParameters);
  85. }