Quellcode durchsuchen

Adjusted the call frequency limit of some APIs.

sdk-team vor 4 Jahren
Ursprung
Commit
b1e2b491e9
43 geänderte Dateien mit 7 neuen und 2654 gelöschten Zeilen
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 0 36
      ons/CMakeLists.txt
  4. 0 72
      ons/include/alibabacloud/ons/OnsClient.h
  5. 0 60
      ons/include/alibabacloud/ons/model/OnsMessageSendRequest.h
  6. 0 53
      ons/include/alibabacloud/ons/model/OnsMessageSendResult.h
  7. 0 54
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdCreateRequest.h
  8. 0 51
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdCreateResult.h
  9. 0 51
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdDeleteRequest.h
  10. 0 51
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdDeleteResult.h
  11. 0 48
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdListRequest.h
  12. 0 66
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdListResult.h
  13. 0 51
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdRequest.h
  14. 0 67
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdResult.h
  15. 0 51
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdRequest.h
  16. 0 58
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdResult.h
  17. 0 54
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByTopicRequest.h
  18. 0 58
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByTopicResult.h
  19. 0 57
      ons/include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineRequest.h
  20. 0 65
      ons/include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineResult.h
  21. 0 72
      ons/include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendRequest.h
  22. 0 65
      ons/include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendResult.h
  23. 1 0
      ons/include/alibabacloud/ons/model/OnsTopicListResult.h
  24. 0 324
      ons/src/OnsClient.cc
  25. 0 84
      ons/src/model/OnsMessageSendRequest.cc
  26. 0 58
      ons/src/model/OnsMessageSendResult.cc
  27. 0 62
      ons/src/model/OnsMqttGroupIdCreateRequest.cc
  28. 0 51
      ons/src/model/OnsMqttGroupIdCreateResult.cc
  29. 0 51
      ons/src/model/OnsMqttGroupIdDeleteRequest.cc
  30. 0 51
      ons/src/model/OnsMqttGroupIdDeleteResult.cc
  31. 0 40
      ons/src/model/OnsMqttGroupIdListRequest.cc
  32. 0 82
      ons/src/model/OnsMqttGroupIdListResult.cc
  33. 0 51
      ons/src/model/OnsMqttQueryClientByClientIdRequest.cc
  34. 0 77
      ons/src/model/OnsMqttQueryClientByClientIdResult.cc
  35. 0 51
      ons/src/model/OnsMqttQueryClientByGroupIdRequest.cc
  36. 0 61
      ons/src/model/OnsMqttQueryClientByGroupIdResult.cc
  37. 0 62
      ons/src/model/OnsMqttQueryClientByTopicRequest.cc
  38. 0 61
      ons/src/model/OnsMqttQueryClientByTopicResult.cc
  39. 0 73
      ons/src/model/OnsMqttQueryHistoryOnlineRequest.cc
  40. 0 73
      ons/src/model/OnsMqttQueryHistoryOnlineResult.cc
  41. 0 128
      ons/src/model/OnsMqttQueryMsgTransTrendRequest.cc
  42. 0 73
      ons/src/model/OnsMqttQueryMsgTransTrendResult.cc
  43. 2 0
      ons/src/model/OnsTopicListResult.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2022-02-17 Version: 1.36.1057
+- Adjusted the call frequency limit of some APIs.
+
 2022-02-16 Version: 1.36.1056
 - Generated 2016-04-08 for `Emr`.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1056
+1.36.1057

+ 0 - 36
ons/CMakeLists.txt

