diff --git a/CHANGELOG b/CHANGELOG index 616e87dfe..437f36e66 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-10-12 Version: patch +- Supported ApproveOrder to add comment message. + 2020-10-12 Version: patch - Add list Organizations. diff --git a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h index 59ed84329..a43d8ff0e 100644 --- a/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h +++ b/dms-enterprise/include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::string getApprovalType()const; void setApprovalType(const std::string& approvalType); + std::string getComment()const; + void setComment(const std::string& comment); long getTid()const; void setTid(long tid); long getWorkflowInstanceId()const; @@ -44,6 +46,7 @@ namespace AlibabaCloud private: std::string approvalType_; + std::string comment_; long tid_; long workflowInstanceId_; diff --git a/dms-enterprise/src/model/ApproveOrderRequest.cc b/dms-enterprise/src/model/ApproveOrderRequest.cc index 6f4e3fa57..d5cb14198 100644 --- a/dms-enterprise/src/model/ApproveOrderRequest.cc +++ b/dms-enterprise/src/model/ApproveOrderRequest.cc @@ -38,6 +38,17 @@ void ApproveOrderRequest::setApprovalType(const std::string& approvalType) setParameter("ApprovalType", approvalType); } +std::string ApproveOrderRequest::getComment()const +{ + return comment_; +} + +void ApproveOrderRequest::setComment(const std::string& comment) +{ + comment_ = comment; + setParameter("Comment", comment); +} + long ApproveOrderRequest::getTid()const { return tid_;