RedeployInstanceRequest.cc 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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/ecs/model/RedeployInstanceRequest.h>
  17. using AlibabaCloud::Ecs::Model::RedeployInstanceRequest;
  18. RedeployInstanceRequest::RedeployInstanceRequest() :
  19. RpcServiceRequest("ecs", "2014-05-26", "RedeployInstance")
  20. {}
  21. RedeployInstanceRequest::~RedeployInstanceRequest()
  22. {}
  23. long RedeployInstanceRequest::getResourceOwnerId()const
  24. {
  25. return resourceOwnerId_;
  26. }
  27. void RedeployInstanceRequest::setResourceOwnerId(long resourceOwnerId)
  28. {
  29. resourceOwnerId_ = resourceOwnerId;
  30. setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  31. }
  32. long RedeployInstanceRequest::getCallerParentId()const
  33. {
  34. return callerParentId_;
  35. }
  36. void RedeployInstanceRequest::setCallerParentId(long callerParentId)
  37. {
  38. callerParentId_ = callerParentId;
  39. setParameter("CallerParentId", std::to_string(callerParentId));
  40. }
  41. bool RedeployInstanceRequest::getProxy_original_security_transport()const
  42. {
  43. return proxy_original_security_transport_;
  44. }
  45. void RedeployInstanceRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
  46. {
  47. proxy_original_security_transport_ = proxy_original_security_transport;
  48. setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
  49. }
  50. std::string RedeployInstanceRequest::getProxy_original_source_ip()const
  51. {
  52. return proxy_original_source_ip_;
  53. }
  54. void RedeployInstanceRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
  55. {
  56. proxy_original_source_ip_ = proxy_original_source_ip;
  57. setParameter("Proxy_original_source_ip", proxy_original_source_ip);
  58. }
  59. std::string RedeployInstanceRequest::getOwnerIdLoginEmail()const
  60. {
  61. return ownerIdLoginEmail_;
  62. }
  63. void RedeployInstanceRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
  64. {
  65. ownerIdLoginEmail_ = ownerIdLoginEmail;
  66. setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
  67. }
  68. std::string RedeployInstanceRequest::getCallerType()const
  69. {
  70. return callerType_;
  71. }
  72. void RedeployInstanceRequest::setCallerType(const std::string& callerType)
  73. {
  74. callerType_ = callerType;
  75. setParameter("CallerType", callerType);
  76. }
  77. std::string RedeployInstanceRequest::getAccessKeyId()const
  78. {
  79. return accessKeyId_;
  80. }
  81. void RedeployInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
  82. {
  83. accessKeyId_ = accessKeyId;
  84. setParameter("AccessKeyId", accessKeyId);
  85. }
  86. bool RedeployInstanceRequest::getForceStop()const
  87. {
  88. return forceStop_;
  89. }
  90. void RedeployInstanceRequest::setForceStop(bool forceStop)
  91. {
  92. forceStop_ = forceStop;
  93. setParameter("ForceStop", std::to_string(forceStop));
  94. }
  95. std::string RedeployInstanceRequest::getSecurityToken()const
  96. {
  97. return securityToken_;
  98. }
  99. void RedeployInstanceRequest::setSecurityToken(const std::string& securityToken)
  100. {
  101. securityToken_ = securityToken;
  102. setParameter("SecurityToken", securityToken);
  103. }
  104. bool RedeployInstanceRequest::getEnable()const
  105. {
  106. return enable_;
  107. }
  108. void RedeployInstanceRequest::setEnable(bool enable)
  109. {
  110. enable_ = enable;
  111. setParameter("Enable", std::to_string(enable));
  112. }
  113. std::string RedeployInstanceRequest::getRequestContent()const
  114. {
  115. return requestContent_;
  116. }
  117. void RedeployInstanceRequest::setRequestContent(const std::string& requestContent)
  118. {
  119. requestContent_ = requestContent;
  120. setParameter("RequestContent", requestContent);
  121. }
  122. std::string RedeployInstanceRequest::getCallerBidEmail()const
  123. {
  124. return callerBidEmail_;
  125. }
  126. void RedeployInstanceRequest::setCallerBidEmail(const std::string& callerBidEmail)
  127. {
  128. callerBidEmail_ = callerBidEmail;
  129. setParameter("CallerBidEmail", callerBidEmail);
  130. }
  131. std::string RedeployInstanceRequest::getCallerUidEmail()const
  132. {
  133. return callerUidEmail_;
  134. }
  135. void RedeployInstanceRequest::setCallerUidEmail(const std::string& callerUidEmail)
  136. {
  137. callerUidEmail_ = callerUidEmail;
  138. setParameter("CallerUidEmail", callerUidEmail);
  139. }
  140. long RedeployInstanceRequest::getCallerUid()const
  141. {
  142. return callerUid_;
  143. }
  144. void RedeployInstanceRequest::setCallerUid(long callerUid)
  145. {
  146. callerUid_ = callerUid;
  147. setParameter("CallerUid", std::to_string(callerUid));
  148. }
  149. std::string RedeployInstanceRequest::getApp_ip()const
  150. {
  151. return app_ip_;
  152. }
  153. void RedeployInstanceRequest::setApp_ip(const std::string& app_ip)
  154. {
  155. app_ip_ = app_ip;
  156. setParameter("App_ip", app_ip);
  157. }
  158. std::string RedeployInstanceRequest::getResourceOwnerAccount()const
  159. {
  160. return resourceOwnerAccount_;
  161. }
  162. void RedeployInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  163. {
  164. resourceOwnerAccount_ = resourceOwnerAccount;
  165. setParameter("ResourceOwnerAccount", resourceOwnerAccount);
  166. }
  167. std::string RedeployInstanceRequest::getOwnerAccount()const
  168. {
  169. return ownerAccount_;
  170. }
  171. void RedeployInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
  172. {
  173. ownerAccount_ = ownerAccount;
  174. setParameter("OwnerAccount", ownerAccount);
  175. }
  176. std::string RedeployInstanceRequest::getCallerBid()const
  177. {
  178. return callerBid_;
  179. }
  180. void RedeployInstanceRequest::setCallerBid(const std::string& callerBid)
  181. {
  182. callerBid_ = callerBid;
  183. setParameter("CallerBid", callerBid);
  184. }
  185. long RedeployInstanceRequest::getOwnerId()const
  186. {
  187. return ownerId_;
  188. }
  189. void RedeployInstanceRequest::setOwnerId(long ownerId)
  190. {
  191. ownerId_ = ownerId;
  192. setParameter("OwnerId", std::to_string(ownerId));
  193. }
  194. bool RedeployInstanceRequest::getProxy_trust_transport_info()const
  195. {
  196. return proxy_trust_transport_info_;
  197. }
  198. void RedeployInstanceRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
  199. {
  200. proxy_trust_transport_info_ = proxy_trust_transport_info;
  201. setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
  202. }
  203. bool RedeployInstanceRequest::getAk_mfa_present()const
  204. {
  205. return ak_mfa_present_;
  206. }
  207. void RedeployInstanceRequest::setAk_mfa_present(bool ak_mfa_present)
  208. {
  209. ak_mfa_present_ = ak_mfa_present;
  210. setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
  211. }
  212. bool RedeployInstanceRequest::getSecurity_transport()const
  213. {
  214. return security_transport_;
  215. }
  216. void RedeployInstanceRequest::setSecurity_transport(bool security_transport)
  217. {
  218. security_transport_ = security_transport;
  219. setParameter("Security_transport", std::to_string(security_transport));
  220. }
  221. std::string RedeployInstanceRequest::getInstanceId()const
  222. {
  223. return instanceId_;
  224. }
  225. void RedeployInstanceRequest::setInstanceId(const std::string& instanceId)
  226. {
  227. instanceId_ = instanceId;
  228. setParameter("InstanceId", instanceId);
  229. }
  230. std::string RedeployInstanceRequest::getRequestId()const
  231. {
  232. return requestId_;
  233. }
  234. void RedeployInstanceRequest::setRequestId(const std::string& requestId)
  235. {
  236. requestId_ = requestId;
  237. setParameter("RequestId", requestId);
  238. }