Update MergeVideoModelFace.
This commit is contained in:
@@ -41,6 +41,8 @@ public:
|
||||
void setMergeInfos(const std::vector<MergeInfos> &mergeInfos);
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
bool getEnhance() const;
|
||||
void setEnhance(bool enhance);
|
||||
std::string getTemplateId() const;
|
||||
void setTemplateId(const std::string &templateId);
|
||||
std::string getAsync() const;
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::string faceImageURL_;
|
||||
std::vector<MergeInfos> mergeInfos_;
|
||||
std::string userId_;
|
||||
bool enhance_;
|
||||
std::string templateId_;
|
||||
std::string async_;
|
||||
bool addWatermark_;
|
||||
|
||||
@@ -58,6 +58,15 @@ void MergeVideoModelFaceRequest::setUserId(const std::string &userId) {
|
||||
setBodyParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
bool MergeVideoModelFaceRequest::getEnhance() const {
|
||||
return enhance_;
|
||||
}
|
||||
|
||||
void MergeVideoModelFaceRequest::setEnhance(bool enhance) {
|
||||
enhance_ = enhance;
|
||||
setBodyParameter(std::string("Enhance"), enhance ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MergeVideoModelFaceRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user