UpdateProfileRequest.cc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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/UpdateProfileRequest.h>
  17. using AlibabaCloud::Vcs::Model::UpdateProfileRequest;
  18. UpdateProfileRequest::UpdateProfileRequest() :
  19. RpcServiceRequest("vcs", "2020-05-15", "UpdateProfile")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. UpdateProfileRequest::~UpdateProfileRequest()
  24. {}
  25. std::string UpdateProfileRequest::getCorpId()const
  26. {
  27. return corpId_;
  28. }
  29. void UpdateProfileRequest::setCorpId(const std::string& corpId)
  30. {
  31. corpId_ = corpId;
  32. setBodyParameter("CorpId", corpId);
  33. }
  34. int UpdateProfileRequest::getGender()const
  35. {
  36. return gender_;
  37. }
  38. void UpdateProfileRequest::setGender(int gender)
  39. {
  40. gender_ = gender;
  41. setBodyParameter("Gender", std::to_string(gender));
  42. }
  43. std::string UpdateProfileRequest::getPlateNo()const
  44. {
  45. return plateNo_;
  46. }
  47. void UpdateProfileRequest::setPlateNo(const std::string& plateNo)
  48. {
  49. plateNo_ = plateNo;
  50. setBodyParameter("PlateNo", plateNo);
  51. }
  52. std::string UpdateProfileRequest::getIdNumber()const
  53. {
  54. return idNumber_;
  55. }
  56. void UpdateProfileRequest::setIdNumber(const std::string& idNumber)
  57. {
  58. idNumber_ = idNumber;
  59. setBodyParameter("IdNumber", idNumber);
  60. }
  61. std::string UpdateProfileRequest::getFaceUrl()const
  62. {
  63. return faceUrl_;
  64. }
  65. void UpdateProfileRequest::setFaceUrl(const std::string& faceUrl)
  66. {
  67. faceUrl_ = faceUrl;
  68. setBodyParameter("FaceUrl", faceUrl);
  69. }
  70. long UpdateProfileRequest::getProfileId()const
  71. {
  72. return profileId_;
  73. }
  74. void UpdateProfileRequest::setProfileId(long profileId)
  75. {
  76. profileId_ = profileId;
  77. setBodyParameter("ProfileId", std::to_string(profileId));
  78. }
  79. std::string UpdateProfileRequest::getLiveAddress()const
  80. {
  81. return liveAddress_;
  82. }
  83. void UpdateProfileRequest::setLiveAddress(const std::string& liveAddress)
  84. {
  85. liveAddress_ = liveAddress;
  86. setBodyParameter("LiveAddress", liveAddress);
  87. }
  88. std::string UpdateProfileRequest::getIsvSubId()const
  89. {
  90. return isvSubId_;
  91. }
  92. void UpdateProfileRequest::setIsvSubId(const std::string& isvSubId)
  93. {
  94. isvSubId_ = isvSubId;
  95. setBodyParameter("IsvSubId", isvSubId);
  96. }
  97. std::string UpdateProfileRequest::getSceneType()const
  98. {
  99. return sceneType_;
  100. }
  101. void UpdateProfileRequest::setSceneType(const std::string& sceneType)
  102. {
  103. sceneType_ = sceneType;
  104. setBodyParameter("SceneType", sceneType);
  105. }
  106. std::string UpdateProfileRequest::getPhoneNo()const
  107. {
  108. return phoneNo_;
  109. }
  110. void UpdateProfileRequest::setPhoneNo(const std::string& phoneNo)
  111. {
  112. phoneNo_ = phoneNo;
  113. setBodyParameter("PhoneNo", phoneNo);
  114. }
  115. long UpdateProfileRequest::getCatalogId()const
  116. {
  117. return catalogId_;
  118. }
  119. void UpdateProfileRequest::setCatalogId(long catalogId)
  120. {
  121. catalogId_ = catalogId;
  122. setBodyParameter("CatalogId", std::to_string(catalogId));
  123. }
  124. std::string UpdateProfileRequest::getName()const
  125. {
  126. return name_;
  127. }
  128. void UpdateProfileRequest::setName(const std::string& name)
  129. {
  130. name_ = name;
  131. setBodyParameter("Name", name);
  132. }
  133. std::string UpdateProfileRequest::getBizId()const
  134. {
  135. return bizId_;
  136. }
  137. void UpdateProfileRequest::setBizId(const std::string& bizId)
  138. {
  139. bizId_ = bizId;
  140. setBodyParameter("BizId", bizId);
  141. }