由释一发起的PUSH SDK自动发布, BUILD_ID=490, 版本号:1.3.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
270
push/include/alibabacloud/push/PushClient.h
Normal file
270
push/include/alibabacloud/push/PushClient.h
Normal file
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* 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_PUSH_PUSHCLIENT_H_
|
||||
#define ALIBABACLOUD_PUSH_PUSHCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "PushExport.h"
|
||||
#include "model/UnbindTagRequest.h"
|
||||
#include "model/UnbindTagResult.h"
|
||||
#include "model/QueryDeviceStatRequest.h"
|
||||
#include "model/QueryDeviceStatResult.h"
|
||||
#include "model/QueryPushStatByAppRequest.h"
|
||||
#include "model/QueryPushStatByAppResult.h"
|
||||
#include "model/CheckDeviceRequest.h"
|
||||
#include "model/CheckDeviceResult.h"
|
||||
#include "model/ListPushRecordsRequest.h"
|
||||
#include "model/ListPushRecordsResult.h"
|
||||
#include "model/QueryDevicesByAliasRequest.h"
|
||||
#include "model/QueryDevicesByAliasResult.h"
|
||||
#include "model/PushRequest.h"
|
||||
#include "model/PushResult.h"
|
||||
#include "model/QueryTagsRequest.h"
|
||||
#include "model/QueryTagsResult.h"
|
||||
#include "model/UnbindAliasRequest.h"
|
||||
#include "model/UnbindAliasResult.h"
|
||||
#include "model/QueryDeviceInfoRequest.h"
|
||||
#include "model/QueryDeviceInfoResult.h"
|
||||
#include "model/QueryPushStatByMsgRequest.h"
|
||||
#include "model/QueryPushStatByMsgResult.h"
|
||||
#include "model/QueryAliasesRequest.h"
|
||||
#include "model/QueryAliasesResult.h"
|
||||
#include "model/QueryUniqueDeviceStatRequest.h"
|
||||
#include "model/QueryUniqueDeviceStatResult.h"
|
||||
#include "model/ListSummaryAppsRequest.h"
|
||||
#include "model/ListSummaryAppsResult.h"
|
||||
#include "model/PushMessageToAndroidRequest.h"
|
||||
#include "model/PushMessageToAndroidResult.h"
|
||||
#include "model/QueryDevicesByAccountRequest.h"
|
||||
#include "model/QueryDevicesByAccountResult.h"
|
||||
#include "model/BindAliasRequest.h"
|
||||
#include "model/BindAliasResult.h"
|
||||
#include "model/UnbindPhoneRequest.h"
|
||||
#include "model/UnbindPhoneResult.h"
|
||||
#include "model/PushNoticeToiOSRequest.h"
|
||||
#include "model/PushNoticeToiOSResult.h"
|
||||
#include "model/CheckDevicesRequest.h"
|
||||
#include "model/CheckDevicesResult.h"
|
||||
#include "model/CancelPushRequest.h"
|
||||
#include "model/CancelPushResult.h"
|
||||
#include "model/RemoveTagRequest.h"
|
||||
#include "model/RemoveTagResult.h"
|
||||
#include "model/ListTagsRequest.h"
|
||||
#include "model/ListTagsResult.h"
|
||||
#include "model/BindTagRequest.h"
|
||||
#include "model/BindTagResult.h"
|
||||
#include "model/PushMessageToiOSRequest.h"
|
||||
#include "model/PushMessageToiOSResult.h"
|
||||
#include "model/BindPhoneRequest.h"
|
||||
#include "model/BindPhoneResult.h"
|
||||
#include "model/PushNoticeToAndroidRequest.h"
|
||||
#include "model/PushNoticeToAndroidResult.h"
|
||||
#include "model/QueryPushListRequest.h"
|
||||
#include "model/QueryPushListResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::UnbindTagResult> UnbindTagOutcome;
|
||||
typedef std::future<UnbindTagOutcome> UnbindTagOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::UnbindTagRequest&, const UnbindTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDeviceStatResult> QueryDeviceStatOutcome;
|
||||
typedef std::future<QueryDeviceStatOutcome> QueryDeviceStatOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryDeviceStatRequest&, const QueryDeviceStatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceStatAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPushStatByAppResult> QueryPushStatByAppOutcome;
|
||||
typedef std::future<QueryPushStatByAppOutcome> QueryPushStatByAppOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryPushStatByAppRequest&, const QueryPushStatByAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPushStatByAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckDeviceResult> CheckDeviceOutcome;
|
||||
typedef std::future<CheckDeviceOutcome> CheckDeviceOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::CheckDeviceRequest&, const CheckDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPushRecordsResult> ListPushRecordsOutcome;
|
||||
typedef std::future<ListPushRecordsOutcome> ListPushRecordsOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::ListPushRecordsRequest&, const ListPushRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPushRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDevicesByAliasResult> QueryDevicesByAliasOutcome;
|
||||
typedef std::future<QueryDevicesByAliasOutcome> QueryDevicesByAliasOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryDevicesByAliasRequest&, const QueryDevicesByAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDevicesByAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushResult> PushOutcome;
|
||||
typedef std::future<PushOutcome> PushOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::PushRequest&, const PushOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryTagsResult> QueryTagsOutcome;
|
||||
typedef std::future<QueryTagsOutcome> QueryTagsOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryTagsRequest&, const QueryTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindAliasResult> UnbindAliasOutcome;
|
||||
typedef std::future<UnbindAliasOutcome> UnbindAliasOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::UnbindAliasRequest&, const UnbindAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDeviceInfoResult> QueryDeviceInfoOutcome;
|
||||
typedef std::future<QueryDeviceInfoOutcome> QueryDeviceInfoOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryDeviceInfoRequest&, const QueryDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPushStatByMsgResult> QueryPushStatByMsgOutcome;
|
||||
typedef std::future<QueryPushStatByMsgOutcome> QueryPushStatByMsgOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryPushStatByMsgRequest&, const QueryPushStatByMsgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPushStatByMsgAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAliasesResult> QueryAliasesOutcome;
|
||||
typedef std::future<QueryAliasesOutcome> QueryAliasesOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryAliasesRequest&, const QueryAliasesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAliasesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUniqueDeviceStatResult> QueryUniqueDeviceStatOutcome;
|
||||
typedef std::future<QueryUniqueDeviceStatOutcome> QueryUniqueDeviceStatOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryUniqueDeviceStatRequest&, const QueryUniqueDeviceStatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUniqueDeviceStatAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSummaryAppsResult> ListSummaryAppsOutcome;
|
||||
typedef std::future<ListSummaryAppsOutcome> ListSummaryAppsOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::ListSummaryAppsRequest&, const ListSummaryAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSummaryAppsAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushMessageToAndroidResult> PushMessageToAndroidOutcome;
|
||||
typedef std::future<PushMessageToAndroidOutcome> PushMessageToAndroidOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::PushMessageToAndroidRequest&, const PushMessageToAndroidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushMessageToAndroidAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDevicesByAccountResult> QueryDevicesByAccountOutcome;
|
||||
typedef std::future<QueryDevicesByAccountOutcome> QueryDevicesByAccountOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryDevicesByAccountRequest&, const QueryDevicesByAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDevicesByAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindAliasResult> BindAliasOutcome;
|
||||
typedef std::future<BindAliasOutcome> BindAliasOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::BindAliasRequest&, const BindAliasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindAliasAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindPhoneResult> UnbindPhoneOutcome;
|
||||
typedef std::future<UnbindPhoneOutcome> UnbindPhoneOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::UnbindPhoneRequest&, const UnbindPhoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindPhoneAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushNoticeToiOSResult> PushNoticeToiOSOutcome;
|
||||
typedef std::future<PushNoticeToiOSOutcome> PushNoticeToiOSOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::PushNoticeToiOSRequest&, const PushNoticeToiOSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushNoticeToiOSAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckDevicesResult> CheckDevicesOutcome;
|
||||
typedef std::future<CheckDevicesOutcome> CheckDevicesOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::CheckDevicesRequest&, const CheckDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelPushResult> CancelPushOutcome;
|
||||
typedef std::future<CancelPushOutcome> CancelPushOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::CancelPushRequest&, const CancelPushOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPushAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveTagResult> RemoveTagOutcome;
|
||||
typedef std::future<RemoveTagOutcome> RemoveTagOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::RemoveTagRequest&, const RemoveTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
|
||||
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::ListTagsRequest&, const ListTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindTagResult> BindTagOutcome;
|
||||
typedef std::future<BindTagOutcome> BindTagOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::BindTagRequest&, const BindTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushMessageToiOSResult> PushMessageToiOSOutcome;
|
||||
typedef std::future<PushMessageToiOSOutcome> PushMessageToiOSOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::PushMessageToiOSRequest&, const PushMessageToiOSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushMessageToiOSAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindPhoneResult> BindPhoneOutcome;
|
||||
typedef std::future<BindPhoneOutcome> BindPhoneOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::BindPhoneRequest&, const BindPhoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindPhoneAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushNoticeToAndroidResult> PushNoticeToAndroidOutcome;
|
||||
typedef std::future<PushNoticeToAndroidOutcome> PushNoticeToAndroidOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::PushNoticeToAndroidRequest&, const PushNoticeToAndroidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushNoticeToAndroidAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryPushListResult> QueryPushListOutcome;
|
||||
typedef std::future<QueryPushListOutcome> QueryPushListOutcomeCallable;
|
||||
typedef std::function<void(const PushClient*, const Model::QueryPushListRequest&, const QueryPushListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPushListAsyncHandler;
|
||||
|
||||
PushClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
PushClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
PushClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~PushClient();
|
||||
UnbindTagOutcome unbindTag(const Model::UnbindTagRequest &request)const;
|
||||
void unbindTagAsync(const Model::UnbindTagRequest& request, const UnbindTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindTagOutcomeCallable unbindTagCallable(const Model::UnbindTagRequest& request) const;
|
||||
QueryDeviceStatOutcome queryDeviceStat(const Model::QueryDeviceStatRequest &request)const;
|
||||
void queryDeviceStatAsync(const Model::QueryDeviceStatRequest& request, const QueryDeviceStatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDeviceStatOutcomeCallable queryDeviceStatCallable(const Model::QueryDeviceStatRequest& request) const;
|
||||
QueryPushStatByAppOutcome queryPushStatByApp(const Model::QueryPushStatByAppRequest &request)const;
|
||||
void queryPushStatByAppAsync(const Model::QueryPushStatByAppRequest& request, const QueryPushStatByAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPushStatByAppOutcomeCallable queryPushStatByAppCallable(const Model::QueryPushStatByAppRequest& request) const;
|
||||
CheckDeviceOutcome checkDevice(const Model::CheckDeviceRequest &request)const;
|
||||
void checkDeviceAsync(const Model::CheckDeviceRequest& request, const CheckDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckDeviceOutcomeCallable checkDeviceCallable(const Model::CheckDeviceRequest& request) const;
|
||||
ListPushRecordsOutcome listPushRecords(const Model::ListPushRecordsRequest &request)const;
|
||||
void listPushRecordsAsync(const Model::ListPushRecordsRequest& request, const ListPushRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPushRecordsOutcomeCallable listPushRecordsCallable(const Model::ListPushRecordsRequest& request) const;
|
||||
QueryDevicesByAliasOutcome queryDevicesByAlias(const Model::QueryDevicesByAliasRequest &request)const;
|
||||
void queryDevicesByAliasAsync(const Model::QueryDevicesByAliasRequest& request, const QueryDevicesByAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDevicesByAliasOutcomeCallable queryDevicesByAliasCallable(const Model::QueryDevicesByAliasRequest& request) const;
|
||||
PushOutcome push(const Model::PushRequest &request)const;
|
||||
void pushAsync(const Model::PushRequest& request, const PushAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushOutcomeCallable pushCallable(const Model::PushRequest& request) const;
|
||||
QueryTagsOutcome queryTags(const Model::QueryTagsRequest &request)const;
|
||||
void queryTagsAsync(const Model::QueryTagsRequest& request, const QueryTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryTagsOutcomeCallable queryTagsCallable(const Model::QueryTagsRequest& request) const;
|
||||
UnbindAliasOutcome unbindAlias(const Model::UnbindAliasRequest &request)const;
|
||||
void unbindAliasAsync(const Model::UnbindAliasRequest& request, const UnbindAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindAliasOutcomeCallable unbindAliasCallable(const Model::UnbindAliasRequest& request) const;
|
||||
QueryDeviceInfoOutcome queryDeviceInfo(const Model::QueryDeviceInfoRequest &request)const;
|
||||
void queryDeviceInfoAsync(const Model::QueryDeviceInfoRequest& request, const QueryDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDeviceInfoOutcomeCallable queryDeviceInfoCallable(const Model::QueryDeviceInfoRequest& request) const;
|
||||
QueryPushStatByMsgOutcome queryPushStatByMsg(const Model::QueryPushStatByMsgRequest &request)const;
|
||||
void queryPushStatByMsgAsync(const Model::QueryPushStatByMsgRequest& request, const QueryPushStatByMsgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPushStatByMsgOutcomeCallable queryPushStatByMsgCallable(const Model::QueryPushStatByMsgRequest& request) const;
|
||||
QueryAliasesOutcome queryAliases(const Model::QueryAliasesRequest &request)const;
|
||||
void queryAliasesAsync(const Model::QueryAliasesRequest& request, const QueryAliasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAliasesOutcomeCallable queryAliasesCallable(const Model::QueryAliasesRequest& request) const;
|
||||
QueryUniqueDeviceStatOutcome queryUniqueDeviceStat(const Model::QueryUniqueDeviceStatRequest &request)const;
|
||||
void queryUniqueDeviceStatAsync(const Model::QueryUniqueDeviceStatRequest& request, const QueryUniqueDeviceStatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUniqueDeviceStatOutcomeCallable queryUniqueDeviceStatCallable(const Model::QueryUniqueDeviceStatRequest& request) const;
|
||||
ListSummaryAppsOutcome listSummaryApps(const Model::ListSummaryAppsRequest &request)const;
|
||||
void listSummaryAppsAsync(const Model::ListSummaryAppsRequest& request, const ListSummaryAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSummaryAppsOutcomeCallable listSummaryAppsCallable(const Model::ListSummaryAppsRequest& request) const;
|
||||
PushMessageToAndroidOutcome pushMessageToAndroid(const Model::PushMessageToAndroidRequest &request)const;
|
||||
void pushMessageToAndroidAsync(const Model::PushMessageToAndroidRequest& request, const PushMessageToAndroidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushMessageToAndroidOutcomeCallable pushMessageToAndroidCallable(const Model::PushMessageToAndroidRequest& request) const;
|
||||
QueryDevicesByAccountOutcome queryDevicesByAccount(const Model::QueryDevicesByAccountRequest &request)const;
|
||||
void queryDevicesByAccountAsync(const Model::QueryDevicesByAccountRequest& request, const QueryDevicesByAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDevicesByAccountOutcomeCallable queryDevicesByAccountCallable(const Model::QueryDevicesByAccountRequest& request) const;
|
||||
BindAliasOutcome bindAlias(const Model::BindAliasRequest &request)const;
|
||||
void bindAliasAsync(const Model::BindAliasRequest& request, const BindAliasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindAliasOutcomeCallable bindAliasCallable(const Model::BindAliasRequest& request) const;
|
||||
UnbindPhoneOutcome unbindPhone(const Model::UnbindPhoneRequest &request)const;
|
||||
void unbindPhoneAsync(const Model::UnbindPhoneRequest& request, const UnbindPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindPhoneOutcomeCallable unbindPhoneCallable(const Model::UnbindPhoneRequest& request) const;
|
||||
PushNoticeToiOSOutcome pushNoticeToiOS(const Model::PushNoticeToiOSRequest &request)const;
|
||||
void pushNoticeToiOSAsync(const Model::PushNoticeToiOSRequest& request, const PushNoticeToiOSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushNoticeToiOSOutcomeCallable pushNoticeToiOSCallable(const Model::PushNoticeToiOSRequest& request) const;
|
||||
CheckDevicesOutcome checkDevices(const Model::CheckDevicesRequest &request)const;
|
||||
void checkDevicesAsync(const Model::CheckDevicesRequest& request, const CheckDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckDevicesOutcomeCallable checkDevicesCallable(const Model::CheckDevicesRequest& request) const;
|
||||
CancelPushOutcome cancelPush(const Model::CancelPushRequest &request)const;
|
||||
void cancelPushAsync(const Model::CancelPushRequest& request, const CancelPushAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelPushOutcomeCallable cancelPushCallable(const Model::CancelPushRequest& request) const;
|
||||
RemoveTagOutcome removeTag(const Model::RemoveTagRequest &request)const;
|
||||
void removeTagAsync(const Model::RemoveTagRequest& request, const RemoveTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveTagOutcomeCallable removeTagCallable(const Model::RemoveTagRequest& request) const;
|
||||
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
|
||||
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
|
||||
BindTagOutcome bindTag(const Model::BindTagRequest &request)const;
|
||||
void bindTagAsync(const Model::BindTagRequest& request, const BindTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindTagOutcomeCallable bindTagCallable(const Model::BindTagRequest& request) const;
|
||||
PushMessageToiOSOutcome pushMessageToiOS(const Model::PushMessageToiOSRequest &request)const;
|
||||
void pushMessageToiOSAsync(const Model::PushMessageToiOSRequest& request, const PushMessageToiOSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushMessageToiOSOutcomeCallable pushMessageToiOSCallable(const Model::PushMessageToiOSRequest& request) const;
|
||||
BindPhoneOutcome bindPhone(const Model::BindPhoneRequest &request)const;
|
||||
void bindPhoneAsync(const Model::BindPhoneRequest& request, const BindPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindPhoneOutcomeCallable bindPhoneCallable(const Model::BindPhoneRequest& request) const;
|
||||
PushNoticeToAndroidOutcome pushNoticeToAndroid(const Model::PushNoticeToAndroidRequest &request)const;
|
||||
void pushNoticeToAndroidAsync(const Model::PushNoticeToAndroidRequest& request, const PushNoticeToAndroidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushNoticeToAndroidOutcomeCallable pushNoticeToAndroidCallable(const Model::PushNoticeToAndroidRequest& request) const;
|
||||
QueryPushListOutcome queryPushList(const Model::QueryPushListRequest &request)const;
|
||||
void queryPushListAsync(const Model::QueryPushListRequest& request, const QueryPushListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPushListOutcomeCallable queryPushListCallable(const Model::QueryPushListRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_PUSH_PUSHCLIENT_H_
|
||||
32
push/include/alibabacloud/push/PushExport.h
Normal file
32
push/include/alibabacloud/push/PushExport.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_PUSH_PUSHEXPORT_H_
|
||||
#define ALIBABACLOUD_PUSH_PUSHEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_PUSH_LIBRARY)
|
||||
# define ALIBABACLOUD_PUSH_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_PUSH_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_PUSH_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_PUSH_PUSHEXPORT_H_
|
||||
57
push/include/alibabacloud/push/model/BindAliasRequest.h
Normal file
57
push/include/alibabacloud/push/model/BindAliasRequest.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_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindAliasRequest();
|
||||
~BindAliasRequest();
|
||||
|
||||
std::string getAliasName()const;
|
||||
void setAliasName(const std::string& aliasName);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string aliasName_;
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/BindAliasResult.h
Normal file
49
push/include/alibabacloud/push/model/BindAliasResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_BINDALIASRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindAliasResult();
|
||||
explicit BindAliasResult(const std::string &payload);
|
||||
~BindAliasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDALIASRESULT_H_
|
||||
57
push/include/alibabacloud/push/model/BindPhoneRequest.h
Normal file
57
push/include/alibabacloud/push/model/BindPhoneRequest.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_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindPhoneRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindPhoneRequest();
|
||||
~BindPhoneRequest();
|
||||
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string phoneNumber_;
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/BindPhoneResult.h
Normal file
49
push/include/alibabacloud/push/model/BindPhoneResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_BINDPHONERESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDPHONERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindPhoneResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindPhoneResult();
|
||||
explicit BindPhoneResult(const std::string &payload);
|
||||
~BindPhoneResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDPHONERESULT_H_
|
||||
60
push/include/alibabacloud/push/model/BindTagRequest.h
Normal file
60
push/include/alibabacloud/push/model/BindTagRequest.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_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindTagRequest();
|
||||
~BindTagRequest();
|
||||
|
||||
std::string getTagName()const;
|
||||
void setTagName(const std::string& tagName);
|
||||
std::string getClientKey()const;
|
||||
void setClientKey(const std::string& clientKey);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getKeyType()const;
|
||||
void setKeyType(const std::string& keyType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string tagName_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/BindTagResult.h
Normal file
49
push/include/alibabacloud/push/model/BindTagResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_BINDTAGRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindTagResult();
|
||||
explicit BindTagResult(const std::string &payload);
|
||||
~BindTagResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDTAGRESULT_H_
|
||||
54
push/include/alibabacloud/push/model/CancelPushRequest.h
Normal file
54
push/include/alibabacloud/push/model/CancelPushRequest.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_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CancelPushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelPushRequest();
|
||||
~CancelPushRequest();
|
||||
|
||||
long getMessageId()const;
|
||||
void setMessageId(long messageId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long messageId_;
|
||||
long appKey_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/CancelPushResult.h
Normal file
49
push/include/alibabacloud/push/model/CancelPushResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_CANCELPUSHRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CANCELPUSHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CancelPushResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelPushResult();
|
||||
explicit CancelPushResult(const std::string &payload);
|
||||
~CancelPushResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CANCELPUSHRESULT_H_
|
||||
54
push/include/alibabacloud/push/model/CheckDeviceRequest.h
Normal file
54
push/include/alibabacloud/push/model/CheckDeviceRequest.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_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckDeviceRequest();
|
||||
~CheckDeviceRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
51
push/include/alibabacloud/push/model/CheckDeviceResult.h
Normal file
51
push/include/alibabacloud/push/model/CheckDeviceResult.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_PUSH_MODEL_CHECKDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckDeviceResult();
|
||||
explicit CheckDeviceResult(const std::string &payload);
|
||||
~CheckDeviceResult();
|
||||
bool getAvailable()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool available_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICERESULT_H_
|
||||
54
push/include/alibabacloud/push/model/CheckDevicesRequest.h
Normal file
54
push/include/alibabacloud/push/model/CheckDevicesRequest.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_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckDevicesRequest();
|
||||
~CheckDevicesRequest();
|
||||
|
||||
std::string getDeviceIds()const;
|
||||
void setDeviceIds(const std::string& deviceIds);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string deviceIds_;
|
||||
long appKey_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
56
push/include/alibabacloud/push/model/CheckDevicesResult.h
Normal file
56
push/include/alibabacloud/push/model/CheckDevicesResult.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_CHECKDEVICESRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDevicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeviceCheckInfo
|
||||
{
|
||||
std::string deviceId;
|
||||
bool available;
|
||||
};
|
||||
|
||||
|
||||
CheckDevicesResult();
|
||||
explicit CheckDevicesResult(const std::string &payload);
|
||||
~CheckDevicesResult();
|
||||
std::vector<DeviceCheckInfo> getDeviceCheckInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DeviceCheckInfo> deviceCheckInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESRESULT_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_PUSH_MODEL_LISTPUSHRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTPUSHRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListPushRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPushRecordsRequest();
|
||||
~ListPushRecordsRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPage()const;
|
||||
void setPage(int page);
|
||||
std::string getPushType()const;
|
||||
void setPushType(const std::string& pushType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string endTime_;
|
||||
long appKey_;
|
||||
std::string startTime_;
|
||||
int page_;
|
||||
std::string pushType_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTPUSHRECORDSREQUEST_H_
|
||||
68
push/include/alibabacloud/push/model/ListPushRecordsResult.h
Normal file
68
push/include/alibabacloud/push/model/ListPushRecordsResult.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_LISTPUSHRECORDSRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTPUSHRECORDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListPushRecordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PushMessageInfo
|
||||
{
|
||||
std::string deviceType;
|
||||
std::string type;
|
||||
std::string pushTime;
|
||||
long appKey;
|
||||
std::string title;
|
||||
std::string body;
|
||||
std::string appName;
|
||||
std::string messageId;
|
||||
};
|
||||
|
||||
|
||||
ListPushRecordsResult();
|
||||
explicit ListPushRecordsResult(const std::string &payload);
|
||||
~ListPushRecordsResult();
|
||||
int getPageSize()const;
|
||||
int getTotal()const;
|
||||
int getPage()const;
|
||||
std::vector<PushMessageInfo> getPushMessageInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int total_;
|
||||
int page_;
|
||||
std::vector<PushMessageInfo> pushMessageInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTPUSHRECORDSRESULT_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_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListSummaryAppsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListSummaryAppsRequest();
|
||||
~ListSummaryAppsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
56
push/include/alibabacloud/push/model/ListSummaryAppsResult.h
Normal file
56
push/include/alibabacloud/push/model/ListSummaryAppsResult.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_LISTSUMMARYAPPSRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListSummaryAppsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SummaryAppInfo
|
||||
{
|
||||
long appKey;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
ListSummaryAppsResult();
|
||||
explicit ListSummaryAppsResult(const std::string &payload);
|
||||
~ListSummaryAppsResult();
|
||||
std::vector<SummaryAppInfo> getSummaryAppInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SummaryAppInfo> summaryAppInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSRESULT_H_
|
||||
51
push/include/alibabacloud/push/model/ListTagsRequest.h
Normal file
51
push/include/alibabacloud/push/model/ListTagsRequest.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_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTagsRequest();
|
||||
~ListTagsRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
55
push/include/alibabacloud/push/model/ListTagsResult.h
Normal file
55
push/include/alibabacloud/push/model/ListTagsResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_LISTTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagName;
|
||||
};
|
||||
|
||||
|
||||
ListTagsResult();
|
||||
explicit ListTagsResult(const std::string &payload);
|
||||
~ListTagsResult();
|
||||
std::vector<TagInfo> getTagInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TagInfo> tagInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTTAGSRESULT_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_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToAndroidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushMessageToAndroidRequest();
|
||||
~PushMessageToAndroidRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_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_PUSH_MODEL_PUSHMESSAGETOANDROIDRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToAndroidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PushMessageToAndroidResult();
|
||||
explicit PushMessageToAndroidResult(const std::string &payload);
|
||||
~PushMessageToAndroidResult();
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDRESULT_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_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToiOSRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushMessageToiOSRequest();
|
||||
~PushMessageToiOSRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_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_PUSH_MODEL_PUSHMESSAGETOIOSRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToiOSResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PushMessageToiOSResult();
|
||||
explicit PushMessageToiOSResult(const std::string &payload);
|
||||
~PushMessageToiOSResult();
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSRESULT_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_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToAndroidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushNoticeToAndroidRequest();
|
||||
~PushNoticeToAndroidRequest();
|
||||
|
||||
std::string getExtParameters()const;
|
||||
void setExtParameters(const std::string& extParameters);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
|
||||
private:
|
||||
std::string extParameters_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_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_PUSH_MODEL_PUSHNOTICETOANDROIDRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToAndroidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PushNoticeToAndroidResult();
|
||||
explicit PushNoticeToAndroidResult(const std::string &payload);
|
||||
~PushNoticeToAndroidResult();
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToiOSRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushNoticeToiOSRequest();
|
||||
~PushNoticeToiOSRequest();
|
||||
|
||||
std::string getExtParameters()const;
|
||||
void setExtParameters(const std::string& extParameters);
|
||||
std::string getApnsEnv()const;
|
||||
void setApnsEnv(const std::string& apnsEnv);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
|
||||
private:
|
||||
std::string extParameters_;
|
||||
std::string apnsEnv_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
51
push/include/alibabacloud/push/model/PushNoticeToiOSResult.h
Normal file
51
push/include/alibabacloud/push/model/PushNoticeToiOSResult.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_PUSH_MODEL_PUSHNOTICETOIOSRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToiOSResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PushNoticeToiOSResult();
|
||||
explicit PushNoticeToiOSResult(const std::string &payload);
|
||||
~PushNoticeToiOSResult();
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSRESULT_H_
|
||||
180
push/include/alibabacloud/push/model/PushRequest.h
Normal file
180
push/include/alibabacloud/push/model/PushRequest.h
Normal file
@@ -0,0 +1,180 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_PUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushRequest();
|
||||
~PushRequest();
|
||||
|
||||
int getAndroidNotificationBarType()const;
|
||||
void setAndroidNotificationBarType(int androidNotificationBarType);
|
||||
int getSmsSendPolicy()const;
|
||||
void setSmsSendPolicy(int smsSendPolicy);
|
||||
std::string getAndroidExtParameters()const;
|
||||
void setAndroidExtParameters(const std::string& androidExtParameters);
|
||||
int getIOSBadge()const;
|
||||
void setIOSBadge(int iOSBadge);
|
||||
bool getIOSBadgeAutoIncrement()const;
|
||||
void setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement);
|
||||
std::string getAndroidOpenType()const;
|
||||
void setAndroidOpenType(const std::string& androidOpenType);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getDeviceType()const;
|
||||
void setDeviceType(const std::string& deviceType);
|
||||
std::string getPushTime()const;
|
||||
void setPushTime(const std::string& pushTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getSmsDelaySecs()const;
|
||||
void setSmsDelaySecs(int smsDelaySecs);
|
||||
int getSendSpeed()const;
|
||||
void setSendSpeed(int sendSpeed);
|
||||
std::string getAndroidPopupActivity()const;
|
||||
void setAndroidPopupActivity(const std::string& androidPopupActivity);
|
||||
std::string getIOSRemindBody()const;
|
||||
void setIOSRemindBody(const std::string& iOSRemindBody);
|
||||
std::string getIOSExtParameters()const;
|
||||
void setIOSExtParameters(const std::string& iOSExtParameters);
|
||||
std::string getAndroidNotifyType()const;
|
||||
void setAndroidNotifyType(const std::string& androidNotifyType);
|
||||
std::string getAndroidPopupTitle()const;
|
||||
void setAndroidPopupTitle(const std::string& androidPopupTitle);
|
||||
std::string getIOSMusic()const;
|
||||
void setIOSMusic(const std::string& iOSMusic);
|
||||
std::string getIOSApnsEnv()const;
|
||||
void setIOSApnsEnv(const std::string& iOSApnsEnv);
|
||||
bool getIOSMutableContent()const;
|
||||
void setIOSMutableContent(bool iOSMutableContent);
|
||||
int getAndroidNotificationBarPriority()const;
|
||||
void setAndroidNotificationBarPriority(int androidNotificationBarPriority);
|
||||
std::string getExpireTime()const;
|
||||
void setExpireTime(const std::string& expireTime);
|
||||
std::string getSmsTemplateName()const;
|
||||
void setSmsTemplateName(const std::string& smsTemplateName);
|
||||
std::string getAndroidPopupBody()const;
|
||||
void setAndroidPopupBody(const std::string& androidPopupBody);
|
||||
std::string getIOSNotificationCategory()const;
|
||||
void setIOSNotificationCategory(const std::string& iOSNotificationCategory);
|
||||
bool getStoreOffline()const;
|
||||
void setStoreOffline(bool storeOffline);
|
||||
bool getIOSSilentNotification()const;
|
||||
void setIOSSilentNotification(bool iOSSilentNotification);
|
||||
std::string getSmsParams()const;
|
||||
void setSmsParams(const std::string& smsParams);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
std::string getAndroidOpenUrl()const;
|
||||
void setAndroidOpenUrl(const std::string& androidOpenUrl);
|
||||
std::string getAndroidNotificationChannel()const;
|
||||
void setAndroidNotificationChannel(const std::string& androidNotificationChannel);
|
||||
bool getAndroidRemind()const;
|
||||
void setAndroidRemind(bool androidRemind);
|
||||
std::string getAndroidActivity()const;
|
||||
void setAndroidActivity(const std::string& androidActivity);
|
||||
std::string getAndroidXiaoMiNotifyBody()const;
|
||||
void setAndroidXiaoMiNotifyBody(const std::string& androidXiaoMiNotifyBody);
|
||||
std::string getIOSSubtitle()const;
|
||||
void setIOSSubtitle(const std::string& iOSSubtitle);
|
||||
std::string getSmsSignName()const;
|
||||
void setSmsSignName(const std::string& smsSignName);
|
||||
bool getIOSRemind()const;
|
||||
void setIOSRemind(bool iOSRemind);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
std::string getAndroidMusic()const;
|
||||
void setAndroidMusic(const std::string& androidMusic);
|
||||
std::string getAndroidXiaoMiActivity()const;
|
||||
void setAndroidXiaoMiActivity(const std::string& androidXiaoMiActivity);
|
||||
std::string getAndroidXiaoMiNotifyTitle()const;
|
||||
void setAndroidXiaoMiNotifyTitle(const std::string& androidXiaoMiNotifyTitle);
|
||||
std::string getPushType()const;
|
||||
void setPushType(const std::string& pushType);
|
||||
|
||||
private:
|
||||
int androidNotificationBarType_;
|
||||
int smsSendPolicy_;
|
||||
std::string androidExtParameters_;
|
||||
int iOSBadge_;
|
||||
bool iOSBadgeAutoIncrement_;
|
||||
std::string androidOpenType_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string deviceType_;
|
||||
std::string pushTime_;
|
||||
std::string accessKeyId_;
|
||||
int smsDelaySecs_;
|
||||
int sendSpeed_;
|
||||
std::string androidPopupActivity_;
|
||||
std::string iOSRemindBody_;
|
||||
std::string iOSExtParameters_;
|
||||
std::string androidNotifyType_;
|
||||
std::string androidPopupTitle_;
|
||||
std::string iOSMusic_;
|
||||
std::string iOSApnsEnv_;
|
||||
bool iOSMutableContent_;
|
||||
int androidNotificationBarPriority_;
|
||||
std::string expireTime_;
|
||||
std::string smsTemplateName_;
|
||||
std::string androidPopupBody_;
|
||||
std::string iOSNotificationCategory_;
|
||||
bool storeOffline_;
|
||||
bool iOSSilentNotification_;
|
||||
std::string smsParams_;
|
||||
std::string jobKey_;
|
||||
std::string target_;
|
||||
std::string androidOpenUrl_;
|
||||
std::string androidNotificationChannel_;
|
||||
bool androidRemind_;
|
||||
std::string androidActivity_;
|
||||
std::string androidXiaoMiNotifyBody_;
|
||||
std::string iOSSubtitle_;
|
||||
std::string smsSignName_;
|
||||
bool iOSRemind_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string androidMusic_;
|
||||
std::string androidXiaoMiActivity_;
|
||||
std::string androidXiaoMiNotifyTitle_;
|
||||
std::string pushType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
51
push/include/alibabacloud/push/model/PushResult.h
Normal file
51
push/include/alibabacloud/push/model/PushResult.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_PUSH_MODEL_PUSHRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PushResult();
|
||||
explicit PushResult(const std::string &payload);
|
||||
~PushResult();
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHRESULT_H_
|
||||
54
push/include/alibabacloud/push/model/QueryAliasesRequest.h
Normal file
54
push/include/alibabacloud/push/model/QueryAliasesRequest.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_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryAliasesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryAliasesRequest();
|
||||
~QueryAliasesRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
55
push/include/alibabacloud/push/model/QueryAliasesResult.h
Normal file
55
push/include/alibabacloud/push/model/QueryAliasesResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYALIASESRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYALIASESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryAliasesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AliasInfo
|
||||
{
|
||||
std::string aliasName;
|
||||
};
|
||||
|
||||
|
||||
QueryAliasesResult();
|
||||
explicit QueryAliasesResult(const std::string &payload);
|
||||
~QueryAliasesResult();
|
||||
std::vector<AliasInfo> getAliasInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AliasInfo> aliasInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYALIASESRESULT_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_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDeviceInfoRequest();
|
||||
~QueryDeviceInfoRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
64
push/include/alibabacloud/push/model/QueryDeviceInfoResult.h
Normal file
64
push/include/alibabacloud/push/model/QueryDeviceInfoResult.h
Normal file
@@ -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_PUSH_MODEL_QUERYDEVICEINFORESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeviceInfo
|
||||
{
|
||||
std::string lastOnlineTime;
|
||||
std::string deviceType;
|
||||
std::string account;
|
||||
std::string deviceId;
|
||||
std::string deviceToken;
|
||||
std::string alias;
|
||||
std::string phoneNumber;
|
||||
bool online;
|
||||
std::string tags;
|
||||
bool pushEnabled;
|
||||
};
|
||||
|
||||
|
||||
QueryDeviceInfoResult();
|
||||
explicit QueryDeviceInfoResult(const std::string &payload);
|
||||
~QueryDeviceInfoResult();
|
||||
DeviceInfo getDeviceInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DeviceInfo deviceInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFORESULT_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_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceStatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDeviceStatRequest();
|
||||
~QueryDeviceStatRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDeviceType()const;
|
||||
void setDeviceType(const std::string& deviceType);
|
||||
std::string getQueryType()const;
|
||||
void setQueryType(const std::string& queryType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
long appKey_;
|
||||
std::string startTime_;
|
||||
std::string deviceType_;
|
||||
std::string queryType_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
57
push/include/alibabacloud/push/model/QueryDeviceStatResult.h
Normal file
57
push/include/alibabacloud/push/model/QueryDeviceStatResult.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_PUSH_MODEL_QUERYDEVICESTATRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceStatResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AppDeviceStat
|
||||
{
|
||||
std::string deviceType;
|
||||
std::string time;
|
||||
long count;
|
||||
};
|
||||
|
||||
|
||||
QueryDeviceStatResult();
|
||||
explicit QueryDeviceStatResult(const std::string &payload);
|
||||
~QueryDeviceStatResult();
|
||||
std::vector<AppDeviceStat> getAppDeviceStats()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AppDeviceStat> appDeviceStats_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATRESULT_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_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDevicesByAccountRequest();
|
||||
~QueryDevicesByAccountRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccount()const;
|
||||
void setAccount(const std::string& account);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string account_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_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_PUSH_MODEL_QUERYDEVICESBYACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryDevicesByAccountResult();
|
||||
explicit QueryDevicesByAccountResult(const std::string &payload);
|
||||
~QueryDevicesByAccountResult();
|
||||
std::vector<std::string> getDeviceIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> deviceIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTRESULT_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_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDevicesByAliasRequest();
|
||||
~QueryDevicesByAliasRequest();
|
||||
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string alias_;
|
||||
long appKey_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_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_PUSH_MODEL_QUERYDEVICESBYALIASRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryDevicesByAliasResult();
|
||||
explicit QueryDevicesByAliasResult(const std::string &payload);
|
||||
~QueryDevicesByAliasResult();
|
||||
std::vector<std::string> getDeviceIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> deviceIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASRESULT_H_
|
||||
66
push/include/alibabacloud/push/model/QueryPushListRequest.h
Normal file
66
push/include/alibabacloud/push/model/QueryPushListRequest.h
Normal file
@@ -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_PUSH_MODEL_QUERYPUSHLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPushListRequest();
|
||||
~QueryPushListRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPage()const;
|
||||
void setPage(int page);
|
||||
std::string getPushType()const;
|
||||
void setPushType(const std::string& pushType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string endTime_;
|
||||
long appKey_;
|
||||
std::string startTime_;
|
||||
int page_;
|
||||
std::string pushType_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHLISTREQUEST_H_
|
||||
68
push/include/alibabacloud/push/model/QueryPushListResult.h
Normal file
68
push/include/alibabacloud/push/model/QueryPushListResult.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYPUSHLISTRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PushMessageInfo
|
||||
{
|
||||
std::string deviceType;
|
||||
std::string type;
|
||||
std::string pushTime;
|
||||
long appKey;
|
||||
std::string title;
|
||||
std::string body;
|
||||
std::string appName;
|
||||
std::string messageId;
|
||||
};
|
||||
|
||||
|
||||
QueryPushListResult();
|
||||
explicit QueryPushListResult(const std::string &payload);
|
||||
~QueryPushListResult();
|
||||
int getPageSize()const;
|
||||
int getPage()const;
|
||||
std::vector<PushMessageInfo> getPushMessageInfos()const;
|
||||
bool getHasNext()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int page_;
|
||||
std::vector<PushMessageInfo> pushMessageInfos_;
|
||||
bool hasNext_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHLISTRESULT_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_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByAppRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPushStatByAppRequest();
|
||||
~QueryPushStatByAppRequest();
|
||||
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string granularity_;
|
||||
std::string endTime_;
|
||||
long appKey_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_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_PUSH_MODEL_QUERYPUSHSTATBYAPPRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AppPushStat
|
||||
{
|
||||
long acceptCount;
|
||||
long openedCount;
|
||||
long smsSkipCount;
|
||||
long smsFailedCount;
|
||||
long smsReceiveFailedCount;
|
||||
std::string time;
|
||||
long deletedCount;
|
||||
long smsReceiveSuccessCount;
|
||||
long sentCount;
|
||||
long receivedCount;
|
||||
long smsSentCount;
|
||||
};
|
||||
|
||||
|
||||
QueryPushStatByAppResult();
|
||||
explicit QueryPushStatByAppResult(const std::string &payload);
|
||||
~QueryPushStatByAppResult();
|
||||
std::vector<AppPushStat> getAppPushStats()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AppPushStat> appPushStats_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPRESULT_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_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByMsgRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPushStatByMsgRequest();
|
||||
~QueryPushStatByMsgRequest();
|
||||
|
||||
long getMessageId()const;
|
||||
void setMessageId(long messageId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long messageId_;
|
||||
long appKey_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_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_PUSH_MODEL_QUERYPUSHSTATBYMSGRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByMsgResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PushStat
|
||||
{
|
||||
long acceptCount;
|
||||
long openedCount;
|
||||
long smsSkipCount;
|
||||
long smsFailedCount;
|
||||
long smsReceiveFailedCount;
|
||||
long deletedCount;
|
||||
long smsReceiveSuccessCount;
|
||||
long sentCount;
|
||||
long receivedCount;
|
||||
std::string messageId;
|
||||
long smsSentCount;
|
||||
};
|
||||
|
||||
|
||||
QueryPushStatByMsgResult();
|
||||
explicit QueryPushStatByMsgResult(const std::string &payload);
|
||||
~QueryPushStatByMsgResult();
|
||||
std::vector<PushStat> getPushStats()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PushStat> pushStats_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGRESULT_H_
|
||||
57
push/include/alibabacloud/push/model/QueryTagsRequest.h
Normal file
57
push/include/alibabacloud/push/model/QueryTagsRequest.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_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryTagsRequest();
|
||||
~QueryTagsRequest();
|
||||
|
||||
std::string getClientKey()const;
|
||||
void setClientKey(const std::string& clientKey);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getKeyType()const;
|
||||
void setKeyType(const std::string& keyType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
55
push/include/alibabacloud/push/model/QueryTagsResult.h
Normal file
55
push/include/alibabacloud/push/model/QueryTagsResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYTAGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagInfo
|
||||
{
|
||||
std::string tagName;
|
||||
};
|
||||
|
||||
|
||||
QueryTagsResult();
|
||||
explicit QueryTagsResult(const std::string &payload);
|
||||
~QueryTagsResult();
|
||||
std::vector<TagInfo> getTagInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TagInfo> tagInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYTAGSRESULT_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_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryUniqueDeviceStatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUniqueDeviceStatRequest();
|
||||
~QueryUniqueDeviceStatRequest();
|
||||
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string granularity_;
|
||||
std::string endTime_;
|
||||
long appKey_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYUNIQUEDEVICESTATRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryUniqueDeviceStatResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AppDeviceStat
|
||||
{
|
||||
std::string time;
|
||||
long count;
|
||||
};
|
||||
|
||||
|
||||
QueryUniqueDeviceStatResult();
|
||||
explicit QueryUniqueDeviceStatResult(const std::string &payload);
|
||||
~QueryUniqueDeviceStatResult();
|
||||
std::vector<AppDeviceStat> getAppDeviceStats()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AppDeviceStat> appDeviceStats_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATRESULT_H_
|
||||
54
push/include/alibabacloud/push/model/RemoveTagRequest.h
Normal file
54
push/include/alibabacloud/push/model/RemoveTagRequest.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_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT RemoveTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveTagRequest();
|
||||
~RemoveTagRequest();
|
||||
|
||||
std::string getTagName()const;
|
||||
void setTagName(const std::string& tagName);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string tagName_;
|
||||
long appKey_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/RemoveTagResult.h
Normal file
49
push/include/alibabacloud/push/model/RemoveTagResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_REMOVETAGRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_REMOVETAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT RemoveTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveTagResult();
|
||||
explicit RemoveTagResult(const std::string &payload);
|
||||
~RemoveTagResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_REMOVETAGRESULT_H_
|
||||
60
push/include/alibabacloud/push/model/UnbindAliasRequest.h
Normal file
60
push/include/alibabacloud/push/model/UnbindAliasRequest.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_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindAliasRequest();
|
||||
~UnbindAliasRequest();
|
||||
|
||||
std::string getAliasName()const;
|
||||
void setAliasName(const std::string& aliasName);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getUnbindAll()const;
|
||||
void setUnbindAll(bool unbindAll);
|
||||
|
||||
private:
|
||||
std::string aliasName_;
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
bool unbindAll_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/UnbindAliasResult.h
Normal file
49
push/include/alibabacloud/push/model/UnbindAliasResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_UNBINDALIASRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDALIASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindAliasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindAliasResult();
|
||||
explicit UnbindAliasResult(const std::string &payload);
|
||||
~UnbindAliasResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDALIASRESULT_H_
|
||||
54
push/include/alibabacloud/push/model/UnbindPhoneRequest.h
Normal file
54
push/include/alibabacloud/push/model/UnbindPhoneRequest.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_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindPhoneRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindPhoneRequest();
|
||||
~UnbindPhoneRequest();
|
||||
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long appKey_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/UnbindPhoneResult.h
Normal file
49
push/include/alibabacloud/push/model/UnbindPhoneResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_UNBINDPHONERESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDPHONERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindPhoneResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindPhoneResult();
|
||||
explicit UnbindPhoneResult(const std::string &payload);
|
||||
~UnbindPhoneResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDPHONERESULT_H_
|
||||
60
push/include/alibabacloud/push/model/UnbindTagRequest.h
Normal file
60
push/include/alibabacloud/push/model/UnbindTagRequest.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_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindTagRequest();
|
||||
~UnbindTagRequest();
|
||||
|
||||
std::string getTagName()const;
|
||||
void setTagName(const std::string& tagName);
|
||||
std::string getClientKey()const;
|
||||
void setClientKey(const std::string& clientKey);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getKeyType()const;
|
||||
void setKeyType(const std::string& keyType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string tagName_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
49
push/include/alibabacloud/push/model/UnbindTagResult.h
Normal file
49
push/include/alibabacloud/push/model/UnbindTagResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_UNBINDTAGRESULT_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindTagResult();
|
||||
explicit UnbindTagResult(const std::string &payload);
|
||||
~UnbindTagResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDTAGRESULT_H_
|
||||
Reference in New Issue
Block a user