ListDeployOrdersRequest.cc 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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/retailcloud/model/ListDeployOrdersRequest.h>
  17. using AlibabaCloud::Retailcloud::Model::ListDeployOrdersRequest;
  18. ListDeployOrdersRequest::ListDeployOrdersRequest() :
  19. RpcServiceRequest("retailcloud", "2018-03-13", "ListDeployOrders")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. ListDeployOrdersRequest::~ListDeployOrdersRequest()
  24. {}
  25. std::string ListDeployOrdersRequest::getStartTimeGreaterThanOrEqualTo()const
  26. {
  27. return startTimeGreaterThanOrEqualTo_;
  28. }
  29. void ListDeployOrdersRequest::setStartTimeGreaterThanOrEqualTo(const std::string& startTimeGreaterThanOrEqualTo)
  30. {
  31. startTimeGreaterThanOrEqualTo_ = startTimeGreaterThanOrEqualTo;
  32. setParameter("StartTimeGreaterThanOrEqualTo", startTimeGreaterThanOrEqualTo);
  33. }
  34. std::vector<int> ListDeployOrdersRequest::getStatusList()const
  35. {
  36. return statusList_;
  37. }
  38. void ListDeployOrdersRequest::setStatusList(const std::vector<int>& statusList)
  39. {
  40. statusList_ = statusList;
  41. for(int dep1 = 0; dep1!= statusList.size(); dep1++) {
  42. setBodyParameter("StatusList."+ std::to_string(dep1), std::to_string(statusList.at(dep1)));
  43. }
  44. }
  45. long ListDeployOrdersRequest::getEnvId()const
  46. {
  47. return envId_;
  48. }
  49. void ListDeployOrdersRequest::setEnvId(long envId)
  50. {
  51. envId_ = envId;
  52. setParameter("EnvId", std::to_string(envId));
  53. }
  54. std::string ListDeployOrdersRequest::getEndTimeGreaterThan()const
  55. {
  56. return endTimeGreaterThan_;
  57. }
  58. void ListDeployOrdersRequest::setEndTimeGreaterThan(const std::string& endTimeGreaterThan)
  59. {
  60. endTimeGreaterThan_ = endTimeGreaterThan;
  61. setParameter("EndTimeGreaterThan", endTimeGreaterThan);
  62. }
  63. int ListDeployOrdersRequest::getPageNumber()const
  64. {
  65. return pageNumber_;
  66. }
  67. void ListDeployOrdersRequest::setPageNumber(int pageNumber)
  68. {
  69. pageNumber_ = pageNumber;
  70. setParameter("PageNumber", std::to_string(pageNumber));
  71. }
  72. std::string ListDeployOrdersRequest::getPauseType()const
  73. {
  74. return pauseType_;
  75. }
  76. void ListDeployOrdersRequest::setPauseType(const std::string& pauseType)
  77. {
  78. pauseType_ = pauseType;
  79. setParameter("PauseType", pauseType);
  80. }
  81. std::vector<int> ListDeployOrdersRequest::getResultList()const
  82. {
  83. return resultList_;
  84. }
  85. void ListDeployOrdersRequest::setResultList(const std::vector<int>& resultList)
  86. {
  87. resultList_ = resultList;
  88. for(int dep1 = 0; dep1!= resultList.size(); dep1++) {
  89. setBodyParameter("ResultList."+ std::to_string(dep1), std::to_string(resultList.at(dep1)));
  90. }
  91. }
  92. std::string ListDeployOrdersRequest::getStartTimeGreaterThan()const
  93. {
  94. return startTimeGreaterThan_;
  95. }
  96. void ListDeployOrdersRequest::setStartTimeGreaterThan(const std::string& startTimeGreaterThan)
  97. {
  98. startTimeGreaterThan_ = startTimeGreaterThan;
  99. setParameter("StartTimeGreaterThan", startTimeGreaterThan);
  100. }
  101. std::string ListDeployOrdersRequest::getStartTimeLessThan()const
  102. {
  103. return startTimeLessThan_;
  104. }
  105. void ListDeployOrdersRequest::setStartTimeLessThan(const std::string& startTimeLessThan)
  106. {
  107. startTimeLessThan_ = startTimeLessThan;
  108. setParameter("StartTimeLessThan", startTimeLessThan);
  109. }
  110. std::string ListDeployOrdersRequest::getStartTimeLessThanOrEqualTo()const
  111. {
  112. return startTimeLessThanOrEqualTo_;
  113. }
  114. void ListDeployOrdersRequest::setStartTimeLessThanOrEqualTo(const std::string& startTimeLessThanOrEqualTo)
  115. {
  116. startTimeLessThanOrEqualTo_ = startTimeLessThanOrEqualTo;
  117. setParameter("StartTimeLessThanOrEqualTo", startTimeLessThanOrEqualTo);
  118. }
  119. long ListDeployOrdersRequest::getAppId()const
  120. {
  121. return appId_;
  122. }
  123. void ListDeployOrdersRequest::setAppId(long appId)
  124. {
  125. appId_ = appId;
  126. setParameter("AppId", std::to_string(appId));
  127. }
  128. std::string ListDeployOrdersRequest::getEnvType()const
  129. {
  130. return envType_;
  131. }
  132. void ListDeployOrdersRequest::setEnvType(const std::string& envType)
  133. {
  134. envType_ = envType;
  135. setParameter("EnvType", envType);
  136. }
  137. int ListDeployOrdersRequest::getPageSize()const
  138. {
  139. return pageSize_;
  140. }
  141. void ListDeployOrdersRequest::setPageSize(int pageSize)
  142. {
  143. pageSize_ = pageSize;
  144. setParameter("PageSize", std::to_string(pageSize));
  145. }
  146. std::string ListDeployOrdersRequest::getEndTimeGreaterThanOrEqualTo()const
  147. {
  148. return endTimeGreaterThanOrEqualTo_;
  149. }
  150. void ListDeployOrdersRequest::setEndTimeGreaterThanOrEqualTo(const std::string& endTimeGreaterThanOrEqualTo)
  151. {
  152. endTimeGreaterThanOrEqualTo_ = endTimeGreaterThanOrEqualTo;
  153. setParameter("EndTimeGreaterThanOrEqualTo", endTimeGreaterThanOrEqualTo);
  154. }
  155. std::string ListDeployOrdersRequest::getEndTimeLessThan()const
  156. {
  157. return endTimeLessThan_;
  158. }
  159. void ListDeployOrdersRequest::setEndTimeLessThan(const std::string& endTimeLessThan)
  160. {
  161. endTimeLessThan_ = endTimeLessThan;
  162. setParameter("EndTimeLessThan", endTimeLessThan);
  163. }
  164. std::string ListDeployOrdersRequest::getEndTimeLessThanOrEqualTo()const
  165. {
  166. return endTimeLessThanOrEqualTo_;
  167. }
  168. void ListDeployOrdersRequest::setEndTimeLessThanOrEqualTo(const std::string& endTimeLessThanOrEqualTo)
  169. {
  170. endTimeLessThanOrEqualTo_ = endTimeLessThanOrEqualTo;
  171. setParameter("EndTimeLessThanOrEqualTo", endTimeLessThanOrEqualTo);
  172. }
  173. std::string ListDeployOrdersRequest::getPartitionType()const
  174. {
  175. return partitionType_;
  176. }
  177. void ListDeployOrdersRequest::setPartitionType(const std::string& partitionType)
  178. {
  179. partitionType_ = partitionType;
  180. setParameter("PartitionType", partitionType);
  181. }
  182. std::string ListDeployOrdersRequest::getDeployCategory()const
  183. {
  184. return deployCategory_;
  185. }
  186. void ListDeployOrdersRequest::setDeployCategory(const std::string& deployCategory)
  187. {
  188. deployCategory_ = deployCategory;
  189. setParameter("DeployCategory", deployCategory);
  190. }
  191. std::string ListDeployOrdersRequest::getDeployType()const
  192. {
  193. return deployType_;
  194. }
  195. void ListDeployOrdersRequest::setDeployType(const std::string& deployType)
  196. {
  197. deployType_ = deployType;
  198. setParameter("DeployType", deployType);
  199. }
  200. int ListDeployOrdersRequest::getStatus()const
  201. {
  202. return status_;
  203. }
  204. void ListDeployOrdersRequest::setStatus(int status)
  205. {
  206. status_ = status;
  207. setParameter("Status", std::to_string(status));
  208. }