UpdateUserStatusRequest.cc 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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/emr/model/UpdateUserStatusRequest.h>
  17. using AlibabaCloud::Emr::Model::UpdateUserStatusRequest;
  18. UpdateUserStatusRequest::UpdateUserStatusRequest() :
  19. RpcServiceRequest("emr", "2016-04-08", "UpdateUserStatus")
  20. {}
  21. UpdateUserStatusRequest::~UpdateUserStatusRequest()
  22. {}
  23. std::string UpdateUserStatusRequest::getApp_ip()const
  24. {
  25. return app_ip_;
  26. }
  27. void UpdateUserStatusRequest::setApp_ip(const std::string& app_ip)
  28. {
  29. app_ip_ = app_ip;
  30. setCoreParameter("App_ip", app_ip);
  31. }
  32. long UpdateUserStatusRequest::getResourceOwnerId()const
  33. {
  34. return resourceOwnerId_;
  35. }
  36. void UpdateUserStatusRequest::setResourceOwnerId(long resourceOwnerId)
  37. {
  38. resourceOwnerId_ = resourceOwnerId;
  39. setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  40. }
  41. long UpdateUserStatusRequest::getCallerParentId()const
  42. {
  43. return callerParentId_;
  44. }
  45. void UpdateUserStatusRequest::setCallerParentId(long callerParentId)
  46. {
  47. callerParentId_ = callerParentId;
  48. setCoreParameter("CallerParentId", std::to_string(callerParentId));
  49. }
  50. bool UpdateUserStatusRequest::getProxy_original_security_transport()const
  51. {
  52. return proxy_original_security_transport_;
  53. }
  54. void UpdateUserStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
  55. {
  56. proxy_original_security_transport_ = proxy_original_security_transport;
  57. setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
  58. }
  59. std::string UpdateUserStatusRequest::getCallerBid()const
  60. {
  61. return callerBid_;
  62. }
  63. void UpdateUserStatusRequest::setCallerBid(const std::string& callerBid)
  64. {
  65. callerBid_ = callerBid;
  66. setCoreParameter("CallerBid", callerBid);
  67. }
  68. std::string UpdateUserStatusRequest::getProxy_original_source_ip()const
  69. {
  70. return proxy_original_source_ip_;
  71. }
  72. void UpdateUserStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
  73. {
  74. proxy_original_source_ip_ = proxy_original_source_ip;
  75. setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
  76. }
  77. bool UpdateUserStatusRequest::getAk_mfa_present()const
  78. {
  79. return ak_mfa_present_;
  80. }
  81. void UpdateUserStatusRequest::setAk_mfa_present(bool ak_mfa_present)
  82. {
  83. ak_mfa_present_ = ak_mfa_present;
  84. setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
  85. }
  86. bool UpdateUserStatusRequest::getProxy_trust_transport_info()const
  87. {
  88. return proxy_trust_transport_info_;
  89. }
  90. void UpdateUserStatusRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
  91. {
  92. proxy_trust_transport_info_ = proxy_trust_transport_info;
  93. setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
  94. }
  95. std::string UpdateUserStatusRequest::getCallerType()const
  96. {
  97. return callerType_;
  98. }
  99. void UpdateUserStatusRequest::setCallerType(const std::string& callerType)
  100. {
  101. callerType_ = callerType;
  102. setCoreParameter("CallerType", callerType);
  103. }
  104. std::string UpdateUserStatusRequest::getAccessKeyId()const
  105. {
  106. return accessKeyId_;
  107. }
  108. void UpdateUserStatusRequest::setAccessKeyId(const std::string& accessKeyId)
  109. {
  110. accessKeyId_ = accessKeyId;
  111. setCoreParameter("AccessKeyId", accessKeyId);
  112. }
  113. bool UpdateUserStatusRequest::getSecurity_transport()const
  114. {
  115. return security_transport_;
  116. }
  117. void UpdateUserStatusRequest::setSecurity_transport(bool security_transport)
  118. {
  119. security_transport_ = security_transport;
  120. setCoreParameter("Security_transport", security_transport ? "true" : "false");
  121. }
  122. std::string UpdateUserStatusRequest::getSecurityToken()const
  123. {
  124. return securityToken_;
  125. }
  126. void UpdateUserStatusRequest::setSecurityToken(const std::string& securityToken)
  127. {
  128. securityToken_ = securityToken;
  129. setCoreParameter("SecurityToken", securityToken);
  130. }
  131. std::string UpdateUserStatusRequest::getRegionId()const
  132. {
  133. return regionId_;
  134. }
  135. void UpdateUserStatusRequest::setRegionId(const std::string& regionId)
  136. {
  137. regionId_ = regionId;
  138. setCoreParameter("RegionId", regionId);
  139. }
  140. std::string UpdateUserStatusRequest::getRequestId()const
  141. {
  142. return requestId_;
  143. }
  144. void UpdateUserStatusRequest::setRequestId(const std::string& requestId)
  145. {
  146. requestId_ = requestId;
  147. setCoreParameter("RequestId", requestId);
  148. }
  149. long UpdateUserStatusRequest::getCallerUid()const
  150. {
  151. return callerUid_;
  152. }
  153. void UpdateUserStatusRequest::setCallerUid(long callerUid)
  154. {
  155. callerUid_ = callerUid;
  156. setCoreParameter("CallerUid", std::to_string(callerUid));
  157. }
  158. std::string UpdateUserStatusRequest::getAliyunUserId()const
  159. {
  160. return aliyunUserId_;
  161. }
  162. void UpdateUserStatusRequest::setAliyunUserId(const std::string& aliyunUserId)
  163. {
  164. aliyunUserId_ = aliyunUserId;
  165. setCoreParameter("AliyunUserId", aliyunUserId);
  166. }
  167. std::string UpdateUserStatusRequest::getUpdateStatus()const
  168. {
  169. return updateStatus_;
  170. }
  171. void UpdateUserStatusRequest::setUpdateStatus(const std::string& updateStatus)
  172. {
  173. updateStatus_ = updateStatus;
  174. setCoreParameter("UpdateStatus", updateStatus);
  175. }