BatchPub Support MQTT5.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "model/AddDataForApiSourceResult.h"
|
||||
#include "model/AddDeviceToSharePromotionRequest.h"
|
||||
#include "model/AddDeviceToSharePromotionResult.h"
|
||||
#include "model/AddPowerStationRequest.h"
|
||||
#include "model/AddPowerStationResult.h"
|
||||
#include "model/AddShareTaskDeviceRequest.h"
|
||||
#include "model/AddShareTaskDeviceResult.h"
|
||||
#include "model/AsyncRRpcRequest.h"
|
||||
@@ -142,6 +144,8 @@
|
||||
#include "model/ConfirmOTATaskResult.h"
|
||||
#include "model/CopyThingModelRequest.h"
|
||||
#include "model/CopyThingModelResult.h"
|
||||
#include "model/CopyThingModelAsyncRequest.h"
|
||||
#include "model/CopyThingModelAsyncResult.h"
|
||||
#include "model/CountSpeechBroadcastHourRequest.h"
|
||||
#include "model/CountSpeechBroadcastHourResult.h"
|
||||
#include "model/CreateConsumerGroupRequest.h"
|
||||
@@ -280,6 +284,8 @@
|
||||
#include "model/DeleteParserResult.h"
|
||||
#include "model/DeleteParserDataSourceRequest.h"
|
||||
#include "model/DeleteParserDataSourceResult.h"
|
||||
#include "model/DeletePowerStationRequest.h"
|
||||
#include "model/DeletePowerStationResult.h"
|
||||
#include "model/DeleteProductRequest.h"
|
||||
#include "model/DeleteProductResult.h"
|
||||
#include "model/DeleteProductTagsRequest.h"
|
||||
@@ -314,6 +320,8 @@
|
||||
#include "model/DeleteTopicConfigResult.h"
|
||||
#include "model/DeleteTopicRouteTableRequest.h"
|
||||
#include "model/DeleteTopicRouteTableResult.h"
|
||||
#include "model/DeleteUserDefineTableDataByPrimaryKeyRequest.h"
|
||||
#include "model/DeleteUserDefineTableDataByPrimaryKeyResult.h"
|
||||
#include "model/DetachDestinationRequest.h"
|
||||
#include "model/DetachDestinationResult.h"
|
||||
#include "model/DetachParserDataSourceRequest.h"
|
||||
@@ -392,6 +400,8 @@
|
||||
#include "model/GetSpeechVoiceResult.h"
|
||||
#include "model/GetStudioAppTokenOpenRequest.h"
|
||||
#include "model/GetStudioAppTokenOpenResult.h"
|
||||
#include "model/GetThingModelStatusInnerRequest.h"
|
||||
#include "model/GetThingModelStatusInnerResult.h"
|
||||
#include "model/GetThingModelTslRequest.h"
|
||||
#include "model/GetThingModelTslResult.h"
|
||||
#include "model/GetThingModelTslPublishedRequest.h"
|
||||
@@ -452,6 +462,8 @@
|
||||
#include "model/ListParserDataSourceResult.h"
|
||||
#include "model/ListParserDestinationRequest.h"
|
||||
#include "model/ListParserDestinationResult.h"
|
||||
#include "model/ListPowerStationRequest.h"
|
||||
#include "model/ListPowerStationResult.h"
|
||||
#include "model/ListProductByTagsRequest.h"
|
||||
#include "model/ListProductByTagsResult.h"
|
||||
#include "model/ListProductTagsRequest.h"
|
||||
@@ -468,6 +480,8 @@
|
||||
#include "model/ListThingTemplatesResult.h"
|
||||
#include "model/ModifyOTAFirmwareRequest.h"
|
||||
#include "model/ModifyOTAFirmwareResult.h"
|
||||
#include "model/ModifyPowerStationRequest.h"
|
||||
#include "model/ModifyPowerStationResult.h"
|
||||
#include "model/NotifyAddThingTopoRequest.h"
|
||||
#include "model/NotifyAddThingTopoResult.h"
|
||||
#include "model/OpenIotServiceRequest.h"
|
||||
@@ -490,6 +504,10 @@
|
||||
#include "model/PublishStudioAppResult.h"
|
||||
#include "model/PublishThingModelRequest.h"
|
||||
#include "model/PublishThingModelResult.h"
|
||||
#include "model/PublishThingModelAsyncRequest.h"
|
||||
#include "model/PublishThingModelAsyncResult.h"
|
||||
#include "model/PublishThingModelAsyncInnerRequest.h"
|
||||
#include "model/PublishThingModelAsyncInnerResult.h"
|
||||
#include "model/PushSpeechRequest.h"
|
||||
#include "model/PushSpeechResult.h"
|
||||
#include "model/QueryBatchRegisterDeviceStatusRequest.h"
|
||||
@@ -504,6 +522,8 @@
|
||||
#include "model/QueryConsumerGroupListResult.h"
|
||||
#include "model/QueryConsumerGroupStatusRequest.h"
|
||||
#include "model/QueryConsumerGroupStatusResult.h"
|
||||
#include "model/QueryCustomTimelineTableStatusRequest.h"
|
||||
#include "model/QueryCustomTimelineTableStatusResult.h"
|
||||
#include "model/QueryDetailSceneRuleLogRequest.h"
|
||||
#include "model/QueryDetailSceneRuleLogResult.h"
|
||||
#include "model/QueryDeviceRequest.h"
|
||||
@@ -758,6 +778,8 @@
|
||||
#include "model/SpeechByCombinationResult.h"
|
||||
#include "model/SpeechBySynthesisRequest.h"
|
||||
#include "model/SpeechBySynthesisResult.h"
|
||||
#include "model/StartPTDetectionRequest.h"
|
||||
#include "model/StartPTDetectionResult.h"
|
||||
#include "model/StartParserRequest.h"
|
||||
#include "model/StartParserResult.h"
|
||||
#include "model/StartRuleRequest.h"
|
||||
@@ -806,6 +828,8 @@
|
||||
#include "model/UpdateEdgeInstanceMessageRoutingResult.h"
|
||||
#include "model/UpdateJobRequest.h"
|
||||
#include "model/UpdateJobResult.h"
|
||||
#include "model/UpdateOTAJobRequest.h"
|
||||
#include "model/UpdateOTAJobResult.h"
|
||||
#include "model/UpdateOTAModuleRequest.h"
|
||||
#include "model/UpdateOTAModuleResult.h"
|
||||
#include "model/UpdateParserRequest.h"
|
||||
@@ -861,6 +885,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddDeviceToSharePromotionResult> AddDeviceToSharePromotionOutcome;
|
||||
typedef std::future<AddDeviceToSharePromotionOutcome> AddDeviceToSharePromotionOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::AddDeviceToSharePromotionRequest&, const AddDeviceToSharePromotionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDeviceToSharePromotionAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPowerStationResult> AddPowerStationOutcome;
|
||||
typedef std::future<AddPowerStationOutcome> AddPowerStationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::AddPowerStationRequest&, const AddPowerStationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPowerStationAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddShareTaskDeviceResult> AddShareTaskDeviceOutcome;
|
||||
typedef std::future<AddShareTaskDeviceOutcome> AddShareTaskDeviceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::AddShareTaskDeviceRequest&, const AddShareTaskDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddShareTaskDeviceAsyncHandler;
|
||||
@@ -1035,6 +1062,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CopyThingModelResult> CopyThingModelOutcome;
|
||||
typedef std::future<CopyThingModelOutcome> CopyThingModelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CopyThingModelRequest&, const CopyThingModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyThingModelAsyncHandler;
|
||||
typedef Outcome<Error, Model::CopyThingModelAsyncResult> CopyThingModelAsyncOutcome;
|
||||
typedef std::future<CopyThingModelAsyncOutcome> CopyThingModelAsyncOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CopyThingModelAsyncRequest&, const CopyThingModelAsyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyThingModelAsyncAsyncHandler;
|
||||
typedef Outcome<Error, Model::CountSpeechBroadcastHourResult> CountSpeechBroadcastHourOutcome;
|
||||
typedef std::future<CountSpeechBroadcastHourOutcome> CountSpeechBroadcastHourOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CountSpeechBroadcastHourRequest&, const CountSpeechBroadcastHourOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CountSpeechBroadcastHourAsyncHandler;
|
||||
@@ -1242,6 +1272,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteParserDataSourceResult> DeleteParserDataSourceOutcome;
|
||||
typedef std::future<DeleteParserDataSourceOutcome> DeleteParserDataSourceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteParserDataSourceRequest&, const DeleteParserDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteParserDataSourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePowerStationResult> DeletePowerStationOutcome;
|
||||
typedef std::future<DeletePowerStationOutcome> DeletePowerStationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeletePowerStationRequest&, const DeletePowerStationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePowerStationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProductResult> DeleteProductOutcome;
|
||||
typedef std::future<DeleteProductOutcome> DeleteProductOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteProductRequest&, const DeleteProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProductAsyncHandler;
|
||||
@@ -1293,6 +1326,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteTopicRouteTableResult> DeleteTopicRouteTableOutcome;
|
||||
typedef std::future<DeleteTopicRouteTableOutcome> DeleteTopicRouteTableOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteTopicRouteTableRequest&, const DeleteTopicRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTopicRouteTableAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserDefineTableDataByPrimaryKeyResult> DeleteUserDefineTableDataByPrimaryKeyOutcome;
|
||||
typedef std::future<DeleteUserDefineTableDataByPrimaryKeyOutcome> DeleteUserDefineTableDataByPrimaryKeyOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteUserDefineTableDataByPrimaryKeyRequest&, const DeleteUserDefineTableDataByPrimaryKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserDefineTableDataByPrimaryKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachDestinationResult> DetachDestinationOutcome;
|
||||
typedef std::future<DetachDestinationOutcome> DetachDestinationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DetachDestinationRequest&, const DetachDestinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDestinationAsyncHandler;
|
||||
@@ -1410,6 +1446,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetStudioAppTokenOpenResult> GetStudioAppTokenOpenOutcome;
|
||||
typedef std::future<GetStudioAppTokenOpenOutcome> GetStudioAppTokenOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetStudioAppTokenOpenRequest&, const GetStudioAppTokenOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStudioAppTokenOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetThingModelStatusInnerResult> GetThingModelStatusInnerOutcome;
|
||||
typedef std::future<GetThingModelStatusInnerOutcome> GetThingModelStatusInnerOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetThingModelStatusInnerRequest&, const GetThingModelStatusInnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThingModelStatusInnerAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetThingModelTslResult> GetThingModelTslOutcome;
|
||||
typedef std::future<GetThingModelTslOutcome> GetThingModelTslOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetThingModelTslRequest&, const GetThingModelTslOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThingModelTslAsyncHandler;
|
||||
@@ -1500,6 +1539,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListParserDestinationResult> ListParserDestinationOutcome;
|
||||
typedef std::future<ListParserDestinationOutcome> ListParserDestinationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ListParserDestinationRequest&, const ListParserDestinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListParserDestinationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPowerStationResult> ListPowerStationOutcome;
|
||||
typedef std::future<ListPowerStationOutcome> ListPowerStationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ListPowerStationRequest&, const ListPowerStationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPowerStationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProductByTagsResult> ListProductByTagsOutcome;
|
||||
typedef std::future<ListProductByTagsOutcome> ListProductByTagsOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ListProductByTagsRequest&, const ListProductByTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProductByTagsAsyncHandler;
|
||||
@@ -1524,6 +1566,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyOTAFirmwareResult> ModifyOTAFirmwareOutcome;
|
||||
typedef std::future<ModifyOTAFirmwareOutcome> ModifyOTAFirmwareOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ModifyOTAFirmwareRequest&, const ModifyOTAFirmwareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyOTAFirmwareAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPowerStationResult> ModifyPowerStationOutcome;
|
||||
typedef std::future<ModifyPowerStationOutcome> ModifyPowerStationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ModifyPowerStationRequest&, const ModifyPowerStationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPowerStationAsyncHandler;
|
||||
typedef Outcome<Error, Model::NotifyAddThingTopoResult> NotifyAddThingTopoOutcome;
|
||||
typedef std::future<NotifyAddThingTopoOutcome> NotifyAddThingTopoOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::NotifyAddThingTopoRequest&, const NotifyAddThingTopoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NotifyAddThingTopoAsyncHandler;
|
||||
@@ -1557,6 +1602,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PublishThingModelResult> PublishThingModelOutcome;
|
||||
typedef std::future<PublishThingModelOutcome> PublishThingModelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PublishThingModelRequest&, const PublishThingModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishThingModelAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishThingModelAsyncResult> PublishThingModelAsyncOutcome;
|
||||
typedef std::future<PublishThingModelAsyncOutcome> PublishThingModelAsyncOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PublishThingModelAsyncRequest&, const PublishThingModelAsyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishThingModelAsyncAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishThingModelAsyncInnerResult> PublishThingModelAsyncInnerOutcome;
|
||||
typedef std::future<PublishThingModelAsyncInnerOutcome> PublishThingModelAsyncInnerOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PublishThingModelAsyncInnerRequest&, const PublishThingModelAsyncInnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishThingModelAsyncInnerAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushSpeechResult> PushSpeechOutcome;
|
||||
typedef std::future<PushSpeechOutcome> PushSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PushSpeechRequest&, const PushSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushSpeechAsyncHandler;
|
||||
@@ -1578,6 +1629,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryConsumerGroupStatusResult> QueryConsumerGroupStatusOutcome;
|
||||
typedef std::future<QueryConsumerGroupStatusOutcome> QueryConsumerGroupStatusOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryConsumerGroupStatusRequest&, const QueryConsumerGroupStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryConsumerGroupStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomTimelineTableStatusResult> QueryCustomTimelineTableStatusOutcome;
|
||||
typedef std::future<QueryCustomTimelineTableStatusOutcome> QueryCustomTimelineTableStatusOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryCustomTimelineTableStatusRequest&, const QueryCustomTimelineTableStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomTimelineTableStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDetailSceneRuleLogResult> QueryDetailSceneRuleLogOutcome;
|
||||
typedef std::future<QueryDetailSceneRuleLogOutcome> QueryDetailSceneRuleLogOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryDetailSceneRuleLogRequest&, const QueryDetailSceneRuleLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDetailSceneRuleLogAsyncHandler;
|
||||
@@ -1959,6 +2013,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SpeechBySynthesisResult> SpeechBySynthesisOutcome;
|
||||
typedef std::future<SpeechBySynthesisOutcome> SpeechBySynthesisOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SpeechBySynthesisRequest&, const SpeechBySynthesisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SpeechBySynthesisAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartPTDetectionResult> StartPTDetectionOutcome;
|
||||
typedef std::future<StartPTDetectionOutcome> StartPTDetectionOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::StartPTDetectionRequest&, const StartPTDetectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartPTDetectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartParserResult> StartParserOutcome;
|
||||
typedef std::future<StartParserOutcome> StartParserOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::StartParserRequest&, const StartParserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartParserAsyncHandler;
|
||||
@@ -2031,6 +2088,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateJobResult> UpdateJobOutcome;
|
||||
typedef std::future<UpdateJobOutcome> UpdateJobOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateJobRequest&, const UpdateJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateOTAJobResult> UpdateOTAJobOutcome;
|
||||
typedef std::future<UpdateOTAJobOutcome> UpdateOTAJobOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateOTAJobRequest&, const UpdateOTAJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOTAJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateOTAModuleResult> UpdateOTAModuleOutcome;
|
||||
typedef std::future<UpdateOTAModuleOutcome> UpdateOTAModuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateOTAModuleRequest&, const UpdateOTAModuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOTAModuleAsyncHandler;
|
||||
@@ -2102,6 +2162,9 @@ namespace AlibabaCloud
|
||||
AddDeviceToSharePromotionOutcome addDeviceToSharePromotion(const Model::AddDeviceToSharePromotionRequest &request)const;
|
||||
void addDeviceToSharePromotionAsync(const Model::AddDeviceToSharePromotionRequest& request, const AddDeviceToSharePromotionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDeviceToSharePromotionOutcomeCallable addDeviceToSharePromotionCallable(const Model::AddDeviceToSharePromotionRequest& request) const;
|
||||
AddPowerStationOutcome addPowerStation(const Model::AddPowerStationRequest &request)const;
|
||||
void addPowerStationAsync(const Model::AddPowerStationRequest& request, const AddPowerStationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPowerStationOutcomeCallable addPowerStationCallable(const Model::AddPowerStationRequest& request) const;
|
||||
AddShareTaskDeviceOutcome addShareTaskDevice(const Model::AddShareTaskDeviceRequest &request)const;
|
||||
void addShareTaskDeviceAsync(const Model::AddShareTaskDeviceRequest& request, const AddShareTaskDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddShareTaskDeviceOutcomeCallable addShareTaskDeviceCallable(const Model::AddShareTaskDeviceRequest& request) const;
|
||||
@@ -2276,6 +2339,9 @@ namespace AlibabaCloud
|
||||
CopyThingModelOutcome copyThingModel(const Model::CopyThingModelRequest &request)const;
|
||||
void copyThingModelAsync(const Model::CopyThingModelRequest& request, const CopyThingModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CopyThingModelOutcomeCallable copyThingModelCallable(const Model::CopyThingModelRequest& request) const;
|
||||
CopyThingModelAsyncOutcome copyThingModelAsync(const Model::CopyThingModelAsyncRequest &request)const;
|
||||
void copyThingModelAsyncAsync(const Model::CopyThingModelAsyncRequest& request, const CopyThingModelAsyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CopyThingModelAsyncOutcomeCallable copyThingModelAsyncCallable(const Model::CopyThingModelAsyncRequest& request) const;
|
||||
CountSpeechBroadcastHourOutcome countSpeechBroadcastHour(const Model::CountSpeechBroadcastHourRequest &request)const;
|
||||
void countSpeechBroadcastHourAsync(const Model::CountSpeechBroadcastHourRequest& request, const CountSpeechBroadcastHourAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CountSpeechBroadcastHourOutcomeCallable countSpeechBroadcastHourCallable(const Model::CountSpeechBroadcastHourRequest& request) const;
|
||||
@@ -2483,6 +2549,9 @@ namespace AlibabaCloud
|
||||
DeleteParserDataSourceOutcome deleteParserDataSource(const Model::DeleteParserDataSourceRequest &request)const;
|
||||
void deleteParserDataSourceAsync(const Model::DeleteParserDataSourceRequest& request, const DeleteParserDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteParserDataSourceOutcomeCallable deleteParserDataSourceCallable(const Model::DeleteParserDataSourceRequest& request) const;
|
||||
DeletePowerStationOutcome deletePowerStation(const Model::DeletePowerStationRequest &request)const;
|
||||
void deletePowerStationAsync(const Model::DeletePowerStationRequest& request, const DeletePowerStationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePowerStationOutcomeCallable deletePowerStationCallable(const Model::DeletePowerStationRequest& request) const;
|
||||
DeleteProductOutcome deleteProduct(const Model::DeleteProductRequest &request)const;
|
||||
void deleteProductAsync(const Model::DeleteProductRequest& request, const DeleteProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProductOutcomeCallable deleteProductCallable(const Model::DeleteProductRequest& request) const;
|
||||
@@ -2534,6 +2603,9 @@ namespace AlibabaCloud
|
||||
DeleteTopicRouteTableOutcome deleteTopicRouteTable(const Model::DeleteTopicRouteTableRequest &request)const;
|
||||
void deleteTopicRouteTableAsync(const Model::DeleteTopicRouteTableRequest& request, const DeleteTopicRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTopicRouteTableOutcomeCallable deleteTopicRouteTableCallable(const Model::DeleteTopicRouteTableRequest& request) const;
|
||||
DeleteUserDefineTableDataByPrimaryKeyOutcome deleteUserDefineTableDataByPrimaryKey(const Model::DeleteUserDefineTableDataByPrimaryKeyRequest &request)const;
|
||||
void deleteUserDefineTableDataByPrimaryKeyAsync(const Model::DeleteUserDefineTableDataByPrimaryKeyRequest& request, const DeleteUserDefineTableDataByPrimaryKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserDefineTableDataByPrimaryKeyOutcomeCallable deleteUserDefineTableDataByPrimaryKeyCallable(const Model::DeleteUserDefineTableDataByPrimaryKeyRequest& request) const;
|
||||
DetachDestinationOutcome detachDestination(const Model::DetachDestinationRequest &request)const;
|
||||
void detachDestinationAsync(const Model::DetachDestinationRequest& request, const DetachDestinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachDestinationOutcomeCallable detachDestinationCallable(const Model::DetachDestinationRequest& request) const;
|
||||
@@ -2651,6 +2723,9 @@ namespace AlibabaCloud
|
||||
GetStudioAppTokenOpenOutcome getStudioAppTokenOpen(const Model::GetStudioAppTokenOpenRequest &request)const;
|
||||
void getStudioAppTokenOpenAsync(const Model::GetStudioAppTokenOpenRequest& request, const GetStudioAppTokenOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStudioAppTokenOpenOutcomeCallable getStudioAppTokenOpenCallable(const Model::GetStudioAppTokenOpenRequest& request) const;
|
||||
GetThingModelStatusInnerOutcome getThingModelStatusInner(const Model::GetThingModelStatusInnerRequest &request)const;
|
||||
void getThingModelStatusInnerAsync(const Model::GetThingModelStatusInnerRequest& request, const GetThingModelStatusInnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThingModelStatusInnerOutcomeCallable getThingModelStatusInnerCallable(const Model::GetThingModelStatusInnerRequest& request) const;
|
||||
GetThingModelTslOutcome getThingModelTsl(const Model::GetThingModelTslRequest &request)const;
|
||||
void getThingModelTslAsync(const Model::GetThingModelTslRequest& request, const GetThingModelTslAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThingModelTslOutcomeCallable getThingModelTslCallable(const Model::GetThingModelTslRequest& request) const;
|
||||
@@ -2741,6 +2816,9 @@ namespace AlibabaCloud
|
||||
ListParserDestinationOutcome listParserDestination(const Model::ListParserDestinationRequest &request)const;
|
||||
void listParserDestinationAsync(const Model::ListParserDestinationRequest& request, const ListParserDestinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListParserDestinationOutcomeCallable listParserDestinationCallable(const Model::ListParserDestinationRequest& request) const;
|
||||
ListPowerStationOutcome listPowerStation(const Model::ListPowerStationRequest &request)const;
|
||||
void listPowerStationAsync(const Model::ListPowerStationRequest& request, const ListPowerStationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPowerStationOutcomeCallable listPowerStationCallable(const Model::ListPowerStationRequest& request) const;
|
||||
ListProductByTagsOutcome listProductByTags(const Model::ListProductByTagsRequest &request)const;
|
||||
void listProductByTagsAsync(const Model::ListProductByTagsRequest& request, const ListProductByTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProductByTagsOutcomeCallable listProductByTagsCallable(const Model::ListProductByTagsRequest& request) const;
|
||||
@@ -2765,6 +2843,9 @@ namespace AlibabaCloud
|
||||
ModifyOTAFirmwareOutcome modifyOTAFirmware(const Model::ModifyOTAFirmwareRequest &request)const;
|
||||
void modifyOTAFirmwareAsync(const Model::ModifyOTAFirmwareRequest& request, const ModifyOTAFirmwareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyOTAFirmwareOutcomeCallable modifyOTAFirmwareCallable(const Model::ModifyOTAFirmwareRequest& request) const;
|
||||
ModifyPowerStationOutcome modifyPowerStation(const Model::ModifyPowerStationRequest &request)const;
|
||||
void modifyPowerStationAsync(const Model::ModifyPowerStationRequest& request, const ModifyPowerStationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPowerStationOutcomeCallable modifyPowerStationCallable(const Model::ModifyPowerStationRequest& request) const;
|
||||
NotifyAddThingTopoOutcome notifyAddThingTopo(const Model::NotifyAddThingTopoRequest &request)const;
|
||||
void notifyAddThingTopoAsync(const Model::NotifyAddThingTopoRequest& request, const NotifyAddThingTopoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NotifyAddThingTopoOutcomeCallable notifyAddThingTopoCallable(const Model::NotifyAddThingTopoRequest& request) const;
|
||||
@@ -2798,6 +2879,12 @@ namespace AlibabaCloud
|
||||
PublishThingModelOutcome publishThingModel(const Model::PublishThingModelRequest &request)const;
|
||||
void publishThingModelAsync(const Model::PublishThingModelRequest& request, const PublishThingModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishThingModelOutcomeCallable publishThingModelCallable(const Model::PublishThingModelRequest& request) const;
|
||||
PublishThingModelAsyncOutcome publishThingModelAsync(const Model::PublishThingModelAsyncRequest &request)const;
|
||||
void publishThingModelAsyncAsync(const Model::PublishThingModelAsyncRequest& request, const PublishThingModelAsyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishThingModelAsyncOutcomeCallable publishThingModelAsyncCallable(const Model::PublishThingModelAsyncRequest& request) const;
|
||||
PublishThingModelAsyncInnerOutcome publishThingModelAsyncInner(const Model::PublishThingModelAsyncInnerRequest &request)const;
|
||||
void publishThingModelAsyncInnerAsync(const Model::PublishThingModelAsyncInnerRequest& request, const PublishThingModelAsyncInnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishThingModelAsyncInnerOutcomeCallable publishThingModelAsyncInnerCallable(const Model::PublishThingModelAsyncInnerRequest& request) const;
|
||||
PushSpeechOutcome pushSpeech(const Model::PushSpeechRequest &request)const;
|
||||
void pushSpeechAsync(const Model::PushSpeechRequest& request, const PushSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushSpeechOutcomeCallable pushSpeechCallable(const Model::PushSpeechRequest& request) const;
|
||||
@@ -2819,6 +2906,9 @@ namespace AlibabaCloud
|
||||
QueryConsumerGroupStatusOutcome queryConsumerGroupStatus(const Model::QueryConsumerGroupStatusRequest &request)const;
|
||||
void queryConsumerGroupStatusAsync(const Model::QueryConsumerGroupStatusRequest& request, const QueryConsumerGroupStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryConsumerGroupStatusOutcomeCallable queryConsumerGroupStatusCallable(const Model::QueryConsumerGroupStatusRequest& request) const;
|
||||
QueryCustomTimelineTableStatusOutcome queryCustomTimelineTableStatus(const Model::QueryCustomTimelineTableStatusRequest &request)const;
|
||||
void queryCustomTimelineTableStatusAsync(const Model::QueryCustomTimelineTableStatusRequest& request, const QueryCustomTimelineTableStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomTimelineTableStatusOutcomeCallable queryCustomTimelineTableStatusCallable(const Model::QueryCustomTimelineTableStatusRequest& request) const;
|
||||
QueryDetailSceneRuleLogOutcome queryDetailSceneRuleLog(const Model::QueryDetailSceneRuleLogRequest &request)const;
|
||||
void queryDetailSceneRuleLogAsync(const Model::QueryDetailSceneRuleLogRequest& request, const QueryDetailSceneRuleLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDetailSceneRuleLogOutcomeCallable queryDetailSceneRuleLogCallable(const Model::QueryDetailSceneRuleLogRequest& request) const;
|
||||
@@ -3200,6 +3290,9 @@ namespace AlibabaCloud
|
||||
SpeechBySynthesisOutcome speechBySynthesis(const Model::SpeechBySynthesisRequest &request)const;
|
||||
void speechBySynthesisAsync(const Model::SpeechBySynthesisRequest& request, const SpeechBySynthesisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SpeechBySynthesisOutcomeCallable speechBySynthesisCallable(const Model::SpeechBySynthesisRequest& request) const;
|
||||
StartPTDetectionOutcome startPTDetection(const Model::StartPTDetectionRequest &request)const;
|
||||
void startPTDetectionAsync(const Model::StartPTDetectionRequest& request, const StartPTDetectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartPTDetectionOutcomeCallable startPTDetectionCallable(const Model::StartPTDetectionRequest& request) const;
|
||||
StartParserOutcome startParser(const Model::StartParserRequest &request)const;
|
||||
void startParserAsync(const Model::StartParserRequest& request, const StartParserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartParserOutcomeCallable startParserCallable(const Model::StartParserRequest& request) const;
|
||||
@@ -3272,6 +3365,9 @@ namespace AlibabaCloud
|
||||
UpdateJobOutcome updateJob(const Model::UpdateJobRequest &request)const;
|
||||
void updateJobAsync(const Model::UpdateJobRequest& request, const UpdateJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateJobOutcomeCallable updateJobCallable(const Model::UpdateJobRequest& request) const;
|
||||
UpdateOTAJobOutcome updateOTAJob(const Model::UpdateOTAJobRequest &request)const;
|
||||
void updateOTAJobAsync(const Model::UpdateOTAJobRequest& request, const UpdateOTAJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateOTAJobOutcomeCallable updateOTAJobCallable(const Model::UpdateOTAJobRequest& request) const;
|
||||
UpdateOTAModuleOutcome updateOTAModule(const Model::UpdateOTAModuleRequest &request)const;
|
||||
void updateOTAModuleAsync(const Model::UpdateOTAModuleRequest& request, const UpdateOTAModuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateOTAModuleOutcomeCallable updateOTAModuleCallable(const Model::UpdateOTAModuleRequest& request) const;
|
||||
|
||||
66
iot/include/alibabacloud/iot/model/AddPowerStationRequest.h
Normal file
66
iot/include/alibabacloud/iot/model/AddPowerStationRequest.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_IOT_MODEL_ADDPOWERSTATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_ADDPOWERSTATIONREQUEST_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 AddPowerStationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPowerStationRequest();
|
||||
~AddPowerStationRequest();
|
||||
|
||||
int getRatedPower()const;
|
||||
void setRatedPower(int ratedPower);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getAlgorithmInstanceUid()const;
|
||||
void setAlgorithmInstanceUid(const std::string& algorithmInstanceUid);
|
||||
std::string getPowerStationName()const;
|
||||
void setPowerStationName(const std::string& powerStationName);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
int ratedPower_;
|
||||
std::string description_;
|
||||
std::string iotInstanceId_;
|
||||
std::string algorithmInstanceUid_;
|
||||
std::string powerStationName_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_ADDPOWERSTATIONREQUEST_H_
|
||||
57
iot/include/alibabacloud/iot/model/AddPowerStationResult.h
Normal file
57
iot/include/alibabacloud/iot/model/AddPowerStationResult.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_IOT_MODEL_ADDPOWERSTATIONRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_ADDPOWERSTATIONRESULT_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 AddPowerStationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPowerStationResult();
|
||||
explicit AddPowerStationResult(const std::string &payload);
|
||||
~AddPowerStationResult();
|
||||
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_ADDPOWERSTATIONRESULT_H_
|
||||
@@ -47,8 +47,12 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getGwProductKey()const;
|
||||
void setGwProductKey(const std::string& gwProductKey);
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getExt()const;
|
||||
@@ -64,7 +68,9 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string gwProductKey_;
|
||||
std::string realTenantId_;
|
||||
std::string accessKeyId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string ext_;
|
||||
std::vector<TopoAddItem> topoAddItem_;
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DeviceList
|
||||
{
|
||||
std::string deviceSecret;
|
||||
std::string deviceName;
|
||||
std::string deviceId;
|
||||
std::string manufacturer;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string iotId;
|
||||
std::string asAddress;
|
||||
std::string deviceId;
|
||||
long timestamp;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DeviceList
|
||||
{
|
||||
std::string deviceSecret;
|
||||
std::string deviceName;
|
||||
std::string deviceId;
|
||||
std::string manufacturer;
|
||||
|
||||
@@ -30,21 +30,43 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT BatchPubRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct UserProp
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
BatchPubRequest();
|
||||
~BatchPubRequest();
|
||||
|
||||
std::vector<UserProp> getUserProp()const;
|
||||
void setUserProp(const std::vector<UserProp>& userProp);
|
||||
std::string getResponseTopicTemplateName()const;
|
||||
void setResponseTopicTemplateName(const std::string& responseTopicTemplateName);
|
||||
std::string getMessageContent()const;
|
||||
void setMessageContent(const std::string& messageContent);
|
||||
std::string getTopicTemplateName()const;
|
||||
void setTopicTemplateName(const std::string& topicTemplateName);
|
||||
int getQos()const;
|
||||
void setQos(int qos);
|
||||
std::string getCorrelationData()const;
|
||||
void setCorrelationData(const std::string& correlationData);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
long getMessageExpiryInterval()const;
|
||||
void setMessageExpiryInterval(long messageExpiryInterval);
|
||||
std::string getTopicShortName()const;
|
||||
void setTopicShortName(const std::string& topicShortName);
|
||||
int getPayloadFormatIndicator()const;
|
||||
void setPayloadFormatIndicator(int payloadFormatIndicator);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
std::string getContentType()const;
|
||||
void setContentType(const std::string& contentType);
|
||||
bool getRetained()const;
|
||||
void setRetained(bool retained);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
@@ -53,11 +75,19 @@ namespace AlibabaCloud
|
||||
void setDeviceName(const std::vector<std::string>& deviceName);
|
||||
|
||||
private:
|
||||
std::vector<UserProp> userProp_;
|
||||
std::string responseTopicTemplateName_;
|
||||
std::string messageContent_;
|
||||
std::string topicTemplateName_;
|
||||
int qos_;
|
||||
std::string correlationData_;
|
||||
std::string iotInstanceId_;
|
||||
long messageExpiryInterval_;
|
||||
std::string topicShortName_;
|
||||
int payloadFormatIndicator_;
|
||||
std::string productKey_;
|
||||
std::string contentType_;
|
||||
bool retained_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::vector<std::string> deviceName_;
|
||||
|
||||
@@ -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_COPYTHINGMODELASYNCREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_COPYTHINGMODELASYNCREQUEST_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 CopyThingModelAsyncRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CopyThingModelAsyncRequest();
|
||||
~CopyThingModelAsyncRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getTargetProductKey()const;
|
||||
void setTargetProductKey(const std::string& targetProductKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getSourceModelVersion()const;
|
||||
void setSourceModelVersion(const std::string& sourceModelVersion);
|
||||
std::string getSourceProductKey()const;
|
||||
void setSourceProductKey(const std::string& sourceProductKey);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string targetProductKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotInstanceId_;
|
||||
std::string sourceModelVersion_;
|
||||
std::string sourceProductKey_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_COPYTHINGMODELASYNCREQUEST_H_
|
||||
@@ -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_COPYTHINGMODELASYNCRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_COPYTHINGMODELASYNCRESULT_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 CopyThingModelAsyncResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CopyThingModelAsyncResult();
|
||||
explicit CopyThingModelAsyncResult(const std::string &payload);
|
||||
~CopyThingModelAsyncResult();
|
||||
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_COPYTHINGMODELASYNCRESULT_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_IOT_MODEL_DELETEPOWERSTATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_DELETEPOWERSTATIONREQUEST_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 DeletePowerStationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePowerStationRequest();
|
||||
~DeletePowerStationRequest();
|
||||
|
||||
std::string getPowerStationUid()const;
|
||||
void setPowerStationUid(const std::string& powerStationUid);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getAlgorithmInstanceUid()const;
|
||||
void setAlgorithmInstanceUid(const std::string& algorithmInstanceUid);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string powerStationUid_;
|
||||
std::string iotInstanceId_;
|
||||
std::string algorithmInstanceUid_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEPOWERSTATIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_DELETEPOWERSTATIONRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_DELETEPOWERSTATIONRESULT_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 DeletePowerStationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePowerStationResult();
|
||||
explicit DeletePowerStationResult(const std::string &payload);
|
||||
~DeletePowerStationResult();
|
||||
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_DELETEPOWERSTATIONRESULT_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_IOT_MODEL_DELETEUSERDEFINETABLEDATABYPRIMARYKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_DELETEUSERDEFINETABLEDATABYPRIMARYKEYREQUEST_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 DeleteUserDefineTableDataByPrimaryKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteUserDefineTableDataByPrimaryKeyRequest();
|
||||
~DeleteUserDefineTableDataByPrimaryKeyRequest();
|
||||
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getTableIdentifier()const;
|
||||
void setTableIdentifier(const std::string& tableIdentifier);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getConditions()const;
|
||||
void setConditions(const std::string& conditions);
|
||||
|
||||
private:
|
||||
std::string iotInstanceId_;
|
||||
std::string tableIdentifier_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string conditions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEUSERDEFINETABLEDATABYPRIMARYKEYREQUEST_H_
|
||||
@@ -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_DELETEUSERDEFINETABLEDATABYPRIMARYKEYRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_DELETEUSERDEFINETABLEDATABYPRIMARYKEYRESULT_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 DeleteUserDefineTableDataByPrimaryKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteUserDefineTableDataByPrimaryKeyResult();
|
||||
explicit DeleteUserDefineTableDataByPrimaryKeyResult(const std::string &payload);
|
||||
~DeleteUserDefineTableDataByPrimaryKeyResult();
|
||||
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_DELETEUSERDEFINETABLEDATABYPRIMARYKEYRESULT_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_IOT_MODEL_GETTHINGMODELSTATUSINNERREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETTHINGMODELSTATUSINNERREQUEST_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 GetThingModelStatusInnerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetThingModelStatusInnerRequest();
|
||||
~GetThingModelStatusInnerRequest();
|
||||
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
std::string getInsId()const;
|
||||
void setInsId(const std::string& insId);
|
||||
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 productKey_;
|
||||
std::string insId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETTHINGMODELSTATUSINNERREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GETTHINGMODELSTATUSINNERRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETTHINGMODELSTATUSINNERRESULT_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 GetThingModelStatusInnerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int status;
|
||||
std::string rbacTenantId;
|
||||
long modifiedTime;
|
||||
std::string instanceId;
|
||||
long outTime;
|
||||
std::string info;
|
||||
std::string productKey;
|
||||
};
|
||||
|
||||
|
||||
GetThingModelStatusInnerResult();
|
||||
explicit GetThingModelStatusInnerResult(const std::string &payload);
|
||||
~GetThingModelStatusInnerResult();
|
||||
std::string getLocalizedMsg()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string localizedMsg_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETTHINGMODELSTATUSINNERRESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ListOTAUnfinishedTaskByDeviceRequest();
|
||||
~ListOTAUnfinishedTaskByDeviceRequest();
|
||||
|
||||
std::vector<std::string> getTaskStatusList()const;
|
||||
void setTaskStatusList(const std::vector<std::string>& taskStatusList);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTaskStatus()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::vector<std::string> taskStatusList_;
|
||||
std::string accessKeyId_;
|
||||
std::string taskStatus_;
|
||||
std::string iotId_;
|
||||
|
||||
66
iot/include/alibabacloud/iot/model/ListPowerStationRequest.h
Normal file
66
iot/include/alibabacloud/iot/model/ListPowerStationRequest.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_IOT_MODEL_LISTPOWERSTATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_LISTPOWERSTATIONREQUEST_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 ListPowerStationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPowerStationRequest();
|
||||
~ListPowerStationRequest();
|
||||
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAlgorithmInstanceUid()const;
|
||||
void setAlgorithmInstanceUid(const std::string& algorithmInstanceUid);
|
||||
int getPageNo()const;
|
||||
void setPageNo(int pageNo);
|
||||
std::string getPowerStationName()const;
|
||||
void setPowerStationName(const std::string& powerStationName);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string algorithmInstanceUid_;
|
||||
int pageNo_;
|
||||
std::string powerStationName_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_LISTPOWERSTATIONREQUEST_H_
|
||||
72
iot/include/alibabacloud/iot/model/ListPowerStationResult.h
Normal file
72
iot/include/alibabacloud/iot/model/ListPowerStationResult.h
Normal 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_LISTPOWERSTATIONRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_LISTPOWERSTATIONRESULT_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 ListPowerStationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DataListItem
|
||||
{
|
||||
std::string description;
|
||||
int ratedPower;
|
||||
std::string powerStationUid;
|
||||
std::string algoInstanceUid;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<DataListItem> dataList;
|
||||
int pageSize;
|
||||
long total;
|
||||
int pageNo;
|
||||
};
|
||||
|
||||
|
||||
ListPowerStationResult();
|
||||
explicit ListPowerStationResult(const std::string &payload);
|
||||
~ListPowerStationResult();
|
||||
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_LISTPOWERSTATIONRESULT_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_IOT_MODEL_MODIFYPOWERSTATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_MODIFYPOWERSTATIONREQUEST_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 ModifyPowerStationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyPowerStationRequest();
|
||||
~ModifyPowerStationRequest();
|
||||
|
||||
std::string getPowerStationUid()const;
|
||||
void setPowerStationUid(const std::string& powerStationUid);
|
||||
int getRatedPower()const;
|
||||
void setRatedPower(int ratedPower);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getAlgorithmInstanceUid()const;
|
||||
void setAlgorithmInstanceUid(const std::string& algorithmInstanceUid);
|
||||
std::string getPowerStationName()const;
|
||||
void setPowerStationName(const std::string& powerStationName);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string powerStationUid_;
|
||||
int ratedPower_;
|
||||
std::string description_;
|
||||
std::string iotInstanceId_;
|
||||
std::string algorithmInstanceUid_;
|
||||
std::string powerStationName_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_MODIFYPOWERSTATIONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_MODIFYPOWERSTATIONRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_MODIFYPOWERSTATIONRESULT_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 ModifyPowerStationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyPowerStationResult();
|
||||
explicit ModifyPowerStationResult(const std::string &payload);
|
||||
~ModifyPowerStationResult();
|
||||
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_MODIFYPOWERSTATIONRESULT_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_IOT_MODEL_PUBLISHTHINGMODELASYNCINNERREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCINNERREQUEST_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 PublishThingModelAsyncInnerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishThingModelAsyncInnerRequest();
|
||||
~PublishThingModelAsyncInnerRequest();
|
||||
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
std::string getInsId()const;
|
||||
void setInsId(const std::string& insId);
|
||||
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 productKey_;
|
||||
std::string insId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCINNERREQUEST_H_
|
||||
@@ -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_PUBLISHTHINGMODELASYNCINNERRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCINNERRESULT_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 PublishThingModelAsyncInnerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishThingModelAsyncInnerResult();
|
||||
explicit PublishThingModelAsyncInnerResult(const std::string &payload);
|
||||
~PublishThingModelAsyncInnerResult();
|
||||
std::string getLocalizedMsg()const;
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string localizedMsg_;
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCINNERRESULT_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_IOT_MODEL_PUBLISHTHINGMODELASYNCREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCREQUEST_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 PublishThingModelAsyncRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishThingModelAsyncRequest();
|
||||
~PublishThingModelAsyncRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getThingModelVersion()const;
|
||||
void setThingModelVersion(const std::string& thingModelVersion);
|
||||
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);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string thingModelVersion_;
|
||||
std::string iotInstanceId_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCREQUEST_H_
|
||||
@@ -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_PUBLISHTHINGMODELASYNCRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCRESULT_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 PublishThingModelAsyncResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishThingModelAsyncResult();
|
||||
explicit PublishThingModelAsyncResult(const std::string &payload);
|
||||
~PublishThingModelAsyncResult();
|
||||
std::string getErrorMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMessage_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUBLISHTHINGMODELASYNCRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYCUSTOMTIMELINETABLESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYCUSTOMTIMELINETABLESTATUSREQUEST_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 QueryCustomTimelineTableStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCustomTimelineTableStatusRequest();
|
||||
~QueryCustomTimelineTableStatusRequest();
|
||||
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
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 tableName_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYCUSTOMTIMELINETABLESTATUSREQUEST_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_IOT_MODEL_QUERYCUSTOMTIMELINETABLESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYCUSTOMTIMELINETABLESTATUSRESULT_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 QueryCustomTimelineTableStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string resultJson;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
long count;
|
||||
bool hasNext;
|
||||
};
|
||||
|
||||
|
||||
QueryCustomTimelineTableStatusResult();
|
||||
explicit QueryCustomTimelineTableStatusResult(const std::string &payload);
|
||||
~QueryCustomTimelineTableStatusResult();
|
||||
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_QUERYCUSTOMTIMELINETABLESTATUSRESULT_H_
|
||||
@@ -39,10 +39,18 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct MqttProperty
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string messageContent;
|
||||
std::vector<UserProperty> userProperties;
|
||||
std::string transformedMessageContent;
|
||||
long generateTime;
|
||||
std::vector<MqttProperty> mqttProperties;
|
||||
std::string uniMsgId;
|
||||
std::string transformedTopicFullName;
|
||||
std::string topicFullName;
|
||||
};
|
||||
|
||||
|
||||
75
iot/include/alibabacloud/iot/model/StartPTDetectionRequest.h
Normal file
75
iot/include/alibabacloud/iot/model/StartPTDetectionRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_STARTPTDETECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_STARTPTDETECTIONREQUEST_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 StartPTDetectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartPTDetectionRequest();
|
||||
~StartPTDetectionRequest();
|
||||
|
||||
std::string getPowerStationUid()const;
|
||||
void setPowerStationUid(const std::string& powerStationUid);
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
int getPowerPlantsNumber()const;
|
||||
void setPowerPlantsNumber(int powerPlantsNumber);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getAlgorithmInstanceUid()const;
|
||||
void setAlgorithmInstanceUid(const std::string& algorithmInstanceUid);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
long getDataCollectionTime()const;
|
||||
void setDataCollectionTime(long dataCollectionTime);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
int getSensitivity()const;
|
||||
void setSensitivity(int sensitivity);
|
||||
|
||||
private:
|
||||
std::string powerStationUid_;
|
||||
std::string data_;
|
||||
int powerPlantsNumber_;
|
||||
std::string iotInstanceId_;
|
||||
std::string algorithmInstanceUid_;
|
||||
std::string fileName_;
|
||||
std::string apiProduct_;
|
||||
long dataCollectionTime_;
|
||||
std::string apiRevision_;
|
||||
int sensitivity_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_STARTPTDETECTIONREQUEST_H_
|
||||
65
iot/include/alibabacloud/iot/model/StartPTDetectionResult.h
Normal file
65
iot/include/alibabacloud/iot/model/StartPTDetectionResult.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_STARTPTDETECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_STARTPTDETECTIONRESULT_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 StartPTDetectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
std::string errMsg;
|
||||
std::string data;
|
||||
std::string inputData;
|
||||
bool success;
|
||||
};
|
||||
|
||||
|
||||
StartPTDetectionResult();
|
||||
explicit StartPTDetectionResult(const std::string &payload);
|
||||
~StartPTDetectionResult();
|
||||
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_STARTPTDETECTIONRESULT_H_
|
||||
102
iot/include/alibabacloud/iot/model/UpdateOTAJobRequest.h
Normal file
102
iot/include/alibabacloud/iot/model/UpdateOTAJobRequest.h
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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_UPDATEOTAJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_UPDATEOTAJOBREQUEST_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 UpdateOTAJobRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tags
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
UpdateOTAJobRequest();
|
||||
~UpdateOTAJobRequest();
|
||||
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getIncrementFactor()const;
|
||||
void setIncrementFactor(const std::string& incrementFactor);
|
||||
int getBaseRatePerMinute()const;
|
||||
void setBaseRatePerMinute(int baseRatePerMinute);
|
||||
std::string getUpgradeType()const;
|
||||
void setUpgradeType(const std::string& upgradeType);
|
||||
int getTimeoutInMinutes()const;
|
||||
void setTimeoutInMinutes(int timeoutInMinutes);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
int getNumberOfSucceedDevices()const;
|
||||
void setNumberOfSucceedDevices(int numberOfSucceedDevices);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::vector<std::string> getSrcVersionList()const;
|
||||
void setSrcVersionList(const std::vector<std::string>& srcVersionList);
|
||||
std::string getTargetSelection()const;
|
||||
void setTargetSelection(const std::string& targetSelection);
|
||||
std::vector<Tags> getTags()const;
|
||||
void setTags(const std::vector<Tags>& tags);
|
||||
int getNumberOfNotifiedDevices()const;
|
||||
void setNumberOfNotifiedDevices(int numberOfNotifiedDevices);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
int getMaximumPerMinute()const;
|
||||
void setMaximumPerMinute(int maximumPerMinute);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string incrementFactor_;
|
||||
int baseRatePerMinute_;
|
||||
std::string upgradeType_;
|
||||
int timeoutInMinutes_;
|
||||
std::string accessKeyId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string jobId_;
|
||||
int numberOfSucceedDevices_;
|
||||
std::string iotInstanceId_;
|
||||
std::vector<std::string> srcVersionList_;
|
||||
std::string targetSelection_;
|
||||
std::vector<Tags> tags_;
|
||||
int numberOfNotifiedDevices_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
int maximumPerMinute_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_UPDATEOTAJOBREQUEST_H_
|
||||
55
iot/include/alibabacloud/iot/model/UpdateOTAJobResult.h
Normal file
55
iot/include/alibabacloud/iot/model/UpdateOTAJobResult.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_IOT_MODEL_UPDATEOTAJOBRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_UPDATEOTAJOBRESULT_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 UpdateOTAJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateOTAJobResult();
|
||||
explicit UpdateOTAJobResult(const std::string &payload);
|
||||
~UpdateOTAJobResult();
|
||||
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_UPDATEOTAJOBRESULT_H_
|
||||
Reference in New Issue
Block a user