QueryRegistrantProfilesRequest.cc 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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/QueryRegistrantProfilesRequest.h>
  17. using AlibabaCloud::Domain::Model::QueryRegistrantProfilesRequest;
  18. QueryRegistrantProfilesRequest::QueryRegistrantProfilesRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "QueryRegistrantProfiles")
  20. {}
  21. QueryRegistrantProfilesRequest::~QueryRegistrantProfilesRequest()
  22. {}
  23. long QueryRegistrantProfilesRequest::getRegistrantProfileId()const
  24. {
  25. return registrantProfileId_;
  26. }
  27. void QueryRegistrantProfilesRequest::setRegistrantProfileId(long registrantProfileId)
  28. {
  29. registrantProfileId_ = registrantProfileId;
  30. setCoreParameter("RegistrantProfileId", std::to_string(registrantProfileId));
  31. }
  32. int QueryRegistrantProfilesRequest::getPageNum()const
  33. {
  34. return pageNum_;
  35. }
  36. void QueryRegistrantProfilesRequest::setPageNum(int pageNum)
  37. {
  38. pageNum_ = pageNum;
  39. setCoreParameter("PageNum", std::to_string(pageNum));
  40. }
  41. int QueryRegistrantProfilesRequest::getPageSize()const
  42. {
  43. return pageSize_;
  44. }
  45. void QueryRegistrantProfilesRequest::setPageSize(int pageSize)
  46. {
  47. pageSize_ = pageSize;
  48. setCoreParameter("PageSize", std::to_string(pageSize));
  49. }
  50. std::string QueryRegistrantProfilesRequest::getRealNameStatus()const
  51. {
  52. return realNameStatus_;
  53. }
  54. void QueryRegistrantProfilesRequest::setRealNameStatus(const std::string& realNameStatus)
  55. {
  56. realNameStatus_ = realNameStatus;
  57. setCoreParameter("RealNameStatus", realNameStatus);
  58. }
  59. std::string QueryRegistrantProfilesRequest::getLang()const
  60. {
  61. return lang_;
  62. }
  63. void QueryRegistrantProfilesRequest::setLang(const std::string& lang)
  64. {
  65. lang_ = lang;
  66. setCoreParameter("Lang", lang);
  67. }
  68. std::string QueryRegistrantProfilesRequest::getEmail()const
  69. {
  70. return email_;
  71. }
  72. void QueryRegistrantProfilesRequest::setEmail(const std::string& email)
  73. {
  74. email_ = email;
  75. setCoreParameter("Email", email);
  76. }
  77. std::string QueryRegistrantProfilesRequest::getZhRegistrantOrganization()const
  78. {
  79. return zhRegistrantOrganization_;
  80. }
  81. void QueryRegistrantProfilesRequest::setZhRegistrantOrganization(const std::string& zhRegistrantOrganization)
  82. {
  83. zhRegistrantOrganization_ = zhRegistrantOrganization;
  84. setCoreParameter("ZhRegistrantOrganization", zhRegistrantOrganization);
  85. }
  86. std::string QueryRegistrantProfilesRequest::getRegistrantType()const
  87. {
  88. return registrantType_;
  89. }
  90. void QueryRegistrantProfilesRequest::setRegistrantType(const std::string& registrantType)
  91. {
  92. registrantType_ = registrantType;
  93. setCoreParameter("RegistrantType", registrantType);
  94. }
  95. std::string QueryRegistrantProfilesRequest::getRegistrantProfileType()const
  96. {
  97. return registrantProfileType_;
  98. }
  99. void QueryRegistrantProfilesRequest::setRegistrantProfileType(const std::string& registrantProfileType)
  100. {
  101. registrantProfileType_ = registrantProfileType;
  102. setCoreParameter("RegistrantProfileType", registrantProfileType);
  103. }
  104. bool QueryRegistrantProfilesRequest::getDefaultRegistrantProfile()const
  105. {
  106. return defaultRegistrantProfile_;
  107. }
  108. void QueryRegistrantProfilesRequest::setDefaultRegistrantProfile(bool defaultRegistrantProfile)
  109. {
  110. defaultRegistrantProfile_ = defaultRegistrantProfile;
  111. setCoreParameter("DefaultRegistrantProfile", defaultRegistrantProfile ? "true" : "false");
  112. }
  113. std::string QueryRegistrantProfilesRequest::getRegistrantOrganization()const
  114. {
  115. return registrantOrganization_;
  116. }
  117. void QueryRegistrantProfilesRequest::setRegistrantOrganization(const std::string& registrantOrganization)
  118. {
  119. registrantOrganization_ = registrantOrganization;
  120. setCoreParameter("RegistrantOrganization", registrantOrganization);
  121. }
  122. std::string QueryRegistrantProfilesRequest::getUserClientIp()const
  123. {
  124. return userClientIp_;
  125. }
  126. void QueryRegistrantProfilesRequest::setUserClientIp(const std::string& userClientIp)
  127. {
  128. userClientIp_ = userClientIp;
  129. setCoreParameter("UserClientIp", userClientIp);
  130. }