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

ONS SDK Auto Released By wenting.ywt,Version:1.34.63

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 лет назад
Родитель
Сommit
21d175fb29
100 измененных файлов с 8025 добавлено и 2 удалено
  1. 5 0
      CHANGELOG
  2. 2 1
      CMakeLists.txt
  3. 1 1
      VERSION
  4. 266 0
      ons/CMakeLists.txt
  5. 414 0
      ons/include/alibabacloud/ons/OnsClient.h
  6. 32 0
      ons/include/alibabacloud/ons/OnsExport.h
  7. 57 0
      ons/include/alibabacloud/ons/model/OnsConsumerAccumulateRequest.h
  8. 69 0
      ons/include/alibabacloud/ons/model/OnsConsumerAccumulateResult.h
  9. 54 0
      ons/include/alibabacloud/ons/model/OnsConsumerGetConnectionRequest.h
  10. 64 0
      ons/include/alibabacloud/ons/model/OnsConsumerGetConnectionResult.h
  11. 63 0
      ons/include/alibabacloud/ons/model/OnsConsumerResetOffsetRequest.h
  12. 51 0
      ons/include/alibabacloud/ons/model/OnsConsumerResetOffsetResult.h
  13. 60 0
      ons/include/alibabacloud/ons/model/OnsConsumerStatusRequest.h
  14. 118 0
      ons/include/alibabacloud/ons/model/OnsConsumerStatusResult.h
  15. 57 0
      ons/include/alibabacloud/ons/model/OnsConsumerTimeSpanRequest.h
  16. 61 0
      ons/include/alibabacloud/ons/model/OnsConsumerTimeSpanResult.h
  17. 57 0
      ons/include/alibabacloud/ons/model/OnsDLQMessageGetByIdRequest.h
  18. 75 0
      ons/include/alibabacloud/ons/model/OnsDLQMessageGetByIdResult.h
  19. 69 0
      ons/include/alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdRequest.h
  20. 82 0
      ons/include/alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdResult.h
  21. 57 0
      ons/include/alibabacloud/ons/model/OnsDLQMessageResendByIdRequest.h
  22. 53 0
      ons/include/alibabacloud/ons/model/OnsDLQMessageResendByIdResult.h
  23. 57 0
      ons/include/alibabacloud/ons/model/OnsGroupConsumerUpdateRequest.h
  24. 51 0
      ons/include/alibabacloud/ons/model/OnsGroupConsumerUpdateResult.h
  25. 57 0
      ons/include/alibabacloud/ons/model/OnsGroupCreateRequest.h
  26. 51 0
      ons/include/alibabacloud/ons/model/OnsGroupCreateResult.h
  27. 54 0
      ons/include/alibabacloud/ons/model/OnsGroupDeleteRequest.h
  28. 51 0
      ons/include/alibabacloud/ons/model/OnsGroupDeleteResult.h
  29. 54 0
      ons/include/alibabacloud/ons/model/OnsGroupListRequest.h
  30. 62 0
      ons/include/alibabacloud/ons/model/OnsGroupListResult.h
  31. 54 0
      ons/include/alibabacloud/ons/model/OnsGroupSubDetailRequest.h
  32. 63 0
      ons/include/alibabacloud/ons/model/OnsGroupSubDetailResult.h
  33. 51 0
      ons/include/alibabacloud/ons/model/OnsInstanceBaseInfoRequest.h
  34. 70 0
      ons/include/alibabacloud/ons/model/OnsInstanceBaseInfoResult.h
  35. 54 0
      ons/include/alibabacloud/ons/model/OnsInstanceCreateRequest.h
  36. 58 0
      ons/include/alibabacloud/ons/model/OnsInstanceCreateResult.h
  37. 51 0
      ons/include/alibabacloud/ons/model/OnsInstanceDeleteRequest.h
  38. 51 0
      ons/include/alibabacloud/ons/model/OnsInstanceDeleteResult.h
  39. 48 0
      ons/include/alibabacloud/ons/model/OnsInstanceInServiceListRequest.h
  40. 62 0
      ons/include/alibabacloud/ons/model/OnsInstanceInServiceListResult.h
  41. 57 0
      ons/include/alibabacloud/ons/model/OnsInstanceUpdateRequest.h
  42. 51 0
      ons/include/alibabacloud/ons/model/OnsInstanceUpdateResult.h
  43. 57 0
      ons/include/alibabacloud/ons/model/OnsMessageGetByKeyRequest.h
  44. 75 0
      ons/include/alibabacloud/ons/model/OnsMessageGetByKeyResult.h
  45. 57 0
      ons/include/alibabacloud/ons/model/OnsMessageGetByMsgIdRequest.h
  46. 75 0
      ons/include/alibabacloud/ons/model/OnsMessageGetByMsgIdResult.h
  47. 69 0
      ons/include/alibabacloud/ons/model/OnsMessagePageQueryByTopicRequest.h
  48. 82 0
      ons/include/alibabacloud/ons/model/OnsMessagePageQueryByTopicResult.h
  49. 63 0
      ons/include/alibabacloud/ons/model/OnsMessagePushRequest.h
  50. 51 0
      ons/include/alibabacloud/ons/model/OnsMessagePushResult.h
  51. 63 0
      ons/include/alibabacloud/ons/model/OnsMessageSendRequest.h
  52. 53 0
      ons/include/alibabacloud/ons/model/OnsMessageSendResult.h
  53. 57 0
      ons/include/alibabacloud/ons/model/OnsMessageTraceRequest.h
  54. 60 0
      ons/include/alibabacloud/ons/model/OnsMessageTraceResult.h
  55. 60 0
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdCreateRequest.h
  56. 51 0
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdCreateResult.h
  57. 57 0
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdDeleteRequest.h
  58. 51 0
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdDeleteResult.h
  59. 51 0
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdListRequest.h
  60. 66 0
      ons/include/alibabacloud/ons/model/OnsMqttGroupIdListResult.h
  61. 54 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdRequest.h
  62. 67 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdResult.h
  63. 54 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdRequest.h
  64. 58 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdResult.h
  65. 57 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByTopicRequest.h
  66. 58 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryClientByTopicResult.h
  67. 60 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineRequest.h
  68. 65 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineResult.h
  69. 75 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendRequest.h
  70. 65 0
      ons/include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendResult.h
  71. 48 0
      ons/include/alibabacloud/ons/model/OnsRegionListRequest.h
  72. 63 0
      ons/include/alibabacloud/ons/model/OnsRegionListResult.h
  73. 60 0
      ons/include/alibabacloud/ons/model/OnsTopicCreateRequest.h
  74. 51 0
      ons/include/alibabacloud/ons/model/OnsTopicCreateResult.h
  75. 54 0
      ons/include/alibabacloud/ons/model/OnsTopicDeleteRequest.h
  76. 51 0
      ons/include/alibabacloud/ons/model/OnsTopicDeleteResult.h
  77. 54 0
      ons/include/alibabacloud/ons/model/OnsTopicListRequest.h
  78. 65 0
      ons/include/alibabacloud/ons/model/OnsTopicListResult.h
  79. 54 0
      ons/include/alibabacloud/ons/model/OnsTopicStatusRequest.h
  80. 59 0
      ons/include/alibabacloud/ons/model/OnsTopicStatusResult.h
  81. 54 0
      ons/include/alibabacloud/ons/model/OnsTopicSubDetailRequest.h
  82. 62 0
      ons/include/alibabacloud/ons/model/OnsTopicSubDetailResult.h
  83. 57 0
      ons/include/alibabacloud/ons/model/OnsTopicUpdateRequest.h
  84. 51 0
      ons/include/alibabacloud/ons/model/OnsTopicUpdateResult.h
  85. 51 0
      ons/include/alibabacloud/ons/model/OnsTraceGetResultRequest.h
  86. 95 0
      ons/include/alibabacloud/ons/model/OnsTraceGetResultResult.h
  87. 63 0
      ons/include/alibabacloud/ons/model/OnsTraceQueryByMsgIdRequest.h
  88. 53 0
      ons/include/alibabacloud/ons/model/OnsTraceQueryByMsgIdResult.h
  89. 63 0
      ons/include/alibabacloud/ons/model/OnsTraceQueryByMsgKeyRequest.h
  90. 53 0
      ons/include/alibabacloud/ons/model/OnsTraceQueryByMsgKeyResult.h
  91. 69 0
      ons/include/alibabacloud/ons/model/OnsTrendGroupOutputTpsRequest.h
  92. 65 0
      ons/include/alibabacloud/ons/model/OnsTrendGroupOutputTpsResult.h
  93. 66 0
      ons/include/alibabacloud/ons/model/OnsTrendTopicInputTpsRequest.h
  94. 65 0
      ons/include/alibabacloud/ons/model/OnsTrendTopicInputTpsResult.h
  95. 75 0
      ons/include/alibabacloud/ons/model/OnsWarnCreateRequest.h
  96. 51 0
      ons/include/alibabacloud/ons/model/OnsWarnCreateResult.h
  97. 57 0
      ons/include/alibabacloud/ons/model/OnsWarnDeleteRequest.h
  98. 51 0
      ons/include/alibabacloud/ons/model/OnsWarnDeleteResult.h
  99. 1709 0
      ons/src/OnsClient.cc
  100. 71 0
      ons/src/model/OnsConsumerAccumulateRequest.cc

+ 5 - 0
CHANGELOG

@@ -1,3 +1,8 @@
+2019-03-27 Version: 1.34.63
+1, Add DLQ message openAPI.
+2, Add Query the subscription relational openAPI.
+3, Remove white list restrictions.
+
 2019-03-27 Version: 1.34.62
 1, release dysmsapi
 

+ 2 - 1
CMakeLists.txt

@@ -113,4 +113,5 @@ add_subdirectory(kms)
 add_subdirectory(sas-api)
 add_subdirectory(jarvis-public)
 add_subdirectory(mts)
-add_subdirectory(dysmsapi)
+add_subdirectory(dysmsapi)
+add_subdirectory(ons)

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.34.62
+1.34.63

+ 266 - 0
ons/CMakeLists.txt

