Add DeviceCenter API, including CreateDeviceDynamicGroup, DeleteDeviceDynamicGroup, QueryDynamicGroupDevices.

This commit is contained in:
sdk-team
2021-10-20 13:11:16 +00:00
parent f73358f7e8
commit c132dd86ae
75 changed files with 3757 additions and 1 deletions

View File

@@ -22,6 +22,10 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "IotExport.h"
#include "model/AddDataForApiSourceRequest.h"
#include "model/AddDataForApiSourceResult.h"
#include "model/BatchAddDataForApiSourceRequest.h"
#include "model/BatchAddDataForApiSourceResult.h"
#include "model/BatchAddDeviceGroupRelationsRequest.h"
#include "model/BatchAddDeviceGroupRelationsResult.h"
#include "model/BatchAddThingTopoRequest.h"
@@ -98,6 +102,8 @@
#include "model/CancelReleaseProductResult.h"
#include "model/ClearEdgeInstanceDriverConfigsRequest.h"
#include "model/ClearEdgeInstanceDriverConfigsResult.h"
#include "model/CloseDeviceTunnelRequest.h"
#include "model/CloseDeviceTunnelResult.h"
#include "model/CloseEdgeInstanceDeploymentRequest.h"
#include "model/CloseEdgeInstanceDeploymentResult.h"
#include "model/ConfirmOTATaskRequest.h"
@@ -112,8 +118,12 @@
#include "model/CreateDataAPIServiceResult.h"
#include "model/CreateDeviceDistributeJobRequest.h"
#include "model/CreateDeviceDistributeJobResult.h"
#include "model/CreateDeviceDynamicGroupRequest.h"
#include "model/CreateDeviceDynamicGroupResult.h"
#include "model/CreateDeviceGroupRequest.h"
#include "model/CreateDeviceGroupResult.h"
#include "model/CreateDeviceTunnelRequest.h"
#include "model/CreateDeviceTunnelResult.h"
#include "model/CreateEdgeDriverRequest.h"
#include "model/CreateEdgeDriverResult.h"
#include "model/CreateEdgeDriverVersionRequest.h"
@@ -180,6 +190,8 @@
#include "model/DeleteDeviceResult.h"
#include "model/DeleteDeviceDistributeJobRequest.h"
#include "model/DeleteDeviceDistributeJobResult.h"
#include "model/DeleteDeviceDynamicGroupRequest.h"
#include "model/DeleteDeviceDynamicGroupResult.h"
#include "model/DeleteDeviceFileRequest.h"
#include "model/DeleteDeviceFileResult.h"
#include "model/DeleteDeviceGroupRequest.h"
@@ -188,6 +200,8 @@
#include "model/DeleteDevicePropResult.h"
#include "model/DeleteDeviceSpeechRequest.h"
#include "model/DeleteDeviceSpeechResult.h"
#include "model/DeleteDeviceTunnelRequest.h"
#include "model/DeleteDeviceTunnelResult.h"
#include "model/DeleteEdgeDriverRequest.h"
#include "model/DeleteEdgeDriverResult.h"
#include "model/DeleteEdgeDriverVersionRequest.h"
@@ -332,6 +346,8 @@
#include "model/ListRuleResult.h"
#include "model/ListRuleActionsRequest.h"
#include "model/ListRuleActionsResult.h"
#include "model/ListSourceReplicaRequest.h"
#include "model/ListSourceReplicaResult.h"
#include "model/ListTaskRequest.h"
#include "model/ListTaskResult.h"
#include "model/ListTaskByPageRequest.h"
@@ -432,6 +448,10 @@
#include "model/QueryDeviceSpeechResult.h"
#include "model/QueryDeviceStatisticsRequest.h"
#include "model/QueryDeviceStatisticsResult.h"
#include "model/QueryDeviceTunnelRequest.h"
#include "model/QueryDeviceTunnelResult.h"
#include "model/QueryDynamicGroupDevicesRequest.h"
#include "model/QueryDynamicGroupDevicesResult.h"
#include "model/QueryEdgeDriverRequest.h"
#include "model/QueryEdgeDriverResult.h"
#include "model/QueryEdgeDriverVersionRequest.h"
@@ -635,6 +655,12 @@ namespace AlibabaCloud
class ALIBABACLOUD_IOT_EXPORT IotClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddDataForApiSourceResult> AddDataForApiSourceOutcome;
typedef std::future<AddDataForApiSourceOutcome> AddDataForApiSourceOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::AddDataForApiSourceRequest&, const AddDataForApiSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDataForApiSourceAsyncHandler;
typedef Outcome<Error, Model::BatchAddDataForApiSourceResult> BatchAddDataForApiSourceOutcome;
typedef std::future<BatchAddDataForApiSourceOutcome> BatchAddDataForApiSourceOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::BatchAddDataForApiSourceRequest&, const BatchAddDataForApiSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAddDataForApiSourceAsyncHandler;
typedef Outcome<Error, Model::BatchAddDeviceGroupRelationsResult> BatchAddDeviceGroupRelationsOutcome;
typedef std::future<BatchAddDeviceGroupRelationsOutcome> BatchAddDeviceGroupRelationsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::BatchAddDeviceGroupRelationsRequest&, const BatchAddDeviceGroupRelationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAddDeviceGroupRelationsAsyncHandler;
@@ -749,6 +775,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ClearEdgeInstanceDriverConfigsResult> ClearEdgeInstanceDriverConfigsOutcome;
typedef std::future<ClearEdgeInstanceDriverConfigsOutcome> ClearEdgeInstanceDriverConfigsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::ClearEdgeInstanceDriverConfigsRequest&, const ClearEdgeInstanceDriverConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearEdgeInstanceDriverConfigsAsyncHandler;
typedef Outcome<Error, Model::CloseDeviceTunnelResult> CloseDeviceTunnelOutcome;
typedef std::future<CloseDeviceTunnelOutcome> CloseDeviceTunnelOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CloseDeviceTunnelRequest&, const CloseDeviceTunnelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseDeviceTunnelAsyncHandler;
typedef Outcome<Error, Model::CloseEdgeInstanceDeploymentResult> CloseEdgeInstanceDeploymentOutcome;
typedef std::future<CloseEdgeInstanceDeploymentOutcome> CloseEdgeInstanceDeploymentOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CloseEdgeInstanceDeploymentRequest&, const CloseEdgeInstanceDeploymentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseEdgeInstanceDeploymentAsyncHandler;
@@ -770,9 +799,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDeviceDistributeJobResult> CreateDeviceDistributeJobOutcome;
typedef std::future<CreateDeviceDistributeJobOutcome> CreateDeviceDistributeJobOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CreateDeviceDistributeJobRequest&, const CreateDeviceDistributeJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceDistributeJobAsyncHandler;
typedef Outcome<Error, Model::CreateDeviceDynamicGroupResult> CreateDeviceDynamicGroupOutcome;
typedef std::future<CreateDeviceDynamicGroupOutcome> CreateDeviceDynamicGroupOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CreateDeviceDynamicGroupRequest&, const CreateDeviceDynamicGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceDynamicGroupAsyncHandler;
typedef Outcome<Error, Model::CreateDeviceGroupResult> CreateDeviceGroupOutcome;
typedef std::future<CreateDeviceGroupOutcome> CreateDeviceGroupOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CreateDeviceGroupRequest&, const CreateDeviceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceGroupAsyncHandler;
typedef Outcome<Error, Model::CreateDeviceTunnelResult> CreateDeviceTunnelOutcome;
typedef std::future<CreateDeviceTunnelOutcome> CreateDeviceTunnelOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CreateDeviceTunnelRequest&, const CreateDeviceTunnelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceTunnelAsyncHandler;
typedef Outcome<Error, Model::CreateEdgeDriverResult> CreateEdgeDriverOutcome;
typedef std::future<CreateEdgeDriverOutcome> CreateEdgeDriverOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CreateEdgeDriverRequest&, const CreateEdgeDriverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEdgeDriverAsyncHandler;
@@ -872,6 +907,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDeviceDistributeJobResult> DeleteDeviceDistributeJobOutcome;
typedef std::future<DeleteDeviceDistributeJobOutcome> DeleteDeviceDistributeJobOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDeviceDistributeJobRequest&, const DeleteDeviceDistributeJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceDistributeJobAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceDynamicGroupResult> DeleteDeviceDynamicGroupOutcome;
typedef std::future<DeleteDeviceDynamicGroupOutcome> DeleteDeviceDynamicGroupOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDeviceDynamicGroupRequest&, const DeleteDeviceDynamicGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceDynamicGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceFileResult> DeleteDeviceFileOutcome;
typedef std::future<DeleteDeviceFileOutcome> DeleteDeviceFileOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDeviceFileRequest&, const DeleteDeviceFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceFileAsyncHandler;
@@ -884,6 +922,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDeviceSpeechResult> DeleteDeviceSpeechOutcome;
typedef std::future<DeleteDeviceSpeechOutcome> DeleteDeviceSpeechOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDeviceSpeechRequest&, const DeleteDeviceSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceSpeechAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceTunnelResult> DeleteDeviceTunnelOutcome;
typedef std::future<DeleteDeviceTunnelOutcome> DeleteDeviceTunnelOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDeviceTunnelRequest&, const DeleteDeviceTunnelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceTunnelAsyncHandler;
typedef Outcome<Error, Model::DeleteEdgeDriverResult> DeleteEdgeDriverOutcome;
typedef std::future<DeleteEdgeDriverOutcome> DeleteEdgeDriverOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteEdgeDriverRequest&, const DeleteEdgeDriverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEdgeDriverAsyncHandler;
@@ -1100,6 +1141,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListRuleActionsResult> ListRuleActionsOutcome;
typedef std::future<ListRuleActionsOutcome> ListRuleActionsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::ListRuleActionsRequest&, const ListRuleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRuleActionsAsyncHandler;
typedef Outcome<Error, Model::ListSourceReplicaResult> ListSourceReplicaOutcome;
typedef std::future<ListSourceReplicaOutcome> ListSourceReplicaOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::ListSourceReplicaRequest&, const ListSourceReplicaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSourceReplicaAsyncHandler;
typedef Outcome<Error, Model::ListTaskResult> ListTaskOutcome;
typedef std::future<ListTaskOutcome> ListTaskOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::ListTaskRequest&, const ListTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTaskAsyncHandler;
@@ -1250,6 +1294,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryDeviceStatisticsResult> QueryDeviceStatisticsOutcome;
typedef std::future<QueryDeviceStatisticsOutcome> QueryDeviceStatisticsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryDeviceStatisticsRequest&, const QueryDeviceStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceStatisticsAsyncHandler;
typedef Outcome<Error, Model::QueryDeviceTunnelResult> QueryDeviceTunnelOutcome;
typedef std::future<QueryDeviceTunnelOutcome> QueryDeviceTunnelOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryDeviceTunnelRequest&, const QueryDeviceTunnelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceTunnelAsyncHandler;
typedef Outcome<Error, Model::QueryDynamicGroupDevicesResult> QueryDynamicGroupDevicesOutcome;
typedef std::future<QueryDynamicGroupDevicesOutcome> QueryDynamicGroupDevicesOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryDynamicGroupDevicesRequest&, const QueryDynamicGroupDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDynamicGroupDevicesAsyncHandler;
typedef Outcome<Error, Model::QueryEdgeDriverResult> QueryEdgeDriverOutcome;
typedef std::future<QueryEdgeDriverOutcome> QueryEdgeDriverOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryEdgeDriverRequest&, const QueryEdgeDriverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEdgeDriverAsyncHandler;
@@ -1546,6 +1596,12 @@ namespace AlibabaCloud
IotClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
IotClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~IotClient();
AddDataForApiSourceOutcome addDataForApiSource(const Model::AddDataForApiSourceRequest &request)const;
void addDataForApiSourceAsync(const Model::AddDataForApiSourceRequest& request, const AddDataForApiSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDataForApiSourceOutcomeCallable addDataForApiSourceCallable(const Model::AddDataForApiSourceRequest& request) const;
BatchAddDataForApiSourceOutcome batchAddDataForApiSource(const Model::BatchAddDataForApiSourceRequest &request)const;
void batchAddDataForApiSourceAsync(const Model::BatchAddDataForApiSourceRequest& request, const BatchAddDataForApiSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchAddDataForApiSourceOutcomeCallable batchAddDataForApiSourceCallable(const Model::BatchAddDataForApiSourceRequest& request) const;
BatchAddDeviceGroupRelationsOutcome batchAddDeviceGroupRelations(const Model::BatchAddDeviceGroupRelationsRequest &request)const;
void batchAddDeviceGroupRelationsAsync(const Model::BatchAddDeviceGroupRelationsRequest& request, const BatchAddDeviceGroupRelationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchAddDeviceGroupRelationsOutcomeCallable batchAddDeviceGroupRelationsCallable(const Model::BatchAddDeviceGroupRelationsRequest& request) const;
@@ -1660,6 +1716,9 @@ namespace AlibabaCloud
ClearEdgeInstanceDriverConfigsOutcome clearEdgeInstanceDriverConfigs(const Model::ClearEdgeInstanceDriverConfigsRequest &request)const;
void clearEdgeInstanceDriverConfigsAsync(const Model::ClearEdgeInstanceDriverConfigsRequest& request, const ClearEdgeInstanceDriverConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ClearEdgeInstanceDriverConfigsOutcomeCallable clearEdgeInstanceDriverConfigsCallable(const Model::ClearEdgeInstanceDriverConfigsRequest& request) const;
CloseDeviceTunnelOutcome closeDeviceTunnel(const Model::CloseDeviceTunnelRequest &request)const;
void closeDeviceTunnelAsync(const Model::CloseDeviceTunnelRequest& request, const CloseDeviceTunnelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseDeviceTunnelOutcomeCallable closeDeviceTunnelCallable(const Model::CloseDeviceTunnelRequest& request) const;
CloseEdgeInstanceDeploymentOutcome closeEdgeInstanceDeployment(const Model::CloseEdgeInstanceDeploymentRequest &request)const;
void closeEdgeInstanceDeploymentAsync(const Model::CloseEdgeInstanceDeploymentRequest& request, const CloseEdgeInstanceDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseEdgeInstanceDeploymentOutcomeCallable closeEdgeInstanceDeploymentCallable(const Model::CloseEdgeInstanceDeploymentRequest& request) const;
@@ -1681,9 +1740,15 @@ namespace AlibabaCloud
CreateDeviceDistributeJobOutcome createDeviceDistributeJob(const Model::CreateDeviceDistributeJobRequest &request)const;
void createDeviceDistributeJobAsync(const Model::CreateDeviceDistributeJobRequest& request, const CreateDeviceDistributeJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceDistributeJobOutcomeCallable createDeviceDistributeJobCallable(const Model::CreateDeviceDistributeJobRequest& request) const;
CreateDeviceDynamicGroupOutcome createDeviceDynamicGroup(const Model::CreateDeviceDynamicGroupRequest &request)const;
void createDeviceDynamicGroupAsync(const Model::CreateDeviceDynamicGroupRequest& request, const CreateDeviceDynamicGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceDynamicGroupOutcomeCallable createDeviceDynamicGroupCallable(const Model::CreateDeviceDynamicGroupRequest& request) const;
CreateDeviceGroupOutcome createDeviceGroup(const Model::CreateDeviceGroupRequest &request)const;
void createDeviceGroupAsync(const Model::CreateDeviceGroupRequest& request, const CreateDeviceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceGroupOutcomeCallable createDeviceGroupCallable(const Model::CreateDeviceGroupRequest& request) const;
CreateDeviceTunnelOutcome createDeviceTunnel(const Model::CreateDeviceTunnelRequest &request)const;
void createDeviceTunnelAsync(const Model::CreateDeviceTunnelRequest& request, const CreateDeviceTunnelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceTunnelOutcomeCallable createDeviceTunnelCallable(const Model::CreateDeviceTunnelRequest& request) const;
CreateEdgeDriverOutcome createEdgeDriver(const Model::CreateEdgeDriverRequest &request)const;
void createEdgeDriverAsync(const Model::CreateEdgeDriverRequest& request, const CreateEdgeDriverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEdgeDriverOutcomeCallable createEdgeDriverCallable(const Model::CreateEdgeDriverRequest& request) const;
@@ -1783,6 +1848,9 @@ namespace AlibabaCloud
DeleteDeviceDistributeJobOutcome deleteDeviceDistributeJob(const Model::DeleteDeviceDistributeJobRequest &request)const;
void deleteDeviceDistributeJobAsync(const Model::DeleteDeviceDistributeJobRequest& request, const DeleteDeviceDistributeJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceDistributeJobOutcomeCallable deleteDeviceDistributeJobCallable(const Model::DeleteDeviceDistributeJobRequest& request) const;
DeleteDeviceDynamicGroupOutcome deleteDeviceDynamicGroup(const Model::DeleteDeviceDynamicGroupRequest &request)const;
void deleteDeviceDynamicGroupAsync(const Model::DeleteDeviceDynamicGroupRequest& request, const DeleteDeviceDynamicGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceDynamicGroupOutcomeCallable deleteDeviceDynamicGroupCallable(const Model::DeleteDeviceDynamicGroupRequest& request) const;
DeleteDeviceFileOutcome deleteDeviceFile(const Model::DeleteDeviceFileRequest &request)const;
void deleteDeviceFileAsync(const Model::DeleteDeviceFileRequest& request, const DeleteDeviceFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceFileOutcomeCallable deleteDeviceFileCallable(const Model::DeleteDeviceFileRequest& request) const;
@@ -1795,6 +1863,9 @@ namespace AlibabaCloud
DeleteDeviceSpeechOutcome deleteDeviceSpeech(const Model::DeleteDeviceSpeechRequest &request)const;
void deleteDeviceSpeechAsync(const Model::DeleteDeviceSpeechRequest& request, const DeleteDeviceSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceSpeechOutcomeCallable deleteDeviceSpeechCallable(const Model::DeleteDeviceSpeechRequest& request) const;
DeleteDeviceTunnelOutcome deleteDeviceTunnel(const Model::DeleteDeviceTunnelRequest &request)const;
void deleteDeviceTunnelAsync(const Model::DeleteDeviceTunnelRequest& request, const DeleteDeviceTunnelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceTunnelOutcomeCallable deleteDeviceTunnelCallable(const Model::DeleteDeviceTunnelRequest& request) const;
DeleteEdgeDriverOutcome deleteEdgeDriver(const Model::DeleteEdgeDriverRequest &request)const;
void deleteEdgeDriverAsync(const Model::DeleteEdgeDriverRequest& request, const DeleteEdgeDriverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEdgeDriverOutcomeCallable deleteEdgeDriverCallable(const Model::DeleteEdgeDriverRequest& request) const;
@@ -2011,6 +2082,9 @@ namespace AlibabaCloud
ListRuleActionsOutcome listRuleActions(const Model::ListRuleActionsRequest &request)const;
void listRuleActionsAsync(const Model::ListRuleActionsRequest& request, const ListRuleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRuleActionsOutcomeCallable listRuleActionsCallable(const Model::ListRuleActionsRequest& request) const;
ListSourceReplicaOutcome listSourceReplica(const Model::ListSourceReplicaRequest &request)const;
void listSourceReplicaAsync(const Model::ListSourceReplicaRequest& request, const ListSourceReplicaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSourceReplicaOutcomeCallable listSourceReplicaCallable(const Model::ListSourceReplicaRequest& request) const;
ListTaskOutcome listTask(const Model::ListTaskRequest &request)const;
void listTaskAsync(const Model::ListTaskRequest& request, const ListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTaskOutcomeCallable listTaskCallable(const Model::ListTaskRequest& request) const;
@@ -2161,6 +2235,12 @@ namespace AlibabaCloud
QueryDeviceStatisticsOutcome queryDeviceStatistics(const Model::QueryDeviceStatisticsRequest &request)const;
void queryDeviceStatisticsAsync(const Model::QueryDeviceStatisticsRequest& request, const QueryDeviceStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDeviceStatisticsOutcomeCallable queryDeviceStatisticsCallable(const Model::QueryDeviceStatisticsRequest& request) const;
QueryDeviceTunnelOutcome queryDeviceTunnel(const Model::QueryDeviceTunnelRequest &request)const;
void queryDeviceTunnelAsync(const Model::QueryDeviceTunnelRequest& request, const QueryDeviceTunnelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDeviceTunnelOutcomeCallable queryDeviceTunnelCallable(const Model::QueryDeviceTunnelRequest& request) const;
QueryDynamicGroupDevicesOutcome queryDynamicGroupDevices(const Model::QueryDynamicGroupDevicesRequest &request)const;
void queryDynamicGroupDevicesAsync(const Model::QueryDynamicGroupDevicesRequest& request, const QueryDynamicGroupDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDynamicGroupDevicesOutcomeCallable queryDynamicGroupDevicesCallable(const Model::QueryDynamicGroupDevicesRequest& request) const;
QueryEdgeDriverOutcome queryEdgeDriver(const Model::QueryEdgeDriverRequest &request)const;
void queryEdgeDriverAsync(const Model::QueryEdgeDriverRequest& request, const QueryEdgeDriverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryEdgeDriverOutcomeCallable queryEdgeDriverCallable(const Model::QueryEdgeDriverRequest& request) const;

View 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_IOT_MODEL_ADDDATAFORAPISOURCEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_ADDDATAFORAPISOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT AddDataForApiSourceRequest : public RpcServiceRequest
{
public:
AddDataForApiSourceRequest();
~AddDataForApiSourceRequest();
std::string getContent()const;
void setContent(const std::string& content);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getApiId()const;
void setApiId(const std::string& apiId);
private:
std::string content_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
std::string apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_ADDDATAFORAPISOURCEREQUEST_H_

View 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_IOT_MODEL_ADDDATAFORAPISOURCERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_ADDDATAFORAPISOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT AddDataForApiSourceResult : public ServiceResult
{
public:
AddDataForApiSourceResult();
explicit AddDataForApiSourceResult(const std::string &payload);
~AddDataForApiSourceResult();
long getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_ADDDATAFORAPISOURCERESULT_H_

View 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_IOT_MODEL_BATCHADDDATAFORAPISOURCEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_BATCHADDDATAFORAPISOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT BatchAddDataForApiSourceRequest : public RpcServiceRequest
{
public:
BatchAddDataForApiSourceRequest();
~BatchAddDataForApiSourceRequest();
std::string getContentList()const;
void setContentList(const std::string& contentList);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getApiId()const;
void setApiId(const std::string& apiId);
private:
std::string contentList_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
std::string apiId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_BATCHADDDATAFORAPISOURCEREQUEST_H_

View 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_IOT_MODEL_BATCHADDDATAFORAPISOURCERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_BATCHADDDATAFORAPISOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT BatchAddDataForApiSourceResult : public ServiceResult
{
public:
BatchAddDataForApiSourceResult();
explicit BatchAddDataForApiSourceResult(const std::string &payload);
~BatchAddDataForApiSourceResult();
std::string getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_BATCHADDDATAFORAPISOURCERESULT_H_

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
long gmtCreateTimestamp;
std::string driverName;
long gmtModifiedTimestamp;
int useOfficialConfig;
std::string cpuArch;
bool isBuiltIn;
};

View 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_IOT_MODEL_CLOSEDEVICETUNNELREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_CLOSEDEVICETUNNELREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT CloseDeviceTunnelRequest : public RpcServiceRequest
{
public:
CloseDeviceTunnelRequest();
~CloseDeviceTunnelRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getTunnelId()const;
void setTunnelId(const std::string& tunnelId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotInstanceId_;
std::string tunnelId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CLOSEDEVICETUNNELREQUEST_H_

View 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_IOT_MODEL_CLOSEDEVICETUNNELRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_CLOSEDEVICETUNNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT CloseDeviceTunnelResult : public ServiceResult
{
public:
CloseDeviceTunnelResult();
explicit CloseDeviceTunnelResult(const std::string &payload);
~CloseDeviceTunnelResult();
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CLOSEDEVICETUNNELRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDYNAMICGROUPREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDYNAMICGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT CreateDeviceDynamicGroupRequest : public RpcServiceRequest
{
public:
CreateDeviceDynamicGroupRequest();
~CreateDeviceDynamicGroupRequest();
std::string getDynamicGroupExpression()const;
void setDynamicGroupExpression(const std::string& dynamicGroupExpression);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getGroupDesc()const;
void setGroupDesc(const std::string& groupDesc);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string dynamicGroupExpression_;
std::string iotInstanceId_;
std::string groupName_;
std::string groupDesc_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDYNAMICGROUPREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDYNAMICGROUPRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDYNAMICGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT CreateDeviceDynamicGroupResult : public ServiceResult
{
public:
struct Data
{
std::string groupName;
std::string utcCreate;
std::string groupDesc;
std::string groupId;
std::string dynamicGroupExpression;
};
CreateDeviceDynamicGroupResult();
explicit CreateDeviceDynamicGroupResult(const std::string &payload);
~CreateDeviceDynamicGroupResult();
Data getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDYNAMICGROUPRESULT_H_

View File

@@ -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_IOT_MODEL_CREATEDEVICETUNNELREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEDEVICETUNNELREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT CreateDeviceTunnelRequest : public RpcServiceRequest
{
public:
CreateDeviceTunnelRequest();
~CreateDeviceTunnelRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getUdi()const;
void setUdi(const std::string& udi);
private:
std::string description_;
std::string iotId_;
std::string iotInstanceId_;
std::string productKey_;
std::string apiProduct_;
std::string apiRevision_;
std::string deviceName_;
std::string udi_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEDEVICETUNNELREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_CREATEDEVICETUNNELRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEDEVICETUNNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT CreateDeviceTunnelResult : public ServiceResult
{
public:
struct Data
{
std::string sourceURI;
std::string sourceAccessToken;
std::string tunnelId;
};
CreateDeviceTunnelResult();
explicit CreateDeviceTunnelResult(const std::string &payload);
~CreateDeviceTunnelResult();
Data getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEDEVICETUNNELRESULT_H_

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setIotInstanceId(const std::string& iotInstanceId);
std::string getRuntime()const;
void setRuntime(const std::string& runtime);
int getUseOfficialConfig()const;
void setUseOfficialConfig(int useOfficialConfig);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getCpuArch()const;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string iotInstanceId_;
std::string runtime_;
int useOfficialConfig_;
std::string apiProduct_;
std::string cpuArch_;
std::string apiRevision_;

View File

@@ -51,12 +51,18 @@ namespace AlibabaCloud
void setNeedConfirm(bool needConfirm);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupType()const;
void setGroupType(const std::string& groupType);
bool getNeedPush()const;
void setNeedPush(bool needPush);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDownloadProtocol()const;
void setDownloadProtocol(const std::string& downloadProtocol);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getFirmwareId()const;
void setFirmwareId(const std::string& firmwareId);
std::string getProductKey()const;
@@ -80,9 +86,12 @@ namespace AlibabaCloud
int timeoutInMinutes_;
bool needConfirm_;
std::string accessKeyId_;
std::string groupType_;
bool needPush_;
std::string iotInstanceId_;
std::string downloadProtocol_;
std::vector<Tag> tag_;
std::string groupId_;
std::string firmwareId_;
std::string productKey_;
int retryInterval_;

View File

@@ -49,10 +49,14 @@ namespace AlibabaCloud
void setNeedConfirm(bool needConfirm);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupType()const;
void setGroupType(const std::string& groupType);
bool getNeedPush()const;
void setNeedPush(bool needPush);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDownloadProtocol()const;
void setDownloadProtocol(const std::string& downloadProtocol);
std::string getTargetSelection()const;
void setTargetSelection(const std::string& targetSelection);
long getScheduleFinishTime()const;
@@ -63,6 +67,8 @@ namespace AlibabaCloud
void setGrayPercent(const std::string& grayPercent);
std::string getDnListFileUrl()const;
void setDnListFileUrl(const std::string& dnListFileUrl);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getFirmwareId()const;
void setFirmwareId(const std::string& firmwareId);
std::string getProductKey()const;
@@ -89,13 +95,16 @@ namespace AlibabaCloud
int timeoutInMinutes_;
bool needConfirm_;
std::string accessKeyId_;
std::string groupType_;
bool needPush_;
std::string iotInstanceId_;
std::string downloadProtocol_;
std::string targetSelection_;
long scheduleFinishTime_;
std::vector<Tag> tag_;
std::string grayPercent_;
std::string dnListFileUrl_;
std::string groupId_;
std::string firmwareId_;
std::string productKey_;
int retryInterval_;

View 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_IOT_MODEL_DELETEDEVICEDYNAMICGROUPREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICEDYNAMICGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT DeleteDeviceDynamicGroupRequest : public RpcServiceRequest
{
public:
DeleteDeviceDynamicGroupRequest();
~DeleteDeviceDynamicGroupRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotInstanceId_;
std::string groupId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEDEVICEDYNAMICGROUPREQUEST_H_

View 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_IOT_MODEL_DELETEDEVICEDYNAMICGROUPRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICEDYNAMICGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT DeleteDeviceDynamicGroupResult : public ServiceResult
{
public:
DeleteDeviceDynamicGroupResult();
explicit DeleteDeviceDynamicGroupResult(const std::string &payload);
~DeleteDeviceDynamicGroupResult();
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEDEVICEDYNAMICGROUPRESULT_H_

View 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_IOT_MODEL_DELETEDEVICETUNNELREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICETUNNELREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT DeleteDeviceTunnelRequest : public RpcServiceRequest
{
public:
DeleteDeviceTunnelRequest();
~DeleteDeviceTunnelRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getTunnelId()const;
void setTunnelId(const std::string& tunnelId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotInstanceId_;
std::string tunnelId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEDEVICETUNNELREQUEST_H_

View 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_IOT_MODEL_DELETEDEVICETUNNELRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICETUNNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT DeleteDeviceTunnelResult : public ServiceResult
{
public:
DeleteDeviceTunnelResult();
explicit DeleteDeviceTunnelResult(const std::string &payload);
~DeleteDeviceTunnelResult();
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEDEVICETUNNELRESULT_H_

View File

@@ -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_IOT_MODEL_LISTSOURCEREPLICAREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_LISTSOURCEREPLICAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT ListSourceReplicaRequest : public RpcServiceRequest
{
public:
ListSourceReplicaRequest();
~ListSourceReplicaRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getContext()const;
void setContext(const std::string& context);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
int getPageNo()const;
void setPageNo(int pageNo);
std::string getLpInstanceId()const;
void setLpInstanceId(const std::string& lpInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotInstanceId_;
std::string context_;
int pageSize_;
std::string sourceType_;
int pageNo_;
std::string lpInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_LISTSOURCEREPLICAREQUEST_H_

View File

@@ -0,0 +1,88 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_LISTSOURCEREPLICARESULT_H_
#define ALIBABACLOUD_IOT_MODEL_LISTSOURCEREPLICARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT ListSourceReplicaResult : public ServiceResult
{
public:
struct Data
{
struct DataListItem
{
int timeCycle;
int status;
std::string longJobUid;
std::string sourceUid;
std::string extraProperty;
std::string sourceType;
long storageSize;
long productCreateTime;
std::string code;
long beginLatest;
std::string replicaUid;
std::string name;
std::string desc;
long gmtCreate;
int nodeType;
std::string tableUid;
std::string timeUnit;
int region;
long endLatest;
bool needTips;
};
std::vector<DataListItem> dataList;
long totalPage;
int pageSize;
long total;
int pageNo;
};
ListSourceReplicaResult();
explicit ListSourceReplicaResult(const std::string &payload);
~ListSourceReplicaResult();
Data getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_LISTSOURCEREPLICARESULT_H_

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string groupName;
std::string utcCreate;
std::string groupType;
std::string groupDesc;
std::string groupId;
};

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getRealTripartiteKey()const;
void setRealTripartiteKey(const std::string& realTripartiteKey);
std::string getGroupType()const;
void setGroupType(const std::string& groupType);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
std::string realTenantId_;
std::string accessKeyId_;
std::string realTripartiteKey_;
std::string groupType_;
std::string iotInstanceId_;
std::string groupId_;
std::string apiProduct_;

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
int deviceActive;
std::string groupId;
int deviceCount;
std::string dynamicGroupExpression;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
QueryDeviceGroupListRequest();
~QueryDeviceGroupListRequest();
std::vector<std::string> getGroupTypes()const;
void setGroupTypes(const std::vector<std::string>& groupTypes);
std::string getSuperGroupId()const;
void setSuperGroupId(const std::string& superGroupId);
std::string getAccessKeyId()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setApiRevision(const std::string& apiRevision);
private:
std::vector<std::string> groupTypes_;
std::string superGroupId_;
std::string accessKeyId_;
std::string iotInstanceId_;

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string groupName;
std::string utcCreate;
std::string groupType;
std::string groupDesc;
std::string groupId;
};

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupType()const;
void setGroupType(const std::string& groupType);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
@@ -48,6 +50,7 @@ namespace AlibabaCloud
private:
std::string accessKeyId_;
std::string groupType_;
std::string iotInstanceId_;
std::string groupId_;
std::string apiProduct_;

View 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_IOT_MODEL_QUERYDEVICETUNNELREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICETUNNELREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT QueryDeviceTunnelRequest : public RpcServiceRequest
{
public:
QueryDeviceTunnelRequest();
~QueryDeviceTunnelRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getTunnelId()const;
void setTunnelId(const std::string& tunnelId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotInstanceId_;
std::string tunnelId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICETUNNELREQUEST_H_

View File

@@ -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_IOT_MODEL_QUERYDEVICETUNNELRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICETUNNELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT QueryDeviceTunnelResult : public ServiceResult
{
public:
struct Data
{
std::string iotId;
std::string description;
std::string deviceConnState;
std::string utcCreated;
std::string utcClosed;
std::string productName;
std::string tunnelState;
std::string sourceConnState;
std::string udi;
std::string tunnelId;
std::string productKey;
std::string deviceName;
};
QueryDeviceTunnelResult();
explicit QueryDeviceTunnelResult(const std::string &payload);
~QueryDeviceTunnelResult();
Data getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICETUNNELRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDYNAMICGROUPDEVICESREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDYNAMICGROUPDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT QueryDynamicGroupDevicesRequest : public RpcServiceRequest
{
public:
QueryDynamicGroupDevicesRequest();
~QueryDynamicGroupDevicesRequest();
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
bool getFuzzyName()const;
void setFuzzyName(bool fuzzyName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string nextToken_;
std::string iotInstanceId_;
int pageSize_;
bool fuzzyName_;
std::string groupId_;
int currentPage_;
std::string productKey_;
std::string apiProduct_;
std::string apiRevision_;
std::string deviceName_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDYNAMICGROUPDEVICESREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDYNAMICGROUPDEVICESRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDYNAMICGROUPDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/iot/IotExport.h>
namespace AlibabaCloud
{
namespace Iot
{
namespace Model
{
class ALIBABACLOUD_IOT_EXPORT QueryDynamicGroupDevicesResult : public ServiceResult
{
public:
struct SimpleDeviceInfo
{
std::string status;
std::string utcActiveTime;
std::string lastOnlineTime;
std::string iotId;
std::string categoryKey;
std::string productName;
std::string activeTime;
std::string utcLastOnlineTime;
int nodeType;
std::string productKey;
std::string deviceName;
std::string nickname;
};
QueryDynamicGroupDevicesResult();
explicit QueryDynamicGroupDevicesResult(const std::string &payload);
~QueryDynamicGroupDevicesResult();
int getPageSize()const;
int getPageCount()const;
std::string getNextToken()const;
int getTotal()const;
std::vector<SimpleDeviceInfo> getData()const;
int getPage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageCount_;
std::string nextToken_;
int total_;
std::vector<SimpleDeviceInfo> data_;
int page_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDYNAMICGROUPDEVICESRESULT_H_

View File

@@ -44,6 +44,7 @@ namespace AlibabaCloud
std::string driverName;
bool isApply;
long gmtModifiedTimestamp;
int useOfficialConfig;
std::string cpuArch;
bool isBuiltIn;
};

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
std::string groupName;
std::string utcEndTime;
bool needPush;
int overwriteMode;
@@ -57,10 +58,12 @@ namespace AlibabaCloud
std::string utcScheduleFinishTime;
std::vector<std::string> srcVersions;
bool needConfirm;
std::string groupId;
std::string jobDesc;
std::string jobType;
std::string utcCreate;
int maximumPerMinute;
std::string downloadProtocol;
std::string utcModified;
int retryInterval;
std::string utcScheduleTime;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupType()const;
void setGroupType(const std::string& groupType);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getTagString()const;
@@ -50,6 +52,7 @@ namespace AlibabaCloud
private:
std::string accessKeyId_;
std::string groupType_;
std::string iotInstanceId_;
std::string tagString_;
std::string groupId_;

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
SubscribeTopicResult();
explicit SubscribeTopicResult(const std::string &payload);
~SubscribeTopicResult();
std::vector<std::string> getFailureTopics()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -44,6 +45,7 @@ namespace AlibabaCloud
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> failureTopics_;
std::string errorMessage_;
std::string code_;
bool success_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getGroupType()const;
void setGroupType(const std::string& groupType);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
@@ -50,6 +52,7 @@ namespace AlibabaCloud
private:
std::string accessKeyId_;
std::string groupType_;
std::string iotInstanceId_;
std::string groupId_;
std::string groupDesc_;