DescribeCasterProgramRequest.cc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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/DescribeCasterProgramRequest.h>
  17. using AlibabaCloud::Live::Model::DescribeCasterProgramRequest;
  18. DescribeCasterProgramRequest::DescribeCasterProgramRequest() :
  19. RpcServiceRequest("live", "2016-11-01", "DescribeCasterProgram")
  20. {}
  21. DescribeCasterProgramRequest::~DescribeCasterProgramRequest()
  22. {}
  23. std::string DescribeCasterProgramRequest::getStartTime()const
  24. {
  25. return startTime_;
  26. }
  27. void DescribeCasterProgramRequest::setStartTime(const std::string& startTime)
  28. {
  29. startTime_ = startTime;
  30. setCoreParameter("StartTime", startTime);
  31. }
  32. int DescribeCasterProgramRequest::getPageNum()const
  33. {
  34. return pageNum_;
  35. }
  36. void DescribeCasterProgramRequest::setPageNum(int pageNum)
  37. {
  38. pageNum_ = pageNum;
  39. setCoreParameter("PageNum", std::to_string(pageNum));
  40. }
  41. int DescribeCasterProgramRequest::getPageSize()const
  42. {
  43. return pageSize_;
  44. }
  45. void DescribeCasterProgramRequest::setPageSize(int pageSize)
  46. {
  47. pageSize_ = pageSize;
  48. setCoreParameter("PageSize", std::to_string(pageSize));
  49. }
  50. std::string DescribeCasterProgramRequest::getCasterId()const
  51. {
  52. return casterId_;
  53. }
  54. void DescribeCasterProgramRequest::setCasterId(const std::string& casterId)
  55. {
  56. casterId_ = casterId;
  57. setCoreParameter("CasterId", casterId);
  58. }
  59. std::string DescribeCasterProgramRequest::getEpisodeType()const
  60. {
  61. return episodeType_;
  62. }
  63. void DescribeCasterProgramRequest::setEpisodeType(const std::string& episodeType)
  64. {
  65. episodeType_ = episodeType;
  66. setCoreParameter("EpisodeType", episodeType);
  67. }
  68. std::string DescribeCasterProgramRequest::getEndTime()const
  69. {
  70. return endTime_;
  71. }
  72. void DescribeCasterProgramRequest::setEndTime(const std::string& endTime)
  73. {
  74. endTime_ = endTime;
  75. setCoreParameter("EndTime", endTime);
  76. }
  77. long DescribeCasterProgramRequest::getOwnerId()const
  78. {
  79. return ownerId_;
  80. }
  81. void DescribeCasterProgramRequest::setOwnerId(long ownerId)
  82. {
  83. ownerId_ = ownerId;
  84. setCoreParameter("OwnerId", std::to_string(ownerId));
  85. }
  86. std::string DescribeCasterProgramRequest::getEpisodeId()const
  87. {
  88. return episodeId_;
  89. }
  90. void DescribeCasterProgramRequest::setEpisodeId(const std::string& episodeId)
  91. {
  92. episodeId_ = episodeId;
  93. setCoreParameter("EpisodeId", episodeId);
  94. }
  95. int DescribeCasterProgramRequest::getStatus()const
  96. {
  97. return status_;
  98. }
  99. void DescribeCasterProgramRequest::setStatus(int status)
  100. {
  101. status_ = status;
  102. setCoreParameter("Status", std::to_string(status));
  103. }