Эх сурвалжийг харах

Modify CreateAsyncPredict add new parameters.

sdk-team 6 жил өмнө
parent
commit
c4348c87cb

+ 3 - 0
CHANGELOG

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

+ 3 - 0
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_;

+ 11 - 0
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_;