CreateGrabFrameTaskRequest.cc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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/CreateGrabFrameTaskRequest.h>
  17. using AlibabaCloud::Imm::Model::CreateGrabFrameTaskRequest;
  18. CreateGrabFrameTaskRequest::CreateGrabFrameTaskRequest() :
  19. RpcServiceRequest("imm", "2017-09-06", "CreateGrabFrameTask")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. CreateGrabFrameTaskRequest::~CreateGrabFrameTaskRequest()
  24. {}
  25. std::string CreateGrabFrameTaskRequest::getProject()const
  26. {
  27. return project_;
  28. }
  29. void CreateGrabFrameTaskRequest::setProject(const std::string& project)
  30. {
  31. project_ = project;
  32. setParameter("Project", project);
  33. }
  34. std::string CreateGrabFrameTaskRequest::getAccessKeyId()const
  35. {
  36. return accessKeyId_;
  37. }
  38. void CreateGrabFrameTaskRequest::setAccessKeyId(const std::string& accessKeyId)
  39. {
  40. accessKeyId_ = accessKeyId;
  41. setParameter("AccessKeyId", accessKeyId);
  42. }
  43. std::string CreateGrabFrameTaskRequest::getNotifyEndpoint()const
  44. {
  45. return notifyEndpoint_;
  46. }
  47. void CreateGrabFrameTaskRequest::setNotifyEndpoint(const std::string& notifyEndpoint)
  48. {
  49. notifyEndpoint_ = notifyEndpoint;
  50. setParameter("NotifyEndpoint", notifyEndpoint);
  51. }
  52. std::string CreateGrabFrameTaskRequest::getCustomMessage()const
  53. {
  54. return customMessage_;
  55. }
  56. void CreateGrabFrameTaskRequest::setCustomMessage(const std::string& customMessage)
  57. {
  58. customMessage_ = customMessage;
  59. setParameter("CustomMessage", customMessage);
  60. }
  61. std::string CreateGrabFrameTaskRequest::getNotifyTopicName()const
  62. {
  63. return notifyTopicName_;
  64. }
  65. void CreateGrabFrameTaskRequest::setNotifyTopicName(const std::string& notifyTopicName)
  66. {
  67. notifyTopicName_ = notifyTopicName;
  68. setParameter("NotifyTopicName", notifyTopicName);
  69. }
  70. std::string CreateGrabFrameTaskRequest::getTargetList()const
  71. {
  72. return targetList_;
  73. }
  74. void CreateGrabFrameTaskRequest::setTargetList(const std::string& targetList)
  75. {
  76. targetList_ = targetList;
  77. setParameter("TargetList", targetList);
  78. }
  79. std::string CreateGrabFrameTaskRequest::getVideoUri()const
  80. {
  81. return videoUri_;
  82. }
  83. void CreateGrabFrameTaskRequest::setVideoUri(const std::string& videoUri)
  84. {
  85. videoUri_ = videoUri;
  86. setParameter("VideoUri", videoUri);
  87. }