@@ -0,0 +1,266 @@
+#
+# 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.
+#
+
+set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
+
+set(ons_public_header 
+	include/alibabacloud/ons/OnsClient.h
+	include/alibabacloud/ons/OnsExport.h )
+
+set(ons_public_header_model 
+	include/alibabacloud/ons/model/OnsTopicSubDetailRequest.h
+	include/alibabacloud/ons/model/OnsTopicSubDetailResult.h
+	include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineRequest.h
+	include/alibabacloud/ons/model/OnsMqttQueryHistoryOnlineResult.h
+	include/alibabacloud/ons/model/OnsInstanceDeleteRequest.h
+	include/alibabacloud/ons/model/OnsInstanceDeleteResult.h
+	include/alibabacloud/ons/model/OnsTopicDeleteRequest.h
+	include/alibabacloud/ons/model/OnsTopicDeleteResult.h
+	include/alibabacloud/ons/model/OnsTopicUpdateRequest.h
+	include/alibabacloud/ons/model/OnsTopicUpdateResult.h
+	include/alibabacloud/ons/model/OnsTraceQueryByMsgKeyRequest.h
+	include/alibabacloud/ons/model/OnsTraceQueryByMsgKeyResult.h
+	include/alibabacloud/ons/model/OnsConsumerGetConnectionRequest.h
+	include/alibabacloud/ons/model/OnsConsumerGetConnectionResult.h
+	include/alibabacloud/ons/model/OnsTraceQueryByMsgIdRequest.h
+	include/alibabacloud/ons/model/OnsTraceQueryByMsgIdResult.h
+	include/alibabacloud/ons/model/OnsRegionListRequest.h
+	include/alibabacloud/ons/model/OnsRegionListResult.h
+	include/alibabacloud/ons/model/OnsTopicListRequest.h
+	include/alibabacloud/ons/model/OnsTopicListResult.h
+	include/alibabacloud/ons/model/OnsConsumerAccumulateRequest.h
+	include/alibabacloud/ons/model/OnsConsumerAccumulateResult.h
+	include/alibabacloud/ons/model/OnsMessageSendRequest.h
+	include/alibabacloud/ons/model/OnsMessageSendResult.h
+	include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdRequest.h
+	include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdResult.h
+	include/alibabacloud/ons/model/OnsGroupConsumerUpdateRequest.h
+	include/alibabacloud/ons/model/OnsGroupConsumerUpdateResult.h
+	include/alibabacloud/ons/model/OnsMessageTraceRequest.h
+	include/alibabacloud/ons/model/OnsMessageTraceResult.h
+	include/alibabacloud/ons/model/OnsConsumerTimeSpanRequest.h
+	include/alibabacloud/ons/model/OnsConsumerTimeSpanResult.h
+	include/alibabacloud/ons/model/OnsGroupListRequest.h
+	include/alibabacloud/ons/model/OnsGroupListResult.h
+	include/alibabacloud/ons/model/OnsGroupSubDetailRequest.h
+	include/alibabacloud/ons/model/OnsGroupSubDetailResult.h
+	include/alibabacloud/ons/model/OnsTraceGetResultRequest.h
+	include/alibabacloud/ons/model/OnsTraceGetResultResult.h
+	include/alibabacloud/ons/model/OnsTopicCreateRequest.h
+	include/alibabacloud/ons/model/OnsTopicCreateResult.h
+	include/alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdRequest.h
+	include/alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdResult.h
+	include/alibabacloud/ons/model/OnsGroupDeleteRequest.h
+	include/alibabacloud/ons/model/OnsGroupDeleteResult.h
+	include/alibabacloud/ons/model/OnsInstanceUpdateRequest.h
+	include/alibabacloud/ons/model/OnsInstanceUpdateResult.h
+	include/alibabacloud/ons/model/OnsMessagePageQueryByTopicRequest.h
+	include/alibabacloud/ons/model/OnsMessagePageQueryByTopicResult.h
+	include/alibabacloud/ons/model/OnsTrendTopicInputTpsRequest.h
+	include/alibabacloud/ons/model/OnsTrendTopicInputTpsResult.h
+	include/alibabacloud/ons/model/OnsGroupCreateRequest.h
+	include/alibabacloud/ons/model/OnsGroupCreateResult.h
+	include/alibabacloud/ons/model/OnsDLQMessageResendByIdRequest.h
+	include/alibabacloud/ons/model/OnsDLQMessageResendByIdResult.h
+	include/alibabacloud/ons/model/OnsTrendGroupOutputTpsRequest.h
+	include/alibabacloud/ons/model/OnsTrendGroupOutputTpsResult.h
+	include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdRequest.h
+	include/alibabacloud/ons/model/OnsMqttQueryClientByClientIdResult.h
+	include/alibabacloud/ons/model/OnsMessagePushRequest.h
+	include/alibabacloud/ons/model/OnsMessagePushResult.h
+	include/alibabacloud/ons/model/OnsConsumerStatusRequest.h
+	include/alibabacloud/ons/model/OnsConsumerStatusResult.h
+	include/alibabacloud/ons/model/OnsWarnDeleteRequest.h
+	include/alibabacloud/ons/model/OnsWarnDeleteResult.h
+	include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendRequest.h
+	include/alibabacloud/ons/model/OnsMqttQueryMsgTransTrendResult.h
+	include/alibabacloud/ons/model/OnsConsumerResetOffsetRequest.h
+	include/alibabacloud/ons/model/OnsConsumerResetOffsetResult.h
+	include/alibabacloud/ons/model/OnsMessageGetByMsgIdRequest.h
+	include/alibabacloud/ons/model/OnsMessageGetByMsgIdResult.h
+	include/alibabacloud/ons/model/OnsInstanceBaseInfoRequest.h
+	include/alibabacloud/ons/model/OnsInstanceBaseInfoResult.h
+	include/alibabacloud/ons/model/OnsMqttGroupIdDeleteRequest.h
+	include/alibabacloud/ons/model/OnsMqttGroupIdDeleteResult.h
+	include/alibabacloud/ons/model/OnsInstanceInServiceListRequest.h
+	include/alibabacloud/ons/model/OnsInstanceInServiceListResult.h
+	include/alibabacloud/ons/model/OnsMqttGroupIdListRequest.h
+	include/alibabacloud/ons/model/OnsMqttGroupIdListResult.h
+	include/alibabacloud/ons/model/OnsDLQMessageGetByIdRequest.h
+	include/alibabacloud/ons/model/OnsDLQMessageGetByIdResult.h
+	include/alibabacloud/ons/model/OnsInstanceCreateRequest.h
+	include/alibabacloud/ons/model/OnsInstanceCreateResult.h
+	include/alibabacloud/ons/model/OnsWarnCreateRequest.h
+	include/alibabacloud/ons/model/OnsWarnCreateResult.h
+	include/alibabacloud/ons/model/OnsTopicStatusRequest.h
+	include/alibabacloud/ons/model/OnsTopicStatusResult.h
+	include/alibabacloud/ons/model/OnsMqttGroupIdCreateRequest.h
+	include/alibabacloud/ons/model/OnsMqttGroupIdCreateResult.h
+	include/alibabacloud/ons/model/OnsMqttQueryClientByTopicRequest.h
+	include/alibabacloud/ons/model/OnsMqttQueryClientByTopicResult.h
+	include/alibabacloud/ons/model/OnsMessageGetByKeyRequest.h
+	include/alibabacloud/ons/model/OnsMessageGetByKeyResult.h )
+
+set(ons_src 
+	src/OnsClient.cc
+	src/model/OnsTopicSubDetailRequest.cc
+	src/model/OnsTopicSubDetailResult.cc
+	src/model/OnsMqttQueryHistoryOnlineRequest.cc
+	src/model/OnsMqttQueryHistoryOnlineResult.cc
+	src/model/OnsInstanceDeleteRequest.cc
+	src/model/OnsInstanceDeleteResult.cc
+	src/model/OnsTopicDeleteRequest.cc
+	src/model/OnsTopicDeleteResult.cc
+	src/model/OnsTopicUpdateRequest.cc
+	src/model/OnsTopicUpdateResult.cc
+	src/model/OnsTraceQueryByMsgKeyRequest.cc
+	src/model/OnsTraceQueryByMsgKeyResult.cc
+	src/model/OnsConsumerGetConnectionRequest.cc
+	src/model/OnsConsumerGetConnectionResult.cc
+	src/model/OnsTraceQueryByMsgIdRequest.cc
+	src/model/OnsTraceQueryByMsgIdResult.cc
+	src/model/OnsRegionListRequest.cc
+	src/model/OnsRegionListResult.cc
+	src/model/OnsTopicListRequest.cc
+	src/model/OnsTopicListResult.cc
+	src/model/OnsConsumerAccumulateRequest.cc
+	src/model/OnsConsumerAccumulateResult.cc
+	src/model/OnsMessageSendRequest.cc
+	src/model/OnsMessageSendResult.cc
+	src/model/OnsMqttQueryClientByGroupIdRequest.cc
+	src/model/OnsMqttQueryClientByGroupIdResult.cc
+	src/model/OnsGroupConsumerUpdateRequest.cc
+	src/model/OnsGroupConsumerUpdateResult.cc
+	src/model/OnsMessageTraceRequest.cc
+	src/model/OnsMessageTraceResult.cc
+	src/model/OnsConsumerTimeSpanRequest.cc
+	src/model/OnsConsumerTimeSpanResult.cc
+	src/model/OnsGroupListRequest.cc
+	src/model/OnsGroupListResult.cc
+	src/model/OnsGroupSubDetailRequest.cc
+	src/model/OnsGroupSubDetailResult.cc
+	src/model/OnsTraceGetResultRequest.cc
+	src/model/OnsTraceGetResultResult.cc
+	src/model/OnsTopicCreateRequest.cc
+	src/model/OnsTopicCreateResult.cc
+	src/model/OnsDLQMessagePageQueryByGroupIdRequest.cc
+	src/model/OnsDLQMessagePageQueryByGroupIdResult.cc
+	src/model/OnsGroupDeleteRequest.cc
+	src/model/OnsGroupDeleteResult.cc
+	src/model/OnsInstanceUpdateRequest.cc
+	src/model/OnsInstanceUpdateResult.cc
+	src/model/OnsMessagePageQueryByTopicRequest.cc
+	src/model/OnsMessagePageQueryByTopicResult.cc
+	src/model/OnsTrendTopicInputTpsRequest.cc
+	src/model/OnsTrendTopicInputTpsResult.cc
+	src/model/OnsGroupCreateRequest.cc
+	src/model/OnsGroupCreateResult.cc
+	src/model/OnsDLQMessageResendByIdRequest.cc
+	src/model/OnsDLQMessageResendByIdResult.cc
+	src/model/OnsTrendGroupOutputTpsRequest.cc
+	src/model/OnsTrendGroupOutputTpsResult.cc
+	src/model/OnsMqttQueryClientByClientIdRequest.cc
+	src/model/OnsMqttQueryClientByClientIdResult.cc
+	src/model/OnsMessagePushRequest.cc
+	src/model/OnsMessagePushResult.cc
+	src/model/OnsConsumerStatusRequest.cc
+	src/model/OnsConsumerStatusResult.cc
+	src/model/OnsWarnDeleteRequest.cc
+	src/model/OnsWarnDeleteResult.cc
+	src/model/OnsMqttQueryMsgTransTrendRequest.cc
+	src/model/OnsMqttQueryMsgTransTrendResult.cc
+	src/model/OnsConsumerResetOffsetRequest.cc
+	src/model/OnsConsumerResetOffsetResult.cc
+	src/model/OnsMessageGetByMsgIdRequest.cc
+	src/model/OnsMessageGetByMsgIdResult.cc
+	src/model/OnsInstanceBaseInfoRequest.cc
+	src/model/OnsInstanceBaseInfoResult.cc
+	src/model/OnsMqttGroupIdDeleteRequest.cc
+	src/model/OnsMqttGroupIdDeleteResult.cc
+	src/model/OnsInstanceInServiceListRequest.cc
+	src/model/OnsInstanceInServiceListResult.cc
+	src/model/OnsMqttGroupIdListRequest.cc
+	src/model/OnsMqttGroupIdListResult.cc
+	src/model/OnsDLQMessageGetByIdRequest.cc
+	src/model/OnsDLQMessageGetByIdResult.cc
+	src/model/OnsInstanceCreateRequest.cc
+	src/model/OnsInstanceCreateResult.cc
+	src/model/OnsWarnCreateRequest.cc
+	src/model/OnsWarnCreateResult.cc
+	src/model/OnsTopicStatusRequest.cc
+	src/model/OnsTopicStatusResult.cc
+	src/model/OnsMqttGroupIdCreateRequest.cc
+	src/model/OnsMqttGroupIdCreateResult.cc
+	src/model/OnsMqttQueryClientByTopicRequest.cc
+	src/model/OnsMqttQueryClientByTopicResult.cc
+	src/model/OnsMessageGetByKeyRequest.cc
+	src/model/OnsMessageGetByKeyResult.cc )
+
+add_library(ons ${LIB_TYPE}
+	${ons_public_header}
+	${ons_public_header_model}
+	${ons_src})
+
+set_target_properties(ons
+	PROPERTIES
+	LINKER_LANGUAGE CXX
+	ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
+	LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
+	RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
+	OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}ons
+	)
+
+if(${LIB_TYPE} STREQUAL "SHARED")
+	set_target_properties(ons
+		PROPERTIES
+		DEFINE_SYMBOL ALIBABACLOUD_ONS_LIBRARY)
+endif()
+
+target_include_directories(ons
+	PRIVATE include
+		${CMAKE_SOURCE_DIR}/core/include
+	)
+target_link_libraries(ons
+	core)
+
+if(CMAKE_HOST_WIN32)
+	ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
+	set(jsoncpp_install_dir ${INSTALL_DIR})
+	add_dependencies(ons
+		jsoncpp)
+	target_include_directories(ons
+		PRIVATE	${jsoncpp_install_dir}/include)
+	target_link_libraries(ons
+		${jsoncpp_install_dir}/lib/jsoncpp.lib)
+	set_target_properties(ons
+    	PROPERTIES
+    		COMPILE_OPTIONS "/bigobj")
+else()
+	target_include_directories(ons
+		PRIVATE /usr/include/jsoncpp)
+	target_link_libraries(ons
+		jsoncpp)
+endif()
+
+install(FILES ${ons_public_header}
+	DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ons)
+install(FILES ${ons_public_header_model}
+	DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ons/model)
+install(TARGETS ons
+	ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+	LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+	RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+	)

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

