UpdateUserRequest.cc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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/vcs/model/UpdateUserRequest.h>
  17. using AlibabaCloud::Vcs::Model::UpdateUserRequest;
  18. UpdateUserRequest::UpdateUserRequest() :
  19. RpcServiceRequest("vcs", "2020-05-15", "UpdateUser")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. UpdateUserRequest::~UpdateUserRequest()
  24. {}
  25. std::string UpdateUserRequest::getCorpId()const
  26. {
  27. return corpId_;
  28. }
  29. void UpdateUserRequest::setCorpId(const std::string& corpId)
  30. {
  31. corpId_ = corpId;
  32. setBodyParameter("CorpId", corpId);
  33. }
  34. std::string UpdateUserRequest::getFaceImageContent()const
  35. {
  36. return faceImageContent_;
  37. }
  38. void UpdateUserRequest::setFaceImageContent(const std::string& faceImageContent)
  39. {
  40. faceImageContent_ = faceImageContent;
  41. setBodyParameter("FaceImageContent", faceImageContent);
  42. }
  43. int UpdateUserRequest::getGender()const
  44. {
  45. return gender_;
  46. }
  47. void UpdateUserRequest::setGender(int gender)
  48. {
  49. gender_ = gender;
  50. setBodyParameter("Gender", std::to_string(gender));
  51. }
  52. std::string UpdateUserRequest::getPlateNo()const
  53. {
  54. return plateNo_;
  55. }
  56. void UpdateUserRequest::setPlateNo(const std::string& plateNo)
  57. {
  58. plateNo_ = plateNo;
  59. setBodyParameter("PlateNo", plateNo);
  60. }
  61. std::string UpdateUserRequest::getIdNumber()const
  62. {
  63. return idNumber_;
  64. }
  65. void UpdateUserRequest::setIdNumber(const std::string& idNumber)
  66. {
  67. idNumber_ = idNumber;
  68. setBodyParameter("IdNumber", idNumber);
  69. }
  70. std::string UpdateUserRequest::getFaceImageUrl()const
  71. {
  72. return faceImageUrl_;
  73. }
  74. void UpdateUserRequest::setFaceImageUrl(const std::string& faceImageUrl)
  75. {
  76. faceImageUrl_ = faceImageUrl;
  77. setBodyParameter("FaceImageUrl", faceImageUrl);
  78. }
  79. long UpdateUserRequest::getUserId()const
  80. {
  81. return userId_;
  82. }
  83. void UpdateUserRequest::setUserId(long userId)
  84. {
  85. userId_ = userId;
  86. setBodyParameter("UserId", std::to_string(userId));
  87. }
  88. std::string UpdateUserRequest::getAttachment()const
  89. {
  90. return attachment_;
  91. }
  92. void UpdateUserRequest::setAttachment(const std::string& attachment)
  93. {
  94. attachment_ = attachment;
  95. setBodyParameter("Attachment", attachment);
  96. }
  97. std::string UpdateUserRequest::getIsvSubId()const
  98. {
  99. return isvSubId_;
  100. }
  101. void UpdateUserRequest::setIsvSubId(const std::string& isvSubId)
  102. {
  103. isvSubId_ = isvSubId;
  104. setBodyParameter("IsvSubId", isvSubId);
  105. }
  106. std::string UpdateUserRequest::getAddress()const
  107. {
  108. return address_;
  109. }
  110. void UpdateUserRequest::setAddress(const std::string& address)
  111. {
  112. address_ = address;
  113. setBodyParameter("Address", address);
  114. }
  115. long UpdateUserRequest::getUserGroupId()const
  116. {
  117. return userGroupId_;
  118. }
  119. void UpdateUserRequest::setUserGroupId(long userGroupId)
  120. {
  121. userGroupId_ = userGroupId;
  122. setBodyParameter("UserGroupId", std::to_string(userGroupId));
  123. }
  124. std::string UpdateUserRequest::getPhoneNo()const
  125. {
  126. return phoneNo_;
  127. }
  128. void UpdateUserRequest::setPhoneNo(const std::string& phoneNo)
  129. {
  130. phoneNo_ = phoneNo;
  131. setBodyParameter("PhoneNo", phoneNo);
  132. }
  133. std::string UpdateUserRequest::getBizId()const
  134. {
  135. return bizId_;
  136. }
  137. void UpdateUserRequest::setBizId(const std::string& bizId)
  138. {
  139. bizId_ = bizId;
  140. setBodyParameter("BizId", bizId);
  141. }
  142. int UpdateUserRequest::getAge()const
  143. {
  144. return age_;
  145. }
  146. void UpdateUserRequest::setAge(int age)
  147. {
  148. age_ = age;
  149. setBodyParameter("Age", std::to_string(age));
  150. }
  151. std::string UpdateUserRequest::getUserName()const
  152. {
  153. return userName_;
  154. }
  155. void UpdateUserRequest::setUserName(const std::string& userName)
  156. {
  157. userName_ = userName;
  158. setBodyParameter("UserName", userName);
  159. }