AddLiveRecordVodConfigRequest.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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/AddLiveRecordVodConfigRequest.h>
  17. using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest;
  18. AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() :
  19. RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig")
  20. {}
  21. AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest()
  22. {}
  23. std::string AddLiveRecordVodConfigRequest::getAppName()const
  24. {
  25. return appName_;
  26. }
  27. void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName)
  28. {
  29. appName_ = appName;
  30. setParameter("AppName", appName);
  31. }
  32. std::string AddLiveRecordVodConfigRequest::getAutoCompose()const
  33. {
  34. return autoCompose_;
  35. }
  36. void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose)
  37. {
  38. autoCompose_ = autoCompose;
  39. setParameter("AutoCompose", autoCompose);
  40. }
  41. std::string AddLiveRecordVodConfigRequest::getDomainName()const
  42. {
  43. return domainName_;
  44. }
  45. void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
  46. {
  47. domainName_ = domainName;
  48. setParameter("DomainName", domainName);
  49. }
  50. int AddLiveRecordVodConfigRequest::getCycleDuration()const
  51. {
  52. return cycleDuration_;
  53. }
  54. void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration)
  55. {
  56. cycleDuration_ = cycleDuration;
  57. setParameter("CycleDuration", std::to_string(cycleDuration));
  58. }
  59. long AddLiveRecordVodConfigRequest::getOwnerId()const
  60. {
  61. return ownerId_;
  62. }
  63. void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId)
  64. {
  65. ownerId_ = ownerId;
  66. setParameter("OwnerId", std::to_string(ownerId));
  67. }
  68. std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const
  69. {
  70. return composeVodTranscodeGroupId_;
  71. }
  72. void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId)
  73. {
  74. composeVodTranscodeGroupId_ = composeVodTranscodeGroupId;
  75. setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId);
  76. }
  77. std::string AddLiveRecordVodConfigRequest::getStreamName()const
  78. {
  79. return streamName_;
  80. }
  81. void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName)
  82. {
  83. streamName_ = streamName;
  84. setParameter("StreamName", streamName);
  85. }
  86. std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const
  87. {
  88. return vodTranscodeGroupId_;
  89. }
  90. void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId)
  91. {
  92. vodTranscodeGroupId_ = vodTranscodeGroupId;
  93. setParameter("VodTranscodeGroupId", vodTranscodeGroupId);
  94. }