IndexVideoRequest.cc 4.0 KB

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