ONS SDK Auto Released By wenting.ywt,Version:1.34.63
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
414
ons/include/alibabacloud/ons/OnsClient.h
Normal file
414
ons/include/alibabacloud/ons/OnsClient.h
Normal file
@@ -0,0 +1,414 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_ONSCLIENT_H_
|
||||
#define ALIBABACLOUD_ONS_ONSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "OnsExport.h"
|
||||
#include "model/OnsTopicSubDetailRequest.h"
|
||||
#include "model/OnsTopicSubDetailResult.h"
|
||||
#include "model/OnsMqttQueryHistoryOnlineRequest.h"
|
||||
#include "model/OnsMqttQueryHistoryOnlineResult.h"
|
||||
#include "model/OnsInstanceDeleteRequest.h"
|
||||
#include "model/OnsInstanceDeleteResult.h"
|
||||
#include "model/OnsTopicDeleteRequest.h"
|
||||
#include "model/OnsTopicDeleteResult.h"
|
||||
#include "model/OnsTopicUpdateRequest.h"
|
||||
#include "model/OnsTopicUpdateResult.h"
|
||||
#include "model/OnsTraceQueryByMsgKeyRequest.h"
|
||||
#include "model/OnsTraceQueryByMsgKeyResult.h"
|
||||
#include "model/OnsConsumerGetConnectionRequest.h"
|
||||
#include "model/OnsConsumerGetConnectionResult.h"
|
||||
#include "model/OnsTraceQueryByMsgIdRequest.h"
|
||||
#include "model/OnsTraceQueryByMsgIdResult.h"
|
||||
#include "model/OnsRegionListRequest.h"
|
||||
#include "model/OnsRegionListResult.h"
|
||||
#include "model/OnsTopicListRequest.h"
|
||||
#include "model/OnsTopicListResult.h"
|
||||
#include "model/OnsConsumerAccumulateRequest.h"
|
||||
#include "model/OnsConsumerAccumulateResult.h"
|
||||
#include "model/OnsMessageSendRequest.h"
|
||||
#include "model/OnsMessageSendResult.h"
|
||||
#include "model/OnsMqttQueryClientByGroupIdRequest.h"
|
||||
#include "model/OnsMqttQueryClientByGroupIdResult.h"
|
||||
#include "model/OnsGroupConsumerUpdateRequest.h"
|
||||
#include "model/OnsGroupConsumerUpdateResult.h"
|
||||
#include "model/OnsMessageTraceRequest.h"
|
||||
#include "model/OnsMessageTraceResult.h"
|
||||
#include "model/OnsConsumerTimeSpanRequest.h"
|
||||
#include "model/OnsConsumerTimeSpanResult.h"
|
||||
#include "model/OnsGroupListRequest.h"
|
||||
#include "model/OnsGroupListResult.h"
|
||||
#include "model/OnsGroupSubDetailRequest.h"
|
||||
#include "model/OnsGroupSubDetailResult.h"
|
||||
#include "model/OnsTraceGetResultRequest.h"
|
||||
#include "model/OnsTraceGetResultResult.h"
|
||||
#include "model/OnsTopicCreateRequest.h"
|
||||
#include "model/OnsTopicCreateResult.h"
|
||||
#include "model/OnsDLQMessagePageQueryByGroupIdRequest.h"
|
||||
#include "model/OnsDLQMessagePageQueryByGroupIdResult.h"
|
||||
#include "model/OnsGroupDeleteRequest.h"
|
||||
#include "model/OnsGroupDeleteResult.h"
|
||||
#include "model/OnsInstanceUpdateRequest.h"
|
||||
#include "model/OnsInstanceUpdateResult.h"
|
||||
#include "model/OnsMessagePageQueryByTopicRequest.h"
|
||||
#include "model/OnsMessagePageQueryByTopicResult.h"
|
||||
#include "model/OnsTrendTopicInputTpsRequest.h"
|
||||
#include "model/OnsTrendTopicInputTpsResult.h"
|
||||
#include "model/OnsGroupCreateRequest.h"
|
||||
#include "model/OnsGroupCreateResult.h"
|
||||
#include "model/OnsDLQMessageResendByIdRequest.h"
|
||||
#include "model/OnsDLQMessageResendByIdResult.h"
|
||||
#include "model/OnsTrendGroupOutputTpsRequest.h"
|
||||
#include "model/OnsTrendGroupOutputTpsResult.h"
|
||||
#include "model/OnsMqttQueryClientByClientIdRequest.h"
|
||||
#include "model/OnsMqttQueryClientByClientIdResult.h"
|
||||
#include "model/OnsMessagePushRequest.h"
|
||||
#include "model/OnsMessagePushResult.h"
|
||||
#include "model/OnsConsumerStatusRequest.h"
|
||||
#include "model/OnsConsumerStatusResult.h"
|
||||
#include "model/OnsWarnDeleteRequest.h"
|
||||
#include "model/OnsWarnDeleteResult.h"
|
||||
#include "model/OnsMqttQueryMsgTransTrendRequest.h"
|
||||
#include "model/OnsMqttQueryMsgTransTrendResult.h"
|
||||
#include "model/OnsConsumerResetOffsetRequest.h"
|
||||
#include "model/OnsConsumerResetOffsetResult.h"
|
||||
#include "model/OnsMessageGetByMsgIdRequest.h"
|
||||
#include "model/OnsMessageGetByMsgIdResult.h"
|
||||
#include "model/OnsInstanceBaseInfoRequest.h"
|
||||
#include "model/OnsInstanceBaseInfoResult.h"
|
||||
#include "model/OnsMqttGroupIdDeleteRequest.h"
|
||||
#include "model/OnsMqttGroupIdDeleteResult.h"
|
||||
#include "model/OnsInstanceInServiceListRequest.h"
|
||||
#include "model/OnsInstanceInServiceListResult.h"
|
||||
#include "model/OnsMqttGroupIdListRequest.h"
|
||||
#include "model/OnsMqttGroupIdListResult.h"
|
||||
#include "model/OnsDLQMessageGetByIdRequest.h"
|
||||
#include "model/OnsDLQMessageGetByIdResult.h"
|
||||
#include "model/OnsInstanceCreateRequest.h"
|
||||
#include "model/OnsInstanceCreateResult.h"
|
||||
#include "model/OnsWarnCreateRequest.h"
|
||||
#include "model/OnsWarnCreateResult.h"
|
||||
#include "model/OnsTopicStatusRequest.h"
|
||||
#include "model/OnsTopicStatusResult.h"
|
||||
#include "model/OnsMqttGroupIdCreateRequest.h"
|
||||
#include "model/OnsMqttGroupIdCreateResult.h"
|
||||
#include "model/OnsMqttQueryClientByTopicRequest.h"
|
||||
#include "model/OnsMqttQueryClientByTopicResult.h"
|
||||
#include "model/OnsMessageGetByKeyRequest.h"
|
||||
#include "model/OnsMessageGetByKeyResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::OnsTopicSubDetailResult> OnsTopicSubDetailOutcome;
|
||||
typedef std::future<OnsTopicSubDetailOutcome> OnsTopicSubDetailOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTopicSubDetailRequest&, const OnsTopicSubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicSubDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttQueryHistoryOnlineResult> OnsMqttQueryHistoryOnlineOutcome;
|
||||
typedef std::future<OnsMqttQueryHistoryOnlineOutcome> OnsMqttQueryHistoryOnlineOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryHistoryOnlineRequest&, const OnsMqttQueryHistoryOnlineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryHistoryOnlineAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsInstanceDeleteResult> OnsInstanceDeleteOutcome;
|
||||
typedef std::future<OnsInstanceDeleteOutcome> OnsInstanceDeleteOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsInstanceDeleteRequest&, const OnsInstanceDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTopicDeleteResult> OnsTopicDeleteOutcome;
|
||||
typedef std::future<OnsTopicDeleteOutcome> OnsTopicDeleteOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTopicDeleteRequest&, const OnsTopicDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTopicUpdateResult> OnsTopicUpdateOutcome;
|
||||
typedef std::future<OnsTopicUpdateOutcome> OnsTopicUpdateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTopicUpdateRequest&, const OnsTopicUpdateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicUpdateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTraceQueryByMsgKeyResult> OnsTraceQueryByMsgKeyOutcome;
|
||||
typedef std::future<OnsTraceQueryByMsgKeyOutcome> OnsTraceQueryByMsgKeyOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTraceQueryByMsgKeyRequest&, const OnsTraceQueryByMsgKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTraceQueryByMsgKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsConsumerGetConnectionResult> OnsConsumerGetConnectionOutcome;
|
||||
typedef std::future<OnsConsumerGetConnectionOutcome> OnsConsumerGetConnectionOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsConsumerGetConnectionRequest&, const OnsConsumerGetConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerGetConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTraceQueryByMsgIdResult> OnsTraceQueryByMsgIdOutcome;
|
||||
typedef std::future<OnsTraceQueryByMsgIdOutcome> OnsTraceQueryByMsgIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTraceQueryByMsgIdRequest&, const OnsTraceQueryByMsgIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTraceQueryByMsgIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsRegionListResult> OnsRegionListOutcome;
|
||||
typedef std::future<OnsRegionListOutcome> OnsRegionListOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsRegionListRequest&, const OnsRegionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsRegionListAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTopicListResult> OnsTopicListOutcome;
|
||||
typedef std::future<OnsTopicListOutcome> OnsTopicListOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTopicListRequest&, const OnsTopicListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicListAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsConsumerAccumulateResult> OnsConsumerAccumulateOutcome;
|
||||
typedef std::future<OnsConsumerAccumulateOutcome> OnsConsumerAccumulateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsConsumerAccumulateRequest&, const OnsConsumerAccumulateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerAccumulateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMessageSendResult> OnsMessageSendOutcome;
|
||||
typedef std::future<OnsMessageSendOutcome> OnsMessageSendOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMessageSendRequest&, const OnsMessageSendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageSendAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttQueryClientByGroupIdResult> OnsMqttQueryClientByGroupIdOutcome;
|
||||
typedef std::future<OnsMqttQueryClientByGroupIdOutcome> OnsMqttQueryClientByGroupIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryClientByGroupIdRequest&, const OnsMqttQueryClientByGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryClientByGroupIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsGroupConsumerUpdateResult> OnsGroupConsumerUpdateOutcome;
|
||||
typedef std::future<OnsGroupConsumerUpdateOutcome> OnsGroupConsumerUpdateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsGroupConsumerUpdateRequest&, const OnsGroupConsumerUpdateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupConsumerUpdateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMessageTraceResult> OnsMessageTraceOutcome;
|
||||
typedef std::future<OnsMessageTraceOutcome> OnsMessageTraceOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMessageTraceRequest&, const OnsMessageTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageTraceAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsConsumerTimeSpanResult> OnsConsumerTimeSpanOutcome;
|
||||
typedef std::future<OnsConsumerTimeSpanOutcome> OnsConsumerTimeSpanOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsConsumerTimeSpanRequest&, const OnsConsumerTimeSpanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerTimeSpanAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsGroupListResult> OnsGroupListOutcome;
|
||||
typedef std::future<OnsGroupListOutcome> OnsGroupListOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsGroupListRequest&, const OnsGroupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupListAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsGroupSubDetailResult> OnsGroupSubDetailOutcome;
|
||||
typedef std::future<OnsGroupSubDetailOutcome> OnsGroupSubDetailOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsGroupSubDetailRequest&, const OnsGroupSubDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupSubDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTraceGetResultResult> OnsTraceGetResultOutcome;
|
||||
typedef std::future<OnsTraceGetResultOutcome> OnsTraceGetResultOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTraceGetResultRequest&, const OnsTraceGetResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTraceGetResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTopicCreateResult> OnsTopicCreateOutcome;
|
||||
typedef std::future<OnsTopicCreateOutcome> OnsTopicCreateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTopicCreateRequest&, const OnsTopicCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsDLQMessagePageQueryByGroupIdResult> OnsDLQMessagePageQueryByGroupIdOutcome;
|
||||
typedef std::future<OnsDLQMessagePageQueryByGroupIdOutcome> OnsDLQMessagePageQueryByGroupIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsDLQMessagePageQueryByGroupIdRequest&, const OnsDLQMessagePageQueryByGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsDLQMessagePageQueryByGroupIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsGroupDeleteResult> OnsGroupDeleteOutcome;
|
||||
typedef std::future<OnsGroupDeleteOutcome> OnsGroupDeleteOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsGroupDeleteRequest&, const OnsGroupDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsInstanceUpdateResult> OnsInstanceUpdateOutcome;
|
||||
typedef std::future<OnsInstanceUpdateOutcome> OnsInstanceUpdateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsInstanceUpdateRequest&, const OnsInstanceUpdateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceUpdateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMessagePageQueryByTopicResult> OnsMessagePageQueryByTopicOutcome;
|
||||
typedef std::future<OnsMessagePageQueryByTopicOutcome> OnsMessagePageQueryByTopicOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMessagePageQueryByTopicRequest&, const OnsMessagePageQueryByTopicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessagePageQueryByTopicAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTrendTopicInputTpsResult> OnsTrendTopicInputTpsOutcome;
|
||||
typedef std::future<OnsTrendTopicInputTpsOutcome> OnsTrendTopicInputTpsOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTrendTopicInputTpsRequest&, const OnsTrendTopicInputTpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTrendTopicInputTpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsGroupCreateResult> OnsGroupCreateOutcome;
|
||||
typedef std::future<OnsGroupCreateOutcome> OnsGroupCreateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsGroupCreateRequest&, const OnsGroupCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsGroupCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsDLQMessageResendByIdResult> OnsDLQMessageResendByIdOutcome;
|
||||
typedef std::future<OnsDLQMessageResendByIdOutcome> OnsDLQMessageResendByIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsDLQMessageResendByIdRequest&, const OnsDLQMessageResendByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsDLQMessageResendByIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTrendGroupOutputTpsResult> OnsTrendGroupOutputTpsOutcome;
|
||||
typedef std::future<OnsTrendGroupOutputTpsOutcome> OnsTrendGroupOutputTpsOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTrendGroupOutputTpsRequest&, const OnsTrendGroupOutputTpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTrendGroupOutputTpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttQueryClientByClientIdResult> OnsMqttQueryClientByClientIdOutcome;
|
||||
typedef std::future<OnsMqttQueryClientByClientIdOutcome> OnsMqttQueryClientByClientIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryClientByClientIdRequest&, const OnsMqttQueryClientByClientIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryClientByClientIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMessagePushResult> OnsMessagePushOutcome;
|
||||
typedef std::future<OnsMessagePushOutcome> OnsMessagePushOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMessagePushRequest&, const OnsMessagePushOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessagePushAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsConsumerStatusResult> OnsConsumerStatusOutcome;
|
||||
typedef std::future<OnsConsumerStatusOutcome> OnsConsumerStatusOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsConsumerStatusRequest&, const OnsConsumerStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsWarnDeleteResult> OnsWarnDeleteOutcome;
|
||||
typedef std::future<OnsWarnDeleteOutcome> OnsWarnDeleteOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsWarnDeleteRequest&, const OnsWarnDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsWarnDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttQueryMsgTransTrendResult> OnsMqttQueryMsgTransTrendOutcome;
|
||||
typedef std::future<OnsMqttQueryMsgTransTrendOutcome> OnsMqttQueryMsgTransTrendOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryMsgTransTrendRequest&, const OnsMqttQueryMsgTransTrendOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryMsgTransTrendAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsConsumerResetOffsetResult> OnsConsumerResetOffsetOutcome;
|
||||
typedef std::future<OnsConsumerResetOffsetOutcome> OnsConsumerResetOffsetOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsConsumerResetOffsetRequest&, const OnsConsumerResetOffsetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsConsumerResetOffsetAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMessageGetByMsgIdResult> OnsMessageGetByMsgIdOutcome;
|
||||
typedef std::future<OnsMessageGetByMsgIdOutcome> OnsMessageGetByMsgIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMessageGetByMsgIdRequest&, const OnsMessageGetByMsgIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageGetByMsgIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsInstanceBaseInfoResult> OnsInstanceBaseInfoOutcome;
|
||||
typedef std::future<OnsInstanceBaseInfoOutcome> OnsInstanceBaseInfoOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsInstanceBaseInfoRequest&, const OnsInstanceBaseInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceBaseInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttGroupIdDeleteResult> OnsMqttGroupIdDeleteOutcome;
|
||||
typedef std::future<OnsMqttGroupIdDeleteOutcome> OnsMqttGroupIdDeleteOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttGroupIdDeleteRequest&, const OnsMqttGroupIdDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttGroupIdDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsInstanceInServiceListResult> OnsInstanceInServiceListOutcome;
|
||||
typedef std::future<OnsInstanceInServiceListOutcome> OnsInstanceInServiceListOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsInstanceInServiceListRequest&, const OnsInstanceInServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceInServiceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttGroupIdListResult> OnsMqttGroupIdListOutcome;
|
||||
typedef std::future<OnsMqttGroupIdListOutcome> OnsMqttGroupIdListOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttGroupIdListRequest&, const OnsMqttGroupIdListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttGroupIdListAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsDLQMessageGetByIdResult> OnsDLQMessageGetByIdOutcome;
|
||||
typedef std::future<OnsDLQMessageGetByIdOutcome> OnsDLQMessageGetByIdOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsDLQMessageGetByIdRequest&, const OnsDLQMessageGetByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsDLQMessageGetByIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsInstanceCreateResult> OnsInstanceCreateOutcome;
|
||||
typedef std::future<OnsInstanceCreateOutcome> OnsInstanceCreateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsInstanceCreateRequest&, const OnsInstanceCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsInstanceCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsWarnCreateResult> OnsWarnCreateOutcome;
|
||||
typedef std::future<OnsWarnCreateOutcome> OnsWarnCreateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsWarnCreateRequest&, const OnsWarnCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsWarnCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsTopicStatusResult> OnsTopicStatusOutcome;
|
||||
typedef std::future<OnsTopicStatusOutcome> OnsTopicStatusOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsTopicStatusRequest&, const OnsTopicStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsTopicStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttGroupIdCreateResult> OnsMqttGroupIdCreateOutcome;
|
||||
typedef std::future<OnsMqttGroupIdCreateOutcome> OnsMqttGroupIdCreateOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttGroupIdCreateRequest&, const OnsMqttGroupIdCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttGroupIdCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMqttQueryClientByTopicResult> OnsMqttQueryClientByTopicOutcome;
|
||||
typedef std::future<OnsMqttQueryClientByTopicOutcome> OnsMqttQueryClientByTopicOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMqttQueryClientByTopicRequest&, const OnsMqttQueryClientByTopicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMqttQueryClientByTopicAsyncHandler;
|
||||
typedef Outcome<Error, Model::OnsMessageGetByKeyResult> OnsMessageGetByKeyOutcome;
|
||||
typedef std::future<OnsMessageGetByKeyOutcome> OnsMessageGetByKeyOutcomeCallable;
|
||||
typedef std::function<void(const OnsClient*, const Model::OnsMessageGetByKeyRequest&, const OnsMessageGetByKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OnsMessageGetByKeyAsyncHandler;
|
||||
|
||||
OnsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
OnsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
OnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~OnsClient();
|
||||
OnsTopicSubDetailOutcome onsTopicSubDetail(const Model::OnsTopicSubDetailRequest &request)const;
|
||||
void onsTopicSubDetailAsync(const Model::OnsTopicSubDetailRequest& request, const OnsTopicSubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTopicSubDetailOutcomeCallable onsTopicSubDetailCallable(const Model::OnsTopicSubDetailRequest& request) const;
|
||||
OnsMqttQueryHistoryOnlineOutcome onsMqttQueryHistoryOnline(const Model::OnsMqttQueryHistoryOnlineRequest &request)const;
|
||||
void onsMqttQueryHistoryOnlineAsync(const Model::OnsMqttQueryHistoryOnlineRequest& request, const OnsMqttQueryHistoryOnlineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttQueryHistoryOnlineOutcomeCallable onsMqttQueryHistoryOnlineCallable(const Model::OnsMqttQueryHistoryOnlineRequest& request) const;
|
||||
OnsInstanceDeleteOutcome onsInstanceDelete(const Model::OnsInstanceDeleteRequest &request)const;
|
||||
void onsInstanceDeleteAsync(const Model::OnsInstanceDeleteRequest& request, const OnsInstanceDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsInstanceDeleteOutcomeCallable onsInstanceDeleteCallable(const Model::OnsInstanceDeleteRequest& request) const;
|
||||
OnsTopicDeleteOutcome onsTopicDelete(const Model::OnsTopicDeleteRequest &request)const;
|
||||
void onsTopicDeleteAsync(const Model::OnsTopicDeleteRequest& request, const OnsTopicDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTopicDeleteOutcomeCallable onsTopicDeleteCallable(const Model::OnsTopicDeleteRequest& request) const;
|
||||
OnsTopicUpdateOutcome onsTopicUpdate(const Model::OnsTopicUpdateRequest &request)const;
|
||||
void onsTopicUpdateAsync(const Model::OnsTopicUpdateRequest& request, const OnsTopicUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTopicUpdateOutcomeCallable onsTopicUpdateCallable(const Model::OnsTopicUpdateRequest& request) const;
|
||||
OnsTraceQueryByMsgKeyOutcome onsTraceQueryByMsgKey(const Model::OnsTraceQueryByMsgKeyRequest &request)const;
|
||||
void onsTraceQueryByMsgKeyAsync(const Model::OnsTraceQueryByMsgKeyRequest& request, const OnsTraceQueryByMsgKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTraceQueryByMsgKeyOutcomeCallable onsTraceQueryByMsgKeyCallable(const Model::OnsTraceQueryByMsgKeyRequest& request) const;
|
||||
OnsConsumerGetConnectionOutcome onsConsumerGetConnection(const Model::OnsConsumerGetConnectionRequest &request)const;
|
||||
void onsConsumerGetConnectionAsync(const Model::OnsConsumerGetConnectionRequest& request, const OnsConsumerGetConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsConsumerGetConnectionOutcomeCallable onsConsumerGetConnectionCallable(const Model::OnsConsumerGetConnectionRequest& request) const;
|
||||
OnsTraceQueryByMsgIdOutcome onsTraceQueryByMsgId(const Model::OnsTraceQueryByMsgIdRequest &request)const;
|
||||
void onsTraceQueryByMsgIdAsync(const Model::OnsTraceQueryByMsgIdRequest& request, const OnsTraceQueryByMsgIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTraceQueryByMsgIdOutcomeCallable onsTraceQueryByMsgIdCallable(const Model::OnsTraceQueryByMsgIdRequest& request) const;
|
||||
OnsRegionListOutcome onsRegionList(const Model::OnsRegionListRequest &request)const;
|
||||
void onsRegionListAsync(const Model::OnsRegionListRequest& request, const OnsRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsRegionListOutcomeCallable onsRegionListCallable(const Model::OnsRegionListRequest& request) const;
|
||||
OnsTopicListOutcome onsTopicList(const Model::OnsTopicListRequest &request)const;
|
||||
void onsTopicListAsync(const Model::OnsTopicListRequest& request, const OnsTopicListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTopicListOutcomeCallable onsTopicListCallable(const Model::OnsTopicListRequest& request) const;
|
||||
OnsConsumerAccumulateOutcome onsConsumerAccumulate(const Model::OnsConsumerAccumulateRequest &request)const;
|
||||
void onsConsumerAccumulateAsync(const Model::OnsConsumerAccumulateRequest& request, const OnsConsumerAccumulateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsConsumerAccumulateOutcomeCallable onsConsumerAccumulateCallable(const Model::OnsConsumerAccumulateRequest& request) const;
|
||||
OnsMessageSendOutcome onsMessageSend(const Model::OnsMessageSendRequest &request)const;
|
||||
void onsMessageSendAsync(const Model::OnsMessageSendRequest& request, const OnsMessageSendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMessageSendOutcomeCallable onsMessageSendCallable(const Model::OnsMessageSendRequest& request) const;
|
||||
OnsMqttQueryClientByGroupIdOutcome onsMqttQueryClientByGroupId(const Model::OnsMqttQueryClientByGroupIdRequest &request)const;
|
||||
void onsMqttQueryClientByGroupIdAsync(const Model::OnsMqttQueryClientByGroupIdRequest& request, const OnsMqttQueryClientByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttQueryClientByGroupIdOutcomeCallable onsMqttQueryClientByGroupIdCallable(const Model::OnsMqttQueryClientByGroupIdRequest& request) const;
|
||||
OnsGroupConsumerUpdateOutcome onsGroupConsumerUpdate(const Model::OnsGroupConsumerUpdateRequest &request)const;
|
||||
void onsGroupConsumerUpdateAsync(const Model::OnsGroupConsumerUpdateRequest& request, const OnsGroupConsumerUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsGroupConsumerUpdateOutcomeCallable onsGroupConsumerUpdateCallable(const Model::OnsGroupConsumerUpdateRequest& request) const;
|
||||
OnsMessageTraceOutcome onsMessageTrace(const Model::OnsMessageTraceRequest &request)const;
|
||||
void onsMessageTraceAsync(const Model::OnsMessageTraceRequest& request, const OnsMessageTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMessageTraceOutcomeCallable onsMessageTraceCallable(const Model::OnsMessageTraceRequest& request) const;
|
||||
OnsConsumerTimeSpanOutcome onsConsumerTimeSpan(const Model::OnsConsumerTimeSpanRequest &request)const;
|
||||
void onsConsumerTimeSpanAsync(const Model::OnsConsumerTimeSpanRequest& request, const OnsConsumerTimeSpanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsConsumerTimeSpanOutcomeCallable onsConsumerTimeSpanCallable(const Model::OnsConsumerTimeSpanRequest& request) const;
|
||||
OnsGroupListOutcome onsGroupList(const Model::OnsGroupListRequest &request)const;
|
||||
void onsGroupListAsync(const Model::OnsGroupListRequest& request, const OnsGroupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsGroupListOutcomeCallable onsGroupListCallable(const Model::OnsGroupListRequest& request) const;
|
||||
OnsGroupSubDetailOutcome onsGroupSubDetail(const Model::OnsGroupSubDetailRequest &request)const;
|
||||
void onsGroupSubDetailAsync(const Model::OnsGroupSubDetailRequest& request, const OnsGroupSubDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsGroupSubDetailOutcomeCallable onsGroupSubDetailCallable(const Model::OnsGroupSubDetailRequest& request) const;
|
||||
OnsTraceGetResultOutcome onsTraceGetResult(const Model::OnsTraceGetResultRequest &request)const;
|
||||
void onsTraceGetResultAsync(const Model::OnsTraceGetResultRequest& request, const OnsTraceGetResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTraceGetResultOutcomeCallable onsTraceGetResultCallable(const Model::OnsTraceGetResultRequest& request) const;
|
||||
OnsTopicCreateOutcome onsTopicCreate(const Model::OnsTopicCreateRequest &request)const;
|
||||
void onsTopicCreateAsync(const Model::OnsTopicCreateRequest& request, const OnsTopicCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTopicCreateOutcomeCallable onsTopicCreateCallable(const Model::OnsTopicCreateRequest& request) const;
|
||||
OnsDLQMessagePageQueryByGroupIdOutcome onsDLQMessagePageQueryByGroupId(const Model::OnsDLQMessagePageQueryByGroupIdRequest &request)const;
|
||||
void onsDLQMessagePageQueryByGroupIdAsync(const Model::OnsDLQMessagePageQueryByGroupIdRequest& request, const OnsDLQMessagePageQueryByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsDLQMessagePageQueryByGroupIdOutcomeCallable onsDLQMessagePageQueryByGroupIdCallable(const Model::OnsDLQMessagePageQueryByGroupIdRequest& request) const;
|
||||
OnsGroupDeleteOutcome onsGroupDelete(const Model::OnsGroupDeleteRequest &request)const;
|
||||
void onsGroupDeleteAsync(const Model::OnsGroupDeleteRequest& request, const OnsGroupDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsGroupDeleteOutcomeCallable onsGroupDeleteCallable(const Model::OnsGroupDeleteRequest& request) const;
|
||||
OnsInstanceUpdateOutcome onsInstanceUpdate(const Model::OnsInstanceUpdateRequest &request)const;
|
||||
void onsInstanceUpdateAsync(const Model::OnsInstanceUpdateRequest& request, const OnsInstanceUpdateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsInstanceUpdateOutcomeCallable onsInstanceUpdateCallable(const Model::OnsInstanceUpdateRequest& request) const;
|
||||
OnsMessagePageQueryByTopicOutcome onsMessagePageQueryByTopic(const Model::OnsMessagePageQueryByTopicRequest &request)const;
|
||||
void onsMessagePageQueryByTopicAsync(const Model::OnsMessagePageQueryByTopicRequest& request, const OnsMessagePageQueryByTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMessagePageQueryByTopicOutcomeCallable onsMessagePageQueryByTopicCallable(const Model::OnsMessagePageQueryByTopicRequest& request) const;
|
||||
OnsTrendTopicInputTpsOutcome onsTrendTopicInputTps(const Model::OnsTrendTopicInputTpsRequest &request)const;
|
||||
void onsTrendTopicInputTpsAsync(const Model::OnsTrendTopicInputTpsRequest& request, const OnsTrendTopicInputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTrendTopicInputTpsOutcomeCallable onsTrendTopicInputTpsCallable(const Model::OnsTrendTopicInputTpsRequest& request) const;
|
||||
OnsGroupCreateOutcome onsGroupCreate(const Model::OnsGroupCreateRequest &request)const;
|
||||
void onsGroupCreateAsync(const Model::OnsGroupCreateRequest& request, const OnsGroupCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsGroupCreateOutcomeCallable onsGroupCreateCallable(const Model::OnsGroupCreateRequest& request) const;
|
||||
OnsDLQMessageResendByIdOutcome onsDLQMessageResendById(const Model::OnsDLQMessageResendByIdRequest &request)const;
|
||||
void onsDLQMessageResendByIdAsync(const Model::OnsDLQMessageResendByIdRequest& request, const OnsDLQMessageResendByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsDLQMessageResendByIdOutcomeCallable onsDLQMessageResendByIdCallable(const Model::OnsDLQMessageResendByIdRequest& request) const;
|
||||
OnsTrendGroupOutputTpsOutcome onsTrendGroupOutputTps(const Model::OnsTrendGroupOutputTpsRequest &request)const;
|
||||
void onsTrendGroupOutputTpsAsync(const Model::OnsTrendGroupOutputTpsRequest& request, const OnsTrendGroupOutputTpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTrendGroupOutputTpsOutcomeCallable onsTrendGroupOutputTpsCallable(const Model::OnsTrendGroupOutputTpsRequest& request) const;
|
||||
OnsMqttQueryClientByClientIdOutcome onsMqttQueryClientByClientId(const Model::OnsMqttQueryClientByClientIdRequest &request)const;
|
||||
void onsMqttQueryClientByClientIdAsync(const Model::OnsMqttQueryClientByClientIdRequest& request, const OnsMqttQueryClientByClientIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttQueryClientByClientIdOutcomeCallable onsMqttQueryClientByClientIdCallable(const Model::OnsMqttQueryClientByClientIdRequest& request) const;
|
||||
OnsMessagePushOutcome onsMessagePush(const Model::OnsMessagePushRequest &request)const;
|
||||
void onsMessagePushAsync(const Model::OnsMessagePushRequest& request, const OnsMessagePushAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMessagePushOutcomeCallable onsMessagePushCallable(const Model::OnsMessagePushRequest& request) const;
|
||||
OnsConsumerStatusOutcome onsConsumerStatus(const Model::OnsConsumerStatusRequest &request)const;
|
||||
void onsConsumerStatusAsync(const Model::OnsConsumerStatusRequest& request, const OnsConsumerStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsConsumerStatusOutcomeCallable onsConsumerStatusCallable(const Model::OnsConsumerStatusRequest& request) const;
|
||||
OnsWarnDeleteOutcome onsWarnDelete(const Model::OnsWarnDeleteRequest &request)const;
|
||||
void onsWarnDeleteAsync(const Model::OnsWarnDeleteRequest& request, const OnsWarnDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsWarnDeleteOutcomeCallable onsWarnDeleteCallable(const Model::OnsWarnDeleteRequest& request) const;
|
||||
OnsMqttQueryMsgTransTrendOutcome onsMqttQueryMsgTransTrend(const Model::OnsMqttQueryMsgTransTrendRequest &request)const;
|
||||
void onsMqttQueryMsgTransTrendAsync(const Model::OnsMqttQueryMsgTransTrendRequest& request, const OnsMqttQueryMsgTransTrendAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttQueryMsgTransTrendOutcomeCallable onsMqttQueryMsgTransTrendCallable(const Model::OnsMqttQueryMsgTransTrendRequest& request) const;
|
||||
OnsConsumerResetOffsetOutcome onsConsumerResetOffset(const Model::OnsConsumerResetOffsetRequest &request)const;
|
||||
void onsConsumerResetOffsetAsync(const Model::OnsConsumerResetOffsetRequest& request, const OnsConsumerResetOffsetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsConsumerResetOffsetOutcomeCallable onsConsumerResetOffsetCallable(const Model::OnsConsumerResetOffsetRequest& request) const;
|
||||
OnsMessageGetByMsgIdOutcome onsMessageGetByMsgId(const Model::OnsMessageGetByMsgIdRequest &request)const;
|
||||
void onsMessageGetByMsgIdAsync(const Model::OnsMessageGetByMsgIdRequest& request, const OnsMessageGetByMsgIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMessageGetByMsgIdOutcomeCallable onsMessageGetByMsgIdCallable(const Model::OnsMessageGetByMsgIdRequest& request) const;
|
||||
OnsInstanceBaseInfoOutcome onsInstanceBaseInfo(const Model::OnsInstanceBaseInfoRequest &request)const;
|
||||
void onsInstanceBaseInfoAsync(const Model::OnsInstanceBaseInfoRequest& request, const OnsInstanceBaseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsInstanceBaseInfoOutcomeCallable onsInstanceBaseInfoCallable(const Model::OnsInstanceBaseInfoRequest& request) const;
|
||||
OnsMqttGroupIdDeleteOutcome onsMqttGroupIdDelete(const Model::OnsMqttGroupIdDeleteRequest &request)const;
|
||||
void onsMqttGroupIdDeleteAsync(const Model::OnsMqttGroupIdDeleteRequest& request, const OnsMqttGroupIdDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttGroupIdDeleteOutcomeCallable onsMqttGroupIdDeleteCallable(const Model::OnsMqttGroupIdDeleteRequest& request) const;
|
||||
OnsInstanceInServiceListOutcome onsInstanceInServiceList(const Model::OnsInstanceInServiceListRequest &request)const;
|
||||
void onsInstanceInServiceListAsync(const Model::OnsInstanceInServiceListRequest& request, const OnsInstanceInServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsInstanceInServiceListOutcomeCallable onsInstanceInServiceListCallable(const Model::OnsInstanceInServiceListRequest& request) const;
|
||||
OnsMqttGroupIdListOutcome onsMqttGroupIdList(const Model::OnsMqttGroupIdListRequest &request)const;
|
||||
void onsMqttGroupIdListAsync(const Model::OnsMqttGroupIdListRequest& request, const OnsMqttGroupIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttGroupIdListOutcomeCallable onsMqttGroupIdListCallable(const Model::OnsMqttGroupIdListRequest& request) const;
|
||||
OnsDLQMessageGetByIdOutcome onsDLQMessageGetById(const Model::OnsDLQMessageGetByIdRequest &request)const;
|
||||
void onsDLQMessageGetByIdAsync(const Model::OnsDLQMessageGetByIdRequest& request, const OnsDLQMessageGetByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsDLQMessageGetByIdOutcomeCallable onsDLQMessageGetByIdCallable(const Model::OnsDLQMessageGetByIdRequest& request) const;
|
||||
OnsInstanceCreateOutcome onsInstanceCreate(const Model::OnsInstanceCreateRequest &request)const;
|
||||
void onsInstanceCreateAsync(const Model::OnsInstanceCreateRequest& request, const OnsInstanceCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsInstanceCreateOutcomeCallable onsInstanceCreateCallable(const Model::OnsInstanceCreateRequest& request) const;
|
||||
OnsWarnCreateOutcome onsWarnCreate(const Model::OnsWarnCreateRequest &request)const;
|
||||
void onsWarnCreateAsync(const Model::OnsWarnCreateRequest& request, const OnsWarnCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsWarnCreateOutcomeCallable onsWarnCreateCallable(const Model::OnsWarnCreateRequest& request) const;
|
||||
OnsTopicStatusOutcome onsTopicStatus(const Model::OnsTopicStatusRequest &request)const;
|
||||
void onsTopicStatusAsync(const Model::OnsTopicStatusRequest& request, const OnsTopicStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsTopicStatusOutcomeCallable onsTopicStatusCallable(const Model::OnsTopicStatusRequest& request) const;
|
||||
OnsMqttGroupIdCreateOutcome onsMqttGroupIdCreate(const Model::OnsMqttGroupIdCreateRequest &request)const;
|
||||
void onsMqttGroupIdCreateAsync(const Model::OnsMqttGroupIdCreateRequest& request, const OnsMqttGroupIdCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttGroupIdCreateOutcomeCallable onsMqttGroupIdCreateCallable(const Model::OnsMqttGroupIdCreateRequest& request) const;
|
||||
OnsMqttQueryClientByTopicOutcome onsMqttQueryClientByTopic(const Model::OnsMqttQueryClientByTopicRequest &request)const;
|
||||
void onsMqttQueryClientByTopicAsync(const Model::OnsMqttQueryClientByTopicRequest& request, const OnsMqttQueryClientByTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMqttQueryClientByTopicOutcomeCallable onsMqttQueryClientByTopicCallable(const Model::OnsMqttQueryClientByTopicRequest& request) const;
|
||||
OnsMessageGetByKeyOutcome onsMessageGetByKey(const Model::OnsMessageGetByKeyRequest &request)const;
|
||||
void onsMessageGetByKeyAsync(const Model::OnsMessageGetByKeyRequest& request, const OnsMessageGetByKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OnsMessageGetByKeyOutcomeCallable onsMessageGetByKeyCallable(const Model::OnsMessageGetByKeyRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ONS_ONSCLIENT_H_
|
||||
32
ons/include/alibabacloud/ons/OnsExport.h
Normal file
32
ons/include/alibabacloud/ons/OnsExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_ONSEXPORT_H_
|
||||
#define ALIBABACLOUD_ONS_ONSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ONS_LIBRARY)
|
||||
# define ALIBABACLOUD_ONS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ONS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ONS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ONS_ONSEXPORT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerAccumulateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerAccumulateRequest();
|
||||
~OnsConsumerAccumulateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
bool getDetail()const;
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
bool detail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATEREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerAccumulateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DetailInTopicDo
|
||||
{
|
||||
long lastTimestamp;
|
||||
long totalDiff;
|
||||
std::string topic;
|
||||
long delayTime;
|
||||
};
|
||||
float consumeTps;
|
||||
long lastTimestamp;
|
||||
long totalDiff;
|
||||
bool online;
|
||||
long delayTime;
|
||||
std::vector<DetailInTopicDo> detailInTopicList;
|
||||
};
|
||||
|
||||
|
||||
OnsConsumerAccumulateResult();
|
||||
explicit OnsConsumerAccumulateResult(const std::string &payload);
|
||||
~OnsConsumerAccumulateResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERACCUMULATERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerGetConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerGetConnectionRequest();
|
||||
~OnsConsumerGetConnectionRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerGetConnectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ConnectionDo
|
||||
{
|
||||
std::string clientAddr;
|
||||
std::string language;
|
||||
std::string version;
|
||||
std::string clientId;
|
||||
};
|
||||
std::vector<ConnectionDo> connectionList;
|
||||
};
|
||||
|
||||
|
||||
OnsConsumerGetConnectionResult();
|
||||
explicit OnsConsumerGetConnectionResult(const std::string &payload);
|
||||
~OnsConsumerGetConnectionResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERGETCONNECTIONRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerResetOffsetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerResetOffsetRequest();
|
||||
~OnsConsumerResetOffsetRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
long getResetTimestamp()const;
|
||||
void setResetTimestamp(long resetTimestamp);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
long resetTimestamp_;
|
||||
int type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerResetOffsetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsConsumerResetOffsetResult();
|
||||
explicit OnsConsumerResetOffsetResult(const std::string &payload);
|
||||
~OnsConsumerResetOffsetResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERRESETOFFSETRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerStatusRequest();
|
||||
~OnsConsumerStatusRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getNeedJstack()const;
|
||||
void setNeedJstack(bool needJstack);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
bool getDetail()const;
|
||||
void setDetail(bool detail);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
bool needJstack_;
|
||||
std::string groupId_;
|
||||
bool detail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSREQUEST_H_
|
||||
118
ons/include/alibabacloud/ons/model/OnsConsumerStatusResult.h
Normal file
118
ons/include/alibabacloud/ons/model/OnsConsumerStatusResult.h
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ConnectionDo
|
||||
{
|
||||
std::string clientAddr;
|
||||
std::string language;
|
||||
std::string version;
|
||||
std::string clientId;
|
||||
};
|
||||
struct DetailInTopicDo
|
||||
{
|
||||
long lastTimestamp;
|
||||
long totalDiff;
|
||||
std::string topic;
|
||||
long delayTime;
|
||||
};
|
||||
struct ConsumerConnectionInfoDo
|
||||
{
|
||||
struct SubscriptionData
|
||||
{
|
||||
std::string subString;
|
||||
std::vector<std::string> tagsSet;
|
||||
std::string topic;
|
||||
long subVersion;
|
||||
};
|
||||
struct ConsumerRunningDataDo
|
||||
{
|
||||
float okTps;
|
||||
float rt;
|
||||
float failedTps;
|
||||
std::string topic;
|
||||
long failedCountPerHour;
|
||||
std::string groupId;
|
||||
};
|
||||
struct ThreadTrackDo
|
||||
{
|
||||
std::vector<std::string> trackList;
|
||||
std::string thread;
|
||||
};
|
||||
long lastTimeStamp;
|
||||
std::vector<ConsumerConnectionInfoDo::ConsumerRunningDataDo> runningDataList;
|
||||
std::string consumeModel;
|
||||
int threadCount;
|
||||
std::string language;
|
||||
std::string consumeType;
|
||||
std::vector<ConsumerConnectionInfoDo::SubscriptionData> subscriptionSet;
|
||||
std::string version;
|
||||
std::string connection;
|
||||
std::string clientId;
|
||||
long startTimeStamp;
|
||||
std::vector<ConsumerConnectionInfoDo::ThreadTrackDo> jstack;
|
||||
};
|
||||
std::vector<ConsumerConnectionInfoDo> consumerConnectionInfoList;
|
||||
std::string consumeModel;
|
||||
float consumeTps;
|
||||
long lastTimestamp;
|
||||
std::string instanceId;
|
||||
bool subscriptionSame;
|
||||
bool rebalanceOK;
|
||||
long totalDiff;
|
||||
std::vector<ConnectionDo> connectionSet;
|
||||
bool online;
|
||||
long delayTime;
|
||||
std::vector<DetailInTopicDo> detailInTopicList;
|
||||
};
|
||||
|
||||
|
||||
OnsConsumerStatusResult();
|
||||
explicit OnsConsumerStatusResult(const std::string &payload);
|
||||
~OnsConsumerStatusResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERSTATUSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerTimeSpanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsConsumerTimeSpanRequest();
|
||||
~OnsConsumerTimeSpanRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsConsumerTimeSpanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long consumeTimeStamp;
|
||||
std::string instanceId;
|
||||
long minTimeStamp;
|
||||
long maxTimeStamp;
|
||||
std::string topic;
|
||||
};
|
||||
|
||||
|
||||
OnsConsumerTimeSpanResult();
|
||||
explicit OnsConsumerTimeSpanResult(const std::string &payload);
|
||||
~OnsConsumerTimeSpanResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSCONSUMERTIMESPANRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageGetByIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsDLQMessageGetByIdRequest();
|
||||
~OnsDLQMessageGetByIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageGetByIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct MessageProperty
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
long bornTimestamp;
|
||||
std::string offsetId;
|
||||
std::string instanceId;
|
||||
int storeSize;
|
||||
std::string bornHost;
|
||||
int bodyCRC;
|
||||
int flag;
|
||||
std::string msgId;
|
||||
long storeTimestamp;
|
||||
std::string storeHost;
|
||||
std::vector<MessageProperty> propertyList;
|
||||
std::string topic;
|
||||
std::string body;
|
||||
int reconsumeTimes;
|
||||
};
|
||||
|
||||
|
||||
OnsDLQMessageGetByIdResult();
|
||||
explicit OnsDLQMessageGetByIdResult(const std::string &payload);
|
||||
~OnsDLQMessageGetByIdResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEGETBYIDRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessagePageQueryByGroupIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
~OnsDLQMessagePageQueryByGroupIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
int pageSize_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int currentPage_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessagePageQueryByGroupIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MsgFoundDo
|
||||
{
|
||||
struct OnsRestMessageDo
|
||||
{
|
||||
struct MessageProperty
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
long bornTimestamp;
|
||||
std::string offsetId;
|
||||
std::string instanceId;
|
||||
int storeSize;
|
||||
std::string bornHost;
|
||||
int bodyCRC;
|
||||
int flag;
|
||||
std::string msgId;
|
||||
long storeTimestamp;
|
||||
std::string storeHost;
|
||||
std::vector<OnsRestMessageDo::MessageProperty> propertyList;
|
||||
std::string topic;
|
||||
std::string body;
|
||||
int reconsumeTimes;
|
||||
};
|
||||
std::string taskId;
|
||||
long currentPage;
|
||||
long maxPageCount;
|
||||
std::vector<OnsRestMessageDo> msgFoundList;
|
||||
};
|
||||
|
||||
|
||||
OnsDLQMessagePageQueryByGroupIdResult();
|
||||
explicit OnsDLQMessagePageQueryByGroupIdResult(const std::string &payload);
|
||||
~OnsDLQMessagePageQueryByGroupIdResult();
|
||||
MsgFoundDo getMsgFoundDo()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MsgFoundDo msgFoundDo_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGEPAGEQUERYBYGROUPIDRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageResendByIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsDLQMessageResendByIdRequest();
|
||||
~OnsDLQMessageResendByIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsDLQMessageResendByIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsDLQMessageResendByIdResult();
|
||||
explicit OnsDLQMessageResendByIdResult(const std::string &payload);
|
||||
~OnsDLQMessageResendByIdResult();
|
||||
std::vector<std::string> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSDLQMESSAGERESENDBYIDRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupConsumerUpdateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupConsumerUpdateRequest();
|
||||
~OnsGroupConsumerUpdateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
bool getReadEnable()const;
|
||||
void setReadEnable(bool readEnable);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
bool readEnable_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupConsumerUpdateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsGroupConsumerUpdateResult();
|
||||
explicit OnsGroupConsumerUpdateResult(const std::string &payload);
|
||||
~OnsGroupConsumerUpdateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCONSUMERUPDATERESULT_H_
|
||||
57
ons/include/alibabacloud/ons/model/OnsGroupCreateRequest.h
Normal file
57
ons/include/alibabacloud/ons/model/OnsGroupCreateRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupCreateRequest();
|
||||
~OnsGroupCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string remark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsGroupCreateResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsGroupCreateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsGroupCreateResult();
|
||||
explicit OnsGroupCreateResult(const std::string &payload);
|
||||
~OnsGroupCreateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPCREATERESULT_H_
|
||||
54
ons/include/alibabacloud/ons/model/OnsGroupDeleteRequest.h
Normal file
54
ons/include/alibabacloud/ons/model/OnsGroupDeleteRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupDeleteRequest();
|
||||
~OnsGroupDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsGroupDeleteResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsGroupDeleteResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsGroupDeleteResult();
|
||||
explicit OnsGroupDeleteResult(const std::string &payload);
|
||||
~OnsGroupDeleteResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPDELETERESULT_H_
|
||||
54
ons/include/alibabacloud/ons/model/OnsGroupListRequest.h
Normal file
54
ons/include/alibabacloud/ons/model/OnsGroupListRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupListRequest();
|
||||
~OnsGroupListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTREQUEST_H_
|
||||
62
ons/include/alibabacloud/ons/model/OnsGroupListResult.h
Normal file
62
ons/include/alibabacloud/ons/model/OnsGroupListResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SubscribeInfoDo
|
||||
{
|
||||
std::string owner;
|
||||
std::string instanceId;
|
||||
long updateTime;
|
||||
bool independentNaming;
|
||||
std::string groupId;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
OnsGroupListResult();
|
||||
explicit OnsGroupListResult(const std::string &payload);
|
||||
~OnsGroupListResult();
|
||||
std::vector<SubscribeInfoDo> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SubscribeInfoDo> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupSubDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsGroupSubDetailRequest();
|
||||
~OnsGroupSubDetailRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILREQUEST_H_
|
||||
63
ons/include/alibabacloud/ons/model/OnsGroupSubDetailResult.h
Normal file
63
ons/include/alibabacloud/ons/model/OnsGroupSubDetailResult.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsGroupSubDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct SubscriptionDataListItem
|
||||
{
|
||||
std::string subString;
|
||||
std::string topic;
|
||||
};
|
||||
std::string messageModel;
|
||||
std::vector<SubscriptionDataListItem> subscriptionDataList;
|
||||
bool online;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
OnsGroupSubDetailResult();
|
||||
explicit OnsGroupSubDetailResult(const std::string &payload);
|
||||
~OnsGroupSubDetailResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSGROUPSUBDETAILRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceBaseInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceBaseInfoRequest();
|
||||
~OnsInstanceBaseInfoRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFOREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFORESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceBaseInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceBaseInfo
|
||||
{
|
||||
struct Endpoints
|
||||
{
|
||||
std::string httpInternalEndpoint;
|
||||
std::string tcpEndpoint;
|
||||
std::string httpInternetEndpoint;
|
||||
std::string httpInternetSecureEndpoint;
|
||||
};
|
||||
Endpoints endpoints;
|
||||
std::string instanceName;
|
||||
std::string instanceId;
|
||||
long releaseTime;
|
||||
int instanceStatus;
|
||||
bool independentNaming;
|
||||
int instanceType;
|
||||
};
|
||||
|
||||
|
||||
OnsInstanceBaseInfoResult();
|
||||
explicit OnsInstanceBaseInfoResult(const std::string &payload);
|
||||
~OnsInstanceBaseInfoResult();
|
||||
InstanceBaseInfo getInstanceBaseInfo()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
InstanceBaseInfo instanceBaseInfo_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEBASEINFORESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceCreateRequest();
|
||||
~OnsInstanceCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceName_;
|
||||
std::string remark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATEREQUEST_H_
|
||||
58
ons/include/alibabacloud/ons/model/OnsInstanceCreateResult.h
Normal file
58
ons/include/alibabacloud/ons/model/OnsInstanceCreateResult.h
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string instanceId;
|
||||
int instanceType;
|
||||
};
|
||||
|
||||
|
||||
OnsInstanceCreateResult();
|
||||
explicit OnsInstanceCreateResult(const std::string &payload);
|
||||
~OnsInstanceCreateResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCECREATERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceDeleteRequest();
|
||||
~OnsInstanceDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsInstanceDeleteResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsInstanceDeleteResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsInstanceDeleteResult();
|
||||
explicit OnsInstanceDeleteResult(const std::string &payload);
|
||||
~OnsInstanceDeleteResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEDELETERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceInServiceListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceInServiceListRequest();
|
||||
~OnsInstanceInServiceListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceInServiceListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InstanceVO
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string instanceId;
|
||||
long releaseTime;
|
||||
int instanceStatus;
|
||||
bool independentNaming;
|
||||
int instanceType;
|
||||
};
|
||||
|
||||
|
||||
OnsInstanceInServiceListResult();
|
||||
explicit OnsInstanceInServiceListResult(const std::string &payload);
|
||||
~OnsInstanceInServiceListResult();
|
||||
std::vector<InstanceVO> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<InstanceVO> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEINSERVICELISTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceUpdateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsInstanceUpdateRequest();
|
||||
~OnsInstanceUpdateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceName_;
|
||||
std::string instanceId_;
|
||||
std::string remark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsInstanceUpdateResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsInstanceUpdateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsInstanceUpdateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsInstanceUpdateResult();
|
||||
explicit OnsInstanceUpdateResult(const std::string &payload);
|
||||
~OnsInstanceUpdateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSINSTANCEUPDATERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageGetByKeyRequest();
|
||||
~OnsMessageGetByKeyRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getKey()const;
|
||||
void setKey(const std::string& key);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string key_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OnsRestMessageDo
|
||||
{
|
||||
struct MessageProperty
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
long bornTimestamp;
|
||||
std::string offsetId;
|
||||
std::string instanceId;
|
||||
int storeSize;
|
||||
std::string bornHost;
|
||||
int bodyCRC;
|
||||
int flag;
|
||||
std::string msgId;
|
||||
long storeTimestamp;
|
||||
std::string storeHost;
|
||||
std::vector<OnsRestMessageDo::MessageProperty> propertyList;
|
||||
std::string topic;
|
||||
std::string body;
|
||||
int reconsumeTimes;
|
||||
};
|
||||
|
||||
|
||||
OnsMessageGetByKeyResult();
|
||||
explicit OnsMessageGetByKeyResult(const std::string &payload);
|
||||
~OnsMessageGetByKeyResult();
|
||||
std::vector<OnsRestMessageDo> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<OnsRestMessageDo> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYKEYRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByMsgIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageGetByMsgIdRequest();
|
||||
~OnsMessageGetByMsgIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string msgId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageGetByMsgIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct MessageProperty
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
long bornTimestamp;
|
||||
std::string offsetId;
|
||||
std::string instanceId;
|
||||
int storeSize;
|
||||
std::string bornHost;
|
||||
int bodyCRC;
|
||||
int flag;
|
||||
std::string msgId;
|
||||
long storeTimestamp;
|
||||
std::string storeHost;
|
||||
std::vector<MessageProperty> propertyList;
|
||||
std::string topic;
|
||||
std::string body;
|
||||
int reconsumeTimes;
|
||||
};
|
||||
|
||||
|
||||
OnsMessageGetByMsgIdResult();
|
||||
explicit OnsMessageGetByMsgIdResult(const std::string &payload);
|
||||
~OnsMessageGetByMsgIdResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEGETBYMSGIDRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePageQueryByTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessagePageQueryByTopicRequest();
|
||||
~OnsMessagePageQueryByTopicRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string topic_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int currentPage_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePageQueryByTopicResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MsgFoundDo
|
||||
{
|
||||
struct OnsRestMessageDo
|
||||
{
|
||||
struct MessageProperty
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
long bornTimestamp;
|
||||
std::string offsetId;
|
||||
std::string instanceId;
|
||||
int storeSize;
|
||||
std::string bornHost;
|
||||
int bodyCRC;
|
||||
int flag;
|
||||
std::string msgId;
|
||||
long storeTimestamp;
|
||||
std::string storeHost;
|
||||
std::vector<OnsRestMessageDo::MessageProperty> propertyList;
|
||||
std::string topic;
|
||||
std::string body;
|
||||
int reconsumeTimes;
|
||||
};
|
||||
std::string taskId;
|
||||
long currentPage;
|
||||
long maxPageCount;
|
||||
std::vector<OnsRestMessageDo> msgFoundList;
|
||||
};
|
||||
|
||||
|
||||
OnsMessagePageQueryByTopicResult();
|
||||
explicit OnsMessagePageQueryByTopicResult(const std::string &payload);
|
||||
~OnsMessagePageQueryByTopicResult();
|
||||
MsgFoundDo getMsgFoundDo()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MsgFoundDo msgFoundDo_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPAGEQUERYBYTOPICRESULT_H_
|
||||
63
ons/include/alibabacloud/ons/model/OnsMessagePushRequest.h
Normal file
63
ons/include/alibabacloud/ons/model/OnsMessagePushRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessagePushRequest();
|
||||
~OnsMessagePushRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getClientId()const;
|
||||
void setClientId(const std::string& clientId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string clientId_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string msgId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsMessagePushResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsMessagePushResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessagePushResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsMessagePushResult();
|
||||
explicit OnsMessagePushResult(const std::string &payload);
|
||||
~OnsMessagePushResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGEPUSHRESULT_H_
|
||||
63
ons/include/alibabacloud/ons/model/OnsMessageSendRequest.h
Normal file
63
ons/include/alibabacloud/ons/model/OnsMessageSendRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageSendRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageSendRequest();
|
||||
~OnsMessageSendRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getTag()const;
|
||||
void setTag(const std::string& tag);
|
||||
std::string getMessage()const;
|
||||
void setMessage(const std::string& message);
|
||||
std::string getKey()const;
|
||||
void setKey(const std::string& key);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string tag_;
|
||||
std::string message_;
|
||||
std::string key_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDREQUEST_H_
|
||||
53
ons/include/alibabacloud/ons/model/OnsMessageSendResult.h
Normal file
53
ons/include/alibabacloud/ons/model/OnsMessageSendResult.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageSendResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsMessageSendResult();
|
||||
explicit OnsMessageSendResult(const std::string &payload);
|
||||
~OnsMessageSendResult();
|
||||
std::string getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGESENDRESULT_H_
|
||||
57
ons/include/alibabacloud/ons/model/OnsMessageTraceRequest.h
Normal file
57
ons/include/alibabacloud/ons/model/OnsMessageTraceRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageTraceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMessageTraceRequest();
|
||||
~OnsMessageTraceRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string msgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACEREQUEST_H_
|
||||
60
ons/include/alibabacloud/ons/model/OnsMessageTraceResult.h
Normal file
60
ons/include/alibabacloud/ons/model/OnsMessageTraceResult.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMessageTraceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MessageTrack
|
||||
{
|
||||
std::string exceptionDesc;
|
||||
std::string instanceId;
|
||||
std::string trackType;
|
||||
std::string consumerGroup;
|
||||
};
|
||||
|
||||
|
||||
OnsMessageTraceResult();
|
||||
explicit OnsMessageTraceResult(const std::string &payload);
|
||||
~OnsMessageTraceResult();
|
||||
std::vector<MessageTrack> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MessageTrack> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMESSAGETRACERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttGroupIdCreateRequest();
|
||||
~OnsMqttGroupIdCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsMqttGroupIdCreateResult();
|
||||
explicit OnsMqttGroupIdCreateResult(const std::string &payload);
|
||||
~OnsMqttGroupIdCreateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDCREATERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttGroupIdDeleteRequest();
|
||||
~OnsMqttGroupIdDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsMqttGroupIdDeleteResult();
|
||||
explicit OnsMqttGroupIdDeleteResult(const std::string &payload);
|
||||
~OnsMqttGroupIdDeleteResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDDELETERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttGroupIdListRequest();
|
||||
~OnsMqttGroupIdListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttGroupIdListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MqttGroupIdDo
|
||||
{
|
||||
int status;
|
||||
std::string owner;
|
||||
std::string instanceId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
long id;
|
||||
bool independentNaming;
|
||||
int channelId;
|
||||
std::string topic;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
OnsMqttGroupIdListResult();
|
||||
explicit OnsMqttGroupIdListResult(const std::string &payload);
|
||||
~OnsMqttGroupIdListResult();
|
||||
std::vector<MqttGroupIdDo> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MqttGroupIdDo> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTGROUPIDLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByClientIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttQueryClientByClientIdRequest();
|
||||
~OnsMqttQueryClientByClientIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getClientId()const;
|
||||
void setClientId(const std::string& clientId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string clientId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByClientIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MqttClientInfoDo
|
||||
{
|
||||
struct SubscriptionDo
|
||||
{
|
||||
int qos;
|
||||
std::string subTopic;
|
||||
std::string parentTopic;
|
||||
};
|
||||
std::string socketChannel;
|
||||
std::vector<SubscriptionDo> subScriptonData;
|
||||
std::string clientId;
|
||||
bool online;
|
||||
long lastTouch;
|
||||
};
|
||||
|
||||
|
||||
OnsMqttQueryClientByClientIdResult();
|
||||
explicit OnsMqttQueryClientByClientIdResult(const std::string &payload);
|
||||
~OnsMqttQueryClientByClientIdResult();
|
||||
MqttClientInfoDo getMqttClientInfoDo()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MqttClientInfoDo mqttClientInfoDo_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYCLIENTIDRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByGroupIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttQueryClientByGroupIdRequest();
|
||||
~OnsMqttQueryClientByGroupIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByGroupIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MqttClientSetDo
|
||||
{
|
||||
long persistCount;
|
||||
long onlineCount;
|
||||
};
|
||||
|
||||
|
||||
OnsMqttQueryClientByGroupIdResult();
|
||||
explicit OnsMqttQueryClientByGroupIdResult(const std::string &payload);
|
||||
~OnsMqttQueryClientByGroupIdResult();
|
||||
MqttClientSetDo getMqttClientSetDo()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MqttClientSetDo mqttClientSetDo_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYGROUPIDRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttQueryClientByTopicRequest();
|
||||
~OnsMqttQueryClientByTopicRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getParentTopic()const;
|
||||
void setParentTopic(const std::string& parentTopic);
|
||||
std::string getSubTopic()const;
|
||||
void setSubTopic(const std::string& subTopic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string parentTopic_;
|
||||
std::string subTopic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryClientByTopicResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MqttClientSetDo
|
||||
{
|
||||
long persistCount;
|
||||
long onlineCount;
|
||||
};
|
||||
|
||||
|
||||
OnsMqttQueryClientByTopicResult();
|
||||
explicit OnsMqttQueryClientByTopicResult(const std::string &payload);
|
||||
~OnsMqttQueryClientByTopicResult();
|
||||
MqttClientSetDo getMqttClientSetDo()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MqttClientSetDo mqttClientSetDo_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYCLIENTBYTOPICRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryHistoryOnlineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttQueryHistoryOnlineRequest();
|
||||
~OnsMqttQueryHistoryOnlineRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINEREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryHistoryOnlineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct StatsDataDo
|
||||
{
|
||||
long x;
|
||||
float y;
|
||||
};
|
||||
std::string yUnit;
|
||||
std::string title;
|
||||
std::string xUnit;
|
||||
std::vector<StatsDataDo> records;
|
||||
};
|
||||
|
||||
|
||||
OnsMqttQueryHistoryOnlineResult();
|
||||
explicit OnsMqttQueryHistoryOnlineResult(const std::string &payload);
|
||||
~OnsMqttQueryHistoryOnlineResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYHISTORYONLINERESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryMsgTransTrendRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsMqttQueryMsgTransTrendRequest();
|
||||
~OnsMqttQueryMsgTransTrendRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getQos()const;
|
||||
void setQos(int qos);
|
||||
std::string getTransType()const;
|
||||
void setTransType(const std::string& transType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getTpsType()const;
|
||||
void setTpsType(const std::string& tpsType);
|
||||
std::string getParentTopic()const;
|
||||
void setParentTopic(const std::string& parentTopic);
|
||||
std::string getMsgType()const;
|
||||
void setMsgType(const std::string& msgType);
|
||||
std::string getSubTopic()const;
|
||||
void setSubTopic(const std::string& subTopic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int qos_;
|
||||
std::string transType_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string tpsType_;
|
||||
std::string parentTopic_;
|
||||
std::string msgType_;
|
||||
std::string subTopic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsMqttQueryMsgTransTrendResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct StatsDataDo
|
||||
{
|
||||
long x;
|
||||
float y;
|
||||
};
|
||||
std::string yUnit;
|
||||
std::string title;
|
||||
std::string xUnit;
|
||||
std::vector<StatsDataDo> records;
|
||||
};
|
||||
|
||||
|
||||
OnsMqttQueryMsgTransTrendResult();
|
||||
explicit OnsMqttQueryMsgTransTrendResult(const std::string &payload);
|
||||
~OnsMqttQueryMsgTransTrendResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSMQTTQUERYMSGTRANSTRENDRESULT_H_
|
||||
48
ons/include/alibabacloud/ons/model/OnsRegionListRequest.h
Normal file
48
ons/include/alibabacloud/ons/model/OnsRegionListRequest.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsRegionListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsRegionListRequest();
|
||||
~OnsRegionListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTREQUEST_H_
|
||||
63
ons/include/alibabacloud/ons/model/OnsRegionListResult.h
Normal file
63
ons/include/alibabacloud/ons/model/OnsRegionListResult.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsRegionListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RegionDo
|
||||
{
|
||||
std::string channelName;
|
||||
std::string regionName;
|
||||
std::string onsRegionId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
long id;
|
||||
int channelId;
|
||||
};
|
||||
|
||||
|
||||
OnsRegionListResult();
|
||||
explicit OnsRegionListResult(const std::string &payload);
|
||||
~OnsRegionListResult();
|
||||
std::vector<RegionDo> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RegionDo> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSREGIONLISTRESULT_H_
|
||||
60
ons/include/alibabacloud/ons/model/OnsTopicCreateRequest.h
Normal file
60
ons/include/alibabacloud/ons/model/OnsTopicCreateRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicCreateRequest();
|
||||
~OnsTopicCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getMessageType()const;
|
||||
void setMessageType(int messageType);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int messageType_;
|
||||
std::string topic_;
|
||||
std::string remark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsTopicCreateResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsTopicCreateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsTopicCreateResult();
|
||||
explicit OnsTopicCreateResult(const std::string &payload);
|
||||
~OnsTopicCreateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICCREATERESULT_H_
|
||||
54
ons/include/alibabacloud/ons/model/OnsTopicDeleteRequest.h
Normal file
54
ons/include/alibabacloud/ons/model/OnsTopicDeleteRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicDeleteRequest();
|
||||
~OnsTopicDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsTopicDeleteResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsTopicDeleteResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsTopicDeleteResult();
|
||||
explicit OnsTopicDeleteResult(const std::string &payload);
|
||||
~OnsTopicDeleteResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICDELETERESULT_H_
|
||||
54
ons/include/alibabacloud/ons/model/OnsTopicListRequest.h
Normal file
54
ons/include/alibabacloud/ons/model/OnsTopicListRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicListRequest();
|
||||
~OnsTopicListRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTREQUEST_H_
|
||||
65
ons/include/alibabacloud/ons/model/OnsTopicListResult.h
Normal file
65
ons/include/alibabacloud/ons/model/OnsTopicListResult.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PublishInfoDo
|
||||
{
|
||||
std::string owner;
|
||||
int relation;
|
||||
std::string instanceId;
|
||||
long createTime;
|
||||
std::string relationName;
|
||||
bool independentNaming;
|
||||
std::string topic;
|
||||
int messageType;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
OnsTopicListResult();
|
||||
explicit OnsTopicListResult(const std::string &payload);
|
||||
~OnsTopicListResult();
|
||||
std::vector<PublishInfoDo> getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PublishInfoDo> data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICLISTRESULT_H_
|
||||
54
ons/include/alibabacloud/ons/model/OnsTopicStatusRequest.h
Normal file
54
ons/include/alibabacloud/ons/model/OnsTopicStatusRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicStatusRequest();
|
||||
~OnsTopicStatusRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSREQUEST_H_
|
||||
59
ons/include/alibabacloud/ons/model/OnsTopicStatusResult.h
Normal file
59
ons/include/alibabacloud/ons/model/OnsTopicStatusResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long lastTimeStamp;
|
||||
long totalCount;
|
||||
int perm;
|
||||
};
|
||||
|
||||
|
||||
OnsTopicStatusResult();
|
||||
explicit OnsTopicStatusResult(const std::string &payload);
|
||||
~OnsTopicStatusResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSTATUSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicSubDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicSubDetailRequest();
|
||||
~OnsTopicSubDetailRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILREQUEST_H_
|
||||
62
ons/include/alibabacloud/ons/model/OnsTopicSubDetailResult.h
Normal file
62
ons/include/alibabacloud/ons/model/OnsTopicSubDetailResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicSubDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct SubscriptionDataListItem
|
||||
{
|
||||
std::string messageModel;
|
||||
std::string subString;
|
||||
std::string groupId;
|
||||
};
|
||||
std::vector<SubscriptionDataListItem> subscriptionDataList;
|
||||
std::string topic;
|
||||
};
|
||||
|
||||
|
||||
OnsTopicSubDetailResult();
|
||||
explicit OnsTopicSubDetailResult(const std::string &payload);
|
||||
~OnsTopicSubDetailResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICSUBDETAILRESULT_H_
|
||||
57
ons/include/alibabacloud/ons/model/OnsTopicUpdateRequest.h
Normal file
57
ons/include/alibabacloud/ons/model/OnsTopicUpdateRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicUpdateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTopicUpdateRequest();
|
||||
~OnsTopicUpdateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPerm()const;
|
||||
void setPerm(int perm);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
int perm_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsTopicUpdateResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsTopicUpdateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTopicUpdateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsTopicUpdateResult();
|
||||
explicit OnsTopicUpdateResult(const std::string &payload);
|
||||
~OnsTopicUpdateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTOPICUPDATERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceGetResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTraceGetResultRequest();
|
||||
~OnsTraceGetResultRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getQueryId()const;
|
||||
void setQueryId(const std::string& queryId);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string queryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTREQUEST_H_
|
||||
95
ons/include/alibabacloud/ons/model/OnsTraceGetResultResult.h
Normal file
95
ons/include/alibabacloud/ons/model/OnsTraceGetResultResult.h
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceGetResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TraceData
|
||||
{
|
||||
struct TraceMapDo
|
||||
{
|
||||
struct SubMapDo
|
||||
{
|
||||
struct SubClientInfoDo
|
||||
{
|
||||
int costTime;
|
||||
std::string status;
|
||||
std::string clientHost;
|
||||
long subTime;
|
||||
std::string subGroupName;
|
||||
int reconsumeTimes;
|
||||
};
|
||||
int failCount;
|
||||
std::string subGroupName;
|
||||
int successCount;
|
||||
std::vector<SubMapDo::SubClientInfoDo> clientList;
|
||||
};
|
||||
int costTime;
|
||||
std::string status;
|
||||
std::string msgKey;
|
||||
std::vector<TraceMapDo::SubMapDo> subList;
|
||||
std::string tag;
|
||||
std::string bornHost;
|
||||
long pubTime;
|
||||
std::string topic;
|
||||
std::string pubGroupName;
|
||||
std::string msgId;
|
||||
};
|
||||
std::string status;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::string queryId;
|
||||
std::string msgKey;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::vector<TraceMapDo> traceList;
|
||||
std::string topic;
|
||||
std::string msgId;
|
||||
};
|
||||
|
||||
|
||||
OnsTraceGetResultResult();
|
||||
explicit OnsTraceGetResultResult(const std::string &payload);
|
||||
~OnsTraceGetResultResult();
|
||||
TraceData getTraceData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TraceData traceData_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEGETRESULTRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTraceQueryByMsgIdRequest();
|
||||
~OnsTraceQueryByMsgIdRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getMsgId()const;
|
||||
void setMsgId(const std::string& msgId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string msgId_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsTraceQueryByMsgIdResult();
|
||||
explicit OnsTraceQueryByMsgIdResult(const std::string &payload);
|
||||
~OnsTraceQueryByMsgIdResult();
|
||||
std::string getQueryId()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string queryId_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGIDRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTraceQueryByMsgKeyRequest();
|
||||
~OnsTraceQueryByMsgKeyRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getMsgKey()const;
|
||||
void setMsgKey(const std::string& msgKey);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string msgKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTraceQueryByMsgKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsTraceQueryByMsgKeyResult();
|
||||
explicit OnsTraceQueryByMsgKeyResult(const std::string &payload);
|
||||
~OnsTraceQueryByMsgKeyResult();
|
||||
std::string getQueryId()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string queryId_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRACEQUERYBYMSGKEYRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendGroupOutputTpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTrendGroupOutputTpsRequest();
|
||||
~OnsTrendGroupOutputTpsRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
long getPeriod()const;
|
||||
void setPeriod(long period);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
long period_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendGroupOutputTpsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct StatsDataDo
|
||||
{
|
||||
long x;
|
||||
float y;
|
||||
};
|
||||
std::string yUnit;
|
||||
std::string title;
|
||||
std::string xUnit;
|
||||
std::vector<StatsDataDo> records;
|
||||
};
|
||||
|
||||
|
||||
OnsTrendGroupOutputTpsResult();
|
||||
explicit OnsTrendGroupOutputTpsResult(const std::string &payload);
|
||||
~OnsTrendGroupOutputTpsResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDGROUPOUTPUTTPSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendTopicInputTpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsTrendTopicInputTpsRequest();
|
||||
~OnsTrendTopicInputTpsRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
long getPeriod()const;
|
||||
void setPeriod(long period);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime()const;
|
||||
void setBeginTime(long beginTime);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
long period_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
int type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSRESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsTrendTopicInputTpsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct StatsDataDo
|
||||
{
|
||||
long x;
|
||||
float y;
|
||||
};
|
||||
std::string yUnit;
|
||||
std::string title;
|
||||
std::string xUnit;
|
||||
std::vector<StatsDataDo> records;
|
||||
};
|
||||
|
||||
|
||||
OnsTrendTopicInputTpsResult();
|
||||
explicit OnsTrendTopicInputTpsResult(const std::string &payload);
|
||||
~OnsTrendTopicInputTpsResult();
|
||||
Data getData()const;
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSTRENDTOPICINPUTTPSRESULT_H_
|
||||
75
ons/include/alibabacloud/ons/model/OnsWarnCreateRequest.h
Normal file
75
ons/include/alibabacloud/ons/model/OnsWarnCreateRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnCreateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsWarnCreateRequest();
|
||||
~OnsWarnCreateRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getBlockTime()const;
|
||||
void setBlockTime(const std::string& blockTime);
|
||||
std::string getLevel()const;
|
||||
void setLevel(const std::string& level);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDelayTime()const;
|
||||
void setDelayTime(const std::string& delayTime);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getThreshold()const;
|
||||
void setThreshold(const std::string& threshold);
|
||||
std::string getAlertTime()const;
|
||||
void setAlertTime(const std::string& alertTime);
|
||||
std::string getContacts()const;
|
||||
void setContacts(const std::string& contacts);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string blockTime_;
|
||||
std::string level_;
|
||||
std::string groupId_;
|
||||
std::string delayTime_;
|
||||
std::string topic_;
|
||||
std::string threshold_;
|
||||
std::string alertTime_;
|
||||
std::string contacts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNCREATEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsWarnCreateResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsWarnCreateResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsWarnCreateResult();
|
||||
explicit OnsWarnCreateResult(const std::string &payload);
|
||||
~OnsWarnCreateResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNCREATERESULT_H_
|
||||
57
ons/include/alibabacloud/ons/model/OnsWarnDeleteRequest.h
Normal file
57
ons/include/alibabacloud/ons/model/OnsWarnDeleteRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnDeleteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OnsWarnDeleteRequest();
|
||||
~OnsWarnDeleteRequest();
|
||||
|
||||
long getPreventCache()const;
|
||||
void setPreventCache(long preventCache);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
long preventCache_;
|
||||
std::string instanceId_;
|
||||
std::string groupId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNDELETEREQUEST_H_
|
||||
51
ons/include/alibabacloud/ons/model/OnsWarnDeleteResult.h
Normal file
51
ons/include/alibabacloud/ons/model/OnsWarnDeleteResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_
|
||||
#define ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ons/OnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ons
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ONS_EXPORT OnsWarnDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OnsWarnDeleteResult();
|
||||
explicit OnsWarnDeleteResult(const std::string &payload);
|
||||
~OnsWarnDeleteResult();
|
||||
std::string getHelpUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string helpUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ONS_MODEL_ONSWARNDELETERESULT_H_
|
||||
Reference in New Issue
Block a user