Update MergeVideoModelFace and MergeVideoFace.
This commit is contained in:
@@ -38,12 +38,15 @@ public:
|
||||
void setAsync(bool async);
|
||||
std::string getVideoURL() const;
|
||||
void setVideoURL(const std::string &videoURL);
|
||||
bool getAddWatermark() const;
|
||||
void setAddWatermark(bool addWatermark);
|
||||
|
||||
private:
|
||||
std::string referenceURL_;
|
||||
std::string postURL_;
|
||||
bool async_;
|
||||
std::string videoURL_;
|
||||
bool addWatermark_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Videoenhan
|
||||
|
||||
@@ -45,6 +45,8 @@ public:
|
||||
void setTemplateId(const std::string &templateId);
|
||||
std::string getAsync() const;
|
||||
void setAsync(const std::string &async);
|
||||
bool getAddWatermark() const;
|
||||
void setAddWatermark(bool addWatermark);
|
||||
|
||||
private:
|
||||
std::string faceImageURL_;
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::string userId_;
|
||||
std::string templateId_;
|
||||
std::string async_;
|
||||
bool addWatermark_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Videoenhan
|
||||
|
||||
@@ -61,3 +61,12 @@ void MergeVideoFaceRequest::setVideoURL(const std::string &videoURL) {
|
||||
setBodyParameter(std::string("VideoURL"), videoURL);
|
||||
}
|
||||
|
||||
bool MergeVideoFaceRequest::getAddWatermark() const {
|
||||
return addWatermark_;
|
||||
}
|
||||
|
||||
void MergeVideoFaceRequest::setAddWatermark(bool addWatermark) {
|
||||
addWatermark_ = addWatermark;
|
||||
setBodyParameter(std::string("AddWatermark"), addWatermark ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -76,3 +76,12 @@ void MergeVideoModelFaceRequest::setAsync(const std::string &async) {
|
||||
setBodyParameter(std::string("Async"), async);
|
||||
}
|
||||
|
||||
bool MergeVideoModelFaceRequest::getAddWatermark() const {
|
||||
return addWatermark_;
|
||||
}
|
||||
|
||||
void MergeVideoModelFaceRequest::setAddWatermark(bool addWatermark) {
|
||||
addWatermark_ = addWatermark;
|
||||
setBodyParameter(std::string("AddWatermark"), addWatermark ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user