Update LinkSpeech API, including SpeechByCombination, SyncSpeechByCombination.

This commit is contained in:
sdk-team
2021-09-06 10:08:32 +00:00
parent fe6548a733
commit 455c5afdaa
77 changed files with 3692 additions and 1 deletions

View File

@@ -170,6 +170,8 @@
#include "model/CreateThingScriptResult.h"
#include "model/CreateTopicRouteTableRequest.h"
#include "model/CreateTopicRouteTableResult.h"
#include "model/DeleteClientIdsRequest.h"
#include "model/DeleteClientIdsResult.h"
#include "model/DeleteConsumerGroupRequest.h"
#include "model/DeleteConsumerGroupResult.h"
#include "model/DeleteConsumerGroupSubscribeRelationRequest.h"
@@ -184,6 +186,8 @@
#include "model/DeleteDeviceGroupResult.h"
#include "model/DeleteDevicePropRequest.h"
#include "model/DeleteDevicePropResult.h"
#include "model/DeleteDeviceSpeechRequest.h"
#include "model/DeleteDeviceSpeechResult.h"
#include "model/DeleteEdgeDriverRequest.h"
#include "model/DeleteEdgeDriverResult.h"
#include "model/DeleteEdgeDriverVersionRequest.h"
@@ -272,6 +276,8 @@
#include "model/GetRuleActionResult.h"
#include "model/GetSceneRuleRequest.h"
#include "model/GetSceneRuleResult.h"
#include "model/GetSpeechDeviceDetailRequest.h"
#include "model/GetSpeechDeviceDetailResult.h"
#include "model/GetSpeechVoiceRequest.h"
#include "model/GetSpeechVoiceResult.h"
#include "model/GetStudioAppTokenOpenRequest.h"
@@ -356,6 +362,8 @@
#include "model/QueryBatchRegisterDeviceStatusResult.h"
#include "model/QueryCertUrlByApplyIdRequest.h"
#include "model/QueryCertUrlByApplyIdResult.h"
#include "model/QueryClientIdsRequest.h"
#include "model/QueryClientIdsResult.h"
#include "model/QueryConsumerGroupByGroupIdRequest.h"
#include "model/QueryConsumerGroupByGroupIdResult.h"
#include "model/QueryConsumerGroupListRequest.h"
@@ -420,6 +428,8 @@
#include "model/QueryDevicePropertyStatusResult.h"
#include "model/QueryDeviceServiceDataRequest.h"
#include "model/QueryDeviceServiceDataResult.h"
#include "model/QueryDeviceSpeechRequest.h"
#include "model/QueryDeviceSpeechResult.h"
#include "model/QueryDeviceStatisticsRequest.h"
#include "model/QueryDeviceStatisticsResult.h"
#include "model/QueryEdgeDriverRequest.h"
@@ -450,6 +460,8 @@
#include "model/QueryJobStatisticsResult.h"
#include "model/QueryLoRaJoinPermissionsRequest.h"
#include "model/QueryLoRaJoinPermissionsResult.h"
#include "model/QueryMessageInfoRequest.h"
#include "model/QueryMessageInfoResult.h"
#include "model/QueryOTAFirmwareRequest.h"
#include "model/QueryOTAFirmwareResult.h"
#include "model/QueryOTAJobRequest.h"
@@ -470,6 +482,8 @@
#include "model/QuerySolutionDeviceGroupPageResult.h"
#include "model/QuerySpeechRequest.h"
#include "model/QuerySpeechResult.h"
#include "model/QuerySpeechDeviceRequest.h"
#include "model/QuerySpeechDeviceResult.h"
#include "model/QuerySpeechListRequest.h"
#include "model/QuerySpeechListResult.h"
#include "model/QuerySpeechPushJobRequest.h"
@@ -522,6 +536,8 @@
#include "model/RemoveThingTopoResult.h"
#include "model/ReplaceEdgeInstanceGatewayRequest.h"
#include "model/ReplaceEdgeInstanceGatewayResult.h"
#include "model/RerunJobRequest.h"
#include "model/RerunJobResult.h"
#include "model/ResetConsumerGroupPositionRequest.h"
#include "model/ResetConsumerGroupPositionResult.h"
#include "model/ResetThingRequest.h"
@@ -550,10 +566,14 @@
#include "model/StartRuleResult.h"
#include "model/StopRuleRequest.h"
#include "model/StopRuleResult.h"
#include "model/SubscribeTopicRequest.h"
#include "model/SubscribeTopicResult.h"
#include "model/SyncSpeechByCombinationRequest.h"
#include "model/SyncSpeechByCombinationResult.h"
#include "model/TestSpeechRequest.h"
#include "model/TestSpeechResult.h"
#include "model/TransformClientIdRequest.h"
#include "model/TransformClientIdResult.h"
#include "model/TriggerSceneRuleRequest.h"
#include "model/TriggerSceneRuleResult.h"
#include "model/UnbindApplicationFromEdgeInstanceRequest.h"
@@ -837,6 +857,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateTopicRouteTableResult> CreateTopicRouteTableOutcome;
typedef std::future<CreateTopicRouteTableOutcome> CreateTopicRouteTableOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::CreateTopicRouteTableRequest&, const CreateTopicRouteTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTopicRouteTableAsyncHandler;
typedef Outcome<Error, Model::DeleteClientIdsResult> DeleteClientIdsOutcome;
typedef std::future<DeleteClientIdsOutcome> DeleteClientIdsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteClientIdsRequest&, const DeleteClientIdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClientIdsAsyncHandler;
typedef Outcome<Error, Model::DeleteConsumerGroupResult> DeleteConsumerGroupOutcome;
typedef std::future<DeleteConsumerGroupOutcome> DeleteConsumerGroupOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteConsumerGroupRequest&, const DeleteConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsumerGroupAsyncHandler;
@@ -858,6 +881,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDevicePropResult> DeleteDevicePropOutcome;
typedef std::future<DeleteDevicePropOutcome> DeleteDevicePropOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDevicePropRequest&, const DeleteDevicePropOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDevicePropAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceSpeechResult> DeleteDeviceSpeechOutcome;
typedef std::future<DeleteDeviceSpeechOutcome> DeleteDeviceSpeechOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteDeviceSpeechRequest&, const DeleteDeviceSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceSpeechAsyncHandler;
typedef Outcome<Error, Model::DeleteEdgeDriverResult> DeleteEdgeDriverOutcome;
typedef std::future<DeleteEdgeDriverOutcome> DeleteEdgeDriverOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::DeleteEdgeDriverRequest&, const DeleteEdgeDriverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEdgeDriverAsyncHandler;
@@ -990,6 +1016,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSceneRuleResult> GetSceneRuleOutcome;
typedef std::future<GetSceneRuleOutcome> GetSceneRuleOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::GetSceneRuleRequest&, const GetSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSceneRuleAsyncHandler;
typedef Outcome<Error, Model::GetSpeechDeviceDetailResult> GetSpeechDeviceDetailOutcome;
typedef std::future<GetSpeechDeviceDetailOutcome> GetSpeechDeviceDetailOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::GetSpeechDeviceDetailRequest&, const GetSpeechDeviceDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpeechDeviceDetailAsyncHandler;
typedef Outcome<Error, Model::GetSpeechVoiceResult> GetSpeechVoiceOutcome;
typedef std::future<GetSpeechVoiceOutcome> GetSpeechVoiceOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::GetSpeechVoiceRequest&, const GetSpeechVoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpeechVoiceAsyncHandler;
@@ -1116,6 +1145,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryCertUrlByApplyIdResult> QueryCertUrlByApplyIdOutcome;
typedef std::future<QueryCertUrlByApplyIdOutcome> QueryCertUrlByApplyIdOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryCertUrlByApplyIdRequest&, const QueryCertUrlByApplyIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCertUrlByApplyIdAsyncHandler;
typedef Outcome<Error, Model::QueryClientIdsResult> QueryClientIdsOutcome;
typedef std::future<QueryClientIdsOutcome> QueryClientIdsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryClientIdsRequest&, const QueryClientIdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryClientIdsAsyncHandler;
typedef Outcome<Error, Model::QueryConsumerGroupByGroupIdResult> QueryConsumerGroupByGroupIdOutcome;
typedef std::future<QueryConsumerGroupByGroupIdOutcome> QueryConsumerGroupByGroupIdOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryConsumerGroupByGroupIdRequest&, const QueryConsumerGroupByGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryConsumerGroupByGroupIdAsyncHandler;
@@ -1212,6 +1244,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryDeviceServiceDataResult> QueryDeviceServiceDataOutcome;
typedef std::future<QueryDeviceServiceDataOutcome> QueryDeviceServiceDataOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryDeviceServiceDataRequest&, const QueryDeviceServiceDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceServiceDataAsyncHandler;
typedef Outcome<Error, Model::QueryDeviceSpeechResult> QueryDeviceSpeechOutcome;
typedef std::future<QueryDeviceSpeechOutcome> QueryDeviceSpeechOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryDeviceSpeechRequest&, const QueryDeviceSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceSpeechAsyncHandler;
typedef Outcome<Error, Model::QueryDeviceStatisticsResult> QueryDeviceStatisticsOutcome;
typedef std::future<QueryDeviceStatisticsOutcome> QueryDeviceStatisticsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryDeviceStatisticsRequest&, const QueryDeviceStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceStatisticsAsyncHandler;
@@ -1257,6 +1292,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryLoRaJoinPermissionsResult> QueryLoRaJoinPermissionsOutcome;
typedef std::future<QueryLoRaJoinPermissionsOutcome> QueryLoRaJoinPermissionsOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryLoRaJoinPermissionsRequest&, const QueryLoRaJoinPermissionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryLoRaJoinPermissionsAsyncHandler;
typedef Outcome<Error, Model::QueryMessageInfoResult> QueryMessageInfoOutcome;
typedef std::future<QueryMessageInfoOutcome> QueryMessageInfoOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryMessageInfoRequest&, const QueryMessageInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMessageInfoAsyncHandler;
typedef Outcome<Error, Model::QueryOTAFirmwareResult> QueryOTAFirmwareOutcome;
typedef std::future<QueryOTAFirmwareOutcome> QueryOTAFirmwareOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QueryOTAFirmwareRequest&, const QueryOTAFirmwareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryOTAFirmwareAsyncHandler;
@@ -1287,6 +1325,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QuerySpeechResult> QuerySpeechOutcome;
typedef std::future<QuerySpeechOutcome> QuerySpeechOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QuerySpeechRequest&, const QuerySpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechAsyncHandler;
typedef Outcome<Error, Model::QuerySpeechDeviceResult> QuerySpeechDeviceOutcome;
typedef std::future<QuerySpeechDeviceOutcome> QuerySpeechDeviceOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QuerySpeechDeviceRequest&, const QuerySpeechDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechDeviceAsyncHandler;
typedef Outcome<Error, Model::QuerySpeechListResult> QuerySpeechListOutcome;
typedef std::future<QuerySpeechListOutcome> QuerySpeechListOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::QuerySpeechListRequest&, const QuerySpeechListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechListAsyncHandler;
@@ -1365,6 +1406,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ReplaceEdgeInstanceGatewayResult> ReplaceEdgeInstanceGatewayOutcome;
typedef std::future<ReplaceEdgeInstanceGatewayOutcome> ReplaceEdgeInstanceGatewayOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::ReplaceEdgeInstanceGatewayRequest&, const ReplaceEdgeInstanceGatewayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceEdgeInstanceGatewayAsyncHandler;
typedef Outcome<Error, Model::RerunJobResult> RerunJobOutcome;
typedef std::future<RerunJobOutcome> RerunJobOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::RerunJobRequest&, const RerunJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RerunJobAsyncHandler;
typedef Outcome<Error, Model::ResetConsumerGroupPositionResult> ResetConsumerGroupPositionOutcome;
typedef std::future<ResetConsumerGroupPositionOutcome> ResetConsumerGroupPositionOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::ResetConsumerGroupPositionRequest&, const ResetConsumerGroupPositionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetConsumerGroupPositionAsyncHandler;
@@ -1407,12 +1451,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopRuleResult> StopRuleOutcome;
typedef std::future<StopRuleOutcome> StopRuleOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::StopRuleRequest&, const StopRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopRuleAsyncHandler;
typedef Outcome<Error, Model::SubscribeTopicResult> SubscribeTopicOutcome;
typedef std::future<SubscribeTopicOutcome> SubscribeTopicOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::SubscribeTopicRequest&, const SubscribeTopicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeTopicAsyncHandler;
typedef Outcome<Error, Model::SyncSpeechByCombinationResult> SyncSpeechByCombinationOutcome;
typedef std::future<SyncSpeechByCombinationOutcome> SyncSpeechByCombinationOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::SyncSpeechByCombinationRequest&, const SyncSpeechByCombinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncSpeechByCombinationAsyncHandler;
typedef Outcome<Error, Model::TestSpeechResult> TestSpeechOutcome;
typedef std::future<TestSpeechOutcome> TestSpeechOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::TestSpeechRequest&, const TestSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TestSpeechAsyncHandler;
typedef Outcome<Error, Model::TransformClientIdResult> TransformClientIdOutcome;
typedef std::future<TransformClientIdOutcome> TransformClientIdOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::TransformClientIdRequest&, const TransformClientIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransformClientIdAsyncHandler;
typedef Outcome<Error, Model::TriggerSceneRuleResult> TriggerSceneRuleOutcome;
typedef std::future<TriggerSceneRuleOutcome> TriggerSceneRuleOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::TriggerSceneRuleRequest&, const TriggerSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TriggerSceneRuleAsyncHandler;
@@ -1718,6 +1768,9 @@ namespace AlibabaCloud
CreateTopicRouteTableOutcome createTopicRouteTable(const Model::CreateTopicRouteTableRequest &request)const;
void createTopicRouteTableAsync(const Model::CreateTopicRouteTableRequest& request, const CreateTopicRouteTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTopicRouteTableOutcomeCallable createTopicRouteTableCallable(const Model::CreateTopicRouteTableRequest& request) const;
DeleteClientIdsOutcome deleteClientIds(const Model::DeleteClientIdsRequest &request)const;
void deleteClientIdsAsync(const Model::DeleteClientIdsRequest& request, const DeleteClientIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClientIdsOutcomeCallable deleteClientIdsCallable(const Model::DeleteClientIdsRequest& request) const;
DeleteConsumerGroupOutcome deleteConsumerGroup(const Model::DeleteConsumerGroupRequest &request)const;
void deleteConsumerGroupAsync(const Model::DeleteConsumerGroupRequest& request, const DeleteConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteConsumerGroupOutcomeCallable deleteConsumerGroupCallable(const Model::DeleteConsumerGroupRequest& request) const;
@@ -1739,6 +1792,9 @@ namespace AlibabaCloud
DeleteDevicePropOutcome deleteDeviceProp(const Model::DeleteDevicePropRequest &request)const;
void deleteDevicePropAsync(const Model::DeleteDevicePropRequest& request, const DeleteDevicePropAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDevicePropOutcomeCallable deleteDevicePropCallable(const Model::DeleteDevicePropRequest& request) const;
DeleteDeviceSpeechOutcome deleteDeviceSpeech(const Model::DeleteDeviceSpeechRequest &request)const;
void deleteDeviceSpeechAsync(const Model::DeleteDeviceSpeechRequest& request, const DeleteDeviceSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceSpeechOutcomeCallable deleteDeviceSpeechCallable(const Model::DeleteDeviceSpeechRequest& request) const;
DeleteEdgeDriverOutcome deleteEdgeDriver(const Model::DeleteEdgeDriverRequest &request)const;
void deleteEdgeDriverAsync(const Model::DeleteEdgeDriverRequest& request, const DeleteEdgeDriverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEdgeDriverOutcomeCallable deleteEdgeDriverCallable(const Model::DeleteEdgeDriverRequest& request) const;
@@ -1871,6 +1927,9 @@ namespace AlibabaCloud
GetSceneRuleOutcome getSceneRule(const Model::GetSceneRuleRequest &request)const;
void getSceneRuleAsync(const Model::GetSceneRuleRequest& request, const GetSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSceneRuleOutcomeCallable getSceneRuleCallable(const Model::GetSceneRuleRequest& request) const;
GetSpeechDeviceDetailOutcome getSpeechDeviceDetail(const Model::GetSpeechDeviceDetailRequest &request)const;
void getSpeechDeviceDetailAsync(const Model::GetSpeechDeviceDetailRequest& request, const GetSpeechDeviceDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSpeechDeviceDetailOutcomeCallable getSpeechDeviceDetailCallable(const Model::GetSpeechDeviceDetailRequest& request) const;
GetSpeechVoiceOutcome getSpeechVoice(const Model::GetSpeechVoiceRequest &request)const;
void getSpeechVoiceAsync(const Model::GetSpeechVoiceRequest& request, const GetSpeechVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSpeechVoiceOutcomeCallable getSpeechVoiceCallable(const Model::GetSpeechVoiceRequest& request) const;
@@ -1997,6 +2056,9 @@ namespace AlibabaCloud
QueryCertUrlByApplyIdOutcome queryCertUrlByApplyId(const Model::QueryCertUrlByApplyIdRequest &request)const;
void queryCertUrlByApplyIdAsync(const Model::QueryCertUrlByApplyIdRequest& request, const QueryCertUrlByApplyIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCertUrlByApplyIdOutcomeCallable queryCertUrlByApplyIdCallable(const Model::QueryCertUrlByApplyIdRequest& request) const;
QueryClientIdsOutcome queryClientIds(const Model::QueryClientIdsRequest &request)const;
void queryClientIdsAsync(const Model::QueryClientIdsRequest& request, const QueryClientIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryClientIdsOutcomeCallable queryClientIdsCallable(const Model::QueryClientIdsRequest& request) const;
QueryConsumerGroupByGroupIdOutcome queryConsumerGroupByGroupId(const Model::QueryConsumerGroupByGroupIdRequest &request)const;
void queryConsumerGroupByGroupIdAsync(const Model::QueryConsumerGroupByGroupIdRequest& request, const QueryConsumerGroupByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryConsumerGroupByGroupIdOutcomeCallable queryConsumerGroupByGroupIdCallable(const Model::QueryConsumerGroupByGroupIdRequest& request) const;
@@ -2093,6 +2155,9 @@ namespace AlibabaCloud
QueryDeviceServiceDataOutcome queryDeviceServiceData(const Model::QueryDeviceServiceDataRequest &request)const;
void queryDeviceServiceDataAsync(const Model::QueryDeviceServiceDataRequest& request, const QueryDeviceServiceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDeviceServiceDataOutcomeCallable queryDeviceServiceDataCallable(const Model::QueryDeviceServiceDataRequest& request) const;
QueryDeviceSpeechOutcome queryDeviceSpeech(const Model::QueryDeviceSpeechRequest &request)const;
void queryDeviceSpeechAsync(const Model::QueryDeviceSpeechRequest& request, const QueryDeviceSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDeviceSpeechOutcomeCallable queryDeviceSpeechCallable(const Model::QueryDeviceSpeechRequest& request) const;
QueryDeviceStatisticsOutcome queryDeviceStatistics(const Model::QueryDeviceStatisticsRequest &request)const;
void queryDeviceStatisticsAsync(const Model::QueryDeviceStatisticsRequest& request, const QueryDeviceStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDeviceStatisticsOutcomeCallable queryDeviceStatisticsCallable(const Model::QueryDeviceStatisticsRequest& request) const;
@@ -2138,6 +2203,9 @@ namespace AlibabaCloud
QueryLoRaJoinPermissionsOutcome queryLoRaJoinPermissions(const Model::QueryLoRaJoinPermissionsRequest &request)const;
void queryLoRaJoinPermissionsAsync(const Model::QueryLoRaJoinPermissionsRequest& request, const QueryLoRaJoinPermissionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryLoRaJoinPermissionsOutcomeCallable queryLoRaJoinPermissionsCallable(const Model::QueryLoRaJoinPermissionsRequest& request) const;
QueryMessageInfoOutcome queryMessageInfo(const Model::QueryMessageInfoRequest &request)const;
void queryMessageInfoAsync(const Model::QueryMessageInfoRequest& request, const QueryMessageInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMessageInfoOutcomeCallable queryMessageInfoCallable(const Model::QueryMessageInfoRequest& request) const;
QueryOTAFirmwareOutcome queryOTAFirmware(const Model::QueryOTAFirmwareRequest &request)const;
void queryOTAFirmwareAsync(const Model::QueryOTAFirmwareRequest& request, const QueryOTAFirmwareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryOTAFirmwareOutcomeCallable queryOTAFirmwareCallable(const Model::QueryOTAFirmwareRequest& request) const;
@@ -2168,6 +2236,9 @@ namespace AlibabaCloud
QuerySpeechOutcome querySpeech(const Model::QuerySpeechRequest &request)const;
void querySpeechAsync(const Model::QuerySpeechRequest& request, const QuerySpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySpeechOutcomeCallable querySpeechCallable(const Model::QuerySpeechRequest& request) const;
QuerySpeechDeviceOutcome querySpeechDevice(const Model::QuerySpeechDeviceRequest &request)const;
void querySpeechDeviceAsync(const Model::QuerySpeechDeviceRequest& request, const QuerySpeechDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySpeechDeviceOutcomeCallable querySpeechDeviceCallable(const Model::QuerySpeechDeviceRequest& request) const;
QuerySpeechListOutcome querySpeechList(const Model::QuerySpeechListRequest &request)const;
void querySpeechListAsync(const Model::QuerySpeechListRequest& request, const QuerySpeechListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySpeechListOutcomeCallable querySpeechListCallable(const Model::QuerySpeechListRequest& request) const;
@@ -2246,6 +2317,9 @@ namespace AlibabaCloud
ReplaceEdgeInstanceGatewayOutcome replaceEdgeInstanceGateway(const Model::ReplaceEdgeInstanceGatewayRequest &request)const;
void replaceEdgeInstanceGatewayAsync(const Model::ReplaceEdgeInstanceGatewayRequest& request, const ReplaceEdgeInstanceGatewayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReplaceEdgeInstanceGatewayOutcomeCallable replaceEdgeInstanceGatewayCallable(const Model::ReplaceEdgeInstanceGatewayRequest& request) const;
RerunJobOutcome rerunJob(const Model::RerunJobRequest &request)const;
void rerunJobAsync(const Model::RerunJobRequest& request, const RerunJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RerunJobOutcomeCallable rerunJobCallable(const Model::RerunJobRequest& request) const;
ResetConsumerGroupPositionOutcome resetConsumerGroupPosition(const Model::ResetConsumerGroupPositionRequest &request)const;
void resetConsumerGroupPositionAsync(const Model::ResetConsumerGroupPositionRequest& request, const ResetConsumerGroupPositionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetConsumerGroupPositionOutcomeCallable resetConsumerGroupPositionCallable(const Model::ResetConsumerGroupPositionRequest& request) const;
@@ -2288,12 +2362,18 @@ namespace AlibabaCloud
StopRuleOutcome stopRule(const Model::StopRuleRequest &request)const;
void stopRuleAsync(const Model::StopRuleRequest& request, const StopRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopRuleOutcomeCallable stopRuleCallable(const Model::StopRuleRequest& request) const;
SubscribeTopicOutcome subscribeTopic(const Model::SubscribeTopicRequest &request)const;
void subscribeTopicAsync(const Model::SubscribeTopicRequest& request, const SubscribeTopicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubscribeTopicOutcomeCallable subscribeTopicCallable(const Model::SubscribeTopicRequest& request) const;
SyncSpeechByCombinationOutcome syncSpeechByCombination(const Model::SyncSpeechByCombinationRequest &request)const;
void syncSpeechByCombinationAsync(const Model::SyncSpeechByCombinationRequest& request, const SyncSpeechByCombinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SyncSpeechByCombinationOutcomeCallable syncSpeechByCombinationCallable(const Model::SyncSpeechByCombinationRequest& request) const;
TestSpeechOutcome testSpeech(const Model::TestSpeechRequest &request)const;
void testSpeechAsync(const Model::TestSpeechRequest& request, const TestSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TestSpeechOutcomeCallable testSpeechCallable(const Model::TestSpeechRequest& request) const;
TransformClientIdOutcome transformClientId(const Model::TransformClientIdRequest &request)const;
void transformClientIdAsync(const Model::TransformClientIdRequest& request, const TransformClientIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransformClientIdOutcomeCallable transformClientIdCallable(const Model::TransformClientIdRequest& request) const;
TriggerSceneRuleOutcome triggerSceneRule(const Model::TriggerSceneRuleRequest &request)const;
void triggerSceneRuleAsync(const Model::TriggerSceneRuleRequest& request, const TriggerSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TriggerSceneRuleOutcomeCallable triggerSceneRuleCallable(const Model::TriggerSceneRuleRequest& request) const;

View File

@@ -30,6 +30,15 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_IOT_EXPORT CreateOTAFirmwareRequest : public RpcServiceRequest
{
public:
struct MultiFiles
{
int size;
std::string name;
std::string signValue;
std::string fileMd5;
std::string url;
};
public:
CreateOTAFirmwareRequest();
@@ -37,6 +46,8 @@ namespace AlibabaCloud
std::string getSignMethod()const;
void setSignMethod(const std::string& signMethod);
std::vector<MultiFiles> getMultiFiles()const;
void setMultiFiles(const std::vector<MultiFiles>& multiFiles);
bool getNeedToVerify()const;
void setNeedToVerify(bool needToVerify);
int getType()const;
@@ -65,11 +76,14 @@ namespace AlibabaCloud
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getUdi()const;
void setUdi(const std::string& udi);
std::string getDestVersion()const;
void setDestVersion(const std::string& destVersion);
private:
std::string signMethod_;
std::vector<MultiFiles> multiFiles_;
bool needToVerify_;
int type_;
std::string firmwareUrl_;
@@ -84,6 +98,7 @@ namespace AlibabaCloud
std::string srcVersion_;
std::string apiProduct_;
std::string apiRevision_;
std::string udi_;
std::string destVersion_;
};

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_IOT_EXPORT CreateOTAVerifyJobRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
CreateOTAVerifyJobRequest();
@@ -45,6 +51,8 @@ namespace AlibabaCloud
void setNeedPush(bool needPush);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getFirmwareId()const;
void setFirmwareId(const std::string& firmwareId);
std::string getProductKey()const;
@@ -62,6 +70,7 @@ namespace AlibabaCloud
std::string accessKeyId_;
bool needPush_;
std::string iotInstanceId_;
std::vector<Tag> tag_;
std::string firmwareId_;
std::string productKey_;
std::string apiProduct_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setVoice(const std::string& voice);
std::string getProjectCode()const;
void setProjectCode(const std::string& projectCode);
std::string getAudioFormat()const;
void setAudioFormat(const std::string& audioFormat);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getText()const;
@@ -59,6 +61,7 @@ namespace AlibabaCloud
private:
std::string voice_;
std::string projectCode_;
std::string audioFormat_;
std::string iotInstanceId_;
std::string text_;
std::string speechType_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_DELETECLIENTIDSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_DELETECLIENTIDSREQUEST_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 DeleteClientIdsRequest : public RpcServiceRequest
{
public:
DeleteClientIdsRequest();
~DeleteClientIdsRequest();
std::string getAuthConfig()const;
void setAuthConfig(const std::string& authConfig);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string authConfig_;
std::string iotId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETECLIENTIDSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_DELETECLIENTIDSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_DELETECLIENTIDSRESULT_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 DeleteClientIdsResult : public ServiceResult
{
public:
DeleteClientIdsResult();
explicit DeleteClientIdsResult(const std::string &payload);
~DeleteClientIdsResult();
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_DELETECLIENTIDSRESULT_H_

View 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_DELETEDEVICESPEECHREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICESPEECHREQUEST_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 DeleteDeviceSpeechRequest : public RpcServiceRequest
{
public:
struct DeviceSpeechList
{
std::string bizCode;
std::string audioFormat;
};
public:
DeleteDeviceSpeechRequest();
~DeleteDeviceSpeechRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::vector<DeviceSpeechList> getDeviceSpeechList()const;
void setDeviceSpeechList(const std::vector<DeviceSpeechList>& deviceSpeechList);
private:
std::string iotId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
std::vector<DeviceSpeechList> deviceSpeechList_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEDEVICESPEECHREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_DELETEDEVICESPEECHRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICESPEECHRESULT_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 DeleteDeviceSpeechResult : public ServiceResult
{
public:
DeleteDeviceSpeechResult();
explicit DeleteDeviceSpeechResult(const std::string &payload);
~DeleteDeviceSpeechResult();
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_DELETEDEVICESPEECHRESULT_H_

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setResourceGroupId(const std::string& resourceGroupId);
std::vector<std::string> getPropertyIdentifier()const;
void setPropertyIdentifier(const std::vector<std::string>& propertyIdentifier);
std::string getDTModelId()const;
void setDTModelId(const std::string& dTModelId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<std::string> getServiceIdentifier()const;
@@ -69,6 +71,7 @@ namespace AlibabaCloud
std::string realTripartiteKey_;
std::string resourceGroupId_;
std::vector<std::string> propertyIdentifier_;
std::string dTModelId_;
std::string iotInstanceId_;
std::vector<std::string> serviceIdentifier_;
std::string productKey_;

View File

@@ -35,8 +35,12 @@ namespace AlibabaCloud
GetGatewayBySubDeviceRequest();
~GetGatewayBySubDeviceRequest();
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 getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
@@ -51,7 +55,9 @@ namespace AlibabaCloud
void setDeviceName(const std::string& deviceName);
private:
std::string realTenantId_;
std::string accessKeyId_;
std::string realTripartiteKey_;
std::string iotId_;
std::string iotInstanceId_;
std::string productKey_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_GETSPEECHDEVICEDETAILREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_GETSPEECHDEVICEDETAILREQUEST_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 GetSpeechDeviceDetailRequest : public RpcServiceRequest
{
public:
GetSpeechDeviceDetailRequest();
~GetSpeechDeviceDetailRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_GETSPEECHDEVICEDETAILREQUEST_H_

View File

@@ -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_GETSPEECHDEVICEDETAILRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_GETSPEECHDEVICEDETAILRESULT_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 GetSpeechDeviceDetailResult : public ServiceResult
{
public:
struct Data
{
std::string status;
std::string iotId;
float availableSpace;
long speechListUpdateTime;
float totalSpace;
std::string productKey;
std::string deviceName;
};
GetSpeechDeviceDetailResult();
explicit GetSpeechDeviceDetailResult(const std::string &payload);
~GetSpeechDeviceDetailResult();
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_GETSPEECHDEVICEDETAILRESULT_H_

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getRealTripartiteKey()const;
void setRealTripartiteKey(const std::string& realTripartiteKey);
std::string getDTModelId()const;
void setDTModelId(const std::string& dTModelId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
bool simple_;
std::string accessKeyId_;
std::string realTripartiteKey_;
std::string dTModelId_;
std::string iotInstanceId_;
std::string productKey_;
std::string apiProduct_;

View File

@@ -35,8 +35,12 @@ namespace AlibabaCloud
ListThingModelVersionRequest();
~ListThingModelVersionRequest();
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 getProductKey()const;
@@ -47,7 +51,9 @@ namespace AlibabaCloud
void setApiRevision(const std::string& apiRevision);
private:
std::string realTenantId_;
std::string accessKeyId_;
std::string realTripartiteKey_;
std::string iotInstanceId_;
std::string productKey_;
std::string apiProduct_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYCLIENTIDSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYCLIENTIDSREQUEST_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 QueryClientIdsRequest : public RpcServiceRequest
{
public:
QueryClientIdsRequest();
~QueryClientIdsRequest();
std::string getAuthConfig()const;
void setAuthConfig(const std::string& authConfig);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string authConfig_;
std::string iotId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYCLIENTIDSREQUEST_H_

View File

@@ -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_QUERYCLIENTIDSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYCLIENTIDSRESULT_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 QueryClientIdsResult : public ServiceResult
{
public:
struct Data
{
struct DynamicRegClientId
{
long createTime;
std::string clientId;
};
std::vector<DynamicRegClientId> dynamicRegClientIds;
std::string iotId;
};
QueryClientIdsResult();
explicit QueryClientIdsResult(const std::string &payload);
~QueryClientIdsResult();
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_QUERYCLIENTIDSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDEVICESPEECHREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICESPEECHREQUEST_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 QueryDeviceSpeechRequest : public RpcServiceRequest
{
public:
QueryDeviceSpeechRequest();
~QueryDeviceSpeechRequest();
int getPageId()const;
void setPageId(int pageId);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
int pageId_;
std::string iotId_;
std::string iotInstanceId_;
int pageSize_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICESPEECHREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDEVICESPEECHRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICESPEECHRESULT_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 QueryDeviceSpeechResult : public ServiceResult
{
public:
struct Data
{
struct Items
{
float size;
std::string audioFormat;
std::string bizCode;
};
int pageId;
int pageSize;
int total;
std::vector<Items> list;
};
QueryDeviceSpeechResult();
explicit QueryDeviceSpeechResult(const std::string &payload);
~QueryDeviceSpeechResult();
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_QUERYDEVICESPEECHRESULT_H_

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
int type;
long gmtCreateTimestamp;
std::string driverName;
bool isApply;
long gmtModifiedTimestamp;
std::string cpuArch;
bool isBuiltIn;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYMESSAGEINFOREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYMESSAGEINFOREQUEST_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 QueryMessageInfoRequest : public RpcServiceRequest
{
public:
QueryMessageInfoRequest();
~QueryMessageInfoRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getUniMsgId()const;
void setUniMsgId(const std::string& uniMsgId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string accessKeyId_;
std::string uniMsgId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYMESSAGEINFOREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYMESSAGEINFORESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYMESSAGEINFORESULT_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 QueryMessageInfoResult : public ServiceResult
{
public:
struct Message
{
struct UserProperty
{
std::string value;
std::string key;
};
std::string messageContent;
std::vector<UserProperty> userProperties;
long generateTime;
std::string uniMsgId;
std::string topicFullName;
};
QueryMessageInfoResult();
explicit QueryMessageInfoResult(const std::string &payload);
~QueryMessageInfoResult();
Message getMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Message message_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYMESSAGEINFORESULT_H_

View File

@@ -34,6 +34,14 @@ namespace AlibabaCloud
public:
struct FirmwareInfo
{
struct OtaPackageFileDTO
{
std::string fileMd5;
int size;
std::string url;
std::string name;
std::string signValue;
};
int status;
int verifyProgress;
int firmwareSize;
@@ -45,10 +53,12 @@ namespace AlibabaCloud
int type;
std::string utcCreate;
std::string firmwareDesc;
std::vector<OtaPackageFileDTO> multiFiles;
std::string firmwareUrl;
std::string utcModified;
std::string firmwareName;
std::string destVersion;
std::string udi;
std::string productKey;
std::string srcVersion;
};

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSPEECHDEVICEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHDEVICEREQUEST_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 QuerySpeechDeviceRequest : public RpcServiceRequest
{
public:
QuerySpeechDeviceRequest();
~QuerySpeechDeviceRequest();
std::string getAvailableSpaceScope()const;
void setAvailableSpaceScope(const std::string& availableSpaceScope);
std::string getProjectCode()const;
void setProjectCode(const std::string& projectCode);
int getPageId()const;
void setPageId(int pageId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getAvailableSpace()const;
void setAvailableSpace(const std::string& availableSpace);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
private:
std::string availableSpaceScope_;
std::string projectCode_;
int pageId_;
std::string iotInstanceId_;
int pageSize_;
std::string availableSpace_;
std::string apiProduct_;
std::string apiRevision_;
std::string deviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHDEVICEREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_QUERYSPEECHDEVICERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHDEVICERESULT_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 QuerySpeechDeviceResult : public ServiceResult
{
public:
struct Data
{
struct Items
{
std::string iotId;
float availableSpace;
std::string productKey;
std::string deviceName;
};
int pageId;
int pageSize;
int total;
std::vector<Items> list;
};
QuerySpeechDeviceResult();
explicit QuerySpeechDeviceResult(const std::string &payload);
~QuerySpeechDeviceResult();
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_QUERYSPEECHDEVICERESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setProjectCode(const std::string& projectCode);
int getPageId()const;
void setPageId(int pageId);
std::string getAudioFormat()const;
void setAudioFormat(const std::string& audioFormat);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string projectCode_;
int pageId_;
std::string audioFormat_;
std::string iotInstanceId_;
int pageSize_;
std::string apiProduct_;

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::vector<Items::Items1> speechList;
std::string speechCode;
std::string text;
std::string audioFormat;
std::string voice;
std::string bizCode;
};

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setRealTripartiteKey(const std::string& realTripartiteKey);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getDTModelId()const;
void setDTModelId(const std::string& dTModelId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string realTripartiteKey_;
std::string resourceGroupId_;
std::string dTModelId_;
std::string iotInstanceId_;
std::string productKey_;
std::string apiProduct_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_RERUNJOBREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_RERUNJOBREQUEST_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 RerunJobRequest : public RpcServiceRequest
{
public:
RerunJobRequest();
~RerunJobRequest();
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string jobId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_RERUNJOBREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_RERUNJOBRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_RERUNJOBRESULT_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 RerunJobResult : public ServiceResult
{
public:
RerunJobResult();
explicit RerunJobResult(const std::string &payload);
~RerunJobResult();
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_RERUNJOBRESULT_H_

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
SpeechByCombinationRequest();
~SpeechByCombinationRequest();
std::string getSpeechId()const;
void setSpeechId(const std::string& speechId);
std::string getAudioFormat()const;
void setAudioFormat(const std::string& audioFormat);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::vector<std::string> getCombinationList()const;
@@ -51,6 +55,8 @@ namespace AlibabaCloud
void setDeviceName(const std::string& deviceName);
private:
std::string speechId_;
std::string audioFormat_;
std::string iotId_;
std::vector<std::string> combinationList_;
std::string iotInstanceId_;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_SUBSCRIBETOPICREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_SUBSCRIBETOPICREQUEST_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 SubscribeTopicRequest : public RpcServiceRequest
{
public:
SubscribeTopicRequest();
~SubscribeTopicRequest();
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::vector<std::string> getTopic()const;
void setTopic(const std::vector<std::string>& topic);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string apiProduct_;
std::vector<std::string> topic_;
std::string apiRevision_;
std::string deviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_SUBSCRIBETOPICREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_SUBSCRIBETOPICRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_SUBSCRIBETOPICRESULT_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 SubscribeTopicResult : public ServiceResult
{
public:
SubscribeTopicResult();
explicit SubscribeTopicResult(const std::string &payload);
~SubscribeTopicResult();
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_SUBSCRIBETOPICRESULT_H_

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
SyncSpeechByCombinationRequest();
~SyncSpeechByCombinationRequest();
std::string getSpeechId()const;
void setSpeechId(const std::string& speechId);
std::string getAudioFormat()const;
void setAudioFormat(const std::string& audioFormat);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::vector<std::string> getCombinationList()const;
@@ -51,6 +55,8 @@ namespace AlibabaCloud
void setDeviceName(const std::string& deviceName);
private:
std::string speechId_;
std::string audioFormat_;
std::string iotId_;
std::vector<std::string> combinationList_;
std::string iotInstanceId_;

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string deviceErrorCode;
std::string deviceErrorMessage;
bool success;
std::string detail;
};

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setVoice(const std::string& voice);
std::string getProjectCode()const;
void setProjectCode(const std::string& projectCode);
std::string getAudioFormat()const;
void setAudioFormat(const std::string& audioFormat);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getText()const;
@@ -57,6 +59,7 @@ namespace AlibabaCloud
private:
std::string voice_;
std::string projectCode_;
std::string audioFormat_;
std::string iotInstanceId_;
std::string text_;
std::string speechType_;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_TRANSFORMCLIENTIDREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_TRANSFORMCLIENTIDREQUEST_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 TransformClientIdRequest : public RpcServiceRequest
{
public:
TransformClientIdRequest();
~TransformClientIdRequest();
std::string getAuthConfig()const;
void setAuthConfig(const std::string& authConfig);
std::string getClientId()const;
void setClientId(const std::string& clientId);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string authConfig_;
std::string clientId_;
std::string iotId_;
std::string iotInstanceId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_TRANSFORMCLIENTIDREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_TRANSFORMCLIENTIDRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_TRANSFORMCLIENTIDRESULT_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 TransformClientIdResult : public ServiceResult
{
public:
TransformClientIdResult();
explicit TransformClientIdResult(const std::string &payload);
~TransformClientIdResult();
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_TRANSFORMCLIENTIDRESULT_H_