ScrollDomainListRequest.cc 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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/ScrollDomainListRequest.h>
  17. using AlibabaCloud::Domain::Model::ScrollDomainListRequest;
  18. ScrollDomainListRequest::ScrollDomainListRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "ScrollDomainList")
  20. {}
  21. ScrollDomainListRequest::~ScrollDomainListRequest()
  22. {}
  23. long ScrollDomainListRequest::getEndExpirationDate()const
  24. {
  25. return endExpirationDate_;
  26. }
  27. void ScrollDomainListRequest::setEndExpirationDate(long endExpirationDate)
  28. {
  29. endExpirationDate_ = endExpirationDate;
  30. setCoreParameter("EndExpirationDate", std::to_string(endExpirationDate));
  31. }
  32. std::string ScrollDomainListRequest::getProductDomainType()const
  33. {
  34. return productDomainType_;
  35. }
  36. void ScrollDomainListRequest::setProductDomainType(const std::string& productDomainType)
  37. {
  38. productDomainType_ = productDomainType;
  39. setCoreParameter("ProductDomainType", productDomainType);
  40. }
  41. std::string ScrollDomainListRequest::getSuffixs()const
  42. {
  43. return suffixs_;
  44. }
  45. void ScrollDomainListRequest::setSuffixs(const std::string& suffixs)
  46. {
  47. suffixs_ = suffixs;
  48. setCoreParameter("Suffixs", suffixs);
  49. }
  50. long ScrollDomainListRequest::getStartExpirationDate()const
  51. {
  52. return startExpirationDate_;
  53. }
  54. void ScrollDomainListRequest::setStartExpirationDate(long startExpirationDate)
  55. {
  56. startExpirationDate_ = startExpirationDate;
  57. setCoreParameter("StartExpirationDate", std::to_string(startExpirationDate));
  58. }
  59. int ScrollDomainListRequest::getDomainStatus()const
  60. {
  61. return domainStatus_;
  62. }
  63. void ScrollDomainListRequest::setDomainStatus(int domainStatus)
  64. {
  65. domainStatus_ = domainStatus;
  66. setCoreParameter("DomainStatus", std::to_string(domainStatus));
  67. }
  68. long ScrollDomainListRequest::getDomainGroupId()const
  69. {
  70. return domainGroupId_;
  71. }
  72. void ScrollDomainListRequest::setDomainGroupId(long domainGroupId)
  73. {
  74. domainGroupId_ = domainGroupId;
  75. setCoreParameter("DomainGroupId", std::to_string(domainGroupId));
  76. }
  77. bool ScrollDomainListRequest::getKeyWordSuffix()const
  78. {
  79. return keyWordSuffix_;
  80. }
  81. void ScrollDomainListRequest::setKeyWordSuffix(bool keyWordSuffix)
  82. {
  83. keyWordSuffix_ = keyWordSuffix;
  84. setCoreParameter("KeyWordSuffix", keyWordSuffix ? "true" : "false");
  85. }
  86. std::string ScrollDomainListRequest::getScrollId()const
  87. {
  88. return scrollId_;
  89. }
  90. void ScrollDomainListRequest::setScrollId(const std::string& scrollId)
  91. {
  92. scrollId_ = scrollId;
  93. setCoreParameter("ScrollId", scrollId);
  94. }
  95. std::string ScrollDomainListRequest::getExcluded()const
  96. {
  97. return excluded_;
  98. }
  99. void ScrollDomainListRequest::setExcluded(const std::string& excluded)
  100. {
  101. excluded_ = excluded;
  102. setCoreParameter("Excluded", excluded);
  103. }
  104. bool ScrollDomainListRequest::getKeyWordPrefix()const
  105. {
  106. return keyWordPrefix_;
  107. }
  108. void ScrollDomainListRequest::setKeyWordPrefix(bool keyWordPrefix)
  109. {
  110. keyWordPrefix_ = keyWordPrefix;
  111. setCoreParameter("KeyWordPrefix", keyWordPrefix ? "true" : "false");
  112. }
  113. int ScrollDomainListRequest::getStartLength()const
  114. {
  115. return startLength_;
  116. }
  117. void ScrollDomainListRequest::setStartLength(int startLength)
  118. {
  119. startLength_ = startLength;
  120. setCoreParameter("StartLength", std::to_string(startLength));
  121. }
  122. int ScrollDomainListRequest::getTradeType()const
  123. {
  124. return tradeType_;
  125. }
  126. void ScrollDomainListRequest::setTradeType(int tradeType)
  127. {
  128. tradeType_ = tradeType;
  129. setCoreParameter("TradeType", std::to_string(tradeType));
  130. }
  131. bool ScrollDomainListRequest::getExcludedSuffix()const
  132. {
  133. return excludedSuffix_;
  134. }
  135. void ScrollDomainListRequest::setExcludedSuffix(bool excludedSuffix)
  136. {
  137. excludedSuffix_ = excludedSuffix;
  138. setCoreParameter("ExcludedSuffix", excludedSuffix ? "true" : "false");
  139. }
  140. long ScrollDomainListRequest::getEndRegistrationDate()const
  141. {
  142. return endRegistrationDate_;
  143. }
  144. void ScrollDomainListRequest::setEndRegistrationDate(long endRegistrationDate)
  145. {
  146. endRegistrationDate_ = endRegistrationDate;
  147. setCoreParameter("EndRegistrationDate", std::to_string(endRegistrationDate));
  148. }
  149. int ScrollDomainListRequest::getForm()const
  150. {
  151. return form_;
  152. }
  153. void ScrollDomainListRequest::setForm(int form)
  154. {
  155. form_ = form;
  156. setCoreParameter("Form", std::to_string(form));
  157. }
  158. std::string ScrollDomainListRequest::getUserClientIp()const
  159. {
  160. return userClientIp_;
  161. }
  162. void ScrollDomainListRequest::setUserClientIp(const std::string& userClientIp)
  163. {
  164. userClientIp_ = userClientIp;
  165. setCoreParameter("UserClientIp", userClientIp);
  166. }
  167. int ScrollDomainListRequest::getPageSize()const
  168. {
  169. return pageSize_;
  170. }
  171. void ScrollDomainListRequest::setPageSize(int pageSize)
  172. {
  173. pageSize_ = pageSize;
  174. setCoreParameter("PageSize", std::to_string(pageSize));
  175. }
  176. std::string ScrollDomainListRequest::getLang()const
  177. {
  178. return lang_;
  179. }
  180. void ScrollDomainListRequest::setLang(const std::string& lang)
  181. {
  182. lang_ = lang;
  183. setCoreParameter("Lang", lang);
  184. }
  185. bool ScrollDomainListRequest::getExcludedPrefix()const
  186. {
  187. return excludedPrefix_;
  188. }
  189. void ScrollDomainListRequest::setExcludedPrefix(bool excludedPrefix)
  190. {
  191. excludedPrefix_ = excludedPrefix;
  192. setCoreParameter("ExcludedPrefix", excludedPrefix ? "true" : "false");
  193. }
  194. std::string ScrollDomainListRequest::getKeyWord()const
  195. {
  196. return keyWord_;
  197. }
  198. void ScrollDomainListRequest::setKeyWord(const std::string& keyWord)
  199. {
  200. keyWord_ = keyWord;
  201. setCoreParameter("KeyWord", keyWord);
  202. }
  203. long ScrollDomainListRequest::getStartRegistrationDate()const
  204. {
  205. return startRegistrationDate_;
  206. }
  207. void ScrollDomainListRequest::setStartRegistrationDate(long startRegistrationDate)
  208. {
  209. startRegistrationDate_ = startRegistrationDate;
  210. setCoreParameter("StartRegistrationDate", std::to_string(startRegistrationDate));
  211. }
  212. int ScrollDomainListRequest::getEndLength()const
  213. {
  214. return endLength_;
  215. }
  216. void ScrollDomainListRequest::setEndLength(int endLength)
  217. {
  218. endLength_ = endLength;
  219. setCoreParameter("EndLength", std::to_string(endLength));
  220. }