SaveRegistrantProfileRequest.cc 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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/domain/model/SaveRegistrantProfileRequest.h>
  17. using AlibabaCloud::Domain::Model::SaveRegistrantProfileRequest;
  18. SaveRegistrantProfileRequest::SaveRegistrantProfileRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "SaveRegistrantProfile")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. SaveRegistrantProfileRequest::~SaveRegistrantProfileRequest()
  24. {}
  25. std::string SaveRegistrantProfileRequest::getCountry()const
  26. {
  27. return country_;
  28. }
  29. void SaveRegistrantProfileRequest::setCountry(const std::string& country)
  30. {
  31. country_ = country;
  32. setParameter("Country", country);
  33. }
  34. std::string SaveRegistrantProfileRequest::getCity()const
  35. {
  36. return city_;
  37. }
  38. void SaveRegistrantProfileRequest::setCity(const std::string& city)
  39. {
  40. city_ = city;
  41. setParameter("City", city);
  42. }
  43. long SaveRegistrantProfileRequest::getRegistrantProfileId()const
  44. {
  45. return registrantProfileId_;
  46. }
  47. void SaveRegistrantProfileRequest::setRegistrantProfileId(long registrantProfileId)
  48. {
  49. registrantProfileId_ = registrantProfileId;
  50. setParameter("RegistrantProfileId", std::to_string(registrantProfileId));
  51. }
  52. std::string SaveRegistrantProfileRequest::getZhCity()const
  53. {
  54. return zhCity_;
  55. }
  56. void SaveRegistrantProfileRequest::setZhCity(const std::string& zhCity)
  57. {
  58. zhCity_ = zhCity;
  59. setParameter("ZhCity", zhCity);
  60. }
  61. std::string SaveRegistrantProfileRequest::getTelExt()const
  62. {
  63. return telExt_;
  64. }
  65. void SaveRegistrantProfileRequest::setTelExt(const std::string& telExt)
  66. {
  67. telExt_ = telExt;
  68. setParameter("TelExt", telExt);
  69. }
  70. std::string SaveRegistrantProfileRequest::getProvince()const
  71. {
  72. return province_;
  73. }
  74. void SaveRegistrantProfileRequest::setProvince(const std::string& province)
  75. {
  76. province_ = province;
  77. setParameter("Province", province);
  78. }
  79. std::string SaveRegistrantProfileRequest::getZhRegistrantName()const
  80. {
  81. return zhRegistrantName_;
  82. }
  83. void SaveRegistrantProfileRequest::setZhRegistrantName(const std::string& zhRegistrantName)
  84. {
  85. zhRegistrantName_ = zhRegistrantName;
  86. setParameter("ZhRegistrantName", zhRegistrantName);
  87. }
  88. std::string SaveRegistrantProfileRequest::getPostalCode()const
  89. {
  90. return postalCode_;
  91. }
  92. void SaveRegistrantProfileRequest::setPostalCode(const std::string& postalCode)
  93. {
  94. postalCode_ = postalCode;
  95. setParameter("PostalCode", postalCode);
  96. }
  97. std::string SaveRegistrantProfileRequest::getLang()const
  98. {
  99. return lang_;
  100. }
  101. void SaveRegistrantProfileRequest::setLang(const std::string& lang)
  102. {
  103. lang_ = lang;
  104. setParameter("Lang", lang);
  105. }
  106. std::string SaveRegistrantProfileRequest::getEmail()const
  107. {
  108. return email_;
  109. }
  110. void SaveRegistrantProfileRequest::setEmail(const std::string& email)
  111. {
  112. email_ = email;
  113. setParameter("Email", email);
  114. }
  115. std::string SaveRegistrantProfileRequest::getZhRegistrantOrganization()const
  116. {
  117. return zhRegistrantOrganization_;
  118. }
  119. void SaveRegistrantProfileRequest::setZhRegistrantOrganization(const std::string& zhRegistrantOrganization)
  120. {
  121. zhRegistrantOrganization_ = zhRegistrantOrganization;
  122. setParameter("ZhRegistrantOrganization", zhRegistrantOrganization);
  123. }
  124. std::string SaveRegistrantProfileRequest::getAddress()const
  125. {
  126. return address_;
  127. }
  128. void SaveRegistrantProfileRequest::setAddress(const std::string& address)
  129. {
  130. address_ = address;
  131. setParameter("Address", address);
  132. }
  133. std::string SaveRegistrantProfileRequest::getTelArea()const
  134. {
  135. return telArea_;
  136. }
  137. void SaveRegistrantProfileRequest::setTelArea(const std::string& telArea)
  138. {
  139. telArea_ = telArea;
  140. setParameter("TelArea", telArea);
  141. }
  142. std::string SaveRegistrantProfileRequest::getZhAddress()const
  143. {
  144. return zhAddress_;
  145. }
  146. void SaveRegistrantProfileRequest::setZhAddress(const std::string& zhAddress)
  147. {
  148. zhAddress_ = zhAddress;
  149. setParameter("ZhAddress", zhAddress);
  150. }
  151. std::string SaveRegistrantProfileRequest::getRegistrantType()const
  152. {
  153. return registrantType_;
  154. }
  155. void SaveRegistrantProfileRequest::setRegistrantType(const std::string& registrantType)
  156. {
  157. registrantType_ = registrantType;
  158. setParameter("RegistrantType", registrantType);
  159. }
  160. std::string SaveRegistrantProfileRequest::getRegistrantProfileType()const
  161. {
  162. return registrantProfileType_;
  163. }
  164. void SaveRegistrantProfileRequest::setRegistrantProfileType(const std::string& registrantProfileType)
  165. {
  166. registrantProfileType_ = registrantProfileType;
  167. setParameter("RegistrantProfileType", registrantProfileType);
  168. }
  169. std::string SaveRegistrantProfileRequest::getTelephone()const
  170. {
  171. return telephone_;
  172. }
  173. void SaveRegistrantProfileRequest::setTelephone(const std::string& telephone)
  174. {
  175. telephone_ = telephone;
  176. setParameter("Telephone", telephone);
  177. }
  178. bool SaveRegistrantProfileRequest::getDefaultRegistrantProfile()const
  179. {
  180. return defaultRegistrantProfile_;
  181. }
  182. void SaveRegistrantProfileRequest::setDefaultRegistrantProfile(bool defaultRegistrantProfile)
  183. {
  184. defaultRegistrantProfile_ = defaultRegistrantProfile;
  185. setParameter("DefaultRegistrantProfile", defaultRegistrantProfile ? "true" : "false");
  186. }
  187. std::string SaveRegistrantProfileRequest::getZhProvince()const
  188. {
  189. return zhProvince_;
  190. }
  191. void SaveRegistrantProfileRequest::setZhProvince(const std::string& zhProvince)
  192. {
  193. zhProvince_ = zhProvince;
  194. setParameter("ZhProvince", zhProvince);
  195. }
  196. std::string SaveRegistrantProfileRequest::getRegistrantOrganization()const
  197. {
  198. return registrantOrganization_;
  199. }
  200. void SaveRegistrantProfileRequest::setRegistrantOrganization(const std::string& registrantOrganization)
  201. {
  202. registrantOrganization_ = registrantOrganization;
  203. setParameter("RegistrantOrganization", registrantOrganization);
  204. }
  205. std::string SaveRegistrantProfileRequest::getUserClientIp()const
  206. {
  207. return userClientIp_;
  208. }
  209. void SaveRegistrantProfileRequest::setUserClientIp(const std::string& userClientIp)
  210. {
  211. userClientIp_ = userClientIp;
  212. setParameter("UserClientIp", userClientIp);
  213. }
  214. std::string SaveRegistrantProfileRequest::getRegistrantName()const
  215. {
  216. return registrantName_;
  217. }
  218. void SaveRegistrantProfileRequest::setRegistrantName(const std::string& registrantName)
  219. {
  220. registrantName_ = registrantName;
  221. setParameter("RegistrantName", registrantName);
  222. }