diff --git a/CHANGELOG b/CHANGELOG index 3a0e9c810..b8c9eef3c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-09-08 Version: patch +- Modify CreateAsyncPredict add new parameters. + 2020-09-07 Version: patch - Support parameter APIs. diff --git a/nlp-automl/include/alibabacloud/nlp-automl/model/CreateAsyncPredictRequest.h b/nlp-automl/include/alibabacloud/nlp-automl/model/CreateAsyncPredictRequest.h index f267b0392..d3899563c 100644 --- a/nlp-automl/include/alibabacloud/nlp-automl/model/CreateAsyncPredictRequest.h +++ b/nlp-automl/include/alibabacloud/nlp-automl/model/CreateAsyncPredictRequest.h @@ -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_; diff --git a/nlp-automl/src/model/CreateAsyncPredictRequest.cc b/nlp-automl/src/model/CreateAsyncPredictRequest.cc index cff1de3bd..27b236878 100644 --- a/nlp-automl/src/model/CreateAsyncPredictRequest.cc +++ b/nlp-automl/src/model/CreateAsyncPredictRequest.cc @@ -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_;