CreateVideoAbstractTaskRequest.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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/imm/model/CreateVideoAbstractTaskRequest.h>
  17. using AlibabaCloud::Imm::Model::CreateVideoAbstractTaskRequest;
  18. CreateVideoAbstractTaskRequest::CreateVideoAbstractTaskRequest() :
  19. RpcServiceRequest("imm", "2017-09-06", "CreateVideoAbstractTask")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. CreateVideoAbstractTaskRequest::~CreateVideoAbstractTaskRequest()
  24. {}
  25. std::string CreateVideoAbstractTaskRequest::getTargetVideoUri()const
  26. {
  27. return targetVideoUri_;
  28. }
  29. void CreateVideoAbstractTaskRequest::setTargetVideoUri(const std::string& targetVideoUri)
  30. {
  31. targetVideoUri_ = targetVideoUri;
  32. setParameter("TargetVideoUri", targetVideoUri);
  33. }
  34. std::string CreateVideoAbstractTaskRequest::getProject()const
  35. {
  36. return project_;
  37. }
  38. void CreateVideoAbstractTaskRequest::setProject(const std::string& project)
  39. {
  40. project_ = project;
  41. setParameter("Project", project);
  42. }
  43. std::string CreateVideoAbstractTaskRequest::getAccessKeyId()const
  44. {
  45. return accessKeyId_;
  46. }
  47. void CreateVideoAbstractTaskRequest::setAccessKeyId(const std::string& accessKeyId)
  48. {
  49. accessKeyId_ = accessKeyId;
  50. setParameter("AccessKeyId", accessKeyId);
  51. }
  52. std::string CreateVideoAbstractTaskRequest::getNotifyEndpoint()const
  53. {
  54. return notifyEndpoint_;
  55. }
  56. void CreateVideoAbstractTaskRequest::setNotifyEndpoint(const std::string& notifyEndpoint)
  57. {
  58. notifyEndpoint_ = notifyEndpoint;
  59. setParameter("NotifyEndpoint", notifyEndpoint);
  60. }
  61. std::string CreateVideoAbstractTaskRequest::getNotifyTopicName()const
  62. {
  63. return notifyTopicName_;
  64. }
  65. void CreateVideoAbstractTaskRequest::setNotifyTopicName(const std::string& notifyTopicName)
  66. {
  67. notifyTopicName_ = notifyTopicName;
  68. setParameter("NotifyTopicName", notifyTopicName);
  69. }
  70. std::string CreateVideoAbstractTaskRequest::getVideoUri()const
  71. {
  72. return videoUri_;
  73. }
  74. void CreateVideoAbstractTaskRequest::setVideoUri(const std::string& videoUri)
  75. {
  76. videoUri_ = videoUri;
  77. setParameter("VideoUri", videoUri);
  78. }
  79. int CreateVideoAbstractTaskRequest::getAbstractLength()const
  80. {
  81. return abstractLength_;
  82. }
  83. void CreateVideoAbstractTaskRequest::setAbstractLength(int abstractLength)
  84. {
  85. abstractLength_ = abstractLength;
  86. setParameter("AbstractLength", std::to_string(abstractLength));
  87. }
  88. std::string CreateVideoAbstractTaskRequest::getTargetClipsUri()const
  89. {
  90. return targetClipsUri_;
  91. }
  92. void CreateVideoAbstractTaskRequest::setTargetClipsUri(const std::string& targetClipsUri)
  93. {
  94. targetClipsUri_ = targetClipsUri;
  95. setParameter("TargetClipsUri", targetClipsUri);
  96. }