SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest.cc 9.1 KB

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