GetProfileListRequest.cc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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/GetProfileListRequest.h>
  17. using AlibabaCloud::Vcs::Model::GetProfileListRequest;
  18. GetProfileListRequest::GetProfileListRequest() :
  19. RpcServiceRequest("vcs", "2020-05-15", "GetProfileList")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. GetProfileListRequest::~GetProfileListRequest()
  24. {}
  25. std::map<std::string, std::string> GetProfileListRequest::getProfileIdList()const
  26. {
  27. return profileIdList_;
  28. }
  29. void GetProfileListRequest::setProfileIdList(const std::map<std::string, std::string>& profileIdList)
  30. {
  31. profileIdList_ = profileIdList;
  32. setJsonParameters("ProfileIdList", profileIdList);
  33. }
  34. std::string GetProfileListRequest::getCorpId()const
  35. {
  36. return corpId_;
  37. }
  38. void GetProfileListRequest::setCorpId(const std::string& corpId)
  39. {
  40. corpId_ = corpId;
  41. setBodyParameter("CorpId", corpId);
  42. }
  43. int GetProfileListRequest::getGender()const
  44. {
  45. return gender_;
  46. }
  47. void GetProfileListRequest::setGender(int gender)
  48. {
  49. gender_ = gender;
  50. setBodyParameter("Gender", std::to_string(gender));
  51. }
  52. std::string GetProfileListRequest::getPlateNo()const
  53. {
  54. return plateNo_;
  55. }
  56. void GetProfileListRequest::setPlateNo(const std::string& plateNo)
  57. {
  58. plateNo_ = plateNo;
  59. setBodyParameter("PlateNo", plateNo);
  60. }
  61. std::string GetProfileListRequest::getIdNumber()const
  62. {
  63. return idNumber_;
  64. }
  65. void GetProfileListRequest::setIdNumber(const std::string& idNumber)
  66. {
  67. idNumber_ = idNumber;
  68. setBodyParameter("IdNumber", idNumber);
  69. }
  70. long GetProfileListRequest::getPageNumber()const
  71. {
  72. return pageNumber_;
  73. }
  74. void GetProfileListRequest::setPageNumber(long pageNumber)
  75. {
  76. pageNumber_ = pageNumber;
  77. setBodyParameter("PageNumber", std::to_string(pageNumber));
  78. }
  79. std::string GetProfileListRequest::getFaceImageId()const
  80. {
  81. return faceImageId_;
  82. }
  83. void GetProfileListRequest::setFaceImageId(const std::string& faceImageId)
  84. {
  85. faceImageId_ = faceImageId;
  86. setBodyParameter("FaceImageId", faceImageId);
  87. }
  88. std::string GetProfileListRequest::getFaceUrl()const
  89. {
  90. return faceUrl_;
  91. }
  92. void GetProfileListRequest::setFaceUrl(const std::string& faceUrl)
  93. {
  94. faceUrl_ = faceUrl;
  95. setBodyParameter("FaceUrl", faceUrl);
  96. }
  97. long GetProfileListRequest::getPageSize()const
  98. {
  99. return pageSize_;
  100. }
  101. void GetProfileListRequest::setPageSize(long pageSize)
  102. {
  103. pageSize_ = pageSize;
  104. setBodyParameter("PageSize", std::to_string(pageSize));
  105. }
  106. std::map<std::string, std::string> GetProfileListRequest::getPersonIdList()const
  107. {
  108. return personIdList_;
  109. }
  110. void GetProfileListRequest::setPersonIdList(const std::map<std::string, std::string>& personIdList)
  111. {
  112. personIdList_ = personIdList;
  113. setJsonParameters("PersonIdList", personIdList);
  114. }
  115. std::string GetProfileListRequest::getLiveAddress()const
  116. {
  117. return liveAddress_;
  118. }
  119. void GetProfileListRequest::setLiveAddress(const std::string& liveAddress)
  120. {
  121. liveAddress_ = liveAddress;
  122. setBodyParameter("LiveAddress", liveAddress);
  123. }
  124. std::string GetProfileListRequest::getIsvSubId()const
  125. {
  126. return isvSubId_;
  127. }
  128. void GetProfileListRequest::setIsvSubId(const std::string& isvSubId)
  129. {
  130. isvSubId_ = isvSubId;
  131. setBodyParameter("IsvSubId", isvSubId);
  132. }
  133. std::string GetProfileListRequest::getSceneType()const
  134. {
  135. return sceneType_;
  136. }
  137. void GetProfileListRequest::setSceneType(const std::string& sceneType)
  138. {
  139. sceneType_ = sceneType;
  140. setBodyParameter("SceneType", sceneType);
  141. }
  142. std::string GetProfileListRequest::getPhoneNo()const
  143. {
  144. return phoneNo_;
  145. }
  146. void GetProfileListRequest::setPhoneNo(const std::string& phoneNo)
  147. {
  148. phoneNo_ = phoneNo;
  149. setBodyParameter("PhoneNo", phoneNo);
  150. }
  151. long GetProfileListRequest::getCatalogId()const
  152. {
  153. return catalogId_;
  154. }
  155. void GetProfileListRequest::setCatalogId(long catalogId)
  156. {
  157. catalogId_ = catalogId;
  158. setBodyParameter("CatalogId", std::to_string(catalogId));
  159. }
  160. std::string GetProfileListRequest::getName()const
  161. {
  162. return name_;
  163. }
  164. void GetProfileListRequest::setName(const std::string& name)
  165. {
  166. name_ = name;
  167. setBodyParameter("Name", name);
  168. }
  169. std::string GetProfileListRequest::getBizId()const
  170. {
  171. return bizId_;
  172. }
  173. void GetProfileListRequest::setBizId(const std::string& bizId)
  174. {
  175. bizId_ = bizId;
  176. setBodyParameter("BizId", bizId);
  177. }
  178. std::string GetProfileListRequest::getMatchingRateThreshold()const
  179. {
  180. return matchingRateThreshold_;
  181. }
  182. void GetProfileListRequest::setMatchingRateThreshold(const std::string& matchingRateThreshold)
  183. {
  184. matchingRateThreshold_ = matchingRateThreshold;
  185. setBodyParameter("MatchingRateThreshold", matchingRateThreshold);
  186. }