DescribeChannelParticipantsRequest.cc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. #include <alibabacloud/rtc/model/DescribeChannelParticipantsRequest.h>
  17. using AlibabaCloud::Rtc::Model::DescribeChannelParticipantsRequest;
  18. DescribeChannelParticipantsRequest::DescribeChannelParticipantsRequest()
  19. : RpcServiceRequest("rtc", "2018-01-11", "DescribeChannelParticipants") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeChannelParticipantsRequest::~DescribeChannelParticipantsRequest() {}
  23. int DescribeChannelParticipantsRequest::getPageNum() const {
  24. return pageNum_;
  25. }
  26. void DescribeChannelParticipantsRequest::setPageNum(int pageNum) {
  27. pageNum_ = pageNum;
  28. setParameter(std::string("PageNum"), std::to_string(pageNum));
  29. }
  30. int DescribeChannelParticipantsRequest::getPageSize() const {
  31. return pageSize_;
  32. }
  33. void DescribeChannelParticipantsRequest::setPageSize(int pageSize) {
  34. pageSize_ = pageSize;
  35. setParameter(std::string("PageSize"), std::to_string(pageSize));
  36. }
  37. std::string DescribeChannelParticipantsRequest::getShowLog() const {
  38. return showLog_;
  39. }
  40. void DescribeChannelParticipantsRequest::setShowLog(const std::string &showLog) {
  41. showLog_ = showLog;
  42. setParameter(std::string("ShowLog"), showLog);
  43. }
  44. std::string DescribeChannelParticipantsRequest::getOrder() const {
  45. return order_;
  46. }
  47. void DescribeChannelParticipantsRequest::setOrder(const std::string &order) {
  48. order_ = order;
  49. setParameter(std::string("Order"), order);
  50. }
  51. long DescribeChannelParticipantsRequest::getOwnerId() const {
  52. return ownerId_;
  53. }
  54. void DescribeChannelParticipantsRequest::setOwnerId(long ownerId) {
  55. ownerId_ = ownerId;
  56. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  57. }
  58. std::string DescribeChannelParticipantsRequest::getAppId() const {
  59. return appId_;
  60. }
  61. void DescribeChannelParticipantsRequest::setAppId(const std::string &appId) {
  62. appId_ = appId;
  63. setParameter(std::string("AppId"), appId);
  64. }
  65. std::string DescribeChannelParticipantsRequest::getChannelId() const {
  66. return channelId_;
  67. }
  68. void DescribeChannelParticipantsRequest::setChannelId(const std::string &channelId) {
  69. channelId_ = channelId;
  70. setParameter(std::string("ChannelId"), channelId);
  71. }