Update MergeVideoFace.
This commit is contained in:
@@ -32,6 +32,8 @@ public:
|
|||||||
~MergeVideoFaceRequest();
|
~MergeVideoFaceRequest();
|
||||||
std::string getReferenceURL() const;
|
std::string getReferenceURL() const;
|
||||||
void setReferenceURL(const std::string &referenceURL);
|
void setReferenceURL(const std::string &referenceURL);
|
||||||
|
bool getEnhance() const;
|
||||||
|
void setEnhance(bool enhance);
|
||||||
std::string getPostURL() const;
|
std::string getPostURL() const;
|
||||||
void setPostURL(const std::string &postURL);
|
void setPostURL(const std::string &postURL);
|
||||||
bool getAsync() const;
|
bool getAsync() const;
|
||||||
@@ -43,6 +45,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string referenceURL_;
|
std::string referenceURL_;
|
||||||
|
bool enhance_;
|
||||||
std::string postURL_;
|
std::string postURL_;
|
||||||
bool async_;
|
bool async_;
|
||||||
std::string videoURL_;
|
std::string videoURL_;
|
||||||
|
|||||||
@@ -34,6 +34,15 @@ void MergeVideoFaceRequest::setReferenceURL(const std::string &referenceURL) {
|
|||||||
setBodyParameter(std::string("ReferenceURL"), 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 {
|
std::string MergeVideoFaceRequest::getPostURL() const {
|
||||||
return postURL_;
|
return postURL_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user