FindImagesRequest.cc 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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/imm/model/FindImagesRequest.h>
  17. using AlibabaCloud::Imm::Model::FindImagesRequest;
  18. FindImagesRequest::FindImagesRequest() :
  19. RpcServiceRequest("imm", "2017-09-06", "FindImages")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. FindImagesRequest::~FindImagesRequest()
  24. {}
  25. std::string FindImagesRequest::getRemarksArrayBIn()const
  26. {
  27. return remarksArrayBIn_;
  28. }
  29. void FindImagesRequest::setRemarksArrayBIn(const std::string& remarksArrayBIn)
  30. {
  31. remarksArrayBIn_ = remarksArrayBIn;
  32. setParameter("RemarksArrayBIn", remarksArrayBIn);
  33. }
  34. std::string FindImagesRequest::getProject()const
  35. {
  36. return project_;
  37. }
  38. void FindImagesRequest::setProject(const std::string& project)
  39. {
  40. project_ = project;
  41. setParameter("Project", project);
  42. }
  43. std::string FindImagesRequest::getExternalId()const
  44. {
  45. return externalId_;
  46. }
  47. void FindImagesRequest::setExternalId(const std::string& externalId)
  48. {
  49. externalId_ = externalId;
  50. setParameter("ExternalId", externalId);
  51. }
  52. std::string FindImagesRequest::getFacesModifyTimeRange()const
  53. {
  54. return facesModifyTimeRange_;
  55. }
  56. void FindImagesRequest::setFacesModifyTimeRange(const std::string& facesModifyTimeRange)
  57. {
  58. facesModifyTimeRange_ = facesModifyTimeRange;
  59. setParameter("FacesModifyTimeRange", facesModifyTimeRange);
  60. }
  61. std::string FindImagesRequest::getOCRContentsMatch()const
  62. {
  63. return oCRContentsMatch_;
  64. }
  65. void FindImagesRequest::setOCRContentsMatch(const std::string& oCRContentsMatch)
  66. {
  67. oCRContentsMatch_ = oCRContentsMatch;
  68. setParameter("OCRContentsMatch", oCRContentsMatch);
  69. }
  70. int FindImagesRequest::getLimit()const
  71. {
  72. return limit_;
  73. }
  74. void FindImagesRequest::setLimit(int limit)
  75. {
  76. limit_ = limit;
  77. setParameter("Limit", std::to_string(limit));
  78. }
  79. std::string FindImagesRequest::getRemarksDPrefix()const
  80. {
  81. return remarksDPrefix_;
  82. }
  83. void FindImagesRequest::setRemarksDPrefix(const std::string& remarksDPrefix)
  84. {
  85. remarksDPrefix_ = remarksDPrefix;
  86. setParameter("RemarksDPrefix", remarksDPrefix);
  87. }
  88. std::string FindImagesRequest::getSourceType()const
  89. {
  90. return sourceType_;
  91. }
  92. void FindImagesRequest::setSourceType(const std::string& sourceType)
  93. {
  94. sourceType_ = sourceType;
  95. setParameter("SourceType", sourceType);
  96. }
  97. std::string FindImagesRequest::getOrder()const
  98. {
  99. return order_;
  100. }
  101. void FindImagesRequest::setOrder(const std::string& order)
  102. {
  103. order_ = order;
  104. setParameter("Order", order);
  105. }
  106. std::string FindImagesRequest::getGroupId()const
  107. {
  108. return groupId_;
  109. }
  110. void FindImagesRequest::setGroupId(const std::string& groupId)
  111. {
  112. groupId_ = groupId;
  113. setParameter("GroupId", groupId);
  114. }
  115. std::string FindImagesRequest::getOrderBy()const
  116. {
  117. return orderBy_;
  118. }
  119. void FindImagesRequest::setOrderBy(const std::string& orderBy)
  120. {
  121. orderBy_ = orderBy;
  122. setParameter("OrderBy", orderBy);
  123. }
  124. std::string FindImagesRequest::getTagNames()const
  125. {
  126. return tagNames_;
  127. }
  128. void FindImagesRequest::setTagNames(const std::string& tagNames)
  129. {
  130. tagNames_ = tagNames;
  131. setParameter("TagNames", tagNames);
  132. }
  133. std::string FindImagesRequest::getMarker()const
  134. {
  135. return marker_;
  136. }
  137. void FindImagesRequest::setMarker(const std::string& marker)
  138. {
  139. marker_ = marker;
  140. setParameter("Marker", marker);
  141. }
  142. std::string FindImagesRequest::getRemarksCPrefix()const
  143. {
  144. return remarksCPrefix_;
  145. }
  146. void FindImagesRequest::setRemarksCPrefix(const std::string& remarksCPrefix)
  147. {
  148. remarksCPrefix_ = remarksCPrefix;
  149. setParameter("RemarksCPrefix", remarksCPrefix);
  150. }
  151. std::string FindImagesRequest::getModifyTimeRange()const
  152. {
  153. return modifyTimeRange_;
  154. }
  155. void FindImagesRequest::setModifyTimeRange(const std::string& modifyTimeRange)
  156. {
  157. modifyTimeRange_ = modifyTimeRange;
  158. setParameter("ModifyTimeRange", modifyTimeRange);
  159. }
  160. std::string FindImagesRequest::getAddressLineContentsMatch()const
  161. {
  162. return addressLineContentsMatch_;
  163. }
  164. void FindImagesRequest::setAddressLineContentsMatch(const std::string& addressLineContentsMatch)
  165. {
  166. addressLineContentsMatch_ = addressLineContentsMatch;
  167. setParameter("AddressLineContentsMatch", addressLineContentsMatch);
  168. }
  169. std::string FindImagesRequest::getGender()const
  170. {
  171. return gender_;
  172. }
  173. void FindImagesRequest::setGender(const std::string& gender)
  174. {
  175. gender_ = gender;
  176. setParameter("Gender", gender);
  177. }
  178. std::string FindImagesRequest::getRemarksArrayAIn()const
  179. {
  180. return remarksArrayAIn_;
  181. }
  182. void FindImagesRequest::setRemarksArrayAIn(const std::string& remarksArrayAIn)
  183. {
  184. remarksArrayAIn_ = remarksArrayAIn;
  185. setParameter("RemarksArrayAIn", remarksArrayAIn);
  186. }
  187. std::string FindImagesRequest::getImageSizeRange()const
  188. {
  189. return imageSizeRange_;
  190. }
  191. void FindImagesRequest::setImageSizeRange(const std::string& imageSizeRange)
  192. {
  193. imageSizeRange_ = imageSizeRange;
  194. setParameter("ImageSizeRange", imageSizeRange);
  195. }
  196. std::string FindImagesRequest::getRemarksBPrefix()const
  197. {
  198. return remarksBPrefix_;
  199. }
  200. void FindImagesRequest::setRemarksBPrefix(const std::string& remarksBPrefix)
  201. {
  202. remarksBPrefix_ = remarksBPrefix;
  203. setParameter("RemarksBPrefix", remarksBPrefix);
  204. }
  205. std::string FindImagesRequest::getAccessKeyId()const
  206. {
  207. return accessKeyId_;
  208. }
  209. void FindImagesRequest::setAccessKeyId(const std::string& accessKeyId)
  210. {
  211. accessKeyId_ = accessKeyId;
  212. setParameter("AccessKeyId", accessKeyId);
  213. }
  214. std::string FindImagesRequest::getLocationBoundary()const
  215. {
  216. return locationBoundary_;
  217. }
  218. void FindImagesRequest::setLocationBoundary(const std::string& locationBoundary)
  219. {
  220. locationBoundary_ = locationBoundary;
  221. setParameter("LocationBoundary", locationBoundary);
  222. }
  223. std::string FindImagesRequest::getImageTimeRange()const
  224. {
  225. return imageTimeRange_;
  226. }
  227. void FindImagesRequest::setImageTimeRange(const std::string& imageTimeRange)
  228. {
  229. imageTimeRange_ = imageTimeRange;
  230. setParameter("ImageTimeRange", imageTimeRange);
  231. }
  232. std::string FindImagesRequest::getTagsModifyTimeRange()const
  233. {
  234. return tagsModifyTimeRange_;
  235. }
  236. void FindImagesRequest::setTagsModifyTimeRange(const std::string& tagsModifyTimeRange)
  237. {
  238. tagsModifyTimeRange_ = tagsModifyTimeRange;
  239. setParameter("TagsModifyTimeRange", tagsModifyTimeRange);
  240. }
  241. std::string FindImagesRequest::getAgeRange()const
  242. {
  243. return ageRange_;
  244. }
  245. void FindImagesRequest::setAgeRange(const std::string& ageRange)
  246. {
  247. ageRange_ = ageRange;
  248. setParameter("AgeRange", ageRange);
  249. }
  250. std::string FindImagesRequest::getRemarksAPrefix()const
  251. {
  252. return remarksAPrefix_;
  253. }
  254. void FindImagesRequest::setRemarksAPrefix(const std::string& remarksAPrefix)
  255. {
  256. remarksAPrefix_ = remarksAPrefix;
  257. setParameter("RemarksAPrefix", remarksAPrefix);
  258. }
  259. std::string FindImagesRequest::getSourceUriPrefix()const
  260. {
  261. return sourceUriPrefix_;
  262. }
  263. void FindImagesRequest::setSourceUriPrefix(const std::string& sourceUriPrefix)
  264. {
  265. sourceUriPrefix_ = sourceUriPrefix;
  266. setParameter("SourceUriPrefix", sourceUriPrefix);
  267. }
  268. std::string FindImagesRequest::getEmotion()const
  269. {
  270. return emotion_;
  271. }
  272. void FindImagesRequest::setEmotion(const std::string& emotion)
  273. {
  274. emotion_ = emotion;
  275. setParameter("Emotion", emotion);
  276. }
  277. std::string FindImagesRequest::getCreateTimeRange()const
  278. {
  279. return createTimeRange_;
  280. }
  281. void FindImagesRequest::setCreateTimeRange(const std::string& createTimeRange)
  282. {
  283. createTimeRange_ = createTimeRange;
  284. setParameter("CreateTimeRange", createTimeRange);
  285. }
  286. std::string FindImagesRequest::getSetId()const
  287. {
  288. return setId_;
  289. }
  290. void FindImagesRequest::setSetId(const std::string& setId)
  291. {
  292. setId_ = setId;
  293. setParameter("SetId", setId);
  294. }