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