UpdateLiveAISubtitleRequest.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_LIVE_MODEL_UPDATELIVEAISUBTITLEREQUEST_H_
  17. #define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAISUBTITLEREQUEST_H_
  18. #include <alibabacloud/live/LiveExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Live {
  25. namespace Model {
  26. class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAISubtitleRequest : public RpcServiceRequest {
  27. public:
  28. UpdateLiveAISubtitleRequest();
  29. ~UpdateLiveAISubtitleRequest();
  30. std::string getSrcLanguage() const;
  31. void setSrcLanguage(const std::string &srcLanguage);
  32. std::string getDescription() const;
  33. void setDescription(const std::string &description);
  34. std::string getFontName() const;
  35. void setFontName(const std::string &fontName);
  36. std::string getSubtitleName() const;
  37. void setSubtitleName(const std::string &subtitleName);
  38. float getFontSizeNormalized() const;
  39. void setFontSizeNormalized(float fontSizeNormalized);
  40. std::string getFontColor() const;
  41. void setFontColor(const std::string &fontColor);
  42. bool getShowSourceLan() const;
  43. void setShowSourceLan(bool showSourceLan);
  44. std::vector<float> getPositionNormalized() const;
  45. void setPositionNormalized(const std::vector<float> &positionNormalized);
  46. float getBorderWidthNormalized() const;
  47. void setBorderWidthNormalized(float borderWidthNormalized);
  48. int getMaxLines() const;
  49. void setMaxLines(int maxLines);
  50. std::string getHeight() const;
  51. void setHeight(const std::string &height);
  52. int getWordPerLine() const;
  53. void setWordPerLine(int wordPerLine);
  54. long getOwnerId() const;
  55. void setOwnerId(long ownerId);
  56. float getBgWidthNormalized() const;
  57. void setBgWidthNormalized(float bgWidthNormalized);
  58. std::string getBgColor() const;
  59. void setBgColor(const std::string &bgColor);
  60. std::string getDstLanguage() const;
  61. void setDstLanguage(const std::string &dstLanguage);
  62. std::string getWidth() const;
  63. void setWidth(const std::string &width);
  64. std::string getSubtitleId() const;
  65. void setSubtitleId(const std::string &subtitleId);
  66. private:
  67. std::string srcLanguage_;
  68. std::string description_;
  69. std::string fontName_;
  70. std::string subtitleName_;
  71. float fontSizeNormalized_;
  72. std::string fontColor_;
  73. bool showSourceLan_;
  74. std::vector<float> positionNormalized_;
  75. float borderWidthNormalized_;
  76. int maxLines_;
  77. std::string height_;
  78. int wordPerLine_;
  79. long ownerId_;
  80. float bgWidthNormalized_;
  81. std::string bgColor_;
  82. std::string dstLanguage_;
  83. std::string width_;
  84. std::string subtitleId_;
  85. };
  86. } // namespace Model
  87. } // namespace Live
  88. } // namespace AlibabaCloud
  89. #endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAISUBTITLEREQUEST_H_