IndexVideoRequest.cc 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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/IndexVideoRequest.h>
  17. using AlibabaCloud::Imm::Model::IndexVideoRequest;
  18. IndexVideoRequest::IndexVideoRequest()
  19. : RpcServiceRequest("imm", "2017-09-06", "IndexVideo") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. IndexVideoRequest::~IndexVideoRequest() {}
  23. std::string IndexVideoRequest::getGrabType() const {
  24. return grabType_;
  25. }
  26. void IndexVideoRequest::setGrabType(const std::string &grabType) {
  27. grabType_ = grabType;
  28. setParameter(std::string("GrabType"), grabType);
  29. }
  30. std::string IndexVideoRequest::getProject() const {
  31. return project_;
  32. }
  33. void IndexVideoRequest::setProject(const std::string &project) {
  34. project_ = project;
  35. setParameter(std::string("Project"), project);
  36. }
  37. std::string IndexVideoRequest::getExternalId() const {
  38. return externalId_;
  39. }
  40. void IndexVideoRequest::setExternalId(const std::string &externalId) {
  41. externalId_ = externalId;
  42. setParameter(std::string("ExternalId"), externalId);
  43. }
  44. std::string IndexVideoRequest::getStartTime() const {
  45. return startTime_;
  46. }
  47. void IndexVideoRequest::setStartTime(const std::string &startTime) {
  48. startTime_ = startTime;
  49. setParameter(std::string("StartTime"), startTime);
  50. }
  51. std::string IndexVideoRequest::getAccessKeyId() const {
  52. return accessKeyId_;
  53. }
  54. void IndexVideoRequest::setAccessKeyId(const std::string &accessKeyId) {
  55. accessKeyId_ = accessKeyId;
  56. setParameter(std::string("AccessKeyId"), accessKeyId);
  57. }
  58. std::string IndexVideoRequest::getNotifyEndpoint() const {
  59. return notifyEndpoint_;
  60. }
  61. void IndexVideoRequest::setNotifyEndpoint(const std::string &notifyEndpoint) {
  62. notifyEndpoint_ = notifyEndpoint;
  63. setParameter(std::string("NotifyEndpoint"), notifyEndpoint);
  64. }
  65. std::string IndexVideoRequest::getNotifyTopicName() const {
  66. return notifyTopicName_;
  67. }
  68. void IndexVideoRequest::setNotifyTopicName(const std::string &notifyTopicName) {
  69. notifyTopicName_ = notifyTopicName;
  70. setParameter(std::string("NotifyTopicName"), notifyTopicName);
  71. }
  72. std::string IndexVideoRequest::getRemarksB() const {
  73. return remarksB_;
  74. }
  75. void IndexVideoRequest::setRemarksB(const std::string &remarksB) {
  76. remarksB_ = remarksB;
  77. setParameter(std::string("RemarksB"), remarksB);
  78. }
  79. std::string IndexVideoRequest::getRemarksA() const {
  80. return remarksA_;
  81. }
  82. void IndexVideoRequest::setRemarksA(const std::string &remarksA) {
  83. remarksA_ = remarksA;
  84. setParameter(std::string("RemarksA"), remarksA);
  85. }
  86. std::string IndexVideoRequest::getEndTime() const {
  87. return endTime_;
  88. }
  89. void IndexVideoRequest::setEndTime(const std::string &endTime) {
  90. endTime_ = endTime;
  91. setParameter(std::string("EndTime"), endTime);
  92. }
  93. std::string IndexVideoRequest::getVideoUri() const {
  94. return videoUri_;
  95. }
  96. void IndexVideoRequest::setVideoUri(const std::string &videoUri) {
  97. videoUri_ = videoUri;
  98. setParameter(std::string("VideoUri"), videoUri);
  99. }
  100. bool IndexVideoRequest::getSaveType() const {
  101. return saveType_;
  102. }
  103. void IndexVideoRequest::setSaveType(bool saveType) {
  104. saveType_ = saveType;
  105. setParameter(std::string("SaveType"), saveType ? "true" : "false");
  106. }
  107. std::string IndexVideoRequest::getRemarksD() const {
  108. return remarksD_;
  109. }
  110. void IndexVideoRequest::setRemarksD(const std::string &remarksD) {
  111. remarksD_ = remarksD;
  112. setParameter(std::string("RemarksD"), remarksD);
  113. }
  114. std::string IndexVideoRequest::getRemarksC() const {
  115. return remarksC_;
  116. }
  117. void IndexVideoRequest::setRemarksC(const std::string &remarksC) {
  118. remarksC_ = remarksC;
  119. setParameter(std::string("RemarksC"), remarksC);
  120. }
  121. std::string IndexVideoRequest::getSetId() const {
  122. return setId_;
  123. }
  124. void IndexVideoRequest::setSetId(const std::string &setId) {
  125. setId_ = setId;
  126. setParameter(std::string("SetId"), setId);
  127. }
  128. std::string IndexVideoRequest::getInterval() const {
  129. return interval_;
  130. }
  131. void IndexVideoRequest::setInterval(const std::string &interval) {
  132. interval_ = interval;
  133. setParameter(std::string("Interval"), interval);
  134. }
  135. std::string IndexVideoRequest::getTgtUri() const {
  136. return tgtUri_;
  137. }
  138. void IndexVideoRequest::setTgtUri(const std::string &tgtUri) {
  139. tgtUri_ = tgtUri;
  140. setParameter(std::string("TgtUri"), tgtUri);
  141. }