SetLiveStreamsNotifyUrlConfigRequest.cc 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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/SetLiveStreamsNotifyUrlConfigRequest.h>
  17. using AlibabaCloud::Live::Model::SetLiveStreamsNotifyUrlConfigRequest;
  18. SetLiveStreamsNotifyUrlConfigRequest::SetLiveStreamsNotifyUrlConfigRequest() :
  19. RpcServiceRequest("live", "2016-11-01", "SetLiveStreamsNotifyUrlConfig")
  20. {}
  21. SetLiveStreamsNotifyUrlConfigRequest::~SetLiveStreamsNotifyUrlConfigRequest()
  22. {}
  23. std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthKey()const
  24. {
  25. return authKey_;
  26. }
  27. void SetLiveStreamsNotifyUrlConfigRequest::setAuthKey(const std::string& authKey)
  28. {
  29. authKey_ = authKey;
  30. setCoreParameter("AuthKey", authKey);
  31. }
  32. std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType()const
  33. {
  34. return authType_;
  35. }
  36. void SetLiveStreamsNotifyUrlConfigRequest::setAuthType(const std::string& authType)
  37. {
  38. authType_ = authType;
  39. setCoreParameter("AuthType", authType);
  40. }
  41. std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const
  42. {
  43. return notifyUrl_;
  44. }
  45. void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl)
  46. {
  47. notifyUrl_ = notifyUrl;
  48. setCoreParameter("NotifyUrl", notifyUrl);
  49. }
  50. std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const
  51. {
  52. return domainName_;
  53. }
  54. void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName)
  55. {
  56. domainName_ = domainName;
  57. setCoreParameter("DomainName", domainName);
  58. }
  59. long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const
  60. {
  61. return ownerId_;
  62. }
  63. void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId)
  64. {
  65. ownerId_ = ownerId;
  66. setCoreParameter("OwnerId", std::to_string(ownerId));
  67. }