DetectVideoFrameRequest.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_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
  17. #define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
  18. #include <alibabacloud/objectdet/ObjectdetExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Objectdet {
  25. namespace Model {
  26. class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoFrameRequest : public RpcServiceRequest {
  27. public:
  28. DetectVideoFrameRequest();
  29. ~DetectVideoFrameRequest();
  30. bool getFormatResultToJson() const;
  31. void setFormatResultToJson(bool formatResultToJson);
  32. std::vector<std::string> getFeatures() const;
  33. void setFeatures(const std::vector<std::string> &features);
  34. std::string getOssFile() const;
  35. void setOssFile(const std::string &ossFile);
  36. long getHeight() const;
  37. void setHeight(long height);
  38. long getCreateTime() const;
  39. void setCreateTime(long createTime);
  40. std::string getFeatureConfig() const;
  41. void setFeatureConfig(const std::string &featureConfig);
  42. long getOwnerId() const;
  43. void setOwnerId(long ownerId);
  44. std::string getRequestProxyBy() const;
  45. void setRequestProxyBy(const std::string &requestProxyBy);
  46. std::string getStreamArn() const;
  47. void setStreamArn(const std::string &streamArn);
  48. std::string getImageURL() const;
  49. void setImageURL(const std::string &imageURL);
  50. long getWidth() const;
  51. void setWidth(long width);
  52. private:
  53. bool formatResultToJson_;
  54. std::vector<std::string> features_;
  55. std::string ossFile_;
  56. long height_;
  57. long createTime_;
  58. std::string featureConfig_;
  59. long ownerId_;
  60. std::string requestProxyBy_;
  61. std::string streamArn_;
  62. std::string imageURL_;
  63. long width_;
  64. };
  65. } // namespace Model
  66. } // namespace Objectdet
  67. } // namespace AlibabaCloud
  68. #endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_