UpdateMPULayoutRequest.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_UPDATEMPULAYOUTREQUEST_H_
  17. #define ALIBABACLOUD_RTC_MODEL_UPDATEMPULAYOUTREQUEST_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 UpdateMPULayoutRequest : public RpcServiceRequest
  29. {
  30. public:
  31. struct UserPanes
  32. {
  33. int paneId;
  34. std::string userId;
  35. std::string sourceType;
  36. };
  37. public:
  38. UpdateMPULayoutRequest();
  39. ~UpdateMPULayoutRequest();
  40. std::vector<UserPanes> getUserPanes()const;
  41. void setUserPanes(const std::vector<UserPanes>& userPanes);
  42. int getBackgroundColor()const;
  43. void setBackgroundColor(int backgroundColor);
  44. int getCropMode()const;
  45. void setCropMode(int cropMode);
  46. std::vector<long> getLayoutIds()const;
  47. void setLayoutIds(const std::vector<long>& layoutIds);
  48. std::string getTaskId()const;
  49. void setTaskId(const std::string& taskId);
  50. long getOwnerId()const;
  51. void setOwnerId(long ownerId);
  52. std::string getAppId()const;
  53. void setAppId(const std::string& appId);
  54. private:
  55. std::vector<UserPanes> userPanes_;
  56. int backgroundColor_;
  57. int cropMode_;
  58. std::vector<long> layoutIds_;
  59. std::string taskId_;
  60. long ownerId_;
  61. std::string appId_;
  62. };
  63. }
  64. }
  65. }
  66. #endif // !ALIBABACLOUD_RTC_MODEL_UPDATEMPULAYOUTREQUEST_H_