Add PicUrl parameter for picture related API.
This commit is contained in:
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getPicUrl()const;
|
||||
void setPicUrl(const std::string& picUrl);
|
||||
std::string getPicContent()const;
|
||||
void setPicContent(const std::string& picContent);
|
||||
std::string getPicFormat()const;
|
||||
@@ -44,6 +46,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string picUrl_;
|
||||
std::string picContent_;
|
||||
std::string picFormat_;
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getPicUrl()const;
|
||||
void setPicUrl(const std::string& picUrl);
|
||||
std::string getPicContent()const;
|
||||
void setPicContent(const std::string& picContent);
|
||||
std::string getPicFormat()const;
|
||||
@@ -44,6 +46,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string picUrl_;
|
||||
std::string picContent_;
|
||||
std::string picFormat_;
|
||||
|
||||
|
||||
@@ -38,6 +38,17 @@ void RecognizeFaceQualityRequest::setCorpId(const std::string& corpId)
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string RecognizeFaceQualityRequest::getPicUrl()const
|
||||
{
|
||||
return picUrl_;
|
||||
}
|
||||
|
||||
void RecognizeFaceQualityRequest::setPicUrl(const std::string& picUrl)
|
||||
{
|
||||
picUrl_ = picUrl;
|
||||
setBodyParameter("PicUrl", picUrl);
|
||||
}
|
||||
|
||||
std::string RecognizeFaceQualityRequest::getPicContent()const
|
||||
{
|
||||
return picContent_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void RecognizeImageRequest::setCorpId(const std::string& corpId)
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string RecognizeImageRequest::getPicUrl()const
|
||||
{
|
||||
return picUrl_;
|
||||
}
|
||||
|
||||
void RecognizeImageRequest::setPicUrl(const std::string& picUrl)
|
||||
{
|
||||
picUrl_ = picUrl;
|
||||
setBodyParameter("PicUrl", picUrl);
|
||||
}
|
||||
|
||||
std::string RecognizeImageRequest::getPicContent()const
|
||||
{
|
||||
return picContent_;
|
||||
|
||||
Reference in New Issue
Block a user