sdk-team 6 лет назад
Родитель
Сommit
30c9817822

+ 4 - 0
CHANGELOG

@@ -1,3 +1,7 @@
+2020-08-31 Version: 1.36.617
+- Supported AAA for BBB.
+- Fixed bugs for CCC.
+
 2020-08-31 Version: 1.36.616
 - Add list person visit count API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.616
+1.36.617

+ 8 - 0
industry-brain/CMakeLists.txt

@@ -25,6 +25,10 @@ set(industry-brain_public_header_model
 	include/alibabacloud/industry-brain/model/AsyncResponsePostResult.h
 	include/alibabacloud/industry-brain/model/GetAlgorithmHistoryResultRequest.h
 	include/alibabacloud/industry-brain/model/GetAlgorithmHistoryResultResult.h
+	include/alibabacloud/industry-brain/model/GetPointReckoningValueRequest.h
+	include/alibabacloud/industry-brain/model/GetPointReckoningValueResult.h
+	include/alibabacloud/industry-brain/model/GetPointSampleValueRequest.h
+	include/alibabacloud/industry-brain/model/GetPointSampleValueResult.h
 	include/alibabacloud/industry-brain/model/GetServiceResultAsyncRequest.h
 	include/alibabacloud/industry-brain/model/GetServiceResultAsyncResult.h
 	include/alibabacloud/industry-brain/model/InvokeServiceRequest.h
@@ -38,6 +42,10 @@ set(industry-brain_src
 	src/model/AsyncResponsePostResult.cc
 	src/model/GetAlgorithmHistoryResultRequest.cc
 	src/model/GetAlgorithmHistoryResultResult.cc
+	src/model/GetPointReckoningValueRequest.cc
+	src/model/GetPointReckoningValueResult.cc
+	src/model/GetPointSampleValueRequest.cc
+	src/model/GetPointSampleValueResult.cc
 	src/model/GetServiceResultAsyncRequest.cc
 	src/model/GetServiceResultAsyncResult.cc
 	src/model/InvokeServiceRequest.cc

+ 16 - 0
industry-brain/include/alibabacloud/industry-brain/Industry_brainClient.h

@@ -26,6 +26,10 @@
 #include "model/AsyncResponsePostResult.h"
 #include "model/GetAlgorithmHistoryResultRequest.h"
 #include "model/GetAlgorithmHistoryResultResult.h"
+#include "model/GetPointReckoningValueRequest.h"
+#include "model/GetPointReckoningValueResult.h"
+#include "model/GetPointSampleValueRequest.h"
+#include "model/GetPointSampleValueResult.h"
 #include "model/GetServiceResultAsyncRequest.h"
 #include "model/GetServiceResultAsyncResult.h"
 #include "model/InvokeServiceRequest.h"
@@ -47,6 +51,12 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::GetAlgorithmHistoryResultResult> GetAlgorithmHistoryResultOutcome;
 			typedef std::future<GetAlgorithmHistoryResultOutcome> GetAlgorithmHistoryResultOutcomeCallable;
 			typedef std::function<void(const Industry_brainClient*, const Model::GetAlgorithmHistoryResultRequest&, const GetAlgorithmHistoryResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlgorithmHistoryResultAsyncHandler;
+			typedef Outcome<Error, Model::GetPointReckoningValueResult> GetPointReckoningValueOutcome;
+			typedef std::future<GetPointReckoningValueOutcome> GetPointReckoningValueOutcomeCallable;
+			typedef std::function<void(const Industry_brainClient*, const Model::GetPointReckoningValueRequest&, const GetPointReckoningValueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPointReckoningValueAsyncHandler;
+			typedef Outcome<Error, Model::GetPointSampleValueResult> GetPointSampleValueOutcome;
+			typedef std::future<GetPointSampleValueOutcome> GetPointSampleValueOutcomeCallable;
+			typedef std::function<void(const Industry_brainClient*, const Model::GetPointSampleValueRequest&, const GetPointSampleValueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPointSampleValueAsyncHandler;
 			typedef Outcome<Error, Model::GetServiceResultAsyncResult> GetServiceResultAsyncOutcome;
 			typedef std::future<GetServiceResultAsyncOutcome> GetServiceResultAsyncOutcomeCallable;
 			typedef std::function<void(const Industry_brainClient*, const Model::GetServiceResultAsyncRequest&, const GetServiceResultAsyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceResultAsyncAsyncHandler;
@@ -67,6 +77,12 @@ namespace AlibabaCloud
 			GetAlgorithmHistoryResultOutcome getAlgorithmHistoryResult(const Model::GetAlgorithmHistoryResultRequest &request)const;
 			void getAlgorithmHistoryResultAsync(const Model::GetAlgorithmHistoryResultRequest& request, const GetAlgorithmHistoryResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetAlgorithmHistoryResultOutcomeCallable getAlgorithmHistoryResultCallable(const Model::GetAlgorithmHistoryResultRequest& request) const;
+			GetPointReckoningValueOutcome getPointReckoningValue(const Model::GetPointReckoningValueRequest &request)const;
+			void getPointReckoningValueAsync(const Model::GetPointReckoningValueRequest& request, const GetPointReckoningValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetPointReckoningValueOutcomeCallable getPointReckoningValueCallable(const Model::GetPointReckoningValueRequest& request) const;
+			GetPointSampleValueOutcome getPointSampleValue(const Model::GetPointSampleValueRequest &request)const;
+			void getPointSampleValueAsync(const Model::GetPointSampleValueRequest& request, const GetPointSampleValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetPointSampleValueOutcomeCallable getPointSampleValueCallable(const Model::GetPointSampleValueRequest& request) const;
 			GetServiceResultAsyncOutcome getServiceResultAsync(const Model::GetServiceResultAsyncRequest &request)const;
 			void getServiceResultAsyncAsync(const Model::GetServiceResultAsyncRequest& request, const GetServiceResultAsyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetServiceResultAsyncOutcomeCallable getServiceResultAsyncCallable(const Model::GetServiceResultAsyncRequest& request) const;

+ 51 - 0
industry-brain/include/alibabacloud/industry-brain/model/GetPointReckoningValueRequest.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTRECKONINGVALUEREQUEST_H_
+#define ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTRECKONINGVALUEREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/industry-brain/Industry_brainExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Industry_brain
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_INDUSTRY_BRAIN_EXPORT GetPointReckoningValueRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetPointReckoningValueRequest();
+				~GetPointReckoningValueRequest();
+
+				std::string getTimeType()const;
+				void setTimeType(const std::string& timeType);
+				std::string getTemplateId()const;
+				void setTemplateId(const std::string& templateId);
+
+            private:
+				std::string timeType_;
+				std::string templateId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTRECKONINGVALUEREQUEST_H_

+ 55 - 0
industry-brain/include/alibabacloud/industry-brain/model/GetPointReckoningValueResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTRECKONINGVALUERESULT_H_
+#define ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTRECKONINGVALUERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/industry-brain/Industry_brainExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Industry_brain
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_INDUSTRY_BRAIN_EXPORT GetPointReckoningValueResult : public ServiceResult
+			{
+			public:
+
+
+				GetPointReckoningValueResult();
+				explicit GetPointReckoningValueResult(const std::string &payload);
+				~GetPointReckoningValueResult();
+				std::string getMessage()const;
+				std::string getData()const;
+				std::string getCode()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				std::string data_;
+				std::string code_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTRECKONINGVALUERESULT_H_

+ 51 - 0
industry-brain/include/alibabacloud/industry-brain/model/GetPointSampleValueRequest.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUEREQUEST_H_
+#define ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUEREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/industry-brain/Industry_brainExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Industry_brain
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_INDUSTRY_BRAIN_EXPORT GetPointSampleValueRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetPointSampleValueRequest();
+				~GetPointSampleValueRequest();
+
+				std::string getTimeType()const;
+				void setTimeType(const std::string& timeType);
+				std::string getTemplateId()const;
+				void setTemplateId(const std::string& templateId);
+
+            private:
+				std::string timeType_;
+				std::string templateId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUEREQUEST_H_

+ 55 - 0
industry-brain/include/alibabacloud/industry-brain/model/GetPointSampleValueResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUERESULT_H_
+#define ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/industry-brain/Industry_brainExport.h>
+
+namespace AlibabaCloud
+{
+	namespace Industry_brain
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_INDUSTRY_BRAIN_EXPORT GetPointSampleValueResult : public ServiceResult
+			{
+			public:
+
+
+				GetPointSampleValueResult();
+				explicit GetPointSampleValueResult(const std::string &payload);
+				~GetPointSampleValueResult();
+				std::string getMessage()const;
+				std::string getData()const;
+				std::string getCode()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				std::string data_;
+				std::string code_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_INDUSTRY_BRAIN_MODEL_GETPOINTSAMPLEVALUERESULT_H_

+ 3 - 0
industry-brain/include/alibabacloud/industry-brain/model/InvokeServiceAsyncRequest.h

@@ -37,6 +37,8 @@ namespace AlibabaCloud
 
 				bool getIsShowInput()const;
 				void setIsShowInput(bool isShowInput);
+				std::string getContext()const;
+				void setContext(const std::string& context);
 				std::string getServiceId()const;
 				void setServiceId(const std::string& serviceId);
 				std::string getParams()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
 
             private:
 				bool isShowInput_;
+				std::string context_;
 				std::string serviceId_;
 				std::string params_;
 				std::string requestData_;

+ 72 - 0
industry-brain/src/Industry-brainClient.cc

@@ -123,6 +123,78 @@ Industry_brainClient::GetAlgorithmHistoryResultOutcomeCallable Industry_brainCli
 	return task->get_future();
 }
 
+Industry_brainClient::GetPointReckoningValueOutcome Industry_brainClient::getPointReckoningValue(const GetPointReckoningValueRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetPointReckoningValueOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetPointReckoningValueOutcome(GetPointReckoningValueResult(outcome.result()));
+	else
+		return GetPointReckoningValueOutcome(outcome.error());
+}
+
+void Industry_brainClient::getPointReckoningValueAsync(const GetPointReckoningValueRequest& request, const GetPointReckoningValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getPointReckoningValue(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Industry_brainClient::GetPointReckoningValueOutcomeCallable Industry_brainClient::getPointReckoningValueCallable(const GetPointReckoningValueRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetPointReckoningValueOutcome()>>(
+			[this, request]()
+			{
+			return this->getPointReckoningValue(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+Industry_brainClient::GetPointSampleValueOutcome Industry_brainClient::getPointSampleValue(const GetPointSampleValueRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetPointSampleValueOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetPointSampleValueOutcome(GetPointSampleValueResult(outcome.result()));
+	else
+		return GetPointSampleValueOutcome(outcome.error());
+}
+
+void Industry_brainClient::getPointSampleValueAsync(const GetPointSampleValueRequest& request, const GetPointSampleValueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getPointSampleValue(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Industry_brainClient::GetPointSampleValueOutcomeCallable Industry_brainClient::getPointSampleValueCallable(const GetPointSampleValueRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetPointSampleValueOutcome()>>(
+			[this, request]()
+			{
+			return this->getPointSampleValue(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Industry_brainClient::GetServiceResultAsyncOutcome Industry_brainClient::getServiceResultAsync(const GetServiceResultAsyncRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 1 - 1
industry-brain/src/model/AsyncResponsePostRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Industry_brain::Model::AsyncResponsePostRequest;
 
 AsyncResponsePostRequest::AsyncResponsePostRequest() :
-	RpcServiceRequest("industry-brain", "2019-06-29", "AsyncResponsePost")
+	RpcServiceRequest("industry-brain", "2019-06-30", "AsyncResponsePost")
 {
 	setMethod(HttpRequest::Method::Post);
 }

+ 1 - 1
industry-brain/src/model/GetAlgorithmHistoryResultRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Industry_brain::Model::GetAlgorithmHistoryResultRequest;
 
 GetAlgorithmHistoryResultRequest::GetAlgorithmHistoryResultRequest() :
-	RpcServiceRequest("industry-brain", "2019-06-29", "GetAlgorithmHistoryResult")
+	RpcServiceRequest("industry-brain", "2019-06-30", "GetAlgorithmHistoryResult")
 {
 	setMethod(HttpRequest::Method::Get);
 }

+ 51 - 0
industry-brain/src/model/GetPointReckoningValueRequest.cc

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/industry-brain/model/GetPointReckoningValueRequest.h>
+
+using AlibabaCloud::Industry_brain::Model::GetPointReckoningValueRequest;
+
+GetPointReckoningValueRequest::GetPointReckoningValueRequest() :
+	RpcServiceRequest("industry-brain", "2019-06-30", "GetPointReckoningValue")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+GetPointReckoningValueRequest::~GetPointReckoningValueRequest()
+{}
+
+std::string GetPointReckoningValueRequest::getTimeType()const
+{
+	return timeType_;
+}
+
+void GetPointReckoningValueRequest::setTimeType(const std::string& timeType)
+{
+	timeType_ = timeType;
+	setParameter("TimeType", timeType);
+}
+
+std::string GetPointReckoningValueRequest::getTemplateId()const
+{
+	return templateId_;
+}
+
+void GetPointReckoningValueRequest::setTemplateId(const std::string& templateId)
+{
+	templateId_ = templateId;
+	setParameter("TemplateId", templateId);
+}
+

+ 65 - 0
industry-brain/src/model/GetPointReckoningValueResult.cc

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/industry-brain/model/GetPointReckoningValueResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Industry_brain;
+using namespace AlibabaCloud::Industry_brain::Model;
+
+GetPointReckoningValueResult::GetPointReckoningValueResult() :
+	ServiceResult()
+{}
+
+GetPointReckoningValueResult::GetPointReckoningValueResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetPointReckoningValueResult::~GetPointReckoningValueResult()
+{}
+
+void GetPointReckoningValueResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString();
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+
+}
+
+std::string GetPointReckoningValueResult::getMessage()const
+{
+	return message_;
+}
+
+std::string GetPointReckoningValueResult::getData()const
+{
+	return data_;
+}
+
+std::string GetPointReckoningValueResult::getCode()const
+{
+	return code_;
+}
+

+ 51 - 0
industry-brain/src/model/GetPointSampleValueRequest.cc

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/industry-brain/model/GetPointSampleValueRequest.h>
+
+using AlibabaCloud::Industry_brain::Model::GetPointSampleValueRequest;
+
+GetPointSampleValueRequest::GetPointSampleValueRequest() :
+	RpcServiceRequest("industry-brain", "2019-06-30", "GetPointSampleValue")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+GetPointSampleValueRequest::~GetPointSampleValueRequest()
+{}
+
+std::string GetPointSampleValueRequest::getTimeType()const
+{
+	return timeType_;
+}
+
+void GetPointSampleValueRequest::setTimeType(const std::string& timeType)
+{
+	timeType_ = timeType;
+	setParameter("TimeType", timeType);
+}
+
+std::string GetPointSampleValueRequest::getTemplateId()const
+{
+	return templateId_;
+}
+
+void GetPointSampleValueRequest::setTemplateId(const std::string& templateId)
+{
+	templateId_ = templateId;
+	setParameter("TemplateId", templateId);
+}
+

+ 65 - 0
industry-brain/src/model/GetPointSampleValueResult.cc

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/industry-brain/model/GetPointSampleValueResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Industry_brain;
+using namespace AlibabaCloud::Industry_brain::Model;
+
+GetPointSampleValueResult::GetPointSampleValueResult() :
+	ServiceResult()
+{}
+
+GetPointSampleValueResult::GetPointSampleValueResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetPointSampleValueResult::~GetPointSampleValueResult()
+{}
+
+void GetPointSampleValueResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString();
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+
+}
+
+std::string GetPointSampleValueResult::getMessage()const
+{
+	return message_;
+}
+
+std::string GetPointSampleValueResult::getData()const
+{
+	return data_;
+}
+
+std::string GetPointSampleValueResult::getCode()const
+{
+	return code_;
+}
+

+ 2 - 2
industry-brain/src/model/GetServiceResultAsyncRequest.cc

@@ -19,9 +19,9 @@
 using AlibabaCloud::Industry_brain::Model::GetServiceResultAsyncRequest;
 
 GetServiceResultAsyncRequest::GetServiceResultAsyncRequest() :
-	RpcServiceRequest("industry-brain", "2019-06-29", "GetServiceResultAsync")
+	RpcServiceRequest("industry-brain", "2019-06-30", "GetServiceResultAsync")
 {
-	setMethod(HttpRequest::Method::Post);
+	setMethod(HttpRequest::Method::Get);
 }
 
 GetServiceResultAsyncRequest::~GetServiceResultAsyncRequest()

+ 12 - 1
industry-brain/src/model/InvokeServiceAsyncRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Industry_brain::Model::InvokeServiceAsyncRequest;
 
 InvokeServiceAsyncRequest::InvokeServiceAsyncRequest() :
-	RpcServiceRequest("industry-brain", "2019-06-29", "InvokeServiceAsync")
+	RpcServiceRequest("industry-brain", "2019-06-30", "InvokeServiceAsync")
 {
 	setMethod(HttpRequest::Method::Post);
 }
@@ -38,6 +38,17 @@ void InvokeServiceAsyncRequest::setIsShowInput(bool isShowInput)
 	setParameter("IsShowInput", isShowInput ? "true" : "false");
 }
 
+std::string InvokeServiceAsyncRequest::getContext()const
+{
+	return context_;
+}
+
+void InvokeServiceAsyncRequest::setContext(const std::string& context)
+{
+	context_ = context;
+	setParameter("Context", context);
+}
+
 std::string InvokeServiceAsyncRequest::getServiceId()const
 {
 	return serviceId_;

+ 1 - 1
industry-brain/src/model/InvokeServiceRequest.cc

@@ -19,7 +19,7 @@
 using AlibabaCloud::Industry_brain::Model::InvokeServiceRequest;
 
 InvokeServiceRequest::InvokeServiceRequest() :
-	RpcServiceRequest("industry-brain", "2019-06-29", "InvokeService")
+	RpcServiceRequest("industry-brain", "2019-06-30", "InvokeService")
 {
 	setMethod(HttpRequest::Method::Post);
 }