DescribeRTSNativeSDKPlayFailStatusRequest.cc 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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/live/model/DescribeRTSNativeSDKPlayFailStatusRequest.h>
  17. using AlibabaCloud::Live::Model::DescribeRTSNativeSDKPlayFailStatusRequest;
  18. DescribeRTSNativeSDKPlayFailStatusRequest::DescribeRTSNativeSDKPlayFailStatusRequest()
  19. : RpcServiceRequest("live", "2016-11-01", "DescribeRTSNativeSDKPlayFailStatus") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeRTSNativeSDKPlayFailStatusRequest::~DescribeRTSNativeSDKPlayFailStatusRequest() {}
  23. std::string DescribeRTSNativeSDKPlayFailStatusRequest::getEndTime() const {
  24. return endTime_;
  25. }
  26. void DescribeRTSNativeSDKPlayFailStatusRequest::setEndTime(const std::string &endTime) {
  27. endTime_ = endTime;
  28. setParameter(std::string("EndTime"), endTime);
  29. }
  30. std::vector<DescribeRTSNativeSDKPlayFailStatusRequest::std::string> DescribeRTSNativeSDKPlayFailStatusRequest::getDomainNameList() const {
  31. return domainNameList_;
  32. }
  33. void DescribeRTSNativeSDKPlayFailStatusRequest::setDomainNameList(const std::vector<DescribeRTSNativeSDKPlayFailStatusRequest::std::string> &domainNameList) {
  34. domainNameList_ = domainNameList;
  35. for(int dep1 = 0; dep1 != domainNameList.size(); dep1++) {
  36. setParameter(std::string("DomainNameList") + "." + std::to_string(dep1 + 1), domainNameList[dep1]);
  37. }
  38. }
  39. std::string DescribeRTSNativeSDKPlayFailStatusRequest::getStartTime() const {
  40. return startTime_;
  41. }
  42. void DescribeRTSNativeSDKPlayFailStatusRequest::setStartTime(const std::string &startTime) {
  43. startTime_ = startTime;
  44. setParameter(std::string("StartTime"), startTime);
  45. }
  46. std::string DescribeRTSNativeSDKPlayFailStatusRequest::getDataInterval() const {
  47. return dataInterval_;
  48. }
  49. void DescribeRTSNativeSDKPlayFailStatusRequest::setDataInterval(const std::string &dataInterval) {
  50. dataInterval_ = dataInterval;
  51. setParameter(std::string("DataInterval"), dataInterval);
  52. }