Update MergeVideoModelFace 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);
|
||||||
|
std::string getWatermarkType() const;
|
||||||
|
void setWatermarkType(const std::string &watermarkType);
|
||||||
bool getEnhance() const;
|
bool getEnhance() const;
|
||||||
void setEnhance(bool enhance);
|
void setEnhance(bool enhance);
|
||||||
std::string getPostURL() const;
|
std::string getPostURL() const;
|
||||||
@@ -45,6 +47,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string referenceURL_;
|
std::string referenceURL_;
|
||||||
|
std::string watermarkType_;
|
||||||
bool enhance_;
|
bool enhance_;
|
||||||
std::string postURL_;
|
std::string postURL_;
|
||||||
bool async_;
|
bool async_;
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ public:
|
|||||||
void setMergeInfos(const std::vector<MergeInfos> &mergeInfos);
|
void setMergeInfos(const std::vector<MergeInfos> &mergeInfos);
|
||||||
std::string getUserId() const;
|
std::string getUserId() const;
|
||||||
void setUserId(const std::string &userId);
|
void setUserId(const std::string &userId);
|
||||||
|
std::string getWatermarkType() const;
|
||||||
|
void setWatermarkType(const std::string &watermarkType);
|
||||||
bool getEnhance() const;
|
bool getEnhance() const;
|
||||||
void setEnhance(bool enhance);
|
void setEnhance(bool enhance);
|
||||||
std::string getTemplateId() const;
|
std::string getTemplateId() const;
|
||||||
@@ -54,6 +56,7 @@ private:
|
|||||||
std::string faceImageURL_;
|
std::string faceImageURL_;
|
||||||
std::vector<MergeInfos> mergeInfos_;
|
std::vector<MergeInfos> mergeInfos_;
|
||||||
std::string userId_;
|
std::string userId_;
|
||||||
|
std::string watermarkType_;
|
||||||
bool enhance_;
|
bool enhance_;
|
||||||
std::string templateId_;
|
std::string templateId_;
|
||||||
std::string async_;
|
std::string async_;
|
||||||
|
|||||||
@@ -34,6 +34,15 @@ void MergeVideoFaceRequest::setReferenceURL(const std::string &referenceURL) {
|
|||||||
setBodyParameter(std::string("ReferenceURL"), referenceURL);
|
setBodyParameter(std::string("ReferenceURL"), referenceURL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string MergeVideoFaceRequest::getWatermarkType() const {
|
||||||
|
return watermarkType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void MergeVideoFaceRequest::setWatermarkType(const std::string &watermarkType) {
|
||||||
|
watermarkType_ = watermarkType;
|
||||||
|
setBodyParameter(std::string("WatermarkType"), watermarkType);
|
||||||
|
}
|
||||||
|
|
||||||
bool MergeVideoFaceRequest::getEnhance() const {
|
bool MergeVideoFaceRequest::getEnhance() const {
|
||||||
return enhance_;
|
return enhance_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,15 @@ void MergeVideoModelFaceRequest::setUserId(const std::string &userId) {
|
|||||||
setBodyParameter(std::string("UserId"), userId);
|
setBodyParameter(std::string("UserId"), userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string MergeVideoModelFaceRequest::getWatermarkType() const {
|
||||||
|
return watermarkType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void MergeVideoModelFaceRequest::setWatermarkType(const std::string &watermarkType) {
|
||||||
|
watermarkType_ = watermarkType;
|
||||||
|
setBodyParameter(std::string("WatermarkType"), watermarkType);
|
||||||
|
}
|
||||||
|
|
||||||
bool MergeVideoModelFaceRequest::getEnhance() const {
|
bool MergeVideoModelFaceRequest::getEnhance() const {
|
||||||
return enhance_;
|
return enhance_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user