@@ -67,26 +67,8 @@ set(ons_public_header_model
 	include/alibabacloud/ons/model/OnsMessagePageQueryByTopicResult.h
 	include/alibabacloud/ons/model/OnsMessagePushRequest.h
 	include/alibabacloud/ons/model/OnsMessagePushResult.h
-	include/alibabacloud/ons/model/OnsMessageSendRequest.h
-	include/alibabacloud/ons/model/OnsMessageSendResult.h
 	include/alibabacloud/ons/model/OnsMessageTraceRequest.h
 	include/alibabacloud/ons/model/OnsMessageTraceResult.h
-	include/alibabacloud/ons/model/OnsMqttGroupIdCreateRequest.h
-	include/alibabacloud/ons/model/OnsMqttGroupIdCreateResult.h
-	include/alibabacloud/ons/model/OnsMqttGroupIdDeleteRequest.h
-	include/alibabacloud/ons/model/OnsMqttGroupIdDeleteResult.h
-	include/alibabacloud/ons/model/OnsMqttGroupIdListRequest.h
-	include/alibabacloud/ons/model/OnsMqttGroupIdListResult.h
-	include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdRequest.h
-	include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdResult.h
-	include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdRequest.h
-	include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdResult.h
-	include/alibabacloud/ons/model/OnsMqttQueryClientByTopicRequest.h
-	include/alibabacloud/ons/model/OnsMqttQueryClientByTopicResult.h
-	include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineRequest.h
-	include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineResult.h
-	include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendRequest.h
-	include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendResult.h
 	include/alibabacloud/ons/model/OnsRegionListRequest.h
 	include/alibabacloud/ons/model/OnsRegionListResult.h
 	include/alibabacloud/ons/model/OnsTopicCreateRequest.h
@@ -170,26 +152,8 @@ set(ons_src
 	src/model/OnsMessagePageQueryByTopicResult.cc
 	src/model/OnsMessagePushRequest.cc
 	src/model/OnsMessagePushResult.cc
-	src/model/OnsMessageSendRequest.cc
-	src/model/OnsMessageSendResult.cc
 	src/model/OnsMessageTraceRequest.cc
 	src/model/OnsMessageTraceResult.cc
-	src/model/OnsMqttGroupIdCreateRequest.cc
-	src/model/OnsMqttGroupIdCreateResult.cc
-	src/model/OnsMqttGroupIdDeleteRequest.cc
-	src/model/OnsMqttGroupIdDeleteResult.cc
-	src/model/OnsMqttGroupIdListRequest.cc
-	src/model/OnsMqttGroupIdListResult.cc
-	src/model/OnsMqttQueryClientByClientIdRequest.cc
-	src/model/OnsMqttQueryClientByClientIdResult.cc
-	src/model/OnsMqttQueryClientByGroupIdRequest.cc
-	src/model/OnsMqttQueryClientByGroupIdResult.cc
-	src/model/OnsMqttQueryClientByTopicRequest.cc
-	src/model/OnsMqttQueryClientByTopicResult.cc
-	src/model/OnsMqttQueryHistoryOnlineRequest.cc
-	src/model/OnsMqttQueryHistoryOnlineResult.cc
-	src/model/OnsMqttQueryMsgTransTrendRequest.cc
-	src/model/OnsMqttQueryMsgTransTrendResult.cc
 	src/model/OnsRegionListRequest.cc
 	src/model/OnsRegionListResult.cc
 	src/model/OnsTopicCreateRequest.cc

+ 0 - 72
ons/include/alibabacloud/ons/OnsClient.h

@@ -68,26 +68,8 @@
 #include "model/OnsMessagePageQueryByTopicResult.h"
 #include "model/OnsMessagePushRequest.h"
 #include "model/OnsMessagePushResult.h"
-#include "model/OnsMessageSendRequest.h"
-#include "model/OnsMessageSendResult.h"
 #include "model/OnsMessageTraceRequest.h"
 #include "model/OnsMessageTraceResult.h"
-#include "model/OnsMqttGroupIdCreateRequest.h"
-#include "model/OnsMqttGroupIdCreateResult.h"
-#include "model/OnsMqttGroupIdDeleteRequest.h"
-#include "model/OnsMqttGroupIdDeleteResult.h"
-#include "model/OnsMqttGroupIdListRequest.h"
-#include "model/OnsMqttGroupIdListResult.h"
-#include "model/OnsMqttQueryClientByClientIdRequest.h"
-#include "model/OnsMqttQueryClientByClientIdResult.h"
-#include "model/OnsMqttQueryClientByGroupIdRequest.h"
-#include "model/OnsMqttQueryClientByGroupIdResult.h"
-#include "model/OnsMqttQueryClientByTopicRequest.h"
-#include "model/OnsMqttQueryClientByTopicResult.h"
-#include "model/OnsMqttQueryHistoryOnlineRequest.h"
-#include "model/OnsMqttQueryHistoryOnlineResult.h"
-#include "model/OnsMqttQueryMsgTransTrendRequest.h"
-#include "model/OnsMqttQueryMsgTransTrendResult.h"
 #include "model/OnsRegionListRequest.h"
 #include "model/OnsRegionListResult.h"
 #include "model/OnsTopicCreateRequest.h"
@@ -200,36 +182,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::OnsMessagePushResult> OnsMessagePushOutcome;
 			typedef std::future<OnsMessagePushOutcome> OnsMessagePushOutcomeCallable;
 			typedef std::function<void(const OnsClient*, const Model::OnsMessagePushRequest&, const OnsMessagePushOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessagePushAsyncHandler;
-			typedef Outcome<Error, Model::OnsMessageSendResult> OnsMessageSendOutcome;
-			typedef std::future<OnsMessageSendOutcome> OnsMessageSendOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMessageSendRequest&, const OnsMessageSendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageSendAsyncHandler;
 			typedef Outcome<Error, Model::OnsMessageTraceResult> OnsMessageTraceOutcome;
 			typedef std::future<OnsMessageTraceOutcome> OnsMessageTraceOutcomeCallable;
 			typedef std::function<void(const OnsClient*, const Model::OnsMessageTraceRequest&, const OnsMessageTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageTraceAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttGroupIdCreateResult> OnsMqttGroupIdCreateOutcome;
-			typedef std::future<OnsMqttGroupIdCreateOutcome> OnsMqttGroupIdCreateOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttGroupIdCreateRequest&, const OnsMqttGroupIdCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttGroupIdCreateAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttGroupIdDeleteResult> OnsMqttGroupIdDeleteOutcome;
-			typedef std::future<OnsMqttGroupIdDeleteOutcome> OnsMqttGroupIdDeleteOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttGroupIdDeleteRequest&, const OnsMqttGroupIdDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttGroupIdDeleteAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttGroupIdListResult> OnsMqttGroupIdListOutcome;
-			typedef std::future<OnsMqttGroupIdListOutcome> OnsMqttGroupIdListOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttGroupIdListRequest&, const OnsMqttGroupIdListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttGroupIdListAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttQueryClientByClientIdResult> OnsMqttQueryClientByClientIdOutcome;
-			typedef std::future<OnsMqttQueryClientByClientIdOutcome> OnsMqttQueryClientByClientIdOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryClientByClientIdRequest&, const OnsMqttQueryClientByClientIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryClientByClientIdAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttQueryClientByGroupIdResult> OnsMqttQueryClientByGroupIdOutcome;
-			typedef std::future<OnsMqttQueryClientByGroupIdOutcome> OnsMqttQueryClientByGroupIdOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryClientByGroupIdRequest&, const OnsMqttQueryClientByGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryClientByGroupIdAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttQueryClientByTopicResult> OnsMqttQueryClientByTopicOutcome;
-			typedef std::future<OnsMqttQueryClientByTopicOutcome> OnsMqttQueryClientByTopicOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryClientByTopicRequest&, const OnsMqttQueryClientByTopicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryClientByTopicAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttQueryHistoryOnlineResult> OnsMqttQueryHistoryOnlineOutcome;
-			typedef std::future<OnsMqttQueryHistoryOnlineOutcome> OnsMqttQueryHistoryOnlineOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryHistoryOnlineRequest&, const OnsMqttQueryHistoryOnlineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryHistoryOnlineAsyncHandler;
-			typedef Outcome<Error, Model::OnsMqttQueryMsgTransTrendResult> OnsMqttQueryMsgTransTrendOutcome;
-			typedef std::future<OnsMqttQueryMsgTransTrendOutcome> OnsMqttQueryMsgTransTrendOutcomeCallable;
-			typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryMsgTransTrendRequest&, const OnsMqttQueryMsgTransTrendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryMsgTransTrendAsyncHandler;
 			typedef Outcome<Error, Model::OnsRegionListResult> OnsRegionListOutcome;
 			typedef std::future<OnsRegionListOutcome> OnsRegionListOutcomeCallable;
 			typedef std::function<void(const OnsClient*, const Model::OnsRegionListRequest&, const OnsRegionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsRegionListAsyncHandler;
@@ -355,36 +310,9 @@ namespace AlibabaCloud
 			OnsMessagePushOutcome onsMessagePush(const Model::OnsMessagePushRequest &request)const;
 			void onsMessagePushAsync(const Model::OnsMessagePushRequest& request, const OnsMessagePushAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			OnsMessagePushOutcomeCallable onsMessagePushCallable(const Model::OnsMessagePushRequest& request) const;
-			OnsMessageSendOutcome onsMessageSend(const Model::OnsMessageSendRequest &request)const;
-			void onsMessageSendAsync(const Model::OnsMessageSendRequest& request, const OnsMessageSendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMessageSendOutcomeCallable onsMessageSendCallable(const Model::OnsMessageSendRequest& request) const;
 			OnsMessageTraceOutcome onsMessageTrace(const Model::OnsMessageTraceRequest &request)const;
 			void onsMessageTraceAsync(const Model::OnsMessageTraceRequest& request, const OnsMessageTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			OnsMessageTraceOutcomeCallable onsMessageTraceCallable(const Model::OnsMessageTraceRequest& request) const;
-			OnsMqttGroupIdCreateOutcome onsMqttGroupIdCreate(const Model::OnsMqttGroupIdCreateRequest &request)const;
-			void onsMqttGroupIdCreateAsync(const Model::OnsMqttGroupIdCreateRequest& request, const OnsMqttGroupIdCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttGroupIdCreateOutcomeCallable onsMqttGroupIdCreateCallable(const Model::OnsMqttGroupIdCreateRequest& request) const;
-			OnsMqttGroupIdDeleteOutcome onsMqttGroupIdDelete(const Model::OnsMqttGroupIdDeleteRequest &request)const;
-			void onsMqttGroupIdDeleteAsync(const Model::OnsMqttGroupIdDeleteRequest& request, const OnsMqttGroupIdDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttGroupIdDeleteOutcomeCallable onsMqttGroupIdDeleteCallable(const Model::OnsMqttGroupIdDeleteRequest& request) const;
-			OnsMqttGroupIdListOutcome onsMqttGroupIdList(const Model::OnsMqttGroupIdListRequest &request)const;
-			void onsMqttGroupIdListAsync(const Model::OnsMqttGroupIdListRequest& request, const OnsMqttGroupIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttGroupIdListOutcomeCallable onsMqttGroupIdListCallable(const Model::OnsMqttGroupIdListRequest& request) const;
-			OnsMqttQueryClientByClientIdOutcome onsMqttQueryClientByClientId(const Model::OnsMqttQueryClientByClientIdRequest &request)const;
-			void onsMqttQueryClientByClientIdAsync(const Model::OnsMqttQueryClientByClientIdRequest& request, const OnsMqttQueryClientByClientIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttQueryClientByClientIdOutcomeCallable onsMqttQueryClientByClientIdCallable(const Model::OnsMqttQueryClientByClientIdRequest& request) const;
-			OnsMqttQueryClientByGroupIdOutcome onsMqttQueryClientByGroupId(const Model::OnsMqttQueryClientByGroupIdRequest &request)const;
-			void onsMqttQueryClientByGroupIdAsync(const Model::OnsMqttQueryClientByGroupIdRequest& request, const OnsMqttQueryClientByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttQueryClientByGroupIdOutcomeCallable onsMqttQueryClientByGroupIdCallable(const Model::OnsMqttQueryClientByGroupIdRequest& request) const;
-			OnsMqttQueryClientByTopicOutcome onsMqttQueryClientByTopic(const Model::OnsMqttQueryClientByTopicRequest &request)const;
-			void onsMqttQueryClientByTopicAsync(const Model::OnsMqttQueryClientByTopicRequest& request, const OnsMqttQueryClientByTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttQueryClientByTopicOutcomeCallable onsMqttQueryClientByTopicCallable(const Model::OnsMqttQueryClientByTopicRequest& request) const;
-			OnsMqttQueryHistoryOnlineOutcome onsMqttQueryHistoryOnline(const Model::OnsMqttQueryHistoryOnlineRequest &request)const;
-			void onsMqttQueryHistoryOnlineAsync(const Model::OnsMqttQueryHistoryOnlineRequest& request, const OnsMqttQueryHistoryOnlineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttQueryHistoryOnlineOutcomeCallable onsMqttQueryHistoryOnlineCallable(const Model::OnsMqttQueryHistoryOnlineRequest& request) const;
-			OnsMqttQueryMsgTransTrendOutcome onsMqttQueryMsgTransTrend(const Model::OnsMqttQueryMsgTransTrendRequest &request)const;
-			void onsMqttQueryMsgTransTrendAsync(const Model::OnsMqttQueryMsgTransTrendRequest& request, const OnsMqttQueryMsgTransTrendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			OnsMqttQueryMsgTransTrendOutcomeCallable onsMqttQueryMsgTransTrendCallable(const Model::OnsMqttQueryMsgTransTrendRequest& request) const;
 			OnsRegionListOutcome onsRegionList(const Model::OnsRegionListRequest &request)const;
 			void onsRegionListAsync(const Model::OnsRegionListRequest& request, const OnsRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			OnsRegionListOutcomeCallable onsRegionListCallable(const Model::OnsRegionListRequest& request) const;

+ 0 - 60
ons/include/alibabacloud/ons/model/OnsMessageSendRequest.h

@@ -1,60 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMESSAGESENDREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMessageSendRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMessageSendRequest();
-				~OnsMessageSendRequest();
-
-				std::string getMessage()const;
-				void setMessage(const std::string& message);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-				std::string getTopic()const;
-				void setTopic(const std::string& topic);
-				std::string getTag()const;
-				void setTag(const std::string& tag);
-				std::string getKey()const;
-				void setKey(const std::string& key);
-
-            private:
-				std::string message_;
-				std::string instanceId_;
-				std::string topic_;
-				std::string tag_;
-				std::string key_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDREQUEST_H_

+ 0 - 53
ons/include/alibabacloud/ons/model/OnsMessageSendResult.h

@@ -1,53 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMESSAGESENDRESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDRESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMessageSendResult : public ServiceResult
-			{
-			public:
-
-
-				OnsMessageSendResult();
-				explicit OnsMessageSendResult(const std::string &payload);
-				~OnsMessageSendResult();
-				std::string getData()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				std::string data_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDRESULT_H_

+ 0 - 54
ons/include/alibabacloud/ons/model/OnsMqttGroupIdCreateRequest.h

@@ -1,54 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdCreateRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttGroupIdCreateRequest();
-				~OnsMqttGroupIdCreateRequest();
-
-				std::string getGroupId()const;
-				void setGroupId(const std::string& groupId);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-				std::string getTopic()const;
-				void setTopic(const std::string& topic);
-
-            private:
-				std::string groupId_;
-				std::string instanceId_;
-				std::string topic_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_

+ 0 - 51
ons/include/alibabacloud/ons/model/OnsMqttGroupIdCreateResult.h

@@ -1,51 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTGROUPIDCREATERESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATERESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdCreateResult : public ServiceResult
-			{
-			public:
-
-
-				OnsMqttGroupIdCreateResult();
-				explicit OnsMqttGroupIdCreateResult(const std::string &payload);
-				~OnsMqttGroupIdCreateResult();
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATERESULT_H_

+ 0 - 51
ons/include/alibabacloud/ons/model/OnsMqttGroupIdDeleteRequest.h

@@ -1,51 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdDeleteRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttGroupIdDeleteRequest();
-				~OnsMqttGroupIdDeleteRequest();
-
-				std::string getGroupId()const;
-				void setGroupId(const std::string& groupId);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-
-            private:
-				std::string groupId_;
-				std::string instanceId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_

+ 0 - 51
ons/include/alibabacloud/ons/model/OnsMqttGroupIdDeleteResult.h

@@ -1,51 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTGROUPIDDELETERESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETERESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdDeleteResult : public ServiceResult
-			{
-			public:
-
-
-				OnsMqttGroupIdDeleteResult();
-				explicit OnsMqttGroupIdDeleteResult(const std::string &payload);
-				~OnsMqttGroupIdDeleteResult();
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETERESULT_H_

+ 0 - 48
ons/include/alibabacloud/ons/model/OnsMqttGroupIdListRequest.h

@@ -1,48 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdListRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttGroupIdListRequest();
-				~OnsMqttGroupIdListRequest();
-
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-
-            private:
-				std::string instanceId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_

+ 0 - 66
ons/include/alibabacloud/ons/model/OnsMqttGroupIdListResult.h

@@ -1,66 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTGROUPIDLISTRESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTRESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdListResult : public ServiceResult
-			{
-			public:
-				struct MqttGroupIdDo
-				{
-					int status;
-					std::string owner;
-					std::string instanceId;
-					long createTime;
-					long updateTime;
-					bool independentNaming;
-					long id;
-					std::string topic;
-					int channelId;
-					std::string groupId;
-				};
-
-
-				OnsMqttGroupIdListResult();
-				explicit OnsMqttGroupIdListResult(const std::string &payload);
-				~OnsMqttGroupIdListResult();
-				std::vector<MqttGroupIdDo> getData()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				std::vector<MqttGroupIdDo> data_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTRESULT_H_

+ 0 - 51
ons/include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdRequest.h

@@ -1,51 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByClientIdRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttQueryClientByClientIdRequest();
-				~OnsMqttQueryClientByClientIdRequest();
-
-				std::string getClientId()const;
-				void setClientId(const std::string& clientId);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-
-            private:
-				std::string clientId_;
-				std::string instanceId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_

+ 0 - 67
ons/include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdResult.h

@@ -1,67 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDRESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDRESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByClientIdResult : public ServiceResult
-			{
-			public:
-				struct MqttClientInfoDo
-				{
-					struct SubscriptionDo
-					{
-						int qos;
-						std::string subTopic;
-						std::string parentTopic;
-					};
-					std::string socketChannel;
-					std::vector<SubscriptionDo> subScriptonData;
-					std::string clientId;
-					bool online;
-					long lastTouch;
-				};
-
-
-				OnsMqttQueryClientByClientIdResult();
-				explicit OnsMqttQueryClientByClientIdResult(const std::string &payload);
-				~OnsMqttQueryClientByClientIdResult();
-				MqttClientInfoDo getMqttClientInfoDo()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				MqttClientInfoDo mqttClientInfoDo_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDRESULT_H_

+ 0 - 51
ons/include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdRequest.h

@@ -1,51 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByGroupIdRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttQueryClientByGroupIdRequest();
-				~OnsMqttQueryClientByGroupIdRequest();
-
-				std::string getGroupId()const;
-				void setGroupId(const std::string& groupId);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-
-            private:
-				std::string groupId_;
-				std::string instanceId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_

+ 0 - 58
ons/include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdResult.h

@@ -1,58 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDRESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDRESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByGroupIdResult : public ServiceResult
-			{
-			public:
-				struct MqttClientSetDo
-				{
-					long persistCount;
-					long onlineCount;
-				};
-
-
-				OnsMqttQueryClientByGroupIdResult();
-				explicit OnsMqttQueryClientByGroupIdResult(const std::string &payload);
-				~OnsMqttQueryClientByGroupIdResult();
-				MqttClientSetDo getMqttClientSetDo()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				MqttClientSetDo mqttClientSetDo_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDRESULT_H_

+ 0 - 54
ons/include/alibabacloud/ons/model/OnsMqttQueryClientByTopicRequest.h

@@ -1,54 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByTopicRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttQueryClientByTopicRequest();
-				~OnsMqttQueryClientByTopicRequest();
-
-				std::string getParentTopic()const;
-				void setParentTopic(const std::string& parentTopic);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-				std::string getSubTopic()const;
-				void setSubTopic(const std::string& subTopic);
-
-            private:
-				std::string parentTopic_;
-				std::string instanceId_;
-				std::string subTopic_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_

+ 0 - 58
ons/include/alibabacloud/ons/model/OnsMqttQueryClientByTopicResult.h

@@ -1,58 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICRESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICRESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByTopicResult : public ServiceResult
-			{
-			public:
-				struct MqttClientSetDo
-				{
-					long persistCount;
-					long onlineCount;
-				};
-
-
-				OnsMqttQueryClientByTopicResult();
-				explicit OnsMqttQueryClientByTopicResult(const std::string &payload);
-				~OnsMqttQueryClientByTopicResult();
-				MqttClientSetDo getMqttClientSetDo()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				MqttClientSetDo mqttClientSetDo_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICRESULT_H_

+ 0 - 57
ons/include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineRequest.h

@@ -1,57 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryHistoryOnlineRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttQueryHistoryOnlineRequest();
-				~OnsMqttQueryHistoryOnlineRequest();
-
-				std::string getGroupId()const;
-				void setGroupId(const std::string& groupId);
-				long getEndTime()const;
-				void setEndTime(long endTime);
-				long getBeginTime()const;
-				void setBeginTime(long beginTime);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-
-            private:
-				std::string groupId_;
-				long endTime_;
-				long beginTime_;
-				std::string instanceId_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_

+ 0 - 65
ons/include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineResult.h

@@ -1,65 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYHISTORYONLINERESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINERESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryHistoryOnlineResult : public ServiceResult
-			{
-			public:
-				struct Data
-				{
-					struct StatsDataDo
-					{
-						long x;
-						float y;
-					};
-					std::string yUnit;
-					std::string title;
-					std::string xUnit;
-					std::vector<StatsDataDo> records;
-				};
-
-
-				OnsMqttQueryHistoryOnlineResult();
-				explicit OnsMqttQueryHistoryOnlineResult(const std::string &payload);
-				~OnsMqttQueryHistoryOnlineResult();
-				Data getData()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				Data data_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINERESULT_H_

+ 0 - 72
ons/include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendRequest.h

@@ -1,72 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_
-
-#include <string>
-#include <vector>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryMsgTransTrendRequest : public RpcServiceRequest
-			{
-
-			public:
-				OnsMqttQueryMsgTransTrendRequest();
-				~OnsMqttQueryMsgTransTrendRequest();
-
-				std::string getTransType()const;
-				void setTransType(const std::string& transType);
-				long getEndTime()const;
-				void setEndTime(long endTime);
-				long getBeginTime()const;
-				void setBeginTime(long beginTime);
-				std::string getTpsType()const;
-				void setTpsType(const std::string& tpsType);
-				std::string getParentTopic()const;
-				void setParentTopic(const std::string& parentTopic);
-				std::string getInstanceId()const;
-				void setInstanceId(const std::string& instanceId);
-				int getQos()const;
-				void setQos(int qos);
-				std::string getMsgType()const;
-				void setMsgType(const std::string& msgType);
-				std::string getSubTopic()const;
-				void setSubTopic(const std::string& subTopic);
-
-            private:
-				std::string transType_;
-				long endTime_;
-				long beginTime_;
-				std::string tpsType_;
-				std::string parentTopic_;
-				std::string instanceId_;
-				int qos_;
-				std::string msgType_;
-				std::string subTopic_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_

+ 0 - 65
ons/include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendResult.h

@@ -1,65 +0,0 @@
-/*
- * 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_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDRESULT_H_
-#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDRESULT_H_
-
-#include <string>
-#include <vector>
-#include <utility>
-#include <alibabacloud/core/ServiceResult.h>
-#include <alibabacloud/ons/OnsExport.h>
-
-namespace AlibabaCloud
-{
-	namespace Ons
-	{
-		namespace Model
-		{
-			class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryMsgTransTrendResult : public ServiceResult
-			{
-			public:
-				struct Data
-				{
-					struct StatsDataDo
-					{
-						long x;
-						float y;
-					};
-					std::string yUnit;
-					std::string title;
-					std::string xUnit;
-					std::vector<StatsDataDo> records;
-				};
-
-
-				OnsMqttQueryMsgTransTrendResult();
-				explicit OnsMqttQueryMsgTransTrendResult(const std::string &payload);
-				~OnsMqttQueryMsgTransTrendResult();
-				Data getData()const;
-				std::string getHelpUrl()const;
-
-			protected:
-				void parse(const std::string &payload);
-			private:
-				Data data_;
-				std::string helpUrl_;
-
-			};
-		}
-	}
-}
-#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDRESULT_H_

+ 1 - 0
ons/include/alibabacloud/ons/model/OnsTopicListResult.h

@@ -42,6 +42,7 @@ namespace AlibabaCloud
 					std::string owner;
 					int relation;
 					std::string instanceId;
+					int serviceStatus;
 					long createTime;
 					std::string relationName;
 					bool independentNaming;

+ 0 - 324
ons/src/OnsClient.cc

@@ -879,42 +879,6 @@ OnsClient::OnsMessagePushOutcomeCallable OnsClient::onsMessagePushCallable(const
 	return task->get_future();
 }
 
-OnsClient::OnsMessageSendOutcome OnsClient::onsMessageSend(const OnsMessageSendRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMessageSendOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMessageSendOutcome(OnsMessageSendResult(outcome.result()));
-	else
-		return OnsMessageSendOutcome(outcome.error());
-}
-
-void OnsClient::onsMessageSendAsync(const OnsMessageSendRequest& request, const OnsMessageSendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMessageSend(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMessageSendOutcomeCallable OnsClient::onsMessageSendCallable(const OnsMessageSendRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMessageSendOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMessageSend(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 OnsClient::OnsMessageTraceOutcome OnsClient::onsMessageTrace(const OnsMessageTraceRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,294 +915,6 @@ OnsClient::OnsMessageTraceOutcomeCallable OnsClient::onsMessageTraceCallable(con
 	return task->get_future();
 }
 
-OnsClient::OnsMqttGroupIdCreateOutcome OnsClient::onsMqttGroupIdCreate(const OnsMqttGroupIdCreateRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttGroupIdCreateOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttGroupIdCreateOutcome(OnsMqttGroupIdCreateResult(outcome.result()));
-	else
-		return OnsMqttGroupIdCreateOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttGroupIdCreateAsync(const OnsMqttGroupIdCreateRequest& request, const OnsMqttGroupIdCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttGroupIdCreate(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttGroupIdCreateOutcomeCallable OnsClient::onsMqttGroupIdCreateCallable(const OnsMqttGroupIdCreateRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttGroupIdCreateOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttGroupIdCreate(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttGroupIdDeleteOutcome OnsClient::onsMqttGroupIdDelete(const OnsMqttGroupIdDeleteRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttGroupIdDeleteOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttGroupIdDeleteOutcome(OnsMqttGroupIdDeleteResult(outcome.result()));
-	else
-		return OnsMqttGroupIdDeleteOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttGroupIdDeleteAsync(const OnsMqttGroupIdDeleteRequest& request, const OnsMqttGroupIdDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttGroupIdDelete(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttGroupIdDeleteOutcomeCallable OnsClient::onsMqttGroupIdDeleteCallable(const OnsMqttGroupIdDeleteRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttGroupIdDeleteOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttGroupIdDelete(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttGroupIdListOutcome OnsClient::onsMqttGroupIdList(const OnsMqttGroupIdListRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttGroupIdListOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttGroupIdListOutcome(OnsMqttGroupIdListResult(outcome.result()));
-	else
-		return OnsMqttGroupIdListOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttGroupIdListAsync(const OnsMqttGroupIdListRequest& request, const OnsMqttGroupIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttGroupIdList(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttGroupIdListOutcomeCallable OnsClient::onsMqttGroupIdListCallable(const OnsMqttGroupIdListRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttGroupIdListOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttGroupIdList(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttQueryClientByClientIdOutcome OnsClient::onsMqttQueryClientByClientId(const OnsMqttQueryClientByClientIdRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttQueryClientByClientIdOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttQueryClientByClientIdOutcome(OnsMqttQueryClientByClientIdResult(outcome.result()));
-	else
-		return OnsMqttQueryClientByClientIdOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttQueryClientByClientIdAsync(const OnsMqttQueryClientByClientIdRequest& request, const OnsMqttQueryClientByClientIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttQueryClientByClientId(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttQueryClientByClientIdOutcomeCallable OnsClient::onsMqttQueryClientByClientIdCallable(const OnsMqttQueryClientByClientIdRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttQueryClientByClientIdOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttQueryClientByClientId(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttQueryClientByGroupIdOutcome OnsClient::onsMqttQueryClientByGroupId(const OnsMqttQueryClientByGroupIdRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttQueryClientByGroupIdOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttQueryClientByGroupIdOutcome(OnsMqttQueryClientByGroupIdResult(outcome.result()));
-	else
-		return OnsMqttQueryClientByGroupIdOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttQueryClientByGroupIdAsync(const OnsMqttQueryClientByGroupIdRequest& request, const OnsMqttQueryClientByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttQueryClientByGroupId(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttQueryClientByGroupIdOutcomeCallable OnsClient::onsMqttQueryClientByGroupIdCallable(const OnsMqttQueryClientByGroupIdRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttQueryClientByGroupIdOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttQueryClientByGroupId(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttQueryClientByTopicOutcome OnsClient::onsMqttQueryClientByTopic(const OnsMqttQueryClientByTopicRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttQueryClientByTopicOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttQueryClientByTopicOutcome(OnsMqttQueryClientByTopicResult(outcome.result()));
-	else
-		return OnsMqttQueryClientByTopicOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttQueryClientByTopicAsync(const OnsMqttQueryClientByTopicRequest& request, const OnsMqttQueryClientByTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttQueryClientByTopic(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttQueryClientByTopicOutcomeCallable OnsClient::onsMqttQueryClientByTopicCallable(const OnsMqttQueryClientByTopicRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttQueryClientByTopicOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttQueryClientByTopic(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttQueryHistoryOnlineOutcome OnsClient::onsMqttQueryHistoryOnline(const OnsMqttQueryHistoryOnlineRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttQueryHistoryOnlineOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttQueryHistoryOnlineOutcome(OnsMqttQueryHistoryOnlineResult(outcome.result()));
-	else
-		return OnsMqttQueryHistoryOnlineOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttQueryHistoryOnlineAsync(const OnsMqttQueryHistoryOnlineRequest& request, const OnsMqttQueryHistoryOnlineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttQueryHistoryOnline(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttQueryHistoryOnlineOutcomeCallable OnsClient::onsMqttQueryHistoryOnlineCallable(const OnsMqttQueryHistoryOnlineRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttQueryHistoryOnlineOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttQueryHistoryOnline(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
-OnsClient::OnsMqttQueryMsgTransTrendOutcome OnsClient::onsMqttQueryMsgTransTrend(const OnsMqttQueryMsgTransTrendRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return OnsMqttQueryMsgTransTrendOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return OnsMqttQueryMsgTransTrendOutcome(OnsMqttQueryMsgTransTrendResult(outcome.result()));
-	else
-		return OnsMqttQueryMsgTransTrendOutcome(outcome.error());
-}
-
-void OnsClient::onsMqttQueryMsgTransTrendAsync(const OnsMqttQueryMsgTransTrendRequest& request, const OnsMqttQueryMsgTransTrendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, onsMqttQueryMsgTransTrend(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-OnsClient::OnsMqttQueryMsgTransTrendOutcomeCallable OnsClient::onsMqttQueryMsgTransTrendCallable(const OnsMqttQueryMsgTransTrendRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<OnsMqttQueryMsgTransTrendOutcome()>>(
-			[this, request]()
-			{
-			return this->onsMqttQueryMsgTransTrend(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 OnsClient::OnsRegionListOutcome OnsClient::onsRegionList(const OnsRegionListRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 0 - 84
ons/src/model/OnsMessageSendRequest.cc

@@ -1,84 +0,0 @@
-/*
- * 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/ons/model/OnsMessageSendRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMessageSendRequest;
-
-OnsMessageSendRequest::OnsMessageSendRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMessageSend")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMessageSendRequest::~OnsMessageSendRequest()
-{}
-
-std::string OnsMessageSendRequest::getMessage()const
-{
-	return message_;
-}
-
-void OnsMessageSendRequest::setMessage(const std::string& message)
-{
-	message_ = message;
-	setParameter("Message", message);
-}
-
-std::string OnsMessageSendRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMessageSendRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-
-std::string OnsMessageSendRequest::getTopic()const
-{
-	return topic_;
-}
-
-void OnsMessageSendRequest::setTopic(const std::string& topic)
-{
-	topic_ = topic;
-	setParameter("Topic", topic);
-}
-
-std::string OnsMessageSendRequest::getTag()const
-{
-	return tag_;
-}
-
-void OnsMessageSendRequest::setTag(const std::string& tag)
-{
-	tag_ = tag;
-	setParameter("Tag", tag);
-}
-
-std::string OnsMessageSendRequest::getKey()const
-{
-	return key_;
-}
-
-void OnsMessageSendRequest::setKey(const std::string& key)
-{
-	key_ = key;
-	setParameter("Key", key);
-}
-

+ 0 - 58
ons/src/model/OnsMessageSendResult.cc

@@ -1,58 +0,0 @@
-/*
- * 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/ons/model/OnsMessageSendResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMessageSendResult::OnsMessageSendResult() :
-	ServiceResult()
-{}
-
-OnsMessageSendResult::OnsMessageSendResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMessageSendResult::~OnsMessageSendResult()
-{}
-
-void OnsMessageSendResult::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["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-std::string OnsMessageSendResult::getData()const
-{
-	return data_;
-}
-
-std::string OnsMessageSendResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 62
ons/src/model/OnsMqttGroupIdCreateRequest.cc

@@ -1,62 +0,0 @@
-/*
- * 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/ons/model/OnsMqttGroupIdCreateRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttGroupIdCreateRequest;
-
-OnsMqttGroupIdCreateRequest::OnsMqttGroupIdCreateRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttGroupIdCreate")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttGroupIdCreateRequest::~OnsMqttGroupIdCreateRequest()
-{}
-
-std::string OnsMqttGroupIdCreateRequest::getGroupId()const
-{
-	return groupId_;
-}
-
-void OnsMqttGroupIdCreateRequest::setGroupId(const std::string& groupId)
-{
-	groupId_ = groupId;
-	setParameter("GroupId", groupId);
-}
-
-std::string OnsMqttGroupIdCreateRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttGroupIdCreateRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-
-std::string OnsMqttGroupIdCreateRequest::getTopic()const
-{
-	return topic_;
-}
-
-void OnsMqttGroupIdCreateRequest::setTopic(const std::string& topic)
-{
-	topic_ = topic;
-	setParameter("Topic", topic);
-}
-

+ 0 - 51
ons/src/model/OnsMqttGroupIdCreateResult.cc

@@ -1,51 +0,0 @@
-/*
- * 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/ons/model/OnsMqttGroupIdCreateResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttGroupIdCreateResult::OnsMqttGroupIdCreateResult() :
-	ServiceResult()
-{}
-
-OnsMqttGroupIdCreateResult::OnsMqttGroupIdCreateResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttGroupIdCreateResult::~OnsMqttGroupIdCreateResult()
-{}
-
-void OnsMqttGroupIdCreateResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-std::string OnsMqttGroupIdCreateResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 51
ons/src/model/OnsMqttGroupIdDeleteRequest.cc

@@ -1,51 +0,0 @@
-/*
- * 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/ons/model/OnsMqttGroupIdDeleteRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttGroupIdDeleteRequest;
-
-OnsMqttGroupIdDeleteRequest::OnsMqttGroupIdDeleteRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttGroupIdDelete")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttGroupIdDeleteRequest::~OnsMqttGroupIdDeleteRequest()
-{}
-
-std::string OnsMqttGroupIdDeleteRequest::getGroupId()const
-{
-	return groupId_;
-}
-
-void OnsMqttGroupIdDeleteRequest::setGroupId(const std::string& groupId)
-{
-	groupId_ = groupId;
-	setParameter("GroupId", groupId);
-}
-
-std::string OnsMqttGroupIdDeleteRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttGroupIdDeleteRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-

+ 0 - 51
ons/src/model/OnsMqttGroupIdDeleteResult.cc

@@ -1,51 +0,0 @@
-/*
- * 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/ons/model/OnsMqttGroupIdDeleteResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttGroupIdDeleteResult::OnsMqttGroupIdDeleteResult() :
-	ServiceResult()
-{}
-
-OnsMqttGroupIdDeleteResult::OnsMqttGroupIdDeleteResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttGroupIdDeleteResult::~OnsMqttGroupIdDeleteResult()
-{}
-
-void OnsMqttGroupIdDeleteResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-std::string OnsMqttGroupIdDeleteResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 40
ons/src/model/OnsMqttGroupIdListRequest.cc

@@ -1,40 +0,0 @@
-/*
- * 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/ons/model/OnsMqttGroupIdListRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttGroupIdListRequest;
-
-OnsMqttGroupIdListRequest::OnsMqttGroupIdListRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttGroupIdList")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttGroupIdListRequest::~OnsMqttGroupIdListRequest()
-{}
-
-std::string OnsMqttGroupIdListRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttGroupIdListRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-

+ 0 - 82
ons/src/model/OnsMqttGroupIdListResult.cc

@@ -1,82 +0,0 @@
-/*
- * 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/ons/model/OnsMqttGroupIdListResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttGroupIdListResult::OnsMqttGroupIdListResult() :
-	ServiceResult()
-{}
-
-OnsMqttGroupIdListResult::OnsMqttGroupIdListResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttGroupIdListResult::~OnsMqttGroupIdListResult()
-{}
-
-void OnsMqttGroupIdListResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto allDataNode = value["Data"]["MqttGroupIdDo"];
-	for (auto valueDataMqttGroupIdDo : allDataNode)
-	{
-		MqttGroupIdDo dataObject;
-		if(!valueDataMqttGroupIdDo["Status"].isNull())
-			dataObject.status = std::stoi(valueDataMqttGroupIdDo["Status"].asString());
-		if(!valueDataMqttGroupIdDo["UpdateTime"].isNull())
-			dataObject.updateTime = std::stol(valueDataMqttGroupIdDo["UpdateTime"].asString());
-		if(!valueDataMqttGroupIdDo["Owner"].isNull())
-			dataObject.owner = valueDataMqttGroupIdDo["Owner"].asString();
-		if(!valueDataMqttGroupIdDo["IndependentNaming"].isNull())
-			dataObject.independentNaming = valueDataMqttGroupIdDo["IndependentNaming"].asString() == "true";
-		if(!valueDataMqttGroupIdDo["GroupId"].isNull())
-			dataObject.groupId = valueDataMqttGroupIdDo["GroupId"].asString();
-		if(!valueDataMqttGroupIdDo["CreateTime"].isNull())
-			dataObject.createTime = std::stol(valueDataMqttGroupIdDo["CreateTime"].asString());
-		if(!valueDataMqttGroupIdDo["Topic"].isNull())
-			dataObject.topic = valueDataMqttGroupIdDo["Topic"].asString();
-		if(!valueDataMqttGroupIdDo["ChannelId"].isNull())
-			dataObject.channelId = std::stoi(valueDataMqttGroupIdDo["ChannelId"].asString());
-		if(!valueDataMqttGroupIdDo["InstanceId"].isNull())
-			dataObject.instanceId = valueDataMqttGroupIdDo["InstanceId"].asString();
-		if(!valueDataMqttGroupIdDo["Id"].isNull())
-			dataObject.id = std::stol(valueDataMqttGroupIdDo["Id"].asString());
-		data_.push_back(dataObject);
-	}
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-std::vector<OnsMqttGroupIdListResult::MqttGroupIdDo> OnsMqttGroupIdListResult::getData()const
-{
-	return data_;
-}
-
-std::string OnsMqttGroupIdListResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 51
ons/src/model/OnsMqttQueryClientByClientIdRequest.cc

@@ -1,51 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryClientByClientIdRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttQueryClientByClientIdRequest;
-
-OnsMqttQueryClientByClientIdRequest::OnsMqttQueryClientByClientIdRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttQueryClientByClientId")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttQueryClientByClientIdRequest::~OnsMqttQueryClientByClientIdRequest()
-{}
-
-std::string OnsMqttQueryClientByClientIdRequest::getClientId()const
-{
-	return clientId_;
-}
-
-void OnsMqttQueryClientByClientIdRequest::setClientId(const std::string& clientId)
-{
-	clientId_ = clientId;
-	setParameter("ClientId", clientId);
-}
-
-std::string OnsMqttQueryClientByClientIdRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttQueryClientByClientIdRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-

+ 0 - 77
ons/src/model/OnsMqttQueryClientByClientIdResult.cc

@@ -1,77 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryClientByClientIdResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttQueryClientByClientIdResult::OnsMqttQueryClientByClientIdResult() :
-	ServiceResult()
-{}
-
-OnsMqttQueryClientByClientIdResult::OnsMqttQueryClientByClientIdResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttQueryClientByClientIdResult::~OnsMqttQueryClientByClientIdResult()
-{}
-
-void OnsMqttQueryClientByClientIdResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto mqttClientInfoDoNode = value["MqttClientInfoDo"];
-	if(!mqttClientInfoDoNode["Online"].isNull())
-		mqttClientInfoDo_.online = mqttClientInfoDoNode["Online"].asString() == "true";
-	if(!mqttClientInfoDoNode["LastTouch"].isNull())
-		mqttClientInfoDo_.lastTouch = std::stol(mqttClientInfoDoNode["LastTouch"].asString());
-	if(!mqttClientInfoDoNode["SocketChannel"].isNull())
-		mqttClientInfoDo_.socketChannel = mqttClientInfoDoNode["SocketChannel"].asString();
-	if(!mqttClientInfoDoNode["ClientId"].isNull())
-		mqttClientInfoDo_.clientId = mqttClientInfoDoNode["ClientId"].asString();
-	auto allSubScriptonDataNode = mqttClientInfoDoNode["SubScriptonData"]["SubscriptionDo"];
-	for (auto mqttClientInfoDoNodeSubScriptonDataSubscriptionDo : allSubScriptonDataNode)
-	{
-		MqttClientInfoDo::SubscriptionDo subscriptionDoObject;
-		if(!mqttClientInfoDoNodeSubScriptonDataSubscriptionDo["SubTopic"].isNull())
-			subscriptionDoObject.subTopic = mqttClientInfoDoNodeSubScriptonDataSubscriptionDo["SubTopic"].asString();
-		if(!mqttClientInfoDoNodeSubScriptonDataSubscriptionDo["ParentTopic"].isNull())
-			subscriptionDoObject.parentTopic = mqttClientInfoDoNodeSubScriptonDataSubscriptionDo["ParentTopic"].asString();
-		if(!mqttClientInfoDoNodeSubScriptonDataSubscriptionDo["Qos"].isNull())
-			subscriptionDoObject.qos = std::stoi(mqttClientInfoDoNodeSubScriptonDataSubscriptionDo["Qos"].asString());
-		mqttClientInfoDo_.subScriptonData.push_back(subscriptionDoObject);
-	}
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-OnsMqttQueryClientByClientIdResult::MqttClientInfoDo OnsMqttQueryClientByClientIdResult::getMqttClientInfoDo()const
-{
-	return mqttClientInfoDo_;
-}
-
-std::string OnsMqttQueryClientByClientIdResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 51
ons/src/model/OnsMqttQueryClientByGroupIdRequest.cc

@@ -1,51 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryClientByGroupIdRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttQueryClientByGroupIdRequest;
-
-OnsMqttQueryClientByGroupIdRequest::OnsMqttQueryClientByGroupIdRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttQueryClientByGroupId")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttQueryClientByGroupIdRequest::~OnsMqttQueryClientByGroupIdRequest()
-{}
-
-std::string OnsMqttQueryClientByGroupIdRequest::getGroupId()const
-{
-	return groupId_;
-}
-
-void OnsMqttQueryClientByGroupIdRequest::setGroupId(const std::string& groupId)
-{
-	groupId_ = groupId;
-	setParameter("GroupId", groupId);
-}
-
-std::string OnsMqttQueryClientByGroupIdRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttQueryClientByGroupIdRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-

+ 0 - 61
ons/src/model/OnsMqttQueryClientByGroupIdResult.cc

@@ -1,61 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryClientByGroupIdResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttQueryClientByGroupIdResult::OnsMqttQueryClientByGroupIdResult() :
-	ServiceResult()
-{}
-
-OnsMqttQueryClientByGroupIdResult::OnsMqttQueryClientByGroupIdResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttQueryClientByGroupIdResult::~OnsMqttQueryClientByGroupIdResult()
-{}
-
-void OnsMqttQueryClientByGroupIdResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto mqttClientSetDoNode = value["MqttClientSetDo"];
-	if(!mqttClientSetDoNode["PersistCount"].isNull())
-		mqttClientSetDo_.persistCount = std::stol(mqttClientSetDoNode["PersistCount"].asString());
-	if(!mqttClientSetDoNode["OnlineCount"].isNull())
-		mqttClientSetDo_.onlineCount = std::stol(mqttClientSetDoNode["OnlineCount"].asString());
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-OnsMqttQueryClientByGroupIdResult::MqttClientSetDo OnsMqttQueryClientByGroupIdResult::getMqttClientSetDo()const
-{
-	return mqttClientSetDo_;
-}
-
-std::string OnsMqttQueryClientByGroupIdResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 62
ons/src/model/OnsMqttQueryClientByTopicRequest.cc

@@ -1,62 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryClientByTopicRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttQueryClientByTopicRequest;
-
-OnsMqttQueryClientByTopicRequest::OnsMqttQueryClientByTopicRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttQueryClientByTopic")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttQueryClientByTopicRequest::~OnsMqttQueryClientByTopicRequest()
-{}
-
-std::string OnsMqttQueryClientByTopicRequest::getParentTopic()const
-{
-	return parentTopic_;
-}
-
-void OnsMqttQueryClientByTopicRequest::setParentTopic(const std::string& parentTopic)
-{
-	parentTopic_ = parentTopic;
-	setParameter("ParentTopic", parentTopic);
-}
-
-std::string OnsMqttQueryClientByTopicRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttQueryClientByTopicRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-
-std::string OnsMqttQueryClientByTopicRequest::getSubTopic()const
-{
-	return subTopic_;
-}
-
-void OnsMqttQueryClientByTopicRequest::setSubTopic(const std::string& subTopic)
-{
-	subTopic_ = subTopic;
-	setParameter("SubTopic", subTopic);
-}
-

+ 0 - 61
ons/src/model/OnsMqttQueryClientByTopicResult.cc

@@ -1,61 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryClientByTopicResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttQueryClientByTopicResult::OnsMqttQueryClientByTopicResult() :
-	ServiceResult()
-{}
-
-OnsMqttQueryClientByTopicResult::OnsMqttQueryClientByTopicResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttQueryClientByTopicResult::~OnsMqttQueryClientByTopicResult()
-{}
-
-void OnsMqttQueryClientByTopicResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto mqttClientSetDoNode = value["MqttClientSetDo"];
-	if(!mqttClientSetDoNode["PersistCount"].isNull())
-		mqttClientSetDo_.persistCount = std::stol(mqttClientSetDoNode["PersistCount"].asString());
-	if(!mqttClientSetDoNode["OnlineCount"].isNull())
-		mqttClientSetDo_.onlineCount = std::stol(mqttClientSetDoNode["OnlineCount"].asString());
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-OnsMqttQueryClientByTopicResult::MqttClientSetDo OnsMqttQueryClientByTopicResult::getMqttClientSetDo()const
-{
-	return mqttClientSetDo_;
-}
-
-std::string OnsMqttQueryClientByTopicResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 73
ons/src/model/OnsMqttQueryHistoryOnlineRequest.cc

@@ -1,73 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryHistoryOnlineRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttQueryHistoryOnlineRequest;
-
-OnsMqttQueryHistoryOnlineRequest::OnsMqttQueryHistoryOnlineRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttQueryHistoryOnline")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttQueryHistoryOnlineRequest::~OnsMqttQueryHistoryOnlineRequest()
-{}
-
-std::string OnsMqttQueryHistoryOnlineRequest::getGroupId()const
-{
-	return groupId_;
-}
-
-void OnsMqttQueryHistoryOnlineRequest::setGroupId(const std::string& groupId)
-{
-	groupId_ = groupId;
-	setParameter("GroupId", groupId);
-}
-
-long OnsMqttQueryHistoryOnlineRequest::getEndTime()const
-{
-	return endTime_;
-}
-
-void OnsMqttQueryHistoryOnlineRequest::setEndTime(long endTime)
-{
-	endTime_ = endTime;
-	setParameter("EndTime", std::to_string(endTime));
-}
-
-long OnsMqttQueryHistoryOnlineRequest::getBeginTime()const
-{
-	return beginTime_;
-}
-
-void OnsMqttQueryHistoryOnlineRequest::setBeginTime(long beginTime)
-{
-	beginTime_ = beginTime;
-	setParameter("BeginTime", std::to_string(beginTime));
-}
-
-std::string OnsMqttQueryHistoryOnlineRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttQueryHistoryOnlineRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-

+ 0 - 73
ons/src/model/OnsMqttQueryHistoryOnlineResult.cc

@@ -1,73 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryHistoryOnlineResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttQueryHistoryOnlineResult::OnsMqttQueryHistoryOnlineResult() :
-	ServiceResult()
-{}
-
-OnsMqttQueryHistoryOnlineResult::OnsMqttQueryHistoryOnlineResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttQueryHistoryOnlineResult::~OnsMqttQueryHistoryOnlineResult()
-{}
-
-void OnsMqttQueryHistoryOnlineResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto dataNode = value["Data"];
-	if(!dataNode["XUnit"].isNull())
-		data_.xUnit = dataNode["XUnit"].asString();
-	if(!dataNode["YUnit"].isNull())
-		data_.yUnit = dataNode["YUnit"].asString();
-	if(!dataNode["Title"].isNull())
-		data_.title = dataNode["Title"].asString();
-	auto allRecordsNode = dataNode["Records"]["StatsDataDo"];
-	for (auto dataNodeRecordsStatsDataDo : allRecordsNode)
-	{
-		Data::StatsDataDo statsDataDoObject;
-		if(!dataNodeRecordsStatsDataDo["Y"].isNull())
-			statsDataDoObject.y = std::stof(dataNodeRecordsStatsDataDo["Y"].asString());
-		if(!dataNodeRecordsStatsDataDo["X"].isNull())
-			statsDataDoObject.x = std::stol(dataNodeRecordsStatsDataDo["X"].asString());
-		data_.records.push_back(statsDataDoObject);
-	}
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-OnsMqttQueryHistoryOnlineResult::Data OnsMqttQueryHistoryOnlineResult::getData()const
-{
-	return data_;
-}
-
-std::string OnsMqttQueryHistoryOnlineResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 0 - 128
ons/src/model/OnsMqttQueryMsgTransTrendRequest.cc

@@ -1,128 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryMsgTransTrendRequest.h>
-
-using AlibabaCloud::Ons::Model::OnsMqttQueryMsgTransTrendRequest;
-
-OnsMqttQueryMsgTransTrendRequest::OnsMqttQueryMsgTransTrendRequest() :
-	RpcServiceRequest("ons", "2019-02-14", "OnsMqttQueryMsgTransTrend")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-OnsMqttQueryMsgTransTrendRequest::~OnsMqttQueryMsgTransTrendRequest()
-{}
-
-std::string OnsMqttQueryMsgTransTrendRequest::getTransType()const
-{
-	return transType_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setTransType(const std::string& transType)
-{
-	transType_ = transType;
-	setParameter("TransType", transType);
-}
-
-long OnsMqttQueryMsgTransTrendRequest::getEndTime()const
-{
-	return endTime_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setEndTime(long endTime)
-{
-	endTime_ = endTime;
-	setParameter("EndTime", std::to_string(endTime));
-}
-
-long OnsMqttQueryMsgTransTrendRequest::getBeginTime()const
-{
-	return beginTime_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setBeginTime(long beginTime)
-{
-	beginTime_ = beginTime;
-	setParameter("BeginTime", std::to_string(beginTime));
-}
-
-std::string OnsMqttQueryMsgTransTrendRequest::getTpsType()const
-{
-	return tpsType_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setTpsType(const std::string& tpsType)
-{
-	tpsType_ = tpsType;
-	setParameter("TpsType", tpsType);
-}
-
-std::string OnsMqttQueryMsgTransTrendRequest::getParentTopic()const
-{
-	return parentTopic_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setParentTopic(const std::string& parentTopic)
-{
-	parentTopic_ = parentTopic;
-	setParameter("ParentTopic", parentTopic);
-}
-
-std::string OnsMqttQueryMsgTransTrendRequest::getInstanceId()const
-{
-	return instanceId_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setInstanceId(const std::string& instanceId)
-{
-	instanceId_ = instanceId;
-	setParameter("InstanceId", instanceId);
-}
-
-int OnsMqttQueryMsgTransTrendRequest::getQos()const
-{
-	return qos_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setQos(int qos)
-{
-	qos_ = qos;
-	setParameter("Qos", std::to_string(qos));
-}
-
-std::string OnsMqttQueryMsgTransTrendRequest::getMsgType()const
-{
-	return msgType_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setMsgType(const std::string& msgType)
-{
-	msgType_ = msgType;
-	setParameter("MsgType", msgType);
-}
-
-std::string OnsMqttQueryMsgTransTrendRequest::getSubTopic()const
-{
-	return subTopic_;
-}
-
-void OnsMqttQueryMsgTransTrendRequest::setSubTopic(const std::string& subTopic)
-{
-	subTopic_ = subTopic;
-	setParameter("SubTopic", subTopic);
-}
-

+ 0 - 73
ons/src/model/OnsMqttQueryMsgTransTrendResult.cc

@@ -1,73 +0,0 @@
-/*
- * 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/ons/model/OnsMqttQueryMsgTransTrendResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Ons;
-using namespace AlibabaCloud::Ons::Model;
-
-OnsMqttQueryMsgTransTrendResult::OnsMqttQueryMsgTransTrendResult() :
-	ServiceResult()
-{}
-
-OnsMqttQueryMsgTransTrendResult::OnsMqttQueryMsgTransTrendResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-OnsMqttQueryMsgTransTrendResult::~OnsMqttQueryMsgTransTrendResult()
-{}
-
-void OnsMqttQueryMsgTransTrendResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	auto dataNode = value["Data"];
-	if(!dataNode["XUnit"].isNull())
-		data_.xUnit = dataNode["XUnit"].asString();
-	if(!dataNode["YUnit"].isNull())
-		data_.yUnit = dataNode["YUnit"].asString();
-	if(!dataNode["Title"].isNull())
-		data_.title = dataNode["Title"].asString();
-	auto allRecordsNode = dataNode["Records"]["StatsDataDo"];
-	for (auto dataNodeRecordsStatsDataDo : allRecordsNode)
-	{
-		Data::StatsDataDo statsDataDoObject;
-		if(!dataNodeRecordsStatsDataDo["Y"].isNull())
-			statsDataDoObject.y = std::stof(dataNodeRecordsStatsDataDo["Y"].asString());
-		if(!dataNodeRecordsStatsDataDo["X"].isNull())
-			statsDataDoObject.x = std::stol(dataNodeRecordsStatsDataDo["X"].asString());
-		data_.records.push_back(statsDataDoObject);
-	}
-	if(!value["HelpUrl"].isNull())
-		helpUrl_ = value["HelpUrl"].asString();
-
-}
-
-OnsMqttQueryMsgTransTrendResult::Data OnsMqttQueryMsgTransTrendResult::getData()const
-{
-	return data_;
-}
-
-std::string OnsMqttQueryMsgTransTrendResult::getHelpUrl()const
-{
-	return helpUrl_;
-}
-

+ 2 - 0
ons/src/model/OnsTopicListResult.cc

@@ -61,6 +61,8 @@ void OnsTopicListResult::parse(const std::string &payload)
 			dataObject.topic = valueDataPublishInfoDo["Topic"].asString();
 		if(!valueDataPublishInfoDo["InstanceId"].isNull())
 			dataObject.instanceId = valueDataPublishInfoDo["InstanceId"].asString();
+		if(!valueDataPublishInfoDo["ServiceStatus"].isNull())
+			dataObject.serviceStatus = std::stoi(valueDataPublishInfoDo["ServiceStatus"].asString());
 		auto allTagsNode = valueDataPublishInfoDo["Tags"]["Tag"];
 		for (auto valueDataPublishInfoDoTagsTag : allTagsNode)
 		{