@@ -49,12 +49,12 @@ set(ons_public_header_model
|
||||
include/alibabacloud/ons/model/OnsMqttQueryClientByGroupIdResult.h
|
||||
include/alibabacloud/ons/model/OnsGroupConsumerUpdateRequest.h
|
||||
include/alibabacloud/ons/model/OnsGroupConsumerUpdateResult.h
|
||||
include/alibabacloud/ons/model/OnsGroupListRequest.h
|
||||
include/alibabacloud/ons/model/OnsGroupListResult.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
|
||||
@@ -65,14 +65,14 @@ set(ons_public_header_model
|
||||
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/OnsInstanceUpdateRequest.h
|
||||
include/alibabacloud/ons/model/OnsInstanceUpdateResult.h
|
||||
include/alibabacloud/ons/model/OnsGroupCreateRequest.h
|
||||
include/alibabacloud/ons/model/OnsGroupCreateResult.h
|
||||
include/alibabacloud/ons/model/OnsTrendTopicInputTpsRequest.h
|
||||
include/alibabacloud/ons/model/OnsTrendTopicInputTpsResult.h
|
||||
include/alibabacloud/ons/model/OnsDLQMessageResendByIdRequest.h
|
||||
include/alibabacloud/ons/model/OnsDLQMessageResendByIdResult.h
|
||||
include/alibabacloud/ons/model/OnsTrendGroupOutputTpsRequest.h
|
||||
@@ -101,10 +101,10 @@ set(ons_public_header_model
|
||||
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/OnsInstanceCreateRequest.h
|
||||
include/alibabacloud/ons/model/OnsInstanceCreateResult.h
|
||||
include/alibabacloud/ons/model/OnsTopicStatusRequest.h
|
||||
include/alibabacloud/ons/model/OnsTopicStatusResult.h
|
||||
include/alibabacloud/ons/model/OnsMqttGroupIdCreateRequest.h
|
||||
@@ -144,12 +144,12 @@ set(ons_src
|
||||
src/model/OnsMqttQueryClientByGroupIdResult.cc
|
||||
src/model/OnsGroupConsumerUpdateRequest.cc
|
||||
src/model/OnsGroupConsumerUpdateResult.cc
|
||||
src/model/OnsGroupListRequest.cc
|
||||
src/model/OnsGroupListResult.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
|
||||
@@ -160,14 +160,14 @@ set(ons_src
|
||||
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/OnsInstanceUpdateRequest.cc
|
||||
src/model/OnsInstanceUpdateResult.cc
|
||||
src/model/OnsGroupCreateRequest.cc
|
||||
src/model/OnsGroupCreateResult.cc
|
||||
src/model/OnsTrendTopicInputTpsRequest.cc
|
||||
src/model/OnsTrendTopicInputTpsResult.cc
|
||||
src/model/OnsDLQMessageResendByIdRequest.cc
|
||||
src/model/OnsDLQMessageResendByIdResult.cc
|
||||
src/model/OnsTrendGroupOutputTpsRequest.cc
|
||||
@@ -196,10 +196,10 @@ set(ons_src
|
||||
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/OnsInstanceCreateRequest.cc
|
||||
src/model/OnsInstanceCreateResult.cc
|
||||
src/model/OnsTopicStatusRequest.cc
|
||||
src/model/OnsTopicStatusResult.cc
|
||||
src/model/OnsMqttGroupIdCreateRequest.cc
|
||||
|
||||
@@ -50,12 +50,12 @@
|
||||
#include "model/OnsMqttQueryClientByGroupIdResult.h"
|
||||
#include "model/OnsGroupConsumerUpdateRequest.h"
|
||||
#include "model/OnsGroupConsumerUpdateResult.h"
|
||||
#include "model/OnsGroupListRequest.h"
|
||||
#include "model/OnsGroupListResult.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"
|
||||
@@ -66,14 +66,14 @@
|
||||
#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/OnsInstanceUpdateRequest.h"
|
||||
#include "model/OnsInstanceUpdateResult.h"
|
||||
#include "model/OnsGroupCreateRequest.h"
|
||||
#include "model/OnsGroupCreateResult.h"
|
||||
#include "model/OnsTrendTopicInputTpsRequest.h"
|
||||
#include "model/OnsTrendTopicInputTpsResult.h"
|
||||
#include "model/OnsDLQMessageResendByIdRequest.h"
|
||||
#include "model/OnsDLQMessageResendByIdResult.h"
|
||||
#include "model/OnsTrendGroupOutputTpsRequest.h"
|
||||
@@ -102,10 +102,10 @@
|
||||
#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/OnsInstanceCreateRequest.h"
|
||||
#include "model/OnsInstanceCreateResult.h"
|
||||
#include "model/OnsTopicStatusRequest.h"
|
||||
#include "model/OnsTopicStatusResult.h"
|
||||
#include "model/OnsMqttGroupIdCreateRequest.h"
|
||||
@@ -165,15 +165,15 @@ namespace AlibabaCloud
|
||||
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::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::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;
|
||||
@@ -189,18 +189,18 @@ namespace AlibabaCloud
|
||||
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::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::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::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::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;
|
||||
@@ -243,12 +243,12 @@ namespace AlibabaCloud
|
||||
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::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::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;
|
||||
@@ -308,15 +308,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
@@ -332,18 +332,18 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
@@ -386,12 +386,12 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsConsumerAccumulateRequest();
|
||||
~OnsConsumerAccumulateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
bool detail_;
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsConsumerResetOffsetRequest();
|
||||
~OnsConsumerResetOffsetRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -49,7 +47,6 @@ namespace AlibabaCloud
|
||||
void setType(int type);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsConsumerStatusRequest();
|
||||
~OnsConsumerStatusRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getNeedJstack()const;
|
||||
@@ -47,7 +45,6 @@ namespace AlibabaCloud
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
bool needJstack_;
|
||||
std::string groupId_;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string clientAddr;
|
||||
std::string language;
|
||||
std::string version;
|
||||
std::string remoteIP;
|
||||
std::string clientId;
|
||||
};
|
||||
struct DetailInTopicDo
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsConsumerTimeSpanRequest();
|
||||
~OnsConsumerTimeSpanRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsDLQMessageGetByIdRequest();
|
||||
~OnsDLQMessageGetByIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setMsgId(const std::string& msgId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
~OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -53,7 +51,6 @@ namespace AlibabaCloud
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
int pageSize_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsDLQMessageResendByIdRequest();
|
||||
~OnsDLQMessageResendByIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setMsgId(const std::string& msgId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsGroupConsumerUpdateRequest();
|
||||
~OnsGroupConsumerUpdateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
bool getReadEnable()const;
|
||||
void setReadEnable(bool readEnable);
|
||||
std::string getInstanceId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
bool readEnable_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsGroupCreateRequest();
|
||||
~OnsGroupCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string remark_;
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string owner;
|
||||
std::string instanceId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
bool independentNaming;
|
||||
std::string groupId;
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
||||
int instanceStatus;
|
||||
bool independentNaming;
|
||||
int instanceType;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,11 +35,8 @@ namespace AlibabaCloud
|
||||
OnsInstanceInServiceListRequest();
|
||||
~OnsInstanceInServiceListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsInstanceUpdateRequest();
|
||||
~OnsInstanceUpdateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getInstanceId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceName_;
|
||||
std::string instanceId_;
|
||||
std::string remark_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMessageGetByKeyRequest();
|
||||
~OnsMessageGetByKeyRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setKey(const std::string& key);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string key_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMessageGetByMsgIdRequest();
|
||||
~OnsMessageGetByMsgIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getMsgId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string msgId_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMessagePageQueryByTopicRequest();
|
||||
~OnsMessagePageQueryByTopicRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
@@ -53,7 +51,6 @@ namespace AlibabaCloud
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMessagePushRequest();
|
||||
~OnsMessagePushRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getClientId()const;
|
||||
void setClientId(const std::string& clientId);
|
||||
std::string getInstanceId()const;
|
||||
@@ -49,7 +47,6 @@ namespace AlibabaCloud
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string clientId_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMessageSendRequest();
|
||||
~OnsMessageSendRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
@@ -49,7 +47,6 @@ namespace AlibabaCloud
|
||||
void setKey(const std::string& key);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string tag_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMessageTraceRequest();
|
||||
~OnsMessageTraceRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setMsgId(const std::string& msgId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string msgId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMqttGroupIdCreateRequest();
|
||||
~OnsMqttGroupIdCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
@@ -47,7 +45,6 @@ namespace AlibabaCloud
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string groupId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMqttGroupIdDeleteRequest();
|
||||
~OnsMqttGroupIdDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string groupId_;
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMqttQueryClientByTopicRequest();
|
||||
~OnsMqttQueryClientByTopicRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getParentTopic()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setSubTopic(const std::string& subTopic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string parentTopic_;
|
||||
std::string subTopic_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMqttQueryHistoryOnlineRequest();
|
||||
~OnsMqttQueryHistoryOnlineRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -47,7 +45,6 @@ namespace AlibabaCloud
|
||||
void setBeginTime(long beginTime);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
long endTime_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsMqttQueryMsgTransTrendRequest();
|
||||
~OnsMqttQueryMsgTransTrendRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getQos()const;
|
||||
@@ -57,7 +55,6 @@ namespace AlibabaCloud
|
||||
void setSubTopic(const std::string& subTopic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int qos_;
|
||||
std::string transType_;
|
||||
|
||||
@@ -35,11 +35,8 @@ namespace AlibabaCloud
|
||||
OnsRegionListRequest();
|
||||
~OnsRegionListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsTopicCreateRequest();
|
||||
~OnsTopicCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getMessageType()const;
|
||||
@@ -47,7 +45,6 @@ namespace AlibabaCloud
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int messageType_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,15 +35,12 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsTopicUpdateRequest();
|
||||
~OnsTopicUpdateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPerm()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int perm_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,13 +35,10 @@ namespace AlibabaCloud
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsTraceQueryByMsgIdRequest();
|
||||
~OnsTraceQueryByMsgIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
@@ -49,7 +47,6 @@ namespace AlibabaCloud
|
||||
void setBeginTime(long beginTime);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string msgId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsTraceQueryByMsgKeyRequest();
|
||||
~OnsTraceQueryByMsgKeyRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
@@ -49,7 +47,6 @@ namespace AlibabaCloud
|
||||
void setMsgKey(const std::string& msgKey);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
long endTime_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsTrendGroupOutputTpsRequest();
|
||||
~OnsTrendGroupOutputTpsRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
long getPeriod()const;
|
||||
void setPeriod(long period);
|
||||
std::string getInstanceId()const;
|
||||
@@ -53,7 +51,6 @@ namespace AlibabaCloud
|
||||
void setType(int type);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
long period_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsTrendTopicInputTpsRequest();
|
||||
~OnsTrendTopicInputTpsRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
long getPeriod()const;
|
||||
void setPeriod(long period);
|
||||
std::string getInstanceId()const;
|
||||
@@ -51,7 +49,6 @@ namespace AlibabaCloud
|
||||
void setType(int type);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
long period_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsWarnCreateRequest();
|
||||
~OnsWarnCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getBlockTime()const;
|
||||
@@ -57,7 +55,6 @@ namespace AlibabaCloud
|
||||
void setContacts(const std::string& contacts);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string blockTime_;
|
||||
std::string level_;
|
||||
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
OnsWarnDeleteRequest();
|
||||
~OnsWarnDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
@@ -45,7 +43,6 @@ namespace AlibabaCloud
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
|
||||
@@ -555,6 +555,42 @@ OnsClient::OnsGroupConsumerUpdateOutcomeCallable OnsClient::onsGroupConsumerUpda
|
||||
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::OnsMessageTraceOutcome OnsClient::onsMessageTrace(const OnsMessageTraceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -627,42 +663,6 @@ OnsClient::OnsConsumerTimeSpanOutcomeCallable OnsClient::onsConsumerTimeSpanCall
|
||||
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();
|
||||
@@ -843,42 +843,6 @@ OnsClient::OnsGroupDeleteOutcomeCallable OnsClient::onsGroupDeleteCallable(const
|
||||
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();
|
||||
@@ -915,36 +879,36 @@ OnsClient::OnsMessagePageQueryByTopicOutcomeCallable OnsClient::onsMessagePageQu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
OnsClient::OnsTrendTopicInputTpsOutcome OnsClient::onsTrendTopicInputTps(const OnsTrendTopicInputTpsRequest &request) const
|
||||
OnsClient::OnsInstanceUpdateOutcome OnsClient::onsInstanceUpdate(const OnsInstanceUpdateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return OnsTrendTopicInputTpsOutcome(endpointOutcome.error());
|
||||
return OnsInstanceUpdateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return OnsTrendTopicInputTpsOutcome(OnsTrendTopicInputTpsResult(outcome.result()));
|
||||
return OnsInstanceUpdateOutcome(OnsInstanceUpdateResult(outcome.result()));
|
||||
else
|
||||
return OnsTrendTopicInputTpsOutcome(outcome.error());
|
||||
return OnsInstanceUpdateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void OnsClient::onsTrendTopicInputTpsAsync(const OnsTrendTopicInputTpsRequest& request, const OnsTrendTopicInputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
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, onsTrendTopicInputTps(request), context);
|
||||
handler(this, request, onsInstanceUpdate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
OnsClient::OnsTrendTopicInputTpsOutcomeCallable OnsClient::onsTrendTopicInputTpsCallable(const OnsTrendTopicInputTpsRequest &request) const
|
||||
OnsClient::OnsInstanceUpdateOutcomeCallable OnsClient::onsInstanceUpdateCallable(const OnsInstanceUpdateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<OnsTrendTopicInputTpsOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<OnsInstanceUpdateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->onsTrendTopicInputTps(request);
|
||||
return this->onsInstanceUpdate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -987,6 +951,42 @@ OnsClient::OnsGroupCreateOutcomeCallable OnsClient::onsGroupCreateCallable(const
|
||||
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::OnsDLQMessageResendByIdOutcome OnsClient::onsDLQMessageResendById(const OnsDLQMessageResendByIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1491,42 +1491,6 @@ OnsClient::OnsDLQMessageGetByIdOutcomeCallable OnsClient::onsDLQMessageGetByIdCa
|
||||
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();
|
||||
@@ -1563,6 +1527,42 @@ OnsClient::OnsWarnCreateOutcomeCallable OnsClient::onsWarnCreateCallable(const O
|
||||
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::OnsTopicStatusOutcome OnsClient::onsTopicStatus(const OnsTopicStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsConsumerAccumulateRequest::OnsConsumerAccumulateRequest() :
|
||||
OnsConsumerAccumulateRequest::~OnsConsumerAccumulateRequest()
|
||||
{}
|
||||
|
||||
long OnsConsumerAccumulateRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsConsumerAccumulateRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsConsumerAccumulateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsConsumerAccumulateResult::~OnsConsumerAccumulateResult()
|
||||
|
||||
void OnsConsumerAccumulateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Online"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsConsumerGetConnectionRequest::OnsConsumerGetConnectionRequest() :
|
||||
OnsConsumerGetConnectionRequest::~OnsConsumerGetConnectionRequest()
|
||||
{}
|
||||
|
||||
long OnsConsumerGetConnectionRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsConsumerGetConnectionRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsConsumerGetConnectionRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsConsumerGetConnectionResult::~OnsConsumerGetConnectionResult()
|
||||
|
||||
void OnsConsumerGetConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allConnectionList = value["ConnectionList"]["ConnectionDo"];
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsConsumerResetOffsetRequest::OnsConsumerResetOffsetRequest() :
|
||||
OnsConsumerResetOffsetRequest::~OnsConsumerResetOffsetRequest()
|
||||
{}
|
||||
|
||||
long OnsConsumerResetOffsetRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsConsumerResetOffsetRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsConsumerResetOffsetRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsConsumerResetOffsetResult::~OnsConsumerResetOffsetResult()
|
||||
|
||||
void OnsConsumerResetOffsetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsConsumerStatusRequest::OnsConsumerStatusRequest() :
|
||||
OnsConsumerStatusRequest::~OnsConsumerStatusRequest()
|
||||
{}
|
||||
|
||||
long OnsConsumerStatusRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsConsumerStatusRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsConsumerStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsConsumerStatusResult::~OnsConsumerStatusResult()
|
||||
|
||||
void OnsConsumerStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Online"].isNull())
|
||||
@@ -71,6 +74,8 @@ void OnsConsumerStatusResult::parse(const std::string &payload)
|
||||
connectionDoObject.language = value["Language"].asString();
|
||||
if(!value["Version"].isNull())
|
||||
connectionDoObject.version = value["Version"].asString();
|
||||
if(!value["RemoteIP"].isNull())
|
||||
connectionDoObject.remoteIP = value["RemoteIP"].asString();
|
||||
data_.connectionSet.push_back(connectionDoObject);
|
||||
}
|
||||
auto allDetailInTopicList = value["DetailInTopicList"]["DetailInTopicDo"];
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsConsumerTimeSpanRequest::OnsConsumerTimeSpanRequest() :
|
||||
OnsConsumerTimeSpanRequest::~OnsConsumerTimeSpanRequest()
|
||||
{}
|
||||
|
||||
long OnsConsumerTimeSpanRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsConsumerTimeSpanRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsConsumerTimeSpanRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsConsumerTimeSpanResult::~OnsConsumerTimeSpanResult()
|
||||
|
||||
void OnsConsumerTimeSpanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Topic"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsDLQMessageGetByIdRequest::OnsDLQMessageGetByIdRequest() :
|
||||
OnsDLQMessageGetByIdRequest::~OnsDLQMessageGetByIdRequest()
|
||||
{}
|
||||
|
||||
long OnsDLQMessageGetByIdRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsDLQMessageGetByIdRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsDLQMessageGetByIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsDLQMessageGetByIdResult::~OnsDLQMessageGetByIdResult()
|
||||
|
||||
void OnsDLQMessageGetByIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Topic"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsDLQMessagePageQueryByGroupIdRequest::OnsDLQMessagePageQueryByGroupIdRequest()
|
||||
OnsDLQMessagePageQueryByGroupIdRequest::~OnsDLQMessagePageQueryByGroupIdRequest()
|
||||
{}
|
||||
|
||||
long OnsDLQMessagePageQueryByGroupIdRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsDLQMessagePageQueryByGroupIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsDLQMessagePageQueryByGroupIdResult::~OnsDLQMessagePageQueryByGroupIdResult()
|
||||
|
||||
void OnsDLQMessagePageQueryByGroupIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto msgFoundDoNode = value["MsgFoundDo"];
|
||||
if(!msgFoundDoNode["TaskId"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsDLQMessageResendByIdRequest::OnsDLQMessageResendByIdRequest() :
|
||||
OnsDLQMessageResendByIdRequest::~OnsDLQMessageResendByIdRequest()
|
||||
{}
|
||||
|
||||
long OnsDLQMessageResendByIdRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsDLQMessageResendByIdRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsDLQMessageResendByIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsDLQMessageResendByIdResult::~OnsDLQMessageResendByIdResult()
|
||||
|
||||
void OnsDLQMessageResendByIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["MsgId"];
|
||||
for (const auto &item : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsGroupConsumerUpdateRequest::OnsGroupConsumerUpdateRequest() :
|
||||
OnsGroupConsumerUpdateRequest::~OnsGroupConsumerUpdateRequest()
|
||||
{}
|
||||
|
||||
long OnsGroupConsumerUpdateRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsGroupConsumerUpdateRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
bool OnsGroupConsumerUpdateRequest::getReadEnable()const
|
||||
{
|
||||
return readEnable_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsGroupConsumerUpdateResult::~OnsGroupConsumerUpdateResult()
|
||||
|
||||
void OnsGroupConsumerUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsGroupCreateRequest::OnsGroupCreateRequest() :
|
||||
OnsGroupCreateRequest::~OnsGroupCreateRequest()
|
||||
{}
|
||||
|
||||
long OnsGroupCreateRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsGroupCreateRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsGroupCreateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsGroupCreateResult::~OnsGroupCreateResult()
|
||||
|
||||
void OnsGroupCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsGroupDeleteRequest::OnsGroupDeleteRequest() :
|
||||
OnsGroupDeleteRequest::~OnsGroupDeleteRequest()
|
||||
{}
|
||||
|
||||
long OnsGroupDeleteRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsGroupDeleteRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsGroupDeleteRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsGroupDeleteResult::~OnsGroupDeleteResult()
|
||||
|
||||
void OnsGroupDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsGroupListRequest::OnsGroupListRequest() :
|
||||
OnsGroupListRequest::~OnsGroupListRequest()
|
||||
{}
|
||||
|
||||
long OnsGroupListRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsGroupListRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsGroupListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsGroupListResult::~OnsGroupListResult()
|
||||
|
||||
void OnsGroupListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["SubscribeInfoDo"];
|
||||
for (auto value : allData)
|
||||
@@ -56,6 +59,8 @@ void OnsGroupListResult::parse(const std::string &payload)
|
||||
dataObject.instanceId = value["InstanceId"].asString();
|
||||
if(!value["IndependentNaming"].isNull())
|
||||
dataObject.independentNaming = value["IndependentNaming"].asString() == "true";
|
||||
if(!value["CreateTime"].isNull())
|
||||
dataObject.createTime = std::stol(value["CreateTime"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["HelpUrl"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsGroupSubDetailRequest::OnsGroupSubDetailRequest() :
|
||||
OnsGroupSubDetailRequest::~OnsGroupSubDetailRequest()
|
||||
{}
|
||||
|
||||
long OnsGroupSubDetailRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsGroupSubDetailRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsGroupSubDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsGroupSubDetailResult::~OnsGroupSubDetailResult()
|
||||
|
||||
void OnsGroupSubDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["GroupId"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsInstanceBaseInfoRequest::OnsInstanceBaseInfoRequest() :
|
||||
OnsInstanceBaseInfoRequest::~OnsInstanceBaseInfoRequest()
|
||||
{}
|
||||
|
||||
long OnsInstanceBaseInfoRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsInstanceBaseInfoRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsInstanceBaseInfoRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsInstanceBaseInfoResult::~OnsInstanceBaseInfoResult()
|
||||
|
||||
void OnsInstanceBaseInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto instanceBaseInfoNode = value["InstanceBaseInfo"];
|
||||
if(!instanceBaseInfoNode["InstanceId"].isNull())
|
||||
@@ -53,6 +56,8 @@ void OnsInstanceBaseInfoResult::parse(const std::string &payload)
|
||||
instanceBaseInfo_.instanceName = instanceBaseInfoNode["InstanceName"].asString();
|
||||
if(!instanceBaseInfoNode["IndependentNaming"].isNull())
|
||||
instanceBaseInfo_.independentNaming = instanceBaseInfoNode["IndependentNaming"].asString() == "true";
|
||||
if(!instanceBaseInfoNode["Remark"].isNull())
|
||||
instanceBaseInfo_.remark = instanceBaseInfoNode["Remark"].asString();
|
||||
auto endpointsNode = instanceBaseInfoNode["Endpoints"];
|
||||
if(!endpointsNode["TcpEndpoint"].isNull())
|
||||
instanceBaseInfo_.endpoints.tcpEndpoint = endpointsNode["TcpEndpoint"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsInstanceCreateRequest::OnsInstanceCreateRequest() :
|
||||
OnsInstanceCreateRequest::~OnsInstanceCreateRequest()
|
||||
{}
|
||||
|
||||
long OnsInstanceCreateRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsInstanceCreateRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsInstanceCreateRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsInstanceCreateResult::~OnsInstanceCreateResult()
|
||||
|
||||
void OnsInstanceCreateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["InstanceId"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsInstanceDeleteRequest::OnsInstanceDeleteRequest() :
|
||||
OnsInstanceDeleteRequest::~OnsInstanceDeleteRequest()
|
||||
{}
|
||||
|
||||
long OnsInstanceDeleteRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsInstanceDeleteRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsInstanceDeleteRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsInstanceDeleteResult::~OnsInstanceDeleteResult()
|
||||
|
||||
void OnsInstanceDeleteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,14 +25,3 @@ OnsInstanceInServiceListRequest::OnsInstanceInServiceListRequest() :
|
||||
OnsInstanceInServiceListRequest::~OnsInstanceInServiceListRequest()
|
||||
{}
|
||||
|
||||
long OnsInstanceInServiceListRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsInstanceInServiceListRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsInstanceInServiceListResult::~OnsInstanceInServiceListResult()
|
||||
|
||||
void OnsInstanceInServiceListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["InstanceVO"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsInstanceUpdateRequest::OnsInstanceUpdateRequest() :
|
||||
OnsInstanceUpdateRequest::~OnsInstanceUpdateRequest()
|
||||
{}
|
||||
|
||||
long OnsInstanceUpdateRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsInstanceUpdateRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsInstanceUpdateRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsInstanceUpdateResult::~OnsInstanceUpdateResult()
|
||||
|
||||
void OnsInstanceUpdateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsMessageGetByKeyRequest::OnsMessageGetByKeyRequest() :
|
||||
OnsMessageGetByKeyRequest::~OnsMessageGetByKeyRequest()
|
||||
{}
|
||||
|
||||
long OnsMessageGetByKeyRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsMessageGetByKeyRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsMessageGetByKeyRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsMessageGetByKeyResult::~OnsMessageGetByKeyResult()
|
||||
|
||||
void OnsMessageGetByKeyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["OnsRestMessageDo"];
|
||||
for (auto value : allData)
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsMessageGetByMsgIdRequest::OnsMessageGetByMsgIdRequest() :
|
||||
OnsMessageGetByMsgIdRequest::~OnsMessageGetByMsgIdRequest()
|
||||
{}
|
||||
|
||||
long OnsMessageGetByMsgIdRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsMessageGetByMsgIdRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsMessageGetByMsgIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsMessageGetByMsgIdResult::~OnsMessageGetByMsgIdResult()
|
||||
|
||||
void OnsMessageGetByMsgIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Topic"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsMessagePageQueryByTopicRequest::OnsMessagePageQueryByTopicRequest() :
|
||||
OnsMessagePageQueryByTopicRequest::~OnsMessagePageQueryByTopicRequest()
|
||||
{}
|
||||
|
||||
long OnsMessagePageQueryByTopicRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsMessagePageQueryByTopicRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsMessagePageQueryByTopicRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsMessagePageQueryByTopicResult::~OnsMessagePageQueryByTopicResult()
|
||||
|
||||
void OnsMessagePageQueryByTopicResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto msgFoundDoNode = value["MsgFoundDo"];
|
||||
if(!msgFoundDoNode["TaskId"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsMessagePushRequest::OnsMessagePushRequest() :
|
||||
OnsMessagePushRequest::~OnsMessagePushRequest()
|
||||
{}
|
||||
|
||||
long OnsMessagePushRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsMessagePushRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsMessagePushRequest::getClientId()const
|
||||
{
|
||||
return clientId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsMessagePushResult::~OnsMessagePushResult()
|
||||
|
||||
void OnsMessagePushResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsMessageSendRequest::OnsMessageSendRequest() :
|
||||
OnsMessageSendRequest::~OnsMessageSendRequest()
|
||||
{}
|
||||
|
||||
long OnsMessageSendRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsMessageSendRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsMessageSendRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsMessageSendResult::~OnsMessageSendResult()
|
||||
|
||||
void OnsMessageSendResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HelpUrl"].isNull())
|
||||
helpUrl_ = value["HelpUrl"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ OnsMessageTraceRequest::OnsMessageTraceRequest() :
|
||||
OnsMessageTraceRequest::~OnsMessageTraceRequest()
|
||||
{}
|
||||
|
||||
long OnsMessageTraceRequest::getPreventCache()const
|
||||
{
|
||||
return preventCache_;
|
||||
}
|
||||
|
||||
void OnsMessageTraceRequest::setPreventCache(long preventCache)
|
||||
{
|
||||
preventCache_ = preventCache;
|
||||
setCoreParameter("PreventCache", std::to_string(preventCache));
|
||||
}
|
||||
|
||||
std::string OnsMessageTraceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -35,10 +35,13 @@ OnsMessageTraceResult::~OnsMessageTraceResult()
|
||||
|
||||
void OnsMessageTraceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["MessageTrack"];
|
||||
for (auto value : allData)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user