ListInnerNodesRequest.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/dataworks-public/model/ListInnerNodesRequest.h>
  17. using AlibabaCloud::Dataworks_public::Model::ListInnerNodesRequest;
  18. ListInnerNodesRequest::ListInnerNodesRequest()
  19. : RpcServiceRequest("dataworks-public", "2020-05-18", "ListInnerNodes") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ListInnerNodesRequest::~ListInnerNodesRequest() {}
  23. std::string ListInnerNodesRequest::getProjectEnv() const {
  24. return projectEnv_;
  25. }
  26. void ListInnerNodesRequest::setProjectEnv(const std::string &projectEnv) {
  27. projectEnv_ = projectEnv;
  28. setBodyParameter(std::string("ProjectEnv"), projectEnv);
  29. }
  30. long ListInnerNodesRequest::getOuterNodeId() const {
  31. return outerNodeId_;
  32. }
  33. void ListInnerNodesRequest::setOuterNodeId(long outerNodeId) {
  34. outerNodeId_ = outerNodeId;
  35. setBodyParameter(std::string("OuterNodeId"), std::to_string(outerNodeId));
  36. }
  37. int ListInnerNodesRequest::getPageNumber() const {
  38. return pageNumber_;
  39. }
  40. void ListInnerNodesRequest::setPageNumber(int pageNumber) {
  41. pageNumber_ = pageNumber;
  42. setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
  43. }
  44. std::string ListInnerNodesRequest::getNodeName() const {
  45. return nodeName_;
  46. }
  47. void ListInnerNodesRequest::setNodeName(const std::string &nodeName) {
  48. nodeName_ = nodeName;
  49. setBodyParameter(std::string("NodeName"), nodeName);
  50. }
  51. std::string ListInnerNodesRequest::getProgramType() const {
  52. return programType_;
  53. }
  54. void ListInnerNodesRequest::setProgramType(const std::string &programType) {
  55. programType_ = programType;
  56. setBodyParameter(std::string("ProgramType"), programType);
  57. }
  58. int ListInnerNodesRequest::getPageSize() const {
  59. return pageSize_;
  60. }
  61. void ListInnerNodesRequest::setPageSize(int pageSize) {
  62. pageSize_ = pageSize;
  63. setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
  64. }
  65. long ListInnerNodesRequest::getProjectId() const {
  66. return projectId_;
  67. }
  68. void ListInnerNodesRequest::setProjectId(long projectId) {
  69. projectId_ = projectId;
  70. setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
  71. }