| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- /*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #include <alibabacloud/imm/model/IndexVideoRequest.h>
- using AlibabaCloud::Imm::Model::IndexVideoRequest;
- IndexVideoRequest::IndexVideoRequest()
- : RpcServiceRequest("imm", "2017-09-06", "IndexVideo") {
- setMethod(HttpRequest::Method::Post);
- }
- IndexVideoRequest::~IndexVideoRequest() {}
- std::string IndexVideoRequest::getGrabType() const {
- return grabType_;
- }
- void IndexVideoRequest::setGrabType(const std::string &grabType) {
- grabType_ = grabType;
- setParameter(std::string("GrabType"), grabType);
- }
- std::string IndexVideoRequest::getProject() const {
- return project_;
- }
- void IndexVideoRequest::setProject(const std::string &project) {
- project_ = project;
- setParameter(std::string("Project"), project);
- }
- std::string IndexVideoRequest::getExternalId() const {
- return externalId_;
- }
- void IndexVideoRequest::setExternalId(const std::string &externalId) {
- externalId_ = externalId;
- setParameter(std::string("ExternalId"), externalId);
- }
- std::string IndexVideoRequest::getStartTime() const {
- return startTime_;
- }
- void IndexVideoRequest::setStartTime(const std::string &startTime) {
- startTime_ = startTime;
- setParameter(std::string("StartTime"), startTime);
- }
- std::string IndexVideoRequest::getAccessKeyId() const {
- return accessKeyId_;
- }
- void IndexVideoRequest::setAccessKeyId(const std::string &accessKeyId) {
- accessKeyId_ = accessKeyId;
- setParameter(std::string("AccessKeyId"), accessKeyId);
- }
- std::string IndexVideoRequest::getNotifyEndpoint() const {
- return notifyEndpoint_;
- }
- void IndexVideoRequest::setNotifyEndpoint(const std::string ¬ifyEndpoint) {
- notifyEndpoint_ = notifyEndpoint;
- setParameter(std::string("NotifyEndpoint"), notifyEndpoint);
- }
- std::string IndexVideoRequest::getNotifyTopicName() const {
- return notifyTopicName_;
- }
- void IndexVideoRequest::setNotifyTopicName(const std::string ¬ifyTopicName) {
- notifyTopicName_ = notifyTopicName;
- setParameter(std::string("NotifyTopicName"), notifyTopicName);
- }
- std::string IndexVideoRequest::getRemarksB() const {
- return remarksB_;
- }
- void IndexVideoRequest::setRemarksB(const std::string &remarksB) {
- remarksB_ = remarksB;
- setParameter(std::string("RemarksB"), remarksB);
- }
- std::string IndexVideoRequest::getRemarksA() const {
- return remarksA_;
- }
- void IndexVideoRequest::setRemarksA(const std::string &remarksA) {
- remarksA_ = remarksA;
- setParameter(std::string("RemarksA"), remarksA);
- }
- std::string IndexVideoRequest::getEndTime() const {
- return endTime_;
- }
- void IndexVideoRequest::setEndTime(const std::string &endTime) {
- endTime_ = endTime;
- setParameter(std::string("EndTime"), endTime);
- }
- std::string IndexVideoRequest::getVideoUri() const {
- return videoUri_;
- }
- void IndexVideoRequest::setVideoUri(const std::string &videoUri) {
- videoUri_ = videoUri;
- setParameter(std::string("VideoUri"), videoUri);
- }
- bool IndexVideoRequest::getSaveType() const {
- return saveType_;
- }
- void IndexVideoRequest::setSaveType(bool saveType) {
- saveType_ = saveType;
- setParameter(std::string("SaveType"), saveType ? "true" : "false");
- }
- std::string IndexVideoRequest::getRemarksD() const {
- return remarksD_;
- }
- void IndexVideoRequest::setRemarksD(const std::string &remarksD) {
- remarksD_ = remarksD;
- setParameter(std::string("RemarksD"), remarksD);
- }
- std::string IndexVideoRequest::getRemarksC() const {
- return remarksC_;
- }
- void IndexVideoRequest::setRemarksC(const std::string &remarksC) {
- remarksC_ = remarksC;
- setParameter(std::string("RemarksC"), remarksC);
- }
- std::string IndexVideoRequest::getSetId() const {
- return setId_;
- }
- void IndexVideoRequest::setSetId(const std::string &setId) {
- setId_ = setId;
- setParameter(std::string("SetId"), setId);
- }
- std::string IndexVideoRequest::getInterval() const {
- return interval_;
- }
- void IndexVideoRequest::setInterval(const std::string &interval) {
- interval_ = interval;
- setParameter(std::string("Interval"), interval);
- }
- std::string IndexVideoRequest::getTgtUri() const {
- return tgtUri_;
- }
- void IndexVideoRequest::setTgtUri(const std::string &tgtUri) {
- tgtUri_ = tgtUri;
- setParameter(std::string("TgtUri"), tgtUri);
- }
|