ListDeploymentsRequest.cc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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/ListDeploymentsRequest.h>
  17. using AlibabaCloud::Dataworks_public::Model::ListDeploymentsRequest;
  18. ListDeploymentsRequest::ListDeploymentsRequest()
  19. : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDeployments") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ListDeploymentsRequest::~ListDeploymentsRequest() {}
  23. std::string ListDeploymentsRequest::getCreator() const {
  24. return creator_;
  25. }
  26. void ListDeploymentsRequest::setCreator(const std::string &creator) {
  27. creator_ = creator;
  28. setBodyParameter(std::string("Creator"), creator);
  29. }
  30. long ListDeploymentsRequest::getEndCreateTime() const {
  31. return endCreateTime_;
  32. }
  33. void ListDeploymentsRequest::setEndCreateTime(long endCreateTime) {
  34. endCreateTime_ = endCreateTime;
  35. setBodyParameter(std::string("EndCreateTime"), std::to_string(endCreateTime));
  36. }
  37. std::string ListDeploymentsRequest::getProjectIdentifier() const {
  38. return projectIdentifier_;
  39. }
  40. void ListDeploymentsRequest::setProjectIdentifier(const std::string &projectIdentifier) {
  41. projectIdentifier_ = projectIdentifier;
  42. setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier);
  43. }
  44. int ListDeploymentsRequest::getPageNumber() const {
  45. return pageNumber_;
  46. }
  47. void ListDeploymentsRequest::setPageNumber(int pageNumber) {
  48. pageNumber_ = pageNumber;
  49. setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
  50. }
  51. std::string ListDeploymentsRequest::getExecutor() const {
  52. return executor_;
  53. }
  54. void ListDeploymentsRequest::setExecutor(const std::string &executor) {
  55. executor_ = executor;
  56. setBodyParameter(std::string("Executor"), executor);
  57. }
  58. int ListDeploymentsRequest::getPageSize() const {
  59. return pageSize_;
  60. }
  61. void ListDeploymentsRequest::setPageSize(int pageSize) {
  62. pageSize_ = pageSize;
  63. setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
  64. }
  65. long ListDeploymentsRequest::getEndExecuteTime() const {
  66. return endExecuteTime_;
  67. }
  68. void ListDeploymentsRequest::setEndExecuteTime(long endExecuteTime) {
  69. endExecuteTime_ = endExecuteTime;
  70. setBodyParameter(std::string("EndExecuteTime"), std::to_string(endExecuteTime));
  71. }
  72. std::string ListDeploymentsRequest::getKeyword() const {
  73. return keyword_;
  74. }
  75. void ListDeploymentsRequest::setKeyword(const std::string &keyword) {
  76. keyword_ = keyword;
  77. setBodyParameter(std::string("Keyword"), keyword);
  78. }
  79. long ListDeploymentsRequest::getProjectId() const {
  80. return projectId_;
  81. }
  82. void ListDeploymentsRequest::setProjectId(long projectId) {
  83. projectId_ = projectId;
  84. setBodyParameter(std::string("ProjectId"), std::to_string(projectId));
  85. }
  86. int ListDeploymentsRequest::getStatus() const {
  87. return status_;
  88. }
  89. void ListDeploymentsRequest::setStatus(int status) {
  90. status_ = status;
  91. setBodyParameter(std::string("Status"), std::to_string(status));
  92. }