PictureSearchPictureRequest.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. #ifndef ALIBABACLOUD_LINKVISUAL_MODEL_PICTURESEARCHPICTUREREQUEST_H_
  17. #define ALIBABACLOUD_LINKVISUAL_MODEL_PICTURESEARCHPICTUREREQUEST_H_
  18. #include <alibabacloud/linkvisual/LinkvisualExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Linkvisual {
  25. namespace Model {
  26. class ALIBABACLOUD_LINKVISUAL_EXPORT PictureSearchPictureRequest : public RpcServiceRequest {
  27. public:
  28. PictureSearchPictureRequest();
  29. ~PictureSearchPictureRequest();
  30. float getThreshold() const;
  31. void setThreshold(float threshold);
  32. std::string getSearchPicUrl() const;
  33. void setSearchPicUrl(const std::string &searchPicUrl);
  34. long getStartTime() const;
  35. void setStartTime(long startTime);
  36. int getPictureSearchType() const;
  37. void setPictureSearchType(int pictureSearchType);
  38. int getPageSize() const;
  39. void setPageSize(int pageSize);
  40. long getEndTime() const;
  41. void setEndTime(long endTime);
  42. int getCurrentPage() const;
  43. void setCurrentPage(int currentPage);
  44. bool getContainPicUrl() const;
  45. void setContainPicUrl(bool containPicUrl);
  46. std::string getApiProduct() const;
  47. void setApiProduct(const std::string &apiProduct);
  48. std::string getApiRevision() const;
  49. void setApiRevision(const std::string &apiRevision);
  50. std::string getAppInstanceId() const;
  51. void setAppInstanceId(const std::string &appInstanceId);
  52. private:
  53. float threshold_;
  54. std::string searchPicUrl_;
  55. long startTime_;
  56. int pictureSearchType_;
  57. int pageSize_;
  58. long endTime_;
  59. int currentPage_;
  60. bool containPicUrl_;
  61. std::string apiProduct_;
  62. std::string apiRevision_;
  63. std::string appInstanceId_;
  64. };
  65. } // namespace Model
  66. } // namespace Linkvisual
  67. } // namespace AlibabaCloud
  68. #endif // !ALIBABACLOUD_LINKVISUAL_MODEL_PICTURESEARCHPICTUREREQUEST_H_