@@ -0,0 +1,414 @@
+/*
+ * 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_ONSCLIENT_H_
+#define ALIBABACLOUD_ONS_ONSCLIENT_H_
+
+#include <future>
+#include <alibabacloud/core/AsyncCallerContext.h>
+#include <alibabacloud/core/EndpointProvider.h>
+#include <alibabacloud/core/RpcServiceClient.h>
+#include "OnsExport.h"
+#include "model/OnsTopicSubDetailRequest.h"
+#include "model/OnsTopicSubDetailResult.h"
+#include "model/OnsMqttQueryHistoryOnlineRequest.h"
+#include "model/OnsMqttQueryHistoryOnlineResult.h"
+#include "model/OnsInstanceDeleteRequest.h"
+#include "model/OnsInstanceDeleteResult.h"
+#include "model/OnsTopicDeleteRequest.h"
+#include "model/OnsTopicDeleteResult.h"
+#include "model/OnsTopicUpdateRequest.h"
+#include "model/OnsTopicUpdateResult.h"
+#include "model/OnsTraceQueryByMsgKeyRequest.h"
+#include "model/OnsTraceQueryByMsgKeyResult.h"
+#include "model/OnsConsumerGetConnectionRequest.h"
+#include "model/OnsConsumerGetConnectionResult.h"
+#include "model/OnsTraceQueryByMsgIdRequest.h"
+#include "model/OnsTraceQueryByMsgIdResult.h"
+#include "model/OnsRegionListRequest.h"
+#include "model/OnsRegionListResult.h"
+#include "model/OnsTopicListRequest.h"
+#include "model/OnsTopicListResult.h"
+#include "model/OnsConsumerAccumulateRequest.h"
+#include "model/OnsConsumerAccumulateResult.h"
+#include "model/OnsMessageSendRequest.h"
+#include "model/OnsMessageSendResult.h"
+#include "model/OnsMqttQueryClientByGroupIdRequest.h"
+#include "model/OnsMqttQueryClientByGroupIdResult.h"
+#include "model/OnsGroupConsumerUpdateRequest.h"
+#include "model/OnsGroupConsumerUpdateResult.h"
+#include "model/OnsMessageTraceRequest.h"
+#include "model/OnsMessageTraceResult.h"
+#include "model/OnsConsumerTimeSpanRequest.h"
+#include "model/OnsConsumerTimeSpanResult.h"
+#include "model/OnsGroupListRequest.h"
+#include "model/OnsGroupListResult.h"
+#include "model/OnsGroupSubDetailRequest.h"
+#include "model/OnsGroupSubDetailResult.h"
+#include "model/OnsTraceGetResultRequest.h"
+#include "model/OnsTraceGetResultResult.h"
+#include "model/OnsTopicCreateRequest.h"
+#include "model/OnsTopicCreateResult.h"
+#include "model/OnsDLQMessagePageQueryByGroupIdRequest.h"
+#include "model/OnsDLQMessagePageQueryByGroupIdResult.h"
+#include "model/OnsGroupDeleteRequest.h"
+#include "model/OnsGroupDeleteResult.h"
+#include "model/OnsInstanceUpdateRequest.h"
+#include "model/OnsInstanceUpdateResult.h"
+#include "model/OnsMessagePageQueryByTopicRequest.h"
+#include "model/OnsMessagePageQueryByTopicResult.h"
+#include "model/OnsTrendTopicInputTpsRequest.h"
+#include "model/OnsTrendTopicInputTpsResult.h"
+#include "model/OnsGroupCreateRequest.h"
+#include "model/OnsGroupCreateResult.h"
+#include "model/OnsDLQMessageResendByIdRequest.h"
+#include "model/OnsDLQMessageResendByIdResult.h"
+#include "model/OnsTrendGroupOutputTpsRequest.h"
+#include "model/OnsTrendGroupOutputTpsResult.h"
+#include "model/OnsMqttQueryClientByClientIdRequest.h"
+#include "model/OnsMqttQueryClientByClientIdResult.h"
+#include "model/OnsMessagePushRequest.h"
+#include "model/OnsMessagePushResult.h"
+#include "model/OnsConsumerStatusRequest.h"
+#include "model/OnsConsumerStatusResult.h"
+#include "model/OnsWarnDeleteRequest.h"
+#include "model/OnsWarnDeleteResult.h"
+#include "model/OnsMqttQueryMsgTransTrendRequest.h"
+#include "model/OnsMqttQueryMsgTransTrendResult.h"
+#include "model/OnsConsumerResetOffsetRequest.h"
+#include "model/OnsConsumerResetOffsetResult.h"
+#include "model/OnsMessageGetByMsgIdRequest.h"
+#include "model/OnsMessageGetByMsgIdResult.h"
+#include "model/OnsInstanceBaseInfoRequest.h"
+#include "model/OnsInstanceBaseInfoResult.h"
+#include "model/OnsMqttGroupIdDeleteRequest.h"
+#include "model/OnsMqttGroupIdDeleteResult.h"
+#include "model/OnsInstanceInServiceListRequest.h"
+#include "model/OnsInstanceInServiceListResult.h"
+#include "model/OnsMqttGroupIdListRequest.h"
+#include "model/OnsMqttGroupIdListResult.h"
+#include "model/OnsDLQMessageGetByIdRequest.h"
+#include "model/OnsDLQMessageGetByIdResult.h"
+#include "model/OnsInstanceCreateRequest.h"
+#include "model/OnsInstanceCreateResult.h"
+#include "model/OnsWarnCreateRequest.h"
+#include "model/OnsWarnCreateResult.h"
+#include "model/OnsTopicStatusRequest.h"
+#include "model/OnsTopicStatusResult.h"
+#include "model/OnsMqttGroupIdCreateRequest.h"
+#include "model/OnsMqttGroupIdCreateResult.h"
+#include "model/OnsMqttQueryClientByTopicRequest.h"
+#include "model/OnsMqttQueryClientByTopicResult.h"
+#include "model/OnsMessageGetByKeyRequest.h"
+#include "model/OnsMessageGetByKeyResult.h"
+
+
+namespace AlibabaCloud
+{
+	namespace Ons
+	{
+		class ALIBABACLOUD_ONS_EXPORT OnsClient : public RpcServiceClient
+		{
+		public:
+			typedef Outcome<Error, Model::OnsTopicSubDetailResult> OnsTopicSubDetailOutcome;
+			typedef std::future<OnsTopicSubDetailOutcome> OnsTopicSubDetailOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTopicSubDetailRequest&, const OnsTopicSubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicSubDetailAsyncHandler;
+			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::OnsInstanceDeleteResult> OnsInstanceDeleteOutcome;
+			typedef std::future<OnsInstanceDeleteOutcome> OnsInstanceDeleteOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsInstanceDeleteRequest&, const OnsInstanceDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceDeleteAsyncHandler;
+			typedef Outcome<Error, Model::OnsTopicDeleteResult> OnsTopicDeleteOutcome;
+			typedef std::future<OnsTopicDeleteOutcome> OnsTopicDeleteOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTopicDeleteRequest&, const OnsTopicDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicDeleteAsyncHandler;
+			typedef Outcome<Error, Model::OnsTopicUpdateResult> OnsTopicUpdateOutcome;
+			typedef std::future<OnsTopicUpdateOutcome> OnsTopicUpdateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTopicUpdateRequest&, const OnsTopicUpdateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicUpdateAsyncHandler;
+			typedef Outcome<Error, Model::OnsTraceQueryByMsgKeyResult> OnsTraceQueryByMsgKeyOutcome;
+			typedef std::future<OnsTraceQueryByMsgKeyOutcome> OnsTraceQueryByMsgKeyOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTraceQueryByMsgKeyRequest&, const OnsTraceQueryByMsgKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTraceQueryByMsgKeyAsyncHandler;
+			typedef Outcome<Error, Model::OnsConsumerGetConnectionResult> OnsConsumerGetConnectionOutcome;
+			typedef std::future<OnsConsumerGetConnectionOutcome> OnsConsumerGetConnectionOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsConsumerGetConnectionRequest&, const OnsConsumerGetConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerGetConnectionAsyncHandler;
+			typedef Outcome<Error, Model::OnsTraceQueryByMsgIdResult> OnsTraceQueryByMsgIdOutcome;
+			typedef std::future<OnsTraceQueryByMsgIdOutcome> OnsTraceQueryByMsgIdOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTraceQueryByMsgIdRequest&, const OnsTraceQueryByMsgIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTraceQueryByMsgIdAsyncHandler;
+			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;
+			typedef Outcome<Error, Model::OnsTopicListResult> OnsTopicListOutcome;
+			typedef std::future<OnsTopicListOutcome> OnsTopicListOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTopicListRequest&, const OnsTopicListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicListAsyncHandler;
+			typedef Outcome<Error, Model::OnsConsumerAccumulateResult> OnsConsumerAccumulateOutcome;
+			typedef std::future<OnsConsumerAccumulateOutcome> OnsConsumerAccumulateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsConsumerAccumulateRequest&, const OnsConsumerAccumulateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerAccumulateAsyncHandler;
+			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::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::OnsGroupConsumerUpdateResult> OnsGroupConsumerUpdateOutcome;
+			typedef std::future<OnsGroupConsumerUpdateOutcome> OnsGroupConsumerUpdateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsGroupConsumerUpdateRequest&, const OnsGroupConsumerUpdateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupConsumerUpdateAsyncHandler;
+			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::OnsConsumerTimeSpanResult> OnsConsumerTimeSpanOutcome;
+			typedef std::future<OnsConsumerTimeSpanOutcome> OnsConsumerTimeSpanOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsConsumerTimeSpanRequest&, const OnsConsumerTimeSpanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerTimeSpanAsyncHandler;
+			typedef Outcome<Error, Model::OnsGroupListResult> OnsGroupListOutcome;
+			typedef std::future<OnsGroupListOutcome> OnsGroupListOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsGroupListRequest&, const OnsGroupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupListAsyncHandler;
+			typedef Outcome<Error, Model::OnsGroupSubDetailResult> OnsGroupSubDetailOutcome;
+			typedef std::future<OnsGroupSubDetailOutcome> OnsGroupSubDetailOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsGroupSubDetailRequest&, const OnsGroupSubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupSubDetailAsyncHandler;
+			typedef Outcome<Error, Model::OnsTraceGetResultResult> OnsTraceGetResultOutcome;
+			typedef std::future<OnsTraceGetResultOutcome> OnsTraceGetResultOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTraceGetResultRequest&, const OnsTraceGetResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTraceGetResultAsyncHandler;
+			typedef Outcome<Error, Model::OnsTopicCreateResult> OnsTopicCreateOutcome;
+			typedef std::future<OnsTopicCreateOutcome> OnsTopicCreateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTopicCreateRequest&, const OnsTopicCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicCreateAsyncHandler;
+			typedef Outcome<Error, Model::OnsDLQMessagePageQueryByGroupIdResult> OnsDLQMessagePageQueryByGroupIdOutcome;
+			typedef std::future<OnsDLQMessagePageQueryByGroupIdOutcome> OnsDLQMessagePageQueryByGroupIdOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsDLQMessagePageQueryByGroupIdRequest&, const OnsDLQMessagePageQueryByGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsDLQMessagePageQueryByGroupIdAsyncHandler;
+			typedef Outcome<Error, Model::OnsGroupDeleteResult> OnsGroupDeleteOutcome;
+			typedef std::future<OnsGroupDeleteOutcome> OnsGroupDeleteOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsGroupDeleteRequest&, const OnsGroupDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupDeleteAsyncHandler;
+			typedef Outcome<Error, Model::OnsInstanceUpdateResult> OnsInstanceUpdateOutcome;
+			typedef std::future<OnsInstanceUpdateOutcome> OnsInstanceUpdateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsInstanceUpdateRequest&, const OnsInstanceUpdateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceUpdateAsyncHandler;
+			typedef Outcome<Error, Model::OnsMessagePageQueryByTopicResult> OnsMessagePageQueryByTopicOutcome;
+			typedef std::future<OnsMessagePageQueryByTopicOutcome> OnsMessagePageQueryByTopicOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsMessagePageQueryByTopicRequest&, const OnsMessagePageQueryByTopicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessagePageQueryByTopicAsyncHandler;
+			typedef Outcome<Error, Model::OnsTrendTopicInputTpsResult> OnsTrendTopicInputTpsOutcome;
+			typedef std::future<OnsTrendTopicInputTpsOutcome> OnsTrendTopicInputTpsOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTrendTopicInputTpsRequest&, const OnsTrendTopicInputTpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTrendTopicInputTpsAsyncHandler;
+			typedef Outcome<Error, Model::OnsGroupCreateResult> OnsGroupCreateOutcome;
+			typedef std::future<OnsGroupCreateOutcome> OnsGroupCreateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsGroupCreateRequest&, const OnsGroupCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupCreateAsyncHandler;
+			typedef Outcome<Error, Model::OnsDLQMessageResendByIdResult> OnsDLQMessageResendByIdOutcome;
+			typedef std::future<OnsDLQMessageResendByIdOutcome> OnsDLQMessageResendByIdOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsDLQMessageResendByIdRequest&, const OnsDLQMessageResendByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsDLQMessageResendByIdAsyncHandler;
+			typedef Outcome<Error, Model::OnsTrendGroupOutputTpsResult> OnsTrendGroupOutputTpsOutcome;
+			typedef std::future<OnsTrendGroupOutputTpsOutcome> OnsTrendGroupOutputTpsOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTrendGroupOutputTpsRequest&, const OnsTrendGroupOutputTpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTrendGroupOutputTpsAsyncHandler;
+			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::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::OnsConsumerStatusResult> OnsConsumerStatusOutcome;
+			typedef std::future<OnsConsumerStatusOutcome> OnsConsumerStatusOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsConsumerStatusRequest&, const OnsConsumerStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerStatusAsyncHandler;
+			typedef Outcome<Error, Model::OnsWarnDeleteResult> OnsWarnDeleteOutcome;
+			typedef std::future<OnsWarnDeleteOutcome> OnsWarnDeleteOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsWarnDeleteRequest&, const OnsWarnDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsWarnDeleteAsyncHandler;
+			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::OnsConsumerResetOffsetResult> OnsConsumerResetOffsetOutcome;
+			typedef std::future<OnsConsumerResetOffsetOutcome> OnsConsumerResetOffsetOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsConsumerResetOffsetRequest&, const OnsConsumerResetOffsetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerResetOffsetAsyncHandler;
+			typedef Outcome<Error, Model::OnsMessageGetByMsgIdResult> OnsMessageGetByMsgIdOutcome;
+			typedef std::future<OnsMessageGetByMsgIdOutcome> OnsMessageGetByMsgIdOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsMessageGetByMsgIdRequest&, const OnsMessageGetByMsgIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageGetByMsgIdAsyncHandler;
+			typedef Outcome<Error, Model::OnsInstanceBaseInfoResult> OnsInstanceBaseInfoOutcome;
+			typedef std::future<OnsInstanceBaseInfoOutcome> OnsInstanceBaseInfoOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsInstanceBaseInfoRequest&, const OnsInstanceBaseInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceBaseInfoAsyncHandler;
+			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::OnsInstanceInServiceListResult> OnsInstanceInServiceListOutcome;
+			typedef std::future<OnsInstanceInServiceListOutcome> OnsInstanceInServiceListOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsInstanceInServiceListRequest&, const OnsInstanceInServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceInServiceListAsyncHandler;
+			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::OnsDLQMessageGetByIdResult> OnsDLQMessageGetByIdOutcome;
+			typedef std::future<OnsDLQMessageGetByIdOutcome> OnsDLQMessageGetByIdOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsDLQMessageGetByIdRequest&, const OnsDLQMessageGetByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsDLQMessageGetByIdAsyncHandler;
+			typedef Outcome<Error, Model::OnsInstanceCreateResult> OnsInstanceCreateOutcome;
+			typedef std::future<OnsInstanceCreateOutcome> OnsInstanceCreateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsInstanceCreateRequest&, const OnsInstanceCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceCreateAsyncHandler;
+			typedef Outcome<Error, Model::OnsWarnCreateResult> OnsWarnCreateOutcome;
+			typedef std::future<OnsWarnCreateOutcome> OnsWarnCreateOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsWarnCreateRequest&, const OnsWarnCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsWarnCreateAsyncHandler;
+			typedef Outcome<Error, Model::OnsTopicStatusResult> OnsTopicStatusOutcome;
+			typedef std::future<OnsTopicStatusOutcome> OnsTopicStatusOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsTopicStatusRequest&, const OnsTopicStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicStatusAsyncHandler;
+			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::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::OnsMessageGetByKeyResult> OnsMessageGetByKeyOutcome;
+			typedef std::future<OnsMessageGetByKeyOutcome> OnsMessageGetByKeyOutcomeCallable;
+			typedef std::function<void(const OnsClient*, const Model::OnsMessageGetByKeyRequest&, const OnsMessageGetByKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageGetByKeyAsyncHandler;
+
+			OnsClient(const Credentials &credentials, const ClientConfiguration &configuration);
+			OnsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
+			OnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
+			~OnsClient();
+			OnsTopicSubDetailOutcome onsTopicSubDetail(const Model::OnsTopicSubDetailRequest &request)const;
+			void onsTopicSubDetailAsync(const Model::OnsTopicSubDetailRequest& request, const OnsTopicSubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTopicSubDetailOutcomeCallable onsTopicSubDetailCallable(const Model::OnsTopicSubDetailRequest& 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;
+			OnsInstanceDeleteOutcome onsInstanceDelete(const Model::OnsInstanceDeleteRequest &request)const;
+			void onsInstanceDeleteAsync(const Model::OnsInstanceDeleteRequest& request, const OnsInstanceDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsInstanceDeleteOutcomeCallable onsInstanceDeleteCallable(const Model::OnsInstanceDeleteRequest& request) const;
+			OnsTopicDeleteOutcome onsTopicDelete(const Model::OnsTopicDeleteRequest &request)const;
+			void onsTopicDeleteAsync(const Model::OnsTopicDeleteRequest& request, const OnsTopicDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTopicDeleteOutcomeCallable onsTopicDeleteCallable(const Model::OnsTopicDeleteRequest& request) const;
+			OnsTopicUpdateOutcome onsTopicUpdate(const Model::OnsTopicUpdateRequest &request)const;
+			void onsTopicUpdateAsync(const Model::OnsTopicUpdateRequest& request, const OnsTopicUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTopicUpdateOutcomeCallable onsTopicUpdateCallable(const Model::OnsTopicUpdateRequest& request) const;
+			OnsTraceQueryByMsgKeyOutcome onsTraceQueryByMsgKey(const Model::OnsTraceQueryByMsgKeyRequest &request)const;
+			void onsTraceQueryByMsgKeyAsync(const Model::OnsTraceQueryByMsgKeyRequest& request, const OnsTraceQueryByMsgKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTraceQueryByMsgKeyOutcomeCallable onsTraceQueryByMsgKeyCallable(const Model::OnsTraceQueryByMsgKeyRequest& request) const;
+			OnsConsumerGetConnectionOutcome onsConsumerGetConnection(const Model::OnsConsumerGetConnectionRequest &request)const;
+			void onsConsumerGetConnectionAsync(const Model::OnsConsumerGetConnectionRequest& request, const OnsConsumerGetConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsConsumerGetConnectionOutcomeCallable onsConsumerGetConnectionCallable(const Model::OnsConsumerGetConnectionRequest& request) const;
+			OnsTraceQueryByMsgIdOutcome onsTraceQueryByMsgId(const Model::OnsTraceQueryByMsgIdRequest &request)const;
+			void onsTraceQueryByMsgIdAsync(const Model::OnsTraceQueryByMsgIdRequest& request, const OnsTraceQueryByMsgIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTraceQueryByMsgIdOutcomeCallable onsTraceQueryByMsgIdCallable(const Model::OnsTraceQueryByMsgIdRequest& 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;
+			OnsTopicListOutcome onsTopicList(const Model::OnsTopicListRequest &request)const;
+			void onsTopicListAsync(const Model::OnsTopicListRequest& request, const OnsTopicListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTopicListOutcomeCallable onsTopicListCallable(const Model::OnsTopicListRequest& request) const;
+			OnsConsumerAccumulateOutcome onsConsumerAccumulate(const Model::OnsConsumerAccumulateRequest &request)const;
+			void onsConsumerAccumulateAsync(const Model::OnsConsumerAccumulateRequest& request, const OnsConsumerAccumulateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsConsumerAccumulateOutcomeCallable onsConsumerAccumulateCallable(const Model::OnsConsumerAccumulateRequest& 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;
+			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;
+			OnsGroupConsumerUpdateOutcome onsGroupConsumerUpdate(const Model::OnsGroupConsumerUpdateRequest &request)const;
+			void onsGroupConsumerUpdateAsync(const Model::OnsGroupConsumerUpdateRequest& request, const OnsGroupConsumerUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsGroupConsumerUpdateOutcomeCallable onsGroupConsumerUpdateCallable(const Model::OnsGroupConsumerUpdateRequest& 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;
+			OnsConsumerTimeSpanOutcome onsConsumerTimeSpan(const Model::OnsConsumerTimeSpanRequest &request)const;
+			void onsConsumerTimeSpanAsync(const Model::OnsConsumerTimeSpanRequest& request, const OnsConsumerTimeSpanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsConsumerTimeSpanOutcomeCallable onsConsumerTimeSpanCallable(const Model::OnsConsumerTimeSpanRequest& request) const;
+			OnsGroupListOutcome onsGroupList(const Model::OnsGroupListRequest &request)const;
+			void onsGroupListAsync(const Model::OnsGroupListRequest& request, const OnsGroupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsGroupListOutcomeCallable onsGroupListCallable(const Model::OnsGroupListRequest& request) const;
+			OnsGroupSubDetailOutcome onsGroupSubDetail(const Model::OnsGroupSubDetailRequest &request)const;
+			void onsGroupSubDetailAsync(const Model::OnsGroupSubDetailRequest& request, const OnsGroupSubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsGroupSubDetailOutcomeCallable onsGroupSubDetailCallable(const Model::OnsGroupSubDetailRequest& request) const;
+			OnsTraceGetResultOutcome onsTraceGetResult(const Model::OnsTraceGetResultRequest &request)const;
+			void onsTraceGetResultAsync(const Model::OnsTraceGetResultRequest& request, const OnsTraceGetResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTraceGetResultOutcomeCallable onsTraceGetResultCallable(const Model::OnsTraceGetResultRequest& request) const;
+			OnsTopicCreateOutcome onsTopicCreate(const Model::OnsTopicCreateRequest &request)const;
+			void onsTopicCreateAsync(const Model::OnsTopicCreateRequest& request, const OnsTopicCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTopicCreateOutcomeCallable onsTopicCreateCallable(const Model::OnsTopicCreateRequest& request) const;
+			OnsDLQMessagePageQueryByGroupIdOutcome onsDLQMessagePageQueryByGroupId(const Model::OnsDLQMessagePageQueryByGroupIdRequest &request)const;
+			void onsDLQMessagePageQueryByGroupIdAsync(const Model::OnsDLQMessagePageQueryByGroupIdRequest& request, const OnsDLQMessagePageQueryByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsDLQMessagePageQueryByGroupIdOutcomeCallable onsDLQMessagePageQueryByGroupIdCallable(const Model::OnsDLQMessagePageQueryByGroupIdRequest& request) const;
+			OnsGroupDeleteOutcome onsGroupDelete(const Model::OnsGroupDeleteRequest &request)const;
+			void onsGroupDeleteAsync(const Model::OnsGroupDeleteRequest& request, const OnsGroupDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsGroupDeleteOutcomeCallable onsGroupDeleteCallable(const Model::OnsGroupDeleteRequest& request) const;
+			OnsInstanceUpdateOutcome onsInstanceUpdate(const Model::OnsInstanceUpdateRequest &request)const;
+			void onsInstanceUpdateAsync(const Model::OnsInstanceUpdateRequest& request, const OnsInstanceUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsInstanceUpdateOutcomeCallable onsInstanceUpdateCallable(const Model::OnsInstanceUpdateRequest& request) const;
+			OnsMessagePageQueryByTopicOutcome onsMessagePageQueryByTopic(const Model::OnsMessagePageQueryByTopicRequest &request)const;
+			void onsMessagePageQueryByTopicAsync(const Model::OnsMessagePageQueryByTopicRequest& request, const OnsMessagePageQueryByTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsMessagePageQueryByTopicOutcomeCallable onsMessagePageQueryByTopicCallable(const Model::OnsMessagePageQueryByTopicRequest& request) const;
+			OnsTrendTopicInputTpsOutcome onsTrendTopicInputTps(const Model::OnsTrendTopicInputTpsRequest &request)const;
+			void onsTrendTopicInputTpsAsync(const Model::OnsTrendTopicInputTpsRequest& request, const OnsTrendTopicInputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTrendTopicInputTpsOutcomeCallable onsTrendTopicInputTpsCallable(const Model::OnsTrendTopicInputTpsRequest& request) const;
+			OnsGroupCreateOutcome onsGroupCreate(const Model::OnsGroupCreateRequest &request)const;
+			void onsGroupCreateAsync(const Model::OnsGroupCreateRequest& request, const OnsGroupCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsGroupCreateOutcomeCallable onsGroupCreateCallable(const Model::OnsGroupCreateRequest& request) const;
+			OnsDLQMessageResendByIdOutcome onsDLQMessageResendById(const Model::OnsDLQMessageResendByIdRequest &request)const;
+			void onsDLQMessageResendByIdAsync(const Model::OnsDLQMessageResendByIdRequest& request, const OnsDLQMessageResendByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsDLQMessageResendByIdOutcomeCallable onsDLQMessageResendByIdCallable(const Model::OnsDLQMessageResendByIdRequest& request) const;
+			OnsTrendGroupOutputTpsOutcome onsTrendGroupOutputTps(const Model::OnsTrendGroupOutputTpsRequest &request)const;
+			void onsTrendGroupOutputTpsAsync(const Model::OnsTrendGroupOutputTpsRequest& request, const OnsTrendGroupOutputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTrendGroupOutputTpsOutcomeCallable onsTrendGroupOutputTpsCallable(const Model::OnsTrendGroupOutputTpsRequest& 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;
+			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;
+			OnsConsumerStatusOutcome onsConsumerStatus(const Model::OnsConsumerStatusRequest &request)const;
+			void onsConsumerStatusAsync(const Model::OnsConsumerStatusRequest& request, const OnsConsumerStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsConsumerStatusOutcomeCallable onsConsumerStatusCallable(const Model::OnsConsumerStatusRequest& request) const;
+			OnsWarnDeleteOutcome onsWarnDelete(const Model::OnsWarnDeleteRequest &request)const;
+			void onsWarnDeleteAsync(const Model::OnsWarnDeleteRequest& request, const OnsWarnDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsWarnDeleteOutcomeCallable onsWarnDeleteCallable(const Model::OnsWarnDeleteRequest& 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;
+			OnsConsumerResetOffsetOutcome onsConsumerResetOffset(const Model::OnsConsumerResetOffsetRequest &request)const;
+			void onsConsumerResetOffsetAsync(const Model::OnsConsumerResetOffsetRequest& request, const OnsConsumerResetOffsetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsConsumerResetOffsetOutcomeCallable onsConsumerResetOffsetCallable(const Model::OnsConsumerResetOffsetRequest& request) const;
+			OnsMessageGetByMsgIdOutcome onsMessageGetByMsgId(const Model::OnsMessageGetByMsgIdRequest &request)const;
+			void onsMessageGetByMsgIdAsync(const Model::OnsMessageGetByMsgIdRequest& request, const OnsMessageGetByMsgIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsMessageGetByMsgIdOutcomeCallable onsMessageGetByMsgIdCallable(const Model::OnsMessageGetByMsgIdRequest& request) const;
+			OnsInstanceBaseInfoOutcome onsInstanceBaseInfo(const Model::OnsInstanceBaseInfoRequest &request)const;
+			void onsInstanceBaseInfoAsync(const Model::OnsInstanceBaseInfoRequest& request, const OnsInstanceBaseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsInstanceBaseInfoOutcomeCallable onsInstanceBaseInfoCallable(const Model::OnsInstanceBaseInfoRequest& 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;
+			OnsInstanceInServiceListOutcome onsInstanceInServiceList(const Model::OnsInstanceInServiceListRequest &request)const;
+			void onsInstanceInServiceListAsync(const Model::OnsInstanceInServiceListRequest& request, const OnsInstanceInServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsInstanceInServiceListOutcomeCallable onsInstanceInServiceListCallable(const Model::OnsInstanceInServiceListRequest& 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;
+			OnsDLQMessageGetByIdOutcome onsDLQMessageGetById(const Model::OnsDLQMessageGetByIdRequest &request)const;
+			void onsDLQMessageGetByIdAsync(const Model::OnsDLQMessageGetByIdRequest& request, const OnsDLQMessageGetByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsDLQMessageGetByIdOutcomeCallable onsDLQMessageGetByIdCallable(const Model::OnsDLQMessageGetByIdRequest& request) const;
+			OnsInstanceCreateOutcome onsInstanceCreate(const Model::OnsInstanceCreateRequest &request)const;
+			void onsInstanceCreateAsync(const Model::OnsInstanceCreateRequest& request, const OnsInstanceCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsInstanceCreateOutcomeCallable onsInstanceCreateCallable(const Model::OnsInstanceCreateRequest& request) const;
+			OnsWarnCreateOutcome onsWarnCreate(const Model::OnsWarnCreateRequest &request)const;
+			void onsWarnCreateAsync(const Model::OnsWarnCreateRequest& request, const OnsWarnCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsWarnCreateOutcomeCallable onsWarnCreateCallable(const Model::OnsWarnCreateRequest& request) const;
+			OnsTopicStatusOutcome onsTopicStatus(const Model::OnsTopicStatusRequest &request)const;
+			void onsTopicStatusAsync(const Model::OnsTopicStatusRequest& request, const OnsTopicStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsTopicStatusOutcomeCallable onsTopicStatusCallable(const Model::OnsTopicStatusRequest& 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;
+			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;
+			OnsMessageGetByKeyOutcome onsMessageGetByKey(const Model::OnsMessageGetByKeyRequest &request)const;
+			void onsMessageGetByKeyAsync(const Model::OnsMessageGetByKeyRequest& request, const OnsMessageGetByKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OnsMessageGetByKeyOutcomeCallable onsMessageGetByKeyCallable(const Model::OnsMessageGetByKeyRequest& request) const;
+	
+		private:
+			std::shared_ptr<EndpointProvider> endpointProvider_;
+		};
+	}
+}
+
+#endif // !ALIBABACLOUD_ONS_ONSCLIENT_H_

+ 32 - 0
ons/include/alibabacloud/ons/OnsExport.h

@@ -0,0 +1,32 @@
+/*
+ * 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_ONSEXPORT_H_
+#define ALIBABACLOUD_ONS_ONSEXPORT_H_
+
+#include <alibabacloud/core/Global.h>
+
+#if defined(ALIBABACLOUD_SHARED)
+#	if defined(ALIBABACLOUD_ONS_LIBRARY)
+#		define ALIBABACLOUD_ONS_EXPORT ALIBABACLOUD_DECL_EXPORT
+#	else
+#		define ALIBABACLOUD_ONS_EXPORT ALIBABACLOUD_DECL_IMPORT
+#	endif
+#else
+#	define ALIBABACLOUD_ONS_EXPORT
+#endif
+
+#endif // !ALIBABACLOUD_ONS_ONSEXPORT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSCONSUMERACCUMULATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_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 OnsConsumerAccumulateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsConsumerAccumulateRequest();
+				~OnsConsumerAccumulateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				bool getDetail()const;
+				void setDetail(bool detail);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				bool detail_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_

+ 69 - 0
ons/include/alibabacloud/ons/model/OnsConsumerAccumulateResult.h

@@ -0,0 +1,69 @@
+/*
+ * 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_ONSCONSUMERACCUMULATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATERESULT_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 OnsConsumerAccumulateResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct DetailInTopicDo
+					{
+						long lastTimestamp;
+						long totalDiff;
+						std::string topic;
+						long delayTime;
+					};
+					float consumeTps;
+					long lastTimestamp;
+					long totalDiff;
+					bool online;
+					long delayTime;
+					std::vector<DetailInTopicDo> detailInTopicList;
+				};
+
+
+				OnsConsumerAccumulateResult();
+				explicit OnsConsumerAccumulateResult(const std::string &payload);
+				~OnsConsumerAccumulateResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATERESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSCONSUMERGETCONNECTIONREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_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 OnsConsumerGetConnectionRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsConsumerGetConnectionRequest();
+				~OnsConsumerGetConnectionRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_

+ 64 - 0
ons/include/alibabacloud/ons/model/OnsConsumerGetConnectionResult.h

@@ -0,0 +1,64 @@
+/*
+ * 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_ONSCONSUMERGETCONNECTIONRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONRESULT_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 OnsConsumerGetConnectionResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct ConnectionDo
+					{
+						std::string clientAddr;
+						std::string language;
+						std::string version;
+						std::string clientId;
+					};
+					std::vector<ConnectionDo> connectionList;
+				};
+
+
+				OnsConsumerGetConnectionResult();
+				explicit OnsConsumerGetConnectionResult(const std::string &payload);
+				~OnsConsumerGetConnectionResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONRESULT_H_

+ 63 - 0
ons/include/alibabacloud/ons/model/OnsConsumerResetOffsetRequest.h

@@ -0,0 +1,63 @@
+/*
+ * 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_ONSCONSUMERRESETOFFSETREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_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 OnsConsumerResetOffsetRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsConsumerResetOffsetRequest();
+				~OnsConsumerResetOffsetRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				long getResetTimestamp()const;
+				void setResetTimestamp(long resetTimestamp);
+				int getType()const;
+				void setType(int type);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string topic_;
+				long resetTimestamp_;
+				int type_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETRESULT_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 OnsConsumerResetOffsetResult : public ServiceResult
+			{
+			public:
+
+
+				OnsConsumerResetOffsetResult();
+				explicit OnsConsumerResetOffsetResult(const std::string &payload);
+				~OnsConsumerResetOffsetResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETRESULT_H_

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

@@ -0,0 +1,60 @@
+/*
+ * 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_ONSCONSUMERSTATUSREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_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 OnsConsumerStatusRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsConsumerStatusRequest();
+				~OnsConsumerStatusRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				bool getNeedJstack()const;
+				void setNeedJstack(bool needJstack);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				bool getDetail()const;
+				void setDetail(bool detail);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				bool needJstack_;
+				std::string groupId_;
+				bool detail_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_

+ 118 - 0
ons/include/alibabacloud/ons/model/OnsConsumerStatusResult.h

@@ -0,0 +1,118 @@
+/*
+ * 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_ONSCONSUMERSTATUSRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSRESULT_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 OnsConsumerStatusResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct ConnectionDo
+					{
+						std::string clientAddr;
+						std::string language;
+						std::string version;
+						std::string clientId;
+					};
+					struct DetailInTopicDo
+					{
+						long lastTimestamp;
+						long totalDiff;
+						std::string topic;
+						long delayTime;
+					};
+					struct ConsumerConnectionInfoDo
+					{
+						struct SubscriptionData
+						{
+							std::string subString;
+							std::vector<std::string> tagsSet;
+							std::string topic;
+							long subVersion;
+						};
+						struct ConsumerRunningDataDo
+						{
+							float okTps;
+							float rt;
+							float failedTps;
+							std::string topic;
+							long failedCountPerHour;
+							std::string groupId;
+						};
+						struct ThreadTrackDo
+						{
+							std::vector<std::string> trackList;
+							std::string thread;
+						};
+						long lastTimeStamp;
+						std::vector<ConsumerConnectionInfoDo::ConsumerRunningDataDo> runningDataList;
+						std::string consumeModel;
+						int threadCount;
+						std::string language;
+						std::string consumeType;
+						std::vector<ConsumerConnectionInfoDo::SubscriptionData> subscriptionSet;
+						std::string version;
+						std::string connection;
+						std::string clientId;
+						long startTimeStamp;
+						std::vector<ConsumerConnectionInfoDo::ThreadTrackDo> jstack;
+					};
+					std::vector<ConsumerConnectionInfoDo> consumerConnectionInfoList;
+					std::string consumeModel;
+					float consumeTps;
+					long lastTimestamp;
+					std::string instanceId;
+					bool subscriptionSame;
+					bool rebalanceOK;
+					long totalDiff;
+					std::vector<ConnectionDo> connectionSet;
+					bool online;
+					long delayTime;
+					std::vector<DetailInTopicDo> detailInTopicList;
+				};
+
+
+				OnsConsumerStatusResult();
+				explicit OnsConsumerStatusResult(const std::string &payload);
+				~OnsConsumerStatusResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSCONSUMERTIMESPANREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_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 OnsConsumerTimeSpanRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsConsumerTimeSpanRequest();
+				~OnsConsumerTimeSpanRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_

+ 61 - 0
ons/include/alibabacloud/ons/model/OnsConsumerTimeSpanResult.h

@@ -0,0 +1,61 @@
+/*
+ * 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_ONSCONSUMERTIMESPANRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANRESULT_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 OnsConsumerTimeSpanResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					long consumeTimeStamp;
+					std::string instanceId;
+					long minTimeStamp;
+					long maxTimeStamp;
+					std::string topic;
+				};
+
+
+				OnsConsumerTimeSpanResult();
+				explicit OnsConsumerTimeSpanResult(const std::string &payload);
+				~OnsConsumerTimeSpanResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSDLQMESSAGEGETBYIDREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_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 OnsDLQMessageGetByIdRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsDLQMessageGetByIdRequest();
+				~OnsDLQMessageGetByIdRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getMsgId()const;
+				void setMsgId(const std::string& msgId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string msgId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_

+ 75 - 0
ons/include/alibabacloud/ons/model/OnsDLQMessageGetByIdResult.h

@@ -0,0 +1,75 @@
+/*
+ * 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_ONSDLQMESSAGEGETBYIDRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDRESULT_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 OnsDLQMessageGetByIdResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct MessageProperty
+					{
+						std::string value;
+						std::string name;
+					};
+					long bornTimestamp;
+					std::string offsetId;
+					std::string instanceId;
+					int storeSize;
+					std::string bornHost;
+					int bodyCRC;
+					int flag;
+					std::string msgId;
+					long storeTimestamp;
+					std::string storeHost;
+					std::vector<MessageProperty> propertyList;
+					std::string topic;
+					std::string body;
+					int reconsumeTimes;
+				};
+
+
+				OnsDLQMessageGetByIdResult();
+				explicit OnsDLQMessageGetByIdResult(const std::string &payload);
+				~OnsDLQMessageGetByIdResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDRESULT_H_

+ 69 - 0
ons/include/alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdRequest.h

@@ -0,0 +1,69 @@
+/*
+ * 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_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_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 OnsDLQMessagePageQueryByGroupIdRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsDLQMessagePageQueryByGroupIdRequest();
+				~OnsDLQMessagePageQueryByGroupIdRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				int getPageSize()const;
+				void setPageSize(int pageSize);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+				int getCurrentPage()const;
+				void setCurrentPage(int currentPage);
+				std::string getTaskId()const;
+				void setTaskId(const std::string& taskId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				int pageSize_;
+				long endTime_;
+				long beginTime_;
+				int currentPage_;
+				std::string taskId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_

+ 82 - 0
ons/include/alibabacloud/ons/model/OnsDLQMessagePageQueryByGroupIdResult.h

@@ -0,0 +1,82 @@
+/*
+ * 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_ONSDLQMESSAGEPAGEQUERYBYGROUPIDRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDRESULT_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 OnsDLQMessagePageQueryByGroupIdResult : public ServiceResult
+			{
+			public:
+				struct MsgFoundDo
+				{
+					struct OnsRestMessageDo
+					{
+						struct MessageProperty
+						{
+							std::string value;
+							std::string name;
+						};
+						long bornTimestamp;
+						std::string offsetId;
+						std::string instanceId;
+						int storeSize;
+						std::string bornHost;
+						int bodyCRC;
+						int flag;
+						std::string msgId;
+						long storeTimestamp;
+						std::string storeHost;
+						std::vector<OnsRestMessageDo::MessageProperty> propertyList;
+						std::string topic;
+						std::string body;
+						int reconsumeTimes;
+					};
+					std::string taskId;
+					long currentPage;
+					long maxPageCount;
+					std::vector<OnsRestMessageDo> msgFoundList;
+				};
+
+
+				OnsDLQMessagePageQueryByGroupIdResult();
+				explicit OnsDLQMessagePageQueryByGroupIdResult(const std::string &payload);
+				~OnsDLQMessagePageQueryByGroupIdResult();
+				MsgFoundDo getMsgFoundDo()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				MsgFoundDo msgFoundDo_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSDLQMESSAGERESENDBYIDREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_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 OnsDLQMessageResendByIdRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsDLQMessageResendByIdRequest();
+				~OnsDLQMessageResendByIdRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getMsgId()const;
+				void setMsgId(const std::string& msgId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string msgId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_

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

@@ -0,0 +1,53 @@
+/*
+ * 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_ONSDLQMESSAGERESENDBYIDRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDRESULT_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 OnsDLQMessageResendByIdResult : public ServiceResult
+			{
+			public:
+
+
+				OnsDLQMessageResendByIdResult();
+				explicit OnsDLQMessageResendByIdResult(const std::string &payload);
+				~OnsDLQMessageResendByIdResult();
+				std::vector<std::string> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<std::string> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSGROUPCONSUMERUPDATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_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 OnsGroupConsumerUpdateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsGroupConsumerUpdateRequest();
+				~OnsGroupConsumerUpdateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				bool getReadEnable()const;
+				void setReadEnable(bool readEnable);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				bool readEnable_;
+				std::string instanceId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATERESULT_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 OnsGroupConsumerUpdateResult : public ServiceResult
+			{
+			public:
+
+
+				OnsGroupConsumerUpdateResult();
+				explicit OnsGroupConsumerUpdateResult(const std::string &payload);
+				~OnsGroupConsumerUpdateResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATERESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSGROUPCREATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_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 OnsGroupCreateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsGroupCreateRequest();
+				~OnsGroupCreateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getRemark()const;
+				void setRemark(const std::string& remark);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string remark_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATERESULT_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 OnsGroupCreateResult : public ServiceResult
+			{
+			public:
+
+
+				OnsGroupCreateResult();
+				explicit OnsGroupCreateResult(const std::string &payload);
+				~OnsGroupCreateResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATERESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSGROUPDELETEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_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 OnsGroupDeleteRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsGroupDeleteRequest();
+				~OnsGroupDeleteRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETERESULT_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 OnsGroupDeleteResult : public ServiceResult
+			{
+			public:
+
+
+				OnsGroupDeleteResult();
+				explicit OnsGroupDeleteResult(const std::string &payload);
+				~OnsGroupDeleteResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETERESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSGROUPLISTREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_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 OnsGroupListRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsGroupListRequest();
+				~OnsGroupListRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_

+ 62 - 0
ons/include/alibabacloud/ons/model/OnsGroupListResult.h

@@ -0,0 +1,62 @@
+/*
+ * 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_ONSGROUPLISTRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTRESULT_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 OnsGroupListResult : public ServiceResult
+			{
+			public:
+				struct SubscribeInfoDo
+				{
+					std::string owner;
+					std::string instanceId;
+					long updateTime;
+					bool independentNaming;
+					std::string groupId;
+					std::string remark;
+				};
+
+
+				OnsGroupListResult();
+				explicit OnsGroupListResult(const std::string &payload);
+				~OnsGroupListResult();
+				std::vector<SubscribeInfoDo> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<SubscribeInfoDo> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTRESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSGROUPSUBDETAILREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_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 OnsGroupSubDetailRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsGroupSubDetailRequest();
+				~OnsGroupSubDetailRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_

+ 63 - 0
ons/include/alibabacloud/ons/model/OnsGroupSubDetailResult.h

@@ -0,0 +1,63 @@
+/*
+ * 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_ONSGROUPSUBDETAILRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILRESULT_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 OnsGroupSubDetailResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct SubscriptionDataListItem
+					{
+						std::string subString;
+						std::string topic;
+					};
+					std::string messageModel;
+					std::vector<SubscriptionDataListItem> subscriptionDataList;
+					bool online;
+					std::string groupId;
+				};
+
+
+				OnsGroupSubDetailResult();
+				explicit OnsGroupSubDetailResult(const std::string &payload);
+				~OnsGroupSubDetailResult();
+				Data getData()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILRESULT_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_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 OnsInstanceBaseInfoRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsInstanceBaseInfoRequest();
+				~OnsInstanceBaseInfoRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_

+ 70 - 0
ons/include/alibabacloud/ons/model/OnsInstanceBaseInfoResult.h

@@ -0,0 +1,70 @@
+/*
+ * 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_ONSINSTANCEBASEINFORESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFORESULT_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 OnsInstanceBaseInfoResult : public ServiceResult
+			{
+			public:
+				struct InstanceBaseInfo
+				{
+					struct Endpoints
+					{
+						std::string httpInternalEndpoint;
+						std::string tcpEndpoint;
+						std::string httpInternetEndpoint;
+						std::string httpInternetSecureEndpoint;
+					};
+					Endpoints endpoints;
+					std::string instanceName;
+					std::string instanceId;
+					long releaseTime;
+					int instanceStatus;
+					bool independentNaming;
+					int instanceType;
+				};
+
+
+				OnsInstanceBaseInfoResult();
+				explicit OnsInstanceBaseInfoResult(const std::string &payload);
+				~OnsInstanceBaseInfoResult();
+				InstanceBaseInfo getInstanceBaseInfo()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				InstanceBaseInfo instanceBaseInfo_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFORESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSINSTANCECREATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_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 OnsInstanceCreateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsInstanceCreateRequest();
+				~OnsInstanceCreateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceName()const;
+				void setInstanceName(const std::string& instanceName);
+				std::string getRemark()const;
+				void setRemark(const std::string& remark);
+
+            private:
+				long preventCache_;
+				std::string instanceName_;
+				std::string remark_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_

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

@@ -0,0 +1,58 @@
+/*
+ * 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_ONSINSTANCECREATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATERESULT_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 OnsInstanceCreateResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					std::string instanceId;
+					int instanceType;
+				};
+
+
+				OnsInstanceCreateResult();
+				explicit OnsInstanceCreateResult(const std::string &payload);
+				~OnsInstanceCreateResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATERESULT_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_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 OnsInstanceDeleteRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsInstanceDeleteRequest();
+				~OnsInstanceDeleteRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETERESULT_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 OnsInstanceDeleteResult : public ServiceResult
+			{
+			public:
+
+
+				OnsInstanceDeleteResult();
+				explicit OnsInstanceDeleteResult(const std::string &payload);
+				~OnsInstanceDeleteResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETERESULT_H_

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

@@ -0,0 +1,48 @@
+/*
+ * 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_ONSINSTANCEINSERVICELISTREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_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 OnsInstanceInServiceListRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsInstanceInServiceListRequest();
+				~OnsInstanceInServiceListRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+
+            private:
+				long preventCache_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_

+ 62 - 0
ons/include/alibabacloud/ons/model/OnsInstanceInServiceListResult.h

@@ -0,0 +1,62 @@
+/*
+ * 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_ONSINSTANCEINSERVICELISTRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTRESULT_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 OnsInstanceInServiceListResult : public ServiceResult
+			{
+			public:
+				struct InstanceVO
+				{
+					std::string instanceName;
+					std::string instanceId;
+					long releaseTime;
+					int instanceStatus;
+					bool independentNaming;
+					int instanceType;
+				};
+
+
+				OnsInstanceInServiceListResult();
+				explicit OnsInstanceInServiceListResult(const std::string &payload);
+				~OnsInstanceInServiceListResult();
+				std::vector<InstanceVO> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<InstanceVO> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSINSTANCEUPDATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_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 OnsInstanceUpdateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsInstanceUpdateRequest();
+				~OnsInstanceUpdateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceName()const;
+				void setInstanceName(const std::string& instanceName);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getRemark()const;
+				void setRemark(const std::string& remark);
+
+            private:
+				long preventCache_;
+				std::string instanceName_;
+				std::string instanceId_;
+				std::string remark_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATERESULT_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 OnsInstanceUpdateResult : public ServiceResult
+			{
+			public:
+
+
+				OnsInstanceUpdateResult();
+				explicit OnsInstanceUpdateResult(const std::string &payload);
+				~OnsInstanceUpdateResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATERESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSMESSAGEGETBYKEYREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_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 OnsMessageGetByKeyRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsMessageGetByKeyRequest();
+				~OnsMessageGetByKeyRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				std::string getKey()const;
+				void setKey(const std::string& key);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+				std::string key_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_

+ 75 - 0
ons/include/alibabacloud/ons/model/OnsMessageGetByKeyResult.h

@@ -0,0 +1,75 @@
+/*
+ * 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_ONSMESSAGEGETBYKEYRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYRESULT_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 OnsMessageGetByKeyResult : public ServiceResult
+			{
+			public:
+				struct OnsRestMessageDo
+				{
+					struct MessageProperty
+					{
+						std::string value;
+						std::string name;
+					};
+					long bornTimestamp;
+					std::string offsetId;
+					std::string instanceId;
+					int storeSize;
+					std::string bornHost;
+					int bodyCRC;
+					int flag;
+					std::string msgId;
+					long storeTimestamp;
+					std::string storeHost;
+					std::vector<OnsRestMessageDo::MessageProperty> propertyList;
+					std::string topic;
+					std::string body;
+					int reconsumeTimes;
+				};
+
+
+				OnsMessageGetByKeyResult();
+				explicit OnsMessageGetByKeyResult(const std::string &payload);
+				~OnsMessageGetByKeyResult();
+				std::vector<OnsRestMessageDo> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<OnsRestMessageDo> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSMESSAGEGETBYMSGIDREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_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 OnsMessageGetByMsgIdRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsMessageGetByMsgIdRequest();
+				~OnsMessageGetByMsgIdRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getMsgId()const;
+				void setMsgId(const std::string& msgId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string msgId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_

+ 75 - 0
ons/include/alibabacloud/ons/model/OnsMessageGetByMsgIdResult.h

@@ -0,0 +1,75 @@
+/*
+ * 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_ONSMESSAGEGETBYMSGIDRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDRESULT_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 OnsMessageGetByMsgIdResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct MessageProperty
+					{
+						std::string value;
+						std::string name;
+					};
+					long bornTimestamp;
+					std::string offsetId;
+					std::string instanceId;
+					int storeSize;
+					std::string bornHost;
+					int bodyCRC;
+					int flag;
+					std::string msgId;
+					long storeTimestamp;
+					std::string storeHost;
+					std::vector<MessageProperty> propertyList;
+					std::string topic;
+					std::string body;
+					int reconsumeTimes;
+				};
+
+
+				OnsMessageGetByMsgIdResult();
+				explicit OnsMessageGetByMsgIdResult(const std::string &payload);
+				~OnsMessageGetByMsgIdResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDRESULT_H_

+ 69 - 0
ons/include/alibabacloud/ons/model/OnsMessagePageQueryByTopicRequest.h

@@ -0,0 +1,69 @@
+/*
+ * 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_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_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 OnsMessagePageQueryByTopicRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsMessagePageQueryByTopicRequest();
+				~OnsMessagePageQueryByTopicRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				int getPageSize()const;
+				void setPageSize(int pageSize);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+				int getCurrentPage()const;
+				void setCurrentPage(int currentPage);
+				std::string getTaskId()const;
+				void setTaskId(const std::string& taskId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				int pageSize_;
+				std::string topic_;
+				long endTime_;
+				long beginTime_;
+				int currentPage_;
+				std::string taskId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_

+ 82 - 0
ons/include/alibabacloud/ons/model/OnsMessagePageQueryByTopicResult.h

@@ -0,0 +1,82 @@
+/*
+ * 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_ONSMESSAGEPAGEQUERYBYTOPICRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICRESULT_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 OnsMessagePageQueryByTopicResult : public ServiceResult
+			{
+			public:
+				struct MsgFoundDo
+				{
+					struct OnsRestMessageDo
+					{
+						struct MessageProperty
+						{
+							std::string value;
+							std::string name;
+						};
+						long bornTimestamp;
+						std::string offsetId;
+						std::string instanceId;
+						int storeSize;
+						std::string bornHost;
+						int bodyCRC;
+						int flag;
+						std::string msgId;
+						long storeTimestamp;
+						std::string storeHost;
+						std::vector<OnsRestMessageDo::MessageProperty> propertyList;
+						std::string topic;
+						std::string body;
+						int reconsumeTimes;
+					};
+					std::string taskId;
+					long currentPage;
+					long maxPageCount;
+					std::vector<OnsRestMessageDo> msgFoundList;
+				};
+
+
+				OnsMessagePageQueryByTopicResult();
+				explicit OnsMessagePageQueryByTopicResult(const std::string &payload);
+				~OnsMessagePageQueryByTopicResult();
+				MsgFoundDo getMsgFoundDo()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				MsgFoundDo msgFoundDo_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICRESULT_H_

+ 63 - 0
ons/include/alibabacloud/ons/model/OnsMessagePushRequest.h

@@ -0,0 +1,63 @@
+/*
+ * 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_ONSMESSAGEPUSHREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_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 OnsMessagePushRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsMessagePushRequest();
+				~OnsMessagePushRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getClientId()const;
+				void setClientId(const std::string& clientId);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getMsgId()const;
+				void setMsgId(const std::string& msgId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string clientId_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string msgId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHRESULT_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 OnsMessagePushResult : public ServiceResult
+			{
+			public:
+
+
+				OnsMessagePushResult();
+				explicit OnsMessagePushResult(const std::string &payload);
+				~OnsMessagePushResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHRESULT_H_

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

@@ -0,0 +1,63 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				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 getMessage()const;
+				void setMessage(const std::string& message);
+				std::string getKey()const;
+				void setKey(const std::string& key);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+				std::string tag_;
+				std::string message_;
+				std::string key_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDREQUEST_H_

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

@@ -0,0 +1,53 @@
+/*
+ * 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_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSMESSAGETRACEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_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 OnsMessageTraceRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsMessageTraceRequest();
+				~OnsMessageTraceRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				std::string getMsgId()const;
+				void setMsgId(const std::string& msgId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+				std::string msgId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_

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

@@ -0,0 +1,60 @@
+/*
+ * 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_ONSMESSAGETRACERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACERESULT_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 OnsMessageTraceResult : public ServiceResult
+			{
+			public:
+				struct MessageTrack
+				{
+					std::string exceptionDesc;
+					std::string instanceId;
+					std::string trackType;
+					std::string consumerGroup;
+				};
+
+
+				OnsMessageTraceResult();
+				explicit OnsMessageTraceResult(const std::string &payload);
+				~OnsMessageTraceResult();
+				std::vector<MessageTrack> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<MessageTrack> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACERESULT_H_

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

@@ -0,0 +1,60 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string regionId_;
+				std::string groupId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_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_

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

@@ -0,0 +1,57 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string regionId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_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_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_

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

@@ -0,0 +1,66 @@
+/*
+ * 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;
+					long id;
+					bool independentNaming;
+					int channelId;
+					std::string topic;
+					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_

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

@@ -0,0 +1,54 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getClientId()const;
+				void setClientId(const std::string& clientId);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+
+            private:
+				long preventCache_;
+				std::string clientId_;
+				std::string instanceId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_

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

@@ -0,0 +1,67 @@
+/*
+ * 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_

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

@@ -0,0 +1,54 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_

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

@@ -0,0 +1,58 @@
+/*
+ * 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_

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

@@ -0,0 +1,57 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getParentTopic()const;
+				void setParentTopic(const std::string& parentTopic);
+				std::string getSubTopic()const;
+				void setSubTopic(const std::string& subTopic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string parentTopic_;
+				std::string subTopic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_

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

@@ -0,0 +1,58 @@
+/*
+ * 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_

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

@@ -0,0 +1,60 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				long endTime_;
+				long beginTime_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_

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

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#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_

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

@@ -0,0 +1,75 @@
+/*
+ * 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();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				int getQos()const;
+				void setQos(int qos);
+				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 getMsgType()const;
+				void setMsgType(const std::string& msgType);
+				std::string getSubTopic()const;
+				void setSubTopic(const std::string& subTopic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				int qos_;
+				std::string transType_;
+				long endTime_;
+				long beginTime_;
+				std::string tpsType_;
+				std::string parentTopic_;
+				std::string msgType_;
+				std::string subTopic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_

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

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#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_

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

@@ -0,0 +1,48 @@
+/*
+ * 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_ONSREGIONLISTREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_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 OnsRegionListRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsRegionListRequest();
+				~OnsRegionListRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+
+            private:
+				long preventCache_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_

+ 63 - 0
ons/include/alibabacloud/ons/model/OnsRegionListResult.h

@@ -0,0 +1,63 @@
+/*
+ * 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_ONSREGIONLISTRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTRESULT_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 OnsRegionListResult : public ServiceResult
+			{
+			public:
+				struct RegionDo
+				{
+					std::string channelName;
+					std::string regionName;
+					std::string onsRegionId;
+					long createTime;
+					long updateTime;
+					long id;
+					int channelId;
+				};
+
+
+				OnsRegionListResult();
+				explicit OnsRegionListResult(const std::string &payload);
+				~OnsRegionListResult();
+				std::vector<RegionDo> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<RegionDo> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTRESULT_H_

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

@@ -0,0 +1,60 @@
+/*
+ * 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_ONSTOPICCREATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_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 OnsTopicCreateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTopicCreateRequest();
+				~OnsTopicCreateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				int getMessageType()const;
+				void setMessageType(int messageType);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				std::string getRemark()const;
+				void setRemark(const std::string& remark);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				int messageType_;
+				std::string topic_;
+				std::string remark_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATERESULT_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 OnsTopicCreateResult : public ServiceResult
+			{
+			public:
+
+
+				OnsTopicCreateResult();
+				explicit OnsTopicCreateResult(const std::string &payload);
+				~OnsTopicCreateResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATERESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSTOPICDELETEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_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 OnsTopicDeleteRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTopicDeleteRequest();
+				~OnsTopicDeleteRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETERESULT_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 OnsTopicDeleteResult : public ServiceResult
+			{
+			public:
+
+
+				OnsTopicDeleteResult();
+				explicit OnsTopicDeleteResult(const std::string &payload);
+				~OnsTopicDeleteResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETERESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSTOPICLISTREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_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 OnsTopicListRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTopicListRequest();
+				~OnsTopicListRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_

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

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTRESULT_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 OnsTopicListResult : public ServiceResult
+			{
+			public:
+				struct PublishInfoDo
+				{
+					std::string owner;
+					int relation;
+					std::string instanceId;
+					long createTime;
+					std::string relationName;
+					bool independentNaming;
+					std::string topic;
+					int messageType;
+					std::string remark;
+				};
+
+
+				OnsTopicListResult();
+				explicit OnsTopicListResult(const std::string &payload);
+				~OnsTopicListResult();
+				std::vector<PublishInfoDo> getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<PublishInfoDo> data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTRESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSTOPICSTATUSREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_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 OnsTopicStatusRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTopicStatusRequest();
+				~OnsTopicStatusRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_

+ 59 - 0
ons/include/alibabacloud/ons/model/OnsTopicStatusResult.h

@@ -0,0 +1,59 @@
+/*
+ * 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_ONSTOPICSTATUSRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSRESULT_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 OnsTopicStatusResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					long lastTimeStamp;
+					long totalCount;
+					int perm;
+				};
+
+
+				OnsTopicStatusResult();
+				explicit OnsTopicStatusResult(const std::string &payload);
+				~OnsTopicStatusResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSRESULT_H_

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

@@ -0,0 +1,54 @@
+/*
+ * 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_ONSTOPICSUBDETAILREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_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 OnsTopicSubDetailRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTopicSubDetailRequest();
+				~OnsTopicSubDetailRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_

+ 62 - 0
ons/include/alibabacloud/ons/model/OnsTopicSubDetailResult.h

@@ -0,0 +1,62 @@
+/*
+ * 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_ONSTOPICSUBDETAILRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILRESULT_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 OnsTopicSubDetailResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct SubscriptionDataListItem
+					{
+						std::string messageModel;
+						std::string subString;
+						std::string groupId;
+					};
+					std::vector<SubscriptionDataListItem> subscriptionDataList;
+					std::string topic;
+				};
+
+
+				OnsTopicSubDetailResult();
+				explicit OnsTopicSubDetailResult(const std::string &payload);
+				~OnsTopicSubDetailResult();
+				Data getData()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILRESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSTOPICUPDATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_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 OnsTopicUpdateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTopicUpdateRequest();
+				~OnsTopicUpdateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				int getPerm()const;
+				void setPerm(int perm);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				int perm_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATERESULT_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 OnsTopicUpdateResult : public ServiceResult
+			{
+			public:
+
+
+				OnsTopicUpdateResult();
+				explicit OnsTopicUpdateResult(const std::string &payload);
+				~OnsTopicUpdateResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATERESULT_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_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 OnsTraceGetResultRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTraceGetResultRequest();
+				~OnsTraceGetResultRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getQueryId()const;
+				void setQueryId(const std::string& queryId);
+
+            private:
+				long preventCache_;
+				std::string queryId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_

+ 95 - 0
ons/include/alibabacloud/ons/model/OnsTraceGetResultResult.h

@@ -0,0 +1,95 @@
+/*
+ * 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_ONSTRACEGETRESULTRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTRESULT_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 OnsTraceGetResultResult : public ServiceResult
+			{
+			public:
+				struct TraceData
+				{
+					struct TraceMapDo
+					{
+						struct SubMapDo
+						{
+							struct SubClientInfoDo
+							{
+								int costTime;
+								std::string status;
+								std::string clientHost;
+								long subTime;
+								std::string subGroupName;
+								int reconsumeTimes;
+							};
+							int failCount;
+							std::string subGroupName;
+							int successCount;
+							std::vector<SubMapDo::SubClientInfoDo> clientList;
+						};
+						int costTime;
+						std::string status;
+						std::string msgKey;
+						std::vector<TraceMapDo::SubMapDo> subList;
+						std::string tag;
+						std::string bornHost;
+						long pubTime;
+						std::string topic;
+						std::string pubGroupName;
+						std::string msgId;
+					};
+					std::string status;
+					std::string instanceId;
+					std::string userId;
+					std::string queryId;
+					std::string msgKey;
+					long createTime;
+					long updateTime;
+					std::vector<TraceMapDo> traceList;
+					std::string topic;
+					std::string msgId;
+				};
+
+
+				OnsTraceGetResultResult();
+				explicit OnsTraceGetResultResult(const std::string &payload);
+				~OnsTraceGetResultResult();
+				TraceData getTraceData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				TraceData traceData_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTRESULT_H_

+ 63 - 0
ons/include/alibabacloud/ons/model/OnsTraceQueryByMsgIdRequest.h

@@ -0,0 +1,63 @@
+/*
+ * 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_ONSTRACEQUERYBYMSGIDREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_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 OnsTraceQueryByMsgIdRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTraceQueryByMsgIdRequest();
+				~OnsTraceQueryByMsgIdRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				std::string getMsgId()const;
+				void setMsgId(const std::string& msgId);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+				std::string msgId_;
+				long endTime_;
+				long beginTime_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_

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

@@ -0,0 +1,53 @@
+/*
+ * 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_ONSTRACEQUERYBYMSGIDRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDRESULT_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 OnsTraceQueryByMsgIdResult : public ServiceResult
+			{
+			public:
+
+
+				OnsTraceQueryByMsgIdResult();
+				explicit OnsTraceQueryByMsgIdResult(const std::string &payload);
+				~OnsTraceQueryByMsgIdResult();
+				std::string getQueryId()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string queryId_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDRESULT_H_

+ 63 - 0
ons/include/alibabacloud/ons/model/OnsTraceQueryByMsgKeyRequest.h

@@ -0,0 +1,63 @@
+/*
+ * 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_ONSTRACEQUERYBYMSGKEYREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_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 OnsTraceQueryByMsgKeyRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTraceQueryByMsgKeyRequest();
+				~OnsTraceQueryByMsgKeyRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+				std::string getMsgKey()const;
+				void setMsgKey(const std::string& msgKey);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string topic_;
+				long endTime_;
+				long beginTime_;
+				std::string msgKey_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_

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

@@ -0,0 +1,53 @@
+/*
+ * 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_ONSTRACEQUERYBYMSGKEYRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYRESULT_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 OnsTraceQueryByMsgKeyResult : public ServiceResult
+			{
+			public:
+
+
+				OnsTraceQueryByMsgKeyResult();
+				explicit OnsTraceQueryByMsgKeyResult(const std::string &payload);
+				~OnsTraceQueryByMsgKeyResult();
+				std::string getQueryId()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string queryId_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYRESULT_H_

+ 69 - 0
ons/include/alibabacloud/ons/model/OnsTrendGroupOutputTpsRequest.h

@@ -0,0 +1,69 @@
+/*
+ * 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_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_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 OnsTrendGroupOutputTpsRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTrendGroupOutputTpsRequest();
+				~OnsTrendGroupOutputTpsRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				long getPeriod()const;
+				void setPeriod(long period);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+				int getType()const;
+				void setType(int type);
+
+            private:
+				long preventCache_;
+				long period_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string topic_;
+				long endTime_;
+				long beginTime_;
+				int type_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_

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

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSRESULT_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 OnsTrendGroupOutputTpsResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct StatsDataDo
+					{
+						long x;
+						float y;
+					};
+					std::string yUnit;
+					std::string title;
+					std::string xUnit;
+					std::vector<StatsDataDo> records;
+				};
+
+
+				OnsTrendGroupOutputTpsResult();
+				explicit OnsTrendGroupOutputTpsResult(const std::string &payload);
+				~OnsTrendGroupOutputTpsResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSRESULT_H_

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

@@ -0,0 +1,66 @@
+/*
+ * 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_ONSTRENDTOPICINPUTTPSREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_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 OnsTrendTopicInputTpsRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsTrendTopicInputTpsRequest();
+				~OnsTrendTopicInputTpsRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				long getPeriod()const;
+				void setPeriod(long period);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				long getEndTime()const;
+				void setEndTime(long endTime);
+				long getBeginTime()const;
+				void setBeginTime(long beginTime);
+				int getType()const;
+				void setType(int type);
+
+            private:
+				long preventCache_;
+				long period_;
+				std::string instanceId_;
+				std::string topic_;
+				long endTime_;
+				long beginTime_;
+				int type_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_

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

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSRESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSRESULT_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 OnsTrendTopicInputTpsResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct StatsDataDo
+					{
+						long x;
+						float y;
+					};
+					std::string yUnit;
+					std::string title;
+					std::string xUnit;
+					std::vector<StatsDataDo> records;
+				};
+
+
+				OnsTrendTopicInputTpsResult();
+				explicit OnsTrendTopicInputTpsResult(const std::string &payload);
+				~OnsTrendTopicInputTpsResult();
+				Data getData()const;
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				Data data_;
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSRESULT_H_

+ 75 - 0
ons/include/alibabacloud/ons/model/OnsWarnCreateRequest.h

@@ -0,0 +1,75 @@
+/*
+ * 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_ONSWARNCREATEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_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 OnsWarnCreateRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsWarnCreateRequest();
+				~OnsWarnCreateRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getBlockTime()const;
+				void setBlockTime(const std::string& blockTime);
+				std::string getLevel()const;
+				void setLevel(const std::string& level);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getDelayTime()const;
+				void setDelayTime(const std::string& delayTime);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+				std::string getThreshold()const;
+				void setThreshold(const std::string& threshold);
+				std::string getAlertTime()const;
+				void setAlertTime(const std::string& alertTime);
+				std::string getContacts()const;
+				void setContacts(const std::string& contacts);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string blockTime_;
+				std::string level_;
+				std::string groupId_;
+				std::string delayTime_;
+				std::string topic_;
+				std::string threshold_;
+				std::string alertTime_;
+				std::string contacts_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_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 OnsWarnCreateResult : public ServiceResult
+			{
+			public:
+
+
+				OnsWarnCreateResult();
+				explicit OnsWarnCreateResult(const std::string &payload);
+				~OnsWarnCreateResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_

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

@@ -0,0 +1,57 @@
+/*
+ * 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_ONSWARNDELETEREQUEST_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_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 OnsWarnDeleteRequest : public RpcServiceRequest
+			{
+
+			public:
+				OnsWarnDeleteRequest();
+				~OnsWarnDeleteRequest();
+
+				long getPreventCache()const;
+				void setPreventCache(long preventCache);
+				std::string getInstanceId()const;
+				void setInstanceId(const std::string& instanceId);
+				std::string getGroupId()const;
+				void setGroupId(const std::string& groupId);
+				std::string getTopic()const;
+				void setTopic(const std::string& topic);
+
+            private:
+				long preventCache_;
+				std::string instanceId_;
+				std::string groupId_;
+				std::string topic_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_H_

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

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_
+#define ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_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 OnsWarnDeleteResult : public ServiceResult
+			{
+			public:
+
+
+				OnsWarnDeleteResult();
+				explicit OnsWarnDeleteResult(const std::string &payload);
+				~OnsWarnDeleteResult();
+				std::string getHelpUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string helpUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_

+ 1709 - 0
ons/src/OnsClient.cc

@@ -0,0 +1,1709 @@
+/*
+ * 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/OnsClient.h>
+#include <alibabacloud/core/SimpleCredentialsProvider.h>
+
+using namespace AlibabaCloud;
+using namespace AlibabaCloud::Location;
+using namespace AlibabaCloud::Ons;
+using namespace AlibabaCloud::Ons::Model;
+
+namespace
+{
+	const std::string SERVICE_NAME = "Ons";
+}
+
+OnsClient::OnsClient(const Credentials &credentials, const ClientConfiguration &configuration) :
+	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
+{
+	auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ons");
+}
+
+OnsClient::OnsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
+	RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
+{
+	auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ons");
+}
+
+OnsClient::OnsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
+	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
+{
+	auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ons");
+}
+
+OnsClient::~OnsClient()
+{}
+
+OnsClient::OnsTopicSubDetailOutcome OnsClient::onsTopicSubDetail(const OnsTopicSubDetailRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTopicSubDetailOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTopicSubDetailOutcome(OnsTopicSubDetailResult(outcome.result()));
+	else
+		return OnsTopicSubDetailOutcome(outcome.error());
+}
+
+void OnsClient::onsTopicSubDetailAsync(const OnsTopicSubDetailRequest& request, const OnsTopicSubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTopicSubDetail(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTopicSubDetailOutcomeCallable OnsClient::onsTopicSubDetailCallable(const OnsTopicSubDetailRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTopicSubDetailOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTopicSubDetail(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::OnsInstanceDeleteOutcome OnsClient::onsInstanceDelete(const OnsInstanceDeleteRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsInstanceDeleteOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsInstanceDeleteOutcome(OnsInstanceDeleteResult(outcome.result()));
+	else
+		return OnsInstanceDeleteOutcome(outcome.error());
+}
+
+void OnsClient::onsInstanceDeleteAsync(const OnsInstanceDeleteRequest& request, const OnsInstanceDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsInstanceDelete(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsInstanceDeleteOutcomeCallable OnsClient::onsInstanceDeleteCallable(const OnsInstanceDeleteRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsInstanceDeleteOutcome()>>(
+			[this, request]()
+			{
+			return this->onsInstanceDelete(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTopicDeleteOutcome OnsClient::onsTopicDelete(const OnsTopicDeleteRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTopicDeleteOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTopicDeleteOutcome(OnsTopicDeleteResult(outcome.result()));
+	else
+		return OnsTopicDeleteOutcome(outcome.error());
+}
+
+void OnsClient::onsTopicDeleteAsync(const OnsTopicDeleteRequest& request, const OnsTopicDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTopicDelete(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTopicDeleteOutcomeCallable OnsClient::onsTopicDeleteCallable(const OnsTopicDeleteRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTopicDeleteOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTopicDelete(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTopicUpdateOutcome OnsClient::onsTopicUpdate(const OnsTopicUpdateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTopicUpdateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTopicUpdateOutcome(OnsTopicUpdateResult(outcome.result()));
+	else
+		return OnsTopicUpdateOutcome(outcome.error());
+}
+
+void OnsClient::onsTopicUpdateAsync(const OnsTopicUpdateRequest& request, const OnsTopicUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTopicUpdate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTopicUpdateOutcomeCallable OnsClient::onsTopicUpdateCallable(const OnsTopicUpdateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTopicUpdateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTopicUpdate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTraceQueryByMsgKeyOutcome OnsClient::onsTraceQueryByMsgKey(const OnsTraceQueryByMsgKeyRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTraceQueryByMsgKeyOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTraceQueryByMsgKeyOutcome(OnsTraceQueryByMsgKeyResult(outcome.result()));
+	else
+		return OnsTraceQueryByMsgKeyOutcome(outcome.error());
+}
+
+void OnsClient::onsTraceQueryByMsgKeyAsync(const OnsTraceQueryByMsgKeyRequest& request, const OnsTraceQueryByMsgKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTraceQueryByMsgKey(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTraceQueryByMsgKeyOutcomeCallable OnsClient::onsTraceQueryByMsgKeyCallable(const OnsTraceQueryByMsgKeyRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTraceQueryByMsgKeyOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTraceQueryByMsgKey(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsConsumerGetConnectionOutcome OnsClient::onsConsumerGetConnection(const OnsConsumerGetConnectionRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsConsumerGetConnectionOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsConsumerGetConnectionOutcome(OnsConsumerGetConnectionResult(outcome.result()));
+	else
+		return OnsConsumerGetConnectionOutcome(outcome.error());
+}
+
+void OnsClient::onsConsumerGetConnectionAsync(const OnsConsumerGetConnectionRequest& request, const OnsConsumerGetConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsConsumerGetConnection(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsConsumerGetConnectionOutcomeCallable OnsClient::onsConsumerGetConnectionCallable(const OnsConsumerGetConnectionRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsConsumerGetConnectionOutcome()>>(
+			[this, request]()
+			{
+			return this->onsConsumerGetConnection(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTraceQueryByMsgIdOutcome OnsClient::onsTraceQueryByMsgId(const OnsTraceQueryByMsgIdRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTraceQueryByMsgIdOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTraceQueryByMsgIdOutcome(OnsTraceQueryByMsgIdResult(outcome.result()));
+	else
+		return OnsTraceQueryByMsgIdOutcome(outcome.error());
+}
+
+void OnsClient::onsTraceQueryByMsgIdAsync(const OnsTraceQueryByMsgIdRequest& request, const OnsTraceQueryByMsgIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTraceQueryByMsgId(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTraceQueryByMsgIdOutcomeCallable OnsClient::onsTraceQueryByMsgIdCallable(const OnsTraceQueryByMsgIdRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTraceQueryByMsgIdOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTraceQueryByMsgId(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsRegionListOutcome OnsClient::onsRegionList(const OnsRegionListRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsRegionListOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsRegionListOutcome(OnsRegionListResult(outcome.result()));
+	else
+		return OnsRegionListOutcome(outcome.error());
+}
+
+void OnsClient::onsRegionListAsync(const OnsRegionListRequest& request, const OnsRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsRegionList(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsRegionListOutcomeCallable OnsClient::onsRegionListCallable(const OnsRegionListRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsRegionListOutcome()>>(
+			[this, request]()
+			{
+			return this->onsRegionList(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTopicListOutcome OnsClient::onsTopicList(const OnsTopicListRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTopicListOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTopicListOutcome(OnsTopicListResult(outcome.result()));
+	else
+		return OnsTopicListOutcome(outcome.error());
+}
+
+void OnsClient::onsTopicListAsync(const OnsTopicListRequest& request, const OnsTopicListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTopicList(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTopicListOutcomeCallable OnsClient::onsTopicListCallable(const OnsTopicListRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTopicListOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTopicList(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsConsumerAccumulateOutcome OnsClient::onsConsumerAccumulate(const OnsConsumerAccumulateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsConsumerAccumulateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsConsumerAccumulateOutcome(OnsConsumerAccumulateResult(outcome.result()));
+	else
+		return OnsConsumerAccumulateOutcome(outcome.error());
+}
+
+void OnsClient::onsConsumerAccumulateAsync(const OnsConsumerAccumulateRequest& request, const OnsConsumerAccumulateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsConsumerAccumulate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsConsumerAccumulateOutcomeCallable OnsClient::onsConsumerAccumulateCallable(const OnsConsumerAccumulateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsConsumerAccumulateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsConsumerAccumulate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	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::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::OnsGroupConsumerUpdateOutcome OnsClient::onsGroupConsumerUpdate(const OnsGroupConsumerUpdateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsGroupConsumerUpdateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsGroupConsumerUpdateOutcome(OnsGroupConsumerUpdateResult(outcome.result()));
+	else
+		return OnsGroupConsumerUpdateOutcome(outcome.error());
+}
+
+void OnsClient::onsGroupConsumerUpdateAsync(const OnsGroupConsumerUpdateRequest& request, const OnsGroupConsumerUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsGroupConsumerUpdate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsGroupConsumerUpdateOutcomeCallable OnsClient::onsGroupConsumerUpdateCallable(const OnsGroupConsumerUpdateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsGroupConsumerUpdateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsGroupConsumerUpdate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsMessageTraceOutcome OnsClient::onsMessageTrace(const OnsMessageTraceRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsMessageTraceOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsMessageTraceOutcome(OnsMessageTraceResult(outcome.result()));
+	else
+		return OnsMessageTraceOutcome(outcome.error());
+}
+
+void OnsClient::onsMessageTraceAsync(const OnsMessageTraceRequest& request, const OnsMessageTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsMessageTrace(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsMessageTraceOutcomeCallable OnsClient::onsMessageTraceCallable(const OnsMessageTraceRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsMessageTraceOutcome()>>(
+			[this, request]()
+			{
+			return this->onsMessageTrace(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsConsumerTimeSpanOutcome OnsClient::onsConsumerTimeSpan(const OnsConsumerTimeSpanRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsConsumerTimeSpanOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsConsumerTimeSpanOutcome(OnsConsumerTimeSpanResult(outcome.result()));
+	else
+		return OnsConsumerTimeSpanOutcome(outcome.error());
+}
+
+void OnsClient::onsConsumerTimeSpanAsync(const OnsConsumerTimeSpanRequest& request, const OnsConsumerTimeSpanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsConsumerTimeSpan(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsConsumerTimeSpanOutcomeCallable OnsClient::onsConsumerTimeSpanCallable(const OnsConsumerTimeSpanRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsConsumerTimeSpanOutcome()>>(
+			[this, request]()
+			{
+			return this->onsConsumerTimeSpan(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsGroupListOutcome OnsClient::onsGroupList(const OnsGroupListRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsGroupListOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsGroupListOutcome(OnsGroupListResult(outcome.result()));
+	else
+		return OnsGroupListOutcome(outcome.error());
+}
+
+void OnsClient::onsGroupListAsync(const OnsGroupListRequest& request, const OnsGroupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsGroupList(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsGroupListOutcomeCallable OnsClient::onsGroupListCallable(const OnsGroupListRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsGroupListOutcome()>>(
+			[this, request]()
+			{
+			return this->onsGroupList(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsGroupSubDetailOutcome OnsClient::onsGroupSubDetail(const OnsGroupSubDetailRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsGroupSubDetailOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsGroupSubDetailOutcome(OnsGroupSubDetailResult(outcome.result()));
+	else
+		return OnsGroupSubDetailOutcome(outcome.error());
+}
+
+void OnsClient::onsGroupSubDetailAsync(const OnsGroupSubDetailRequest& request, const OnsGroupSubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsGroupSubDetail(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsGroupSubDetailOutcomeCallable OnsClient::onsGroupSubDetailCallable(const OnsGroupSubDetailRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsGroupSubDetailOutcome()>>(
+			[this, request]()
+			{
+			return this->onsGroupSubDetail(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTraceGetResultOutcome OnsClient::onsTraceGetResult(const OnsTraceGetResultRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTraceGetResultOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTraceGetResultOutcome(OnsTraceGetResultResult(outcome.result()));
+	else
+		return OnsTraceGetResultOutcome(outcome.error());
+}
+
+void OnsClient::onsTraceGetResultAsync(const OnsTraceGetResultRequest& request, const OnsTraceGetResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTraceGetResult(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTraceGetResultOutcomeCallable OnsClient::onsTraceGetResultCallable(const OnsTraceGetResultRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTraceGetResultOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTraceGetResult(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTopicCreateOutcome OnsClient::onsTopicCreate(const OnsTopicCreateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTopicCreateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTopicCreateOutcome(OnsTopicCreateResult(outcome.result()));
+	else
+		return OnsTopicCreateOutcome(outcome.error());
+}
+
+void OnsClient::onsTopicCreateAsync(const OnsTopicCreateRequest& request, const OnsTopicCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTopicCreate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTopicCreateOutcomeCallable OnsClient::onsTopicCreateCallable(const OnsTopicCreateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTopicCreateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTopicCreate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsDLQMessagePageQueryByGroupIdOutcome OnsClient::onsDLQMessagePageQueryByGroupId(const OnsDLQMessagePageQueryByGroupIdRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsDLQMessagePageQueryByGroupIdOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsDLQMessagePageQueryByGroupIdOutcome(OnsDLQMessagePageQueryByGroupIdResult(outcome.result()));
+	else
+		return OnsDLQMessagePageQueryByGroupIdOutcome(outcome.error());
+}
+
+void OnsClient::onsDLQMessagePageQueryByGroupIdAsync(const OnsDLQMessagePageQueryByGroupIdRequest& request, const OnsDLQMessagePageQueryByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsDLQMessagePageQueryByGroupId(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsDLQMessagePageQueryByGroupIdOutcomeCallable OnsClient::onsDLQMessagePageQueryByGroupIdCallable(const OnsDLQMessagePageQueryByGroupIdRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsDLQMessagePageQueryByGroupIdOutcome()>>(
+			[this, request]()
+			{
+			return this->onsDLQMessagePageQueryByGroupId(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsGroupDeleteOutcome OnsClient::onsGroupDelete(const OnsGroupDeleteRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsGroupDeleteOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsGroupDeleteOutcome(OnsGroupDeleteResult(outcome.result()));
+	else
+		return OnsGroupDeleteOutcome(outcome.error());
+}
+
+void OnsClient::onsGroupDeleteAsync(const OnsGroupDeleteRequest& request, const OnsGroupDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsGroupDelete(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsGroupDeleteOutcomeCallable OnsClient::onsGroupDeleteCallable(const OnsGroupDeleteRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsGroupDeleteOutcome()>>(
+			[this, request]()
+			{
+			return this->onsGroupDelete(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsInstanceUpdateOutcome OnsClient::onsInstanceUpdate(const OnsInstanceUpdateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsInstanceUpdateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsInstanceUpdateOutcome(OnsInstanceUpdateResult(outcome.result()));
+	else
+		return OnsInstanceUpdateOutcome(outcome.error());
+}
+
+void OnsClient::onsInstanceUpdateAsync(const OnsInstanceUpdateRequest& request, const OnsInstanceUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsInstanceUpdate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsInstanceUpdateOutcomeCallable OnsClient::onsInstanceUpdateCallable(const OnsInstanceUpdateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsInstanceUpdateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsInstanceUpdate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsMessagePageQueryByTopicOutcome OnsClient::onsMessagePageQueryByTopic(const OnsMessagePageQueryByTopicRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsMessagePageQueryByTopicOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsMessagePageQueryByTopicOutcome(OnsMessagePageQueryByTopicResult(outcome.result()));
+	else
+		return OnsMessagePageQueryByTopicOutcome(outcome.error());
+}
+
+void OnsClient::onsMessagePageQueryByTopicAsync(const OnsMessagePageQueryByTopicRequest& request, const OnsMessagePageQueryByTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsMessagePageQueryByTopic(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsMessagePageQueryByTopicOutcomeCallable OnsClient::onsMessagePageQueryByTopicCallable(const OnsMessagePageQueryByTopicRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsMessagePageQueryByTopicOutcome()>>(
+			[this, request]()
+			{
+			return this->onsMessagePageQueryByTopic(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTrendTopicInputTpsOutcome OnsClient::onsTrendTopicInputTps(const OnsTrendTopicInputTpsRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTrendTopicInputTpsOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTrendTopicInputTpsOutcome(OnsTrendTopicInputTpsResult(outcome.result()));
+	else
+		return OnsTrendTopicInputTpsOutcome(outcome.error());
+}
+
+void OnsClient::onsTrendTopicInputTpsAsync(const OnsTrendTopicInputTpsRequest& request, const OnsTrendTopicInputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTrendTopicInputTps(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTrendTopicInputTpsOutcomeCallable OnsClient::onsTrendTopicInputTpsCallable(const OnsTrendTopicInputTpsRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTrendTopicInputTpsOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTrendTopicInputTps(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsGroupCreateOutcome OnsClient::onsGroupCreate(const OnsGroupCreateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsGroupCreateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsGroupCreateOutcome(OnsGroupCreateResult(outcome.result()));
+	else
+		return OnsGroupCreateOutcome(outcome.error());
+}
+
+void OnsClient::onsGroupCreateAsync(const OnsGroupCreateRequest& request, const OnsGroupCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsGroupCreate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsGroupCreateOutcomeCallable OnsClient::onsGroupCreateCallable(const OnsGroupCreateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsGroupCreateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsGroupCreate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsDLQMessageResendByIdOutcome OnsClient::onsDLQMessageResendById(const OnsDLQMessageResendByIdRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsDLQMessageResendByIdOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsDLQMessageResendByIdOutcome(OnsDLQMessageResendByIdResult(outcome.result()));
+	else
+		return OnsDLQMessageResendByIdOutcome(outcome.error());
+}
+
+void OnsClient::onsDLQMessageResendByIdAsync(const OnsDLQMessageResendByIdRequest& request, const OnsDLQMessageResendByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsDLQMessageResendById(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsDLQMessageResendByIdOutcomeCallable OnsClient::onsDLQMessageResendByIdCallable(const OnsDLQMessageResendByIdRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsDLQMessageResendByIdOutcome()>>(
+			[this, request]()
+			{
+			return this->onsDLQMessageResendById(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTrendGroupOutputTpsOutcome OnsClient::onsTrendGroupOutputTps(const OnsTrendGroupOutputTpsRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTrendGroupOutputTpsOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTrendGroupOutputTpsOutcome(OnsTrendGroupOutputTpsResult(outcome.result()));
+	else
+		return OnsTrendGroupOutputTpsOutcome(outcome.error());
+}
+
+void OnsClient::onsTrendGroupOutputTpsAsync(const OnsTrendGroupOutputTpsRequest& request, const OnsTrendGroupOutputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTrendGroupOutputTps(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTrendGroupOutputTpsOutcomeCallable OnsClient::onsTrendGroupOutputTpsCallable(const OnsTrendGroupOutputTpsRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTrendGroupOutputTpsOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTrendGroupOutputTps(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::OnsMessagePushOutcome OnsClient::onsMessagePush(const OnsMessagePushRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsMessagePushOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsMessagePushOutcome(OnsMessagePushResult(outcome.result()));
+	else
+		return OnsMessagePushOutcome(outcome.error());
+}
+
+void OnsClient::onsMessagePushAsync(const OnsMessagePushRequest& request, const OnsMessagePushAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsMessagePush(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsMessagePushOutcomeCallable OnsClient::onsMessagePushCallable(const OnsMessagePushRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsMessagePushOutcome()>>(
+			[this, request]()
+			{
+			return this->onsMessagePush(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsConsumerStatusOutcome OnsClient::onsConsumerStatus(const OnsConsumerStatusRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsConsumerStatusOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsConsumerStatusOutcome(OnsConsumerStatusResult(outcome.result()));
+	else
+		return OnsConsumerStatusOutcome(outcome.error());
+}
+
+void OnsClient::onsConsumerStatusAsync(const OnsConsumerStatusRequest& request, const OnsConsumerStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsConsumerStatus(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsConsumerStatusOutcomeCallable OnsClient::onsConsumerStatusCallable(const OnsConsumerStatusRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsConsumerStatusOutcome()>>(
+			[this, request]()
+			{
+			return this->onsConsumerStatus(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsWarnDeleteOutcome OnsClient::onsWarnDelete(const OnsWarnDeleteRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsWarnDeleteOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsWarnDeleteOutcome(OnsWarnDeleteResult(outcome.result()));
+	else
+		return OnsWarnDeleteOutcome(outcome.error());
+}
+
+void OnsClient::onsWarnDeleteAsync(const OnsWarnDeleteRequest& request, const OnsWarnDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsWarnDelete(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsWarnDeleteOutcomeCallable OnsClient::onsWarnDeleteCallable(const OnsWarnDeleteRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsWarnDeleteOutcome()>>(
+			[this, request]()
+			{
+			return this->onsWarnDelete(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::OnsConsumerResetOffsetOutcome OnsClient::onsConsumerResetOffset(const OnsConsumerResetOffsetRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsConsumerResetOffsetOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsConsumerResetOffsetOutcome(OnsConsumerResetOffsetResult(outcome.result()));
+	else
+		return OnsConsumerResetOffsetOutcome(outcome.error());
+}
+
+void OnsClient::onsConsumerResetOffsetAsync(const OnsConsumerResetOffsetRequest& request, const OnsConsumerResetOffsetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsConsumerResetOffset(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsConsumerResetOffsetOutcomeCallable OnsClient::onsConsumerResetOffsetCallable(const OnsConsumerResetOffsetRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsConsumerResetOffsetOutcome()>>(
+			[this, request]()
+			{
+			return this->onsConsumerResetOffset(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsMessageGetByMsgIdOutcome OnsClient::onsMessageGetByMsgId(const OnsMessageGetByMsgIdRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsMessageGetByMsgIdOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsMessageGetByMsgIdOutcome(OnsMessageGetByMsgIdResult(outcome.result()));
+	else
+		return OnsMessageGetByMsgIdOutcome(outcome.error());
+}
+
+void OnsClient::onsMessageGetByMsgIdAsync(const OnsMessageGetByMsgIdRequest& request, const OnsMessageGetByMsgIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsMessageGetByMsgId(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsMessageGetByMsgIdOutcomeCallable OnsClient::onsMessageGetByMsgIdCallable(const OnsMessageGetByMsgIdRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsMessageGetByMsgIdOutcome()>>(
+			[this, request]()
+			{
+			return this->onsMessageGetByMsgId(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsInstanceBaseInfoOutcome OnsClient::onsInstanceBaseInfo(const OnsInstanceBaseInfoRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsInstanceBaseInfoOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsInstanceBaseInfoOutcome(OnsInstanceBaseInfoResult(outcome.result()));
+	else
+		return OnsInstanceBaseInfoOutcome(outcome.error());
+}
+
+void OnsClient::onsInstanceBaseInfoAsync(const OnsInstanceBaseInfoRequest& request, const OnsInstanceBaseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsInstanceBaseInfo(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsInstanceBaseInfoOutcomeCallable OnsClient::onsInstanceBaseInfoCallable(const OnsInstanceBaseInfoRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsInstanceBaseInfoOutcome()>>(
+			[this, request]()
+			{
+			return this->onsInstanceBaseInfo(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::OnsInstanceInServiceListOutcome OnsClient::onsInstanceInServiceList(const OnsInstanceInServiceListRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsInstanceInServiceListOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsInstanceInServiceListOutcome(OnsInstanceInServiceListResult(outcome.result()));
+	else
+		return OnsInstanceInServiceListOutcome(outcome.error());
+}
+
+void OnsClient::onsInstanceInServiceListAsync(const OnsInstanceInServiceListRequest& request, const OnsInstanceInServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsInstanceInServiceList(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsInstanceInServiceListOutcomeCallable OnsClient::onsInstanceInServiceListCallable(const OnsInstanceInServiceListRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsInstanceInServiceListOutcome()>>(
+			[this, request]()
+			{
+			return this->onsInstanceInServiceList(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::OnsDLQMessageGetByIdOutcome OnsClient::onsDLQMessageGetById(const OnsDLQMessageGetByIdRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsDLQMessageGetByIdOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsDLQMessageGetByIdOutcome(OnsDLQMessageGetByIdResult(outcome.result()));
+	else
+		return OnsDLQMessageGetByIdOutcome(outcome.error());
+}
+
+void OnsClient::onsDLQMessageGetByIdAsync(const OnsDLQMessageGetByIdRequest& request, const OnsDLQMessageGetByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsDLQMessageGetById(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsDLQMessageGetByIdOutcomeCallable OnsClient::onsDLQMessageGetByIdCallable(const OnsDLQMessageGetByIdRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsDLQMessageGetByIdOutcome()>>(
+			[this, request]()
+			{
+			return this->onsDLQMessageGetById(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsInstanceCreateOutcome OnsClient::onsInstanceCreate(const OnsInstanceCreateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsInstanceCreateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsInstanceCreateOutcome(OnsInstanceCreateResult(outcome.result()));
+	else
+		return OnsInstanceCreateOutcome(outcome.error());
+}
+
+void OnsClient::onsInstanceCreateAsync(const OnsInstanceCreateRequest& request, const OnsInstanceCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsInstanceCreate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsInstanceCreateOutcomeCallable OnsClient::onsInstanceCreateCallable(const OnsInstanceCreateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsInstanceCreateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsInstanceCreate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsWarnCreateOutcome OnsClient::onsWarnCreate(const OnsWarnCreateRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsWarnCreateOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsWarnCreateOutcome(OnsWarnCreateResult(outcome.result()));
+	else
+		return OnsWarnCreateOutcome(outcome.error());
+}
+
+void OnsClient::onsWarnCreateAsync(const OnsWarnCreateRequest& request, const OnsWarnCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsWarnCreate(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsWarnCreateOutcomeCallable OnsClient::onsWarnCreateCallable(const OnsWarnCreateRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsWarnCreateOutcome()>>(
+			[this, request]()
+			{
+			return this->onsWarnCreate(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
+OnsClient::OnsTopicStatusOutcome OnsClient::onsTopicStatus(const OnsTopicStatusRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsTopicStatusOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsTopicStatusOutcome(OnsTopicStatusResult(outcome.result()));
+	else
+		return OnsTopicStatusOutcome(outcome.error());
+}
+
+void OnsClient::onsTopicStatusAsync(const OnsTopicStatusRequest& request, const OnsTopicStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsTopicStatus(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsTopicStatusOutcomeCallable OnsClient::onsTopicStatusCallable(const OnsTopicStatusRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsTopicStatusOutcome()>>(
+			[this, request]()
+			{
+			return this->onsTopicStatus(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	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::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::OnsMessageGetByKeyOutcome OnsClient::onsMessageGetByKey(const OnsMessageGetByKeyRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OnsMessageGetByKeyOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OnsMessageGetByKeyOutcome(OnsMessageGetByKeyResult(outcome.result()));
+	else
+		return OnsMessageGetByKeyOutcome(outcome.error());
+}
+
+void OnsClient::onsMessageGetByKeyAsync(const OnsMessageGetByKeyRequest& request, const OnsMessageGetByKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, onsMessageGetByKey(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+OnsClient::OnsMessageGetByKeyOutcomeCallable OnsClient::onsMessageGetByKeyCallable(const OnsMessageGetByKeyRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OnsMessageGetByKeyOutcome()>>(
+			[this, request]()
+			{
+			return this->onsMessageGetByKey(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+

+ 71 - 0
ons/src/model/OnsConsumerAccumulateRequest.cc

@@ -0,0 +1,71 @@
+/*
+ * 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/OnsConsumerAccumulateRequest.h>
+
+using AlibabaCloud::Ons::Model::OnsConsumerAccumulateRequest;
+
+OnsConsumerAccumulateRequest::OnsConsumerAccumulateRequest() :
+	RpcServiceRequest("ons", "2019-02-14", "OnsConsumerAccumulate")
+{}
+
+OnsConsumerAccumulateRequest::~OnsConsumerAccumulateRequest()
+{}
+
+long OnsConsumerAccumulateRequest::getPreventCache()const
+{
+	return preventCache_;
+}
+
+void OnsConsumerAccumulateRequest::setPreventCache(long preventCache)
+{
+	preventCache_ = preventCache;
+	setParameter("PreventCache", std::to_string(preventCache));
+}
+
+std::string OnsConsumerAccumulateRequest::getInstanceId()const
+{
+	return instanceId_;
+}
+
+void OnsConsumerAccumulateRequest::setInstanceId(const std::string& instanceId)
+{
+	instanceId_ = instanceId;
+	setParameter("InstanceId", instanceId);
+}
+
+std::string OnsConsumerAccumulateRequest::getGroupId()const
+{
+	return groupId_;
+}
+
+void OnsConsumerAccumulateRequest::setGroupId(const std::string& groupId)
+{
+	groupId_ = groupId;
+	setParameter("GroupId", groupId);
+}
+
+bool OnsConsumerAccumulateRequest::getDetail()const
+{
+	return detail_;
+}
+
+void OnsConsumerAccumulateRequest::setDetail(bool detail)
+{
+	detail_ = detail;
+	setParameter("Detail", detail ? "true" : "false");
+}
+

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