Modify CreateAsyncPredict add new parameters.

This commit is contained in:
sdk-team
2020-09-08 03:28:20 +00:00
parent d3ce4be157
commit c4348c87cb
3 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2020-09-08 Version: patch
- Modify CreateAsyncPredict add new parameters.
2020-09-07 Version: patch
- Support parameter APIs.

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setFileType(const std::string& fileType);
std::string getDetailTag()const;
void setDetailTag(const std::string& detailTag);
std::string getFetchContent()const;
void setFetchContent(const std::string& fetchContent);
std::string getContent()const;
void setContent(const std::string& content);
std::string getFileContent()const;
@@ -56,6 +58,7 @@ namespace AlibabaCloud
int topK_;
std::string fileType_;
std::string detailTag_;
std::string fetchContent_;
std::string content_;
std::string fileContent_;
int modelId_;

View File

@@ -60,6 +60,17 @@ void CreateAsyncPredictRequest::setDetailTag(const std::string& detailTag)
setBodyParameter("DetailTag", detailTag);
}
std::string CreateAsyncPredictRequest::getFetchContent()const
{
return fetchContent_;
}
void CreateAsyncPredictRequest::setFetchContent(const std::string& fetchContent)
{
fetchContent_ = fetchContent;
setBodyParameter("FetchContent", fetchContent);
}
std::string CreateAsyncPredictRequest::getContent()const
{
return content_;