CreateMPULayoutRequest.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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_RTC_MODEL_CREATEMPULAYOUTREQUEST_H_
  17. #define ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/rtc/RtcExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Rtc
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_RTC_EXPORT CreateMPULayoutRequest : public RpcServiceRequest
  29. {
  30. public:
  31. struct Panes
  32. {
  33. int paneId;
  34. int majorPane;
  35. float x;
  36. float y;
  37. float width;
  38. float height;
  39. int zOrder;
  40. };
  41. public:
  42. CreateMPULayoutRequest();
  43. ~CreateMPULayoutRequest();
  44. std::vector<Panes> getPanes()const;
  45. void setPanes(const std::vector<Panes>& panes);
  46. std::string getShowLog()const;
  47. void setShowLog(const std::string& showLog);
  48. long getOwnerId()const;
  49. void setOwnerId(long ownerId);
  50. std::string getAppId()const;
  51. void setAppId(const std::string& appId);
  52. std::string getName()const;
  53. void setName(const std::string& name);
  54. int getAudioMixCount()const;
  55. void setAudioMixCount(int audioMixCount);
  56. private:
  57. std::vector<Panes> panes_;
  58. std::string showLog_;
  59. long ownerId_;
  60. std::string appId_;
  61. std::string name_;
  62. int audioMixCount_;
  63. };
  64. }
  65. }
  66. }
  67. #endif // !ALIBABACLOUD_RTC_MODEL_CREATEMPULAYOUTREQUEST_H_