From 6bba61cebe3ba784d434b07290931a846184ff20 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 16 Jun 2020 00:29:30 +0800 Subject: [PATCH] Update monitor related API. --- CHANGELOG | 3 +++ VERSION | 2 +- .../alibabacloud/vcs/model/AddMonitorRequest.h | 3 +++ .../alibabacloud/vcs/model/GetMonitorResultRequest.h | 3 +++ .../alibabacloud/vcs/model/StopMonitorRequest.h | 3 +++ .../alibabacloud/vcs/model/UpdateMonitorRequest.h | 3 +++ vcs/src/model/AddMonitorRequest.cc | 11 +++++++++++ vcs/src/model/GetMonitorResultRequest.cc | 11 +++++++++++ vcs/src/model/StopMonitorRequest.cc | 11 +++++++++++ vcs/src/model/UpdateMonitorRequest.cc | 11 +++++++++++ 10 files changed, 60 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 411e7eba6..aac0c5bf7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-06-16 Version: 1.36.462 +- Update monitor related API. + 2020-06-15 Version: 1.36.461 - Generated 2019-09-10 for `waf-openapi`. diff --git a/VERSION b/VERSION index b681c9287..bd6f5ee82 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.461 \ No newline at end of file +1.36.462 \ No newline at end of file diff --git a/vcs/include/alibabacloud/vcs/model/AddMonitorRequest.h b/vcs/include/alibabacloud/vcs/model/AddMonitorRequest.h index a3cebbe95..e0f7450a8 100644 --- a/vcs/include/alibabacloud/vcs/model/AddMonitorRequest.h +++ b/vcs/include/alibabacloud/vcs/model/AddMonitorRequest.h @@ -43,12 +43,15 @@ namespace AlibabaCloud void setDescription(const std::string& description); int getBatchIndicator()const; void setBatchIndicator(int batchIndicator); + std::string getAlgorithmVendor()const; + void setAlgorithmVendor(const std::string& algorithmVendor); private: std::string monitorType_; std::string corpId_; std::string description_; int batchIndicator_; + std::string algorithmVendor_; }; } diff --git a/vcs/include/alibabacloud/vcs/model/GetMonitorResultRequest.h b/vcs/include/alibabacloud/vcs/model/GetMonitorResultRequest.h index 81f4afc55..186a6571f 100644 --- a/vcs/include/alibabacloud/vcs/model/GetMonitorResultRequest.h +++ b/vcs/include/alibabacloud/vcs/model/GetMonitorResultRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setEndTime(long endTime); long getStartTime()const; void setStartTime(long startTime); + std::string getAlgorithmVendor()const; + void setAlgorithmVendor(const std::string& algorithmVendor); std::string getMinRecordId()const; void setMinRecordId(const std::string& minRecordId); std::string getTaskId()const; @@ -50,6 +52,7 @@ namespace AlibabaCloud std::string corpId_; long endTime_; long startTime_; + std::string algorithmVendor_; std::string minRecordId_; std::string taskId_; diff --git a/vcs/include/alibabacloud/vcs/model/StopMonitorRequest.h b/vcs/include/alibabacloud/vcs/model/StopMonitorRequest.h index 5b875ec89..bd0f4eaf8 100644 --- a/vcs/include/alibabacloud/vcs/model/StopMonitorRequest.h +++ b/vcs/include/alibabacloud/vcs/model/StopMonitorRequest.h @@ -35,10 +35,13 @@ namespace AlibabaCloud StopMonitorRequest(); ~StopMonitorRequest(); + std::string getAlgorithmVendor()const; + void setAlgorithmVendor(const std::string& algorithmVendor); std::string getTaskId()const; void setTaskId(const std::string& taskId); private: + std::string algorithmVendor_; std::string taskId_; }; diff --git a/vcs/include/alibabacloud/vcs/model/UpdateMonitorRequest.h b/vcs/include/alibabacloud/vcs/model/UpdateMonitorRequest.h index a13675a9c..d011816b3 100644 --- a/vcs/include/alibabacloud/vcs/model/UpdateMonitorRequest.h +++ b/vcs/include/alibabacloud/vcs/model/UpdateMonitorRequest.h @@ -59,6 +59,8 @@ namespace AlibabaCloud void setAttributeValueList(const std::string& attributeValueList); std::string getDeviceList()const; void setDeviceList(const std::string& deviceList); + std::string getAlgorithmVendor()const; + void setAlgorithmVendor(const std::string& algorithmVendor); private: std::string corpId_; @@ -73,6 +75,7 @@ namespace AlibabaCloud std::string picList_; std::string attributeValueList_; std::string deviceList_; + std::string algorithmVendor_; }; } diff --git a/vcs/src/model/AddMonitorRequest.cc b/vcs/src/model/AddMonitorRequest.cc index 1ce4f6ad4..acf50597a 100644 --- a/vcs/src/model/AddMonitorRequest.cc +++ b/vcs/src/model/AddMonitorRequest.cc @@ -71,3 +71,14 @@ void AddMonitorRequest::setBatchIndicator(int batchIndicator) setBodyParameter("BatchIndicator", std::to_string(batchIndicator)); } +std::string AddMonitorRequest::getAlgorithmVendor()const +{ + return algorithmVendor_; +} + +void AddMonitorRequest::setAlgorithmVendor(const std::string& algorithmVendor) +{ + algorithmVendor_ = algorithmVendor; + setBodyParameter("AlgorithmVendor", algorithmVendor); +} + diff --git a/vcs/src/model/GetMonitorResultRequest.cc b/vcs/src/model/GetMonitorResultRequest.cc index cc993d5c9..03587e4d1 100644 --- a/vcs/src/model/GetMonitorResultRequest.cc +++ b/vcs/src/model/GetMonitorResultRequest.cc @@ -60,6 +60,17 @@ void GetMonitorResultRequest::setStartTime(long startTime) setBodyParameter("StartTime", std::to_string(startTime)); } +std::string GetMonitorResultRequest::getAlgorithmVendor()const +{ + return algorithmVendor_; +} + +void GetMonitorResultRequest::setAlgorithmVendor(const std::string& algorithmVendor) +{ + algorithmVendor_ = algorithmVendor; + setBodyParameter("AlgorithmVendor", algorithmVendor); +} + std::string GetMonitorResultRequest::getMinRecordId()const { return minRecordId_; diff --git a/vcs/src/model/StopMonitorRequest.cc b/vcs/src/model/StopMonitorRequest.cc index a05fa47d3..cfd8eeb34 100644 --- a/vcs/src/model/StopMonitorRequest.cc +++ b/vcs/src/model/StopMonitorRequest.cc @@ -27,6 +27,17 @@ StopMonitorRequest::StopMonitorRequest() : StopMonitorRequest::~StopMonitorRequest() {} +std::string StopMonitorRequest::getAlgorithmVendor()const +{ + return algorithmVendor_; +} + +void StopMonitorRequest::setAlgorithmVendor(const std::string& algorithmVendor) +{ + algorithmVendor_ = algorithmVendor; + setBodyParameter("AlgorithmVendor", algorithmVendor); +} + std::string StopMonitorRequest::getTaskId()const { return taskId_; diff --git a/vcs/src/model/UpdateMonitorRequest.cc b/vcs/src/model/UpdateMonitorRequest.cc index 93e149d2b..233ac9334 100644 --- a/vcs/src/model/UpdateMonitorRequest.cc +++ b/vcs/src/model/UpdateMonitorRequest.cc @@ -159,3 +159,14 @@ void UpdateMonitorRequest::setDeviceList(const std::string& deviceList) setBodyParameter("DeviceList", deviceList); } +std::string UpdateMonitorRequest::getAlgorithmVendor()const +{ + return algorithmVendor_; +} + +void UpdateMonitorRequest::setAlgorithmVendor(const std::string& algorithmVendor) +{ + algorithmVendor_ = algorithmVendor; + setBodyParameter("AlgorithmVendor", algorithmVendor); +} +