Просмотр исходного кода

Add CustomMessage to CreateMergeFaceGroupsJob.

sdk-team 5 лет назад
Родитель
Сommit
ba63e32429

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-04-27 Version: 1.36.699
+- Add CustomMessage to CreateMergeFaceGroupsJob.
+
 2021-04-26 Version: 1.36.698
 - Generated 2019-06-01 for `smc`.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.698
+1.36.699

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
imm/2017-09-06/CreateMergeFaceGroupsJob.xml


+ 3 - 0
imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobRequest.h

@@ -41,6 +41,8 @@ namespace AlibabaCloud
 				void setAccessKeyId(const std::string& accessKeyId);
 				std::string getNotifyEndpoint()const;
 				void setNotifyEndpoint(const std::string& notifyEndpoint);
+				std::string getCustomMessage()const;
+				void setCustomMessage(const std::string& customMessage);
 				std::string getGroupIdFrom()const;
 				void setGroupIdFrom(const std::string& groupIdFrom);
 				std::string getNotifyTopicName()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
 				std::string project_;
 				std::string accessKeyId_;
 				std::string notifyEndpoint_;
+				std::string customMessage_;
 				std::string groupIdFrom_;
 				std::string notifyTopicName_;
 				std::string groupIdTo_;

+ 11 - 0
imm/src/model/CreateMergeFaceGroupsJobRequest.cc

@@ -60,6 +60,17 @@ void CreateMergeFaceGroupsJobRequest::setNotifyEndpoint(const std::string& notif
 	setParameter("NotifyEndpoint", notifyEndpoint);
 }
 
+std::string CreateMergeFaceGroupsJobRequest::getCustomMessage()const
+{
+	return customMessage_;
+}
+
+void CreateMergeFaceGroupsJobRequest::setCustomMessage(const std::string& customMessage)
+{
+	customMessage_ = customMessage;
+	setParameter("CustomMessage", customMessage);
+}
+
 std::string CreateMergeFaceGroupsJobRequest::getGroupIdFrom()const
 {
 	return groupIdFrom_;

+ 6 - 6
imm/src/model/CreateMergeFaceGroupsJobResult.cc

@@ -39,16 +39,16 @@ void CreateMergeFaceGroupsJobResult::parse(const std::string &payload)
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
-	if(!value["JobId"].isNull())
-		jobId_ = value["JobId"].asString();
-	if(!value["SetId"].isNull())
-		setId_ = value["SetId"].asString();
+	if(!value["GroupIdFrom"].isNull())
+		groupIdFrom_ = value["GroupIdFrom"].asString();
 	if(!value["JobType"].isNull())
 		jobType_ = value["JobType"].asString();
+	if(!value["SetId"].isNull())
+		setId_ = value["SetId"].asString();
 	if(!value["GroupIdTo"].isNull())
 		groupIdTo_ = value["GroupIdTo"].asString();
-	if(!value["GroupIdFrom"].isNull())
-		groupIdFrom_ = value["GroupIdFrom"].asString();
+	if(!value["JobId"].isNull())
+		jobId_ = value["JobId"].asString();
 
 }
 

Некоторые файлы не были показаны из-за большого количества измененных файлов