AddProfileRequest.cc 3.4 KB

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