Update MergeVideoFace.

This commit is contained in:
sdk-team
2023-08-31 08:09:28 +00:00
parent c9b390c0c1
commit 83453dcf69
3 changed files with 13 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.1744
1.36.1745

View File

@@ -32,6 +32,8 @@ public:
~MergeVideoFaceRequest();
std::string getReferenceURL() const;
void setReferenceURL(const std::string &referenceURL);
bool getEnhance() const;
void setEnhance(bool enhance);
std::string getPostURL() const;
void setPostURL(const std::string &postURL);
bool getAsync() const;
@@ -43,6 +45,7 @@ public:
private:
std::string referenceURL_;
bool enhance_;
std::string postURL_;
bool async_;
std::string videoURL_;

View File

@@ -34,6 +34,15 @@ void MergeVideoFaceRequest::setReferenceURL(const std::string &referenceURL) {
setBodyParameter(std::string("ReferenceURL"), referenceURL);
}
bool MergeVideoFaceRequest::getEnhance() const {
return enhance_;
}
void MergeVideoFaceRequest::setEnhance(bool enhance) {
enhance_ = enhance;
setBodyParameter(std::string("Enhance"), enhance ? "true" : "false");
}
std::string MergeVideoFaceRequest::getPostURL() const {
return postURL_;
}