ModifyCasterComponentRequest.cc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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/ModifyCasterComponentRequest.h>
  17. using AlibabaCloud::Live::Model::ModifyCasterComponentRequest;
  18. ModifyCasterComponentRequest::ModifyCasterComponentRequest() :
  19. RpcServiceRequest("live", "2016-11-01", "ModifyCasterComponent")
  20. {}
  21. ModifyCasterComponentRequest::~ModifyCasterComponentRequest()
  22. {}
  23. std::string ModifyCasterComponentRequest::getComponentId()const
  24. {
  25. return componentId_;
  26. }
  27. void ModifyCasterComponentRequest::setComponentId(const std::string& componentId)
  28. {
  29. componentId_ = componentId;
  30. setParameter("ComponentId", componentId);
  31. }
  32. std::string ModifyCasterComponentRequest::getComponentType()const
  33. {
  34. return componentType_;
  35. }
  36. void ModifyCasterComponentRequest::setComponentType(const std::string& componentType)
  37. {
  38. componentType_ = componentType;
  39. setParameter("ComponentType", componentType);
  40. }
  41. std::string ModifyCasterComponentRequest::getImageLayerContent()const
  42. {
  43. return imageLayerContent_;
  44. }
  45. void ModifyCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent)
  46. {
  47. imageLayerContent_ = imageLayerContent;
  48. setParameter("ImageLayerContent", imageLayerContent);
  49. }
  50. std::string ModifyCasterComponentRequest::getCasterId()const
  51. {
  52. return casterId_;
  53. }
  54. void ModifyCasterComponentRequest::setCasterId(const std::string& casterId)
  55. {
  56. casterId_ = casterId;
  57. setParameter("CasterId", casterId);
  58. }
  59. std::string ModifyCasterComponentRequest::getEffect()const
  60. {
  61. return effect_;
  62. }
  63. void ModifyCasterComponentRequest::setEffect(const std::string& effect)
  64. {
  65. effect_ = effect;
  66. setParameter("Effect", effect);
  67. }
  68. std::string ModifyCasterComponentRequest::getComponentLayer()const
  69. {
  70. return componentLayer_;
  71. }
  72. void ModifyCasterComponentRequest::setComponentLayer(const std::string& componentLayer)
  73. {
  74. componentLayer_ = componentLayer;
  75. setParameter("ComponentLayer", componentLayer);
  76. }
  77. std::string ModifyCasterComponentRequest::getCaptionLayerContent()const
  78. {
  79. return captionLayerContent_;
  80. }
  81. void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent)
  82. {
  83. captionLayerContent_ = captionLayerContent;
  84. setParameter("CaptionLayerContent", captionLayerContent);
  85. }
  86. std::string ModifyCasterComponentRequest::getComponentName()const
  87. {
  88. return componentName_;
  89. }
  90. void ModifyCasterComponentRequest::setComponentName(const std::string& componentName)
  91. {
  92. componentName_ = componentName;
  93. setParameter("ComponentName", componentName);
  94. }
  95. long ModifyCasterComponentRequest::getOwnerId()const
  96. {
  97. return ownerId_;
  98. }
  99. void ModifyCasterComponentRequest::setOwnerId(long ownerId)
  100. {
  101. ownerId_ = ownerId;
  102. setParameter("OwnerId", std::to_string(ownerId));
  103. }
  104. std::string ModifyCasterComponentRequest::getTextLayerContent()const
  105. {
  106. return textLayerContent_;
  107. }
  108. void ModifyCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent)
  109. {
  110. textLayerContent_ = textLayerContent;
  111. setParameter("TextLayerContent", textLayerContent);
  112. }