DescribeRecordFilesRequest.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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/DescribeRecordFilesRequest.h>
  17. using AlibabaCloud::Rtc::Model::DescribeRecordFilesRequest;
  18. DescribeRecordFilesRequest::DescribeRecordFilesRequest() :
  19. RpcServiceRequest("rtc", "2018-01-11", "DescribeRecordFiles")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. DescribeRecordFilesRequest::~DescribeRecordFilesRequest()
  24. {}
  25. std::string DescribeRecordFilesRequest::getStartTime()const
  26. {
  27. return startTime_;
  28. }
  29. void DescribeRecordFilesRequest::setStartTime(const std::string& startTime)
  30. {
  31. startTime_ = startTime;
  32. setParameter("StartTime", startTime);
  33. }
  34. int DescribeRecordFilesRequest::getPageNum()const
  35. {
  36. return pageNum_;
  37. }
  38. void DescribeRecordFilesRequest::setPageNum(int pageNum)
  39. {
  40. pageNum_ = pageNum;
  41. setParameter("PageNum", std::to_string(pageNum));
  42. }
  43. std::vector<std::string> DescribeRecordFilesRequest::getTaskIds()const
  44. {
  45. return taskIds_;
  46. }
  47. void DescribeRecordFilesRequest::setTaskIds(const std::vector<std::string>& taskIds)
  48. {
  49. taskIds_ = taskIds;
  50. for(int dep1 = 0; dep1!= taskIds.size(); dep1++) {
  51. setParameter("TaskIds."+ std::to_string(dep1), taskIds.at(dep1));
  52. }
  53. }
  54. int DescribeRecordFilesRequest::getPageSize()const
  55. {
  56. return pageSize_;
  57. }
  58. void DescribeRecordFilesRequest::setPageSize(int pageSize)
  59. {
  60. pageSize_ = pageSize;
  61. setParameter("PageSize", std::to_string(pageSize));
  62. }
  63. std::string DescribeRecordFilesRequest::getShowLog()const
  64. {
  65. return showLog_;
  66. }
  67. void DescribeRecordFilesRequest::setShowLog(const std::string& showLog)
  68. {
  69. showLog_ = showLog;
  70. setParameter("ShowLog", showLog);
  71. }
  72. std::string DescribeRecordFilesRequest::getEndTime()const
  73. {
  74. return endTime_;
  75. }
  76. void DescribeRecordFilesRequest::setEndTime(const std::string& endTime)
  77. {
  78. endTime_ = endTime;
  79. setParameter("EndTime", endTime);
  80. }
  81. long DescribeRecordFilesRequest::getOwnerId()const
  82. {
  83. return ownerId_;
  84. }
  85. void DescribeRecordFilesRequest::setOwnerId(long ownerId)
  86. {
  87. ownerId_ = ownerId;
  88. setParameter("OwnerId", std::to_string(ownerId));
  89. }
  90. std::string DescribeRecordFilesRequest::getAppId()const
  91. {
  92. return appId_;
  93. }
  94. void DescribeRecordFilesRequest::setAppId(const std::string& appId)
  95. {
  96. appId_ = appId;
  97. setParameter("AppId", appId);
  98. }
  99. std::string DescribeRecordFilesRequest::getChannelId()const
  100. {
  101. return channelId_;
  102. }
  103. void DescribeRecordFilesRequest::setChannelId(const std::string& channelId)
  104. {
  105. channelId_ = channelId;
  106. setParameter("ChannelId", channelId);
  107. }