DescribeRtcChannelListRequest.cc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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/DescribeRtcChannelListRequest.h>
  17. using AlibabaCloud::Rtc::Model::DescribeRtcChannelListRequest;
  18. DescribeRtcChannelListRequest::DescribeRtcChannelListRequest() :
  19. RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcChannelList")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. DescribeRtcChannelListRequest::~DescribeRtcChannelListRequest()
  24. {}
  25. std::string DescribeRtcChannelListRequest::getSortType()const
  26. {
  27. return sortType_;
  28. }
  29. void DescribeRtcChannelListRequest::setSortType(const std::string& sortType)
  30. {
  31. sortType_ = sortType;
  32. setParameter("SortType", sortType);
  33. }
  34. std::string DescribeRtcChannelListRequest::getUserId()const
  35. {
  36. return userId_;
  37. }
  38. void DescribeRtcChannelListRequest::setUserId(const std::string& userId)
  39. {
  40. userId_ = userId;
  41. setParameter("UserId", userId);
  42. }
  43. std::string DescribeRtcChannelListRequest::getServiceArea()const
  44. {
  45. return serviceArea_;
  46. }
  47. void DescribeRtcChannelListRequest::setServiceArea(const std::string& serviceArea)
  48. {
  49. serviceArea_ = serviceArea;
  50. setParameter("ServiceArea", serviceArea);
  51. }
  52. long DescribeRtcChannelListRequest::getPageSize()const
  53. {
  54. return pageSize_;
  55. }
  56. void DescribeRtcChannelListRequest::setPageSize(long pageSize)
  57. {
  58. pageSize_ = pageSize;
  59. setParameter("PageSize", std::to_string(pageSize));
  60. }
  61. long DescribeRtcChannelListRequest::getOwnerId()const
  62. {
  63. return ownerId_;
  64. }
  65. void DescribeRtcChannelListRequest::setOwnerId(long ownerId)
  66. {
  67. ownerId_ = ownerId;
  68. setParameter("OwnerId", std::to_string(ownerId));
  69. }
  70. long DescribeRtcChannelListRequest::getPageNo()const
  71. {
  72. return pageNo_;
  73. }
  74. void DescribeRtcChannelListRequest::setPageNo(long pageNo)
  75. {
  76. pageNo_ = pageNo;
  77. setParameter("PageNo", std::to_string(pageNo));
  78. }
  79. std::string DescribeRtcChannelListRequest::getAppId()const
  80. {
  81. return appId_;
  82. }
  83. void DescribeRtcChannelListRequest::setAppId(const std::string& appId)
  84. {
  85. appId_ = appId;
  86. setParameter("AppId", appId);
  87. }
  88. std::string DescribeRtcChannelListRequest::getChannelId()const
  89. {
  90. return channelId_;
  91. }
  92. void DescribeRtcChannelListRequest::setChannelId(const std::string& channelId)
  93. {
  94. channelId_ = channelId;
  95. setParameter("ChannelId", channelId);
  96. }
  97. std::string DescribeRtcChannelListRequest::getTimePoint()const
  98. {
  99. return timePoint_;
  100. }
  101. void DescribeRtcChannelListRequest::setTimePoint(const std::string& timePoint)
  102. {
  103. timePoint_ = timePoint;
  104. setParameter("TimePoint", timePoint);
  105. }