AddCustomLiveStreamTranscodeRequest.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_
  17. #define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_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 AddCustomLiveStreamTranscodeRequest : public RpcServiceRequest {
  27. public:
  28. AddCustomLiveStreamTranscodeRequest();
  29. ~AddCustomLiveStreamTranscodeRequest();
  30. std::string getResWithSource() const;
  31. void setResWithSource(const std::string &resWithSource);
  32. std::string getGop() const;
  33. void setGop(const std::string &gop);
  34. std::string getAudioCodec() const;
  35. void setAudioCodec(const std::string &audioCodec);
  36. std::string getKmsUID() const;
  37. void setKmsUID(const std::string &kmsUID);
  38. int getHeight() const;
  39. void setHeight(int height);
  40. std::string getApp() const;
  41. void setApp(const std::string &app);
  42. int getProfile() const;
  43. void setProfile(int profile);
  44. long getOwnerId() const;
  45. void setOwnerId(long ownerId);
  46. std::string getExtWithSource() const;
  47. void setExtWithSource(const std::string &extWithSource);
  48. std::string getBitrateWithSource() const;
  49. void setBitrateWithSource(const std::string &bitrateWithSource);
  50. std::string getDomain() const;
  51. void setDomain(const std::string &domain);
  52. std::string get_Template() const;
  53. void set_Template(const std::string &_template);
  54. std::string getLazy() const;
  55. void setLazy(const std::string &lazy);
  56. std::string getKmsKeyExpireInterval() const;
  57. void setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval);
  58. std::string getTemplateType() const;
  59. void setTemplateType(const std::string &templateType);
  60. std::string getAudioProfile() const;
  61. void setAudioProfile(const std::string &audioProfile);
  62. std::string getEncryptParameters() const;
  63. void setEncryptParameters(const std::string &encryptParameters);
  64. int getAudioChannelNum() const;
  65. void setAudioChannelNum(int audioChannelNum);
  66. int getFPS() const;
  67. void setFPS(int fPS);
  68. int getAudioRate() const;
  69. void setAudioRate(int audioRate);
  70. std::string getFpsWithSource() const;
  71. void setFpsWithSource(const std::string &fpsWithSource);
  72. int getAudioBitrate() const;
  73. void setAudioBitrate(int audioBitrate);
  74. int getWidth() const;
  75. void setWidth(int width);
  76. int getVideoBitrate() const;
  77. void setVideoBitrate(int videoBitrate);
  78. std::string getKmsKeyID() const;
  79. void setKmsKeyID(const std::string &kmsKeyID);
  80. private:
  81. std::string resWithSource_;
  82. std::string gop_;
  83. std::string audioCodec_;
  84. std::string kmsUID_;
  85. int height_;
  86. std::string app_;
  87. int profile_;
  88. long ownerId_;
  89. std::string extWithSource_;
  90. std::string bitrateWithSource_;
  91. std::string domain_;
  92. std::string _template_;
  93. std::string lazy_;
  94. std::string kmsKeyExpireInterval_;
  95. std::string templateType_;
  96. std::string audioProfile_;
  97. std::string encryptParameters_;
  98. int audioChannelNum_;
  99. int fPS_;
  100. int audioRate_;
  101. std::string fpsWithSource_;
  102. int audioBitrate_;
  103. int width_;
  104. int videoBitrate_;
  105. std::string kmsKeyID_;
  106. };
  107. } // namespace Model
  108. } // namespace Live
  109. } // namespace AlibabaCloud
  110. #endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_