From 8d654a308d0fecb830cd1cbbb448b26bc92af99f Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 22 Apr 2022 03:40:42 +0000 Subject: [PATCH] Iot_20180120 old version sdk. --- CHANGELOG | 3 + VERSION | 2 +- iot/CMakeLists.txt | 76 ++ iot/include/alibabacloud/iot/IotClient.h | 152 ++++ .../model/BatchCreateSoundCodeLabelRequest.h | 63 ++ .../model/BatchCreateSoundCodeLabelResult.h | 57 ++ ...tchCreateSoundCodeLabelWithLabelsRequest.h | 63 ++ ...atchCreateSoundCodeLabelWithLabelsResult.h | 57 ++ .../iot/model/CreateSchedulePeriodRequest.h | 69 ++ .../iot/model/CreateSchedulePeriodResult.h | 57 ++ .../iot/model/CreateSoundCodeLabelRequest.h | 60 ++ .../iot/model/CreateSoundCodeLabelResult.h | 57 ++ .../model/CreateSoundCodeScheduleRequest.h | 66 ++ .../iot/model/CreateSoundCodeScheduleResult.h | 57 ++ .../iot/model/DeleteSchedulePeriodRequest.h | 57 ++ .../iot/model/DeleteSchedulePeriodResult.h | 55 ++ .../iot/model/DeleteSoundCodeLabelRequest.h | 57 ++ .../iot/model/DeleteSoundCodeLabelResult.h | 55 ++ .../model/DeleteSoundCodeScheduleRequest.h | 57 ++ .../iot/model/DeleteSoundCodeScheduleResult.h | 55 ++ .../iot/model/GetSoundCodeScheduleRequest.h | 57 ++ .../iot/model/GetSoundCodeScheduleResult.h | 69 ++ .../PackageSoundCodeLabelBatchAudioRequest.h | 57 ++ .../PackageSoundCodeLabelBatchAudioResult.h | 57 ++ .../model/QuerySchedulePeriodListRequest.h | 63 ++ .../iot/model/QuerySchedulePeriodListResult.h | 72 ++ ...rySoundCodeLabelBatchFailedResultRequest.h | 57 ++ ...erySoundCodeLabelBatchFailedResultResult.h | 63 ++ .../QuerySoundCodeLabelBatchListRequest.h | 63 ++ .../QuerySoundCodeLabelBatchListResult.h | 73 ++ .../model/QuerySoundCodeLabelListRequest.h | 63 ++ .../iot/model/QuerySoundCodeLabelListResult.h | 69 ++ .../model/QuerySoundCodeScheduleListRequest.h | 60 ++ .../model/QuerySoundCodeScheduleListResult.h | 76 ++ .../model/RetrySoundCodeLabelBatchRequest.h | 57 ++ .../model/RetrySoundCodeLabelBatchResult.h | 55 ++ .../iot/model/SaveDevicePropRequest.h | 6 + .../iot/model/UpdateSchedulePeriodRequest.h | 69 ++ .../iot/model/UpdateSchedulePeriodResult.h | 55 ++ .../iot/model/UpdateSoundCodeLabelRequest.h | 60 ++ .../iot/model/UpdateSoundCodeLabelResult.h | 55 ++ .../model/UpdateSoundCodeScheduleRequest.h | 78 ++ .../iot/model/UpdateSoundCodeScheduleResult.h | 55 ++ iot/src/IotClient.cc | 684 ++++++++++++++++++ .../model/BatchCreateSoundCodeLabelRequest.cc | 95 +++ .../model/BatchCreateSoundCodeLabelResult.cc | 72 ++ ...chCreateSoundCodeLabelWithLabelsRequest.cc | 97 +++ ...tchCreateSoundCodeLabelWithLabelsResult.cc | 72 ++ iot/src/model/CreateSchedulePeriodRequest.cc | 117 +++ iot/src/model/CreateSchedulePeriodResult.cc | 72 ++ iot/src/model/CreateSoundCodeLabelRequest.cc | 84 +++ iot/src/model/CreateSoundCodeLabelResult.cc | 72 ++ .../model/CreateSoundCodeScheduleRequest.cc | 106 +++ .../model/CreateSoundCodeScheduleResult.cc | 72 ++ iot/src/model/DeleteSchedulePeriodRequest.cc | 73 ++ iot/src/model/DeleteSchedulePeriodResult.cc | 65 ++ iot/src/model/DeleteSoundCodeLabelRequest.cc | 73 ++ iot/src/model/DeleteSoundCodeLabelResult.cc | 65 ++ .../model/DeleteSoundCodeScheduleRequest.cc | 73 ++ .../model/DeleteSoundCodeScheduleResult.cc | 65 ++ iot/src/model/GetSoundCodeScheduleRequest.cc | 73 ++ iot/src/model/GetSoundCodeScheduleResult.cc | 89 +++ .../PackageSoundCodeLabelBatchAudioRequest.cc | 73 ++ .../PackageSoundCodeLabelBatchAudioResult.cc | 72 ++ .../model/QuerySchedulePeriodListRequest.cc | 95 +++ .../model/QuerySchedulePeriodListResult.cc | 93 +++ ...ySoundCodeLabelBatchFailedResultRequest.cc | 73 ++ ...rySoundCodeLabelBatchFailedResultResult.cc | 82 +++ .../QuerySoundCodeLabelBatchListRequest.cc | 95 +++ .../QuerySoundCodeLabelBatchListResult.cc | 95 +++ .../model/QuerySoundCodeLabelListRequest.cc | 95 +++ .../model/QuerySoundCodeLabelListResult.cc | 87 +++ .../QuerySoundCodeScheduleListRequest.cc | 84 +++ .../model/QuerySoundCodeScheduleListResult.cc | 101 +++ .../model/RetrySoundCodeLabelBatchRequest.cc | 73 ++ .../model/RetrySoundCodeLabelBatchResult.cc | 65 ++ iot/src/model/SaveDevicePropRequest.cc | 22 + iot/src/model/UpdateSchedulePeriodRequest.cc | 117 +++ iot/src/model/UpdateSchedulePeriodResult.cc | 65 ++ iot/src/model/UpdateSoundCodeLabelRequest.cc | 84 +++ iot/src/model/UpdateSoundCodeLabelResult.cc | 65 ++ .../model/UpdateSoundCodeScheduleRequest.cc | 150 ++++ .../model/UpdateSoundCodeScheduleResult.cc | 65 ++ 83 files changed, 6433 insertions(+), 1 deletion(-) create mode 100644 iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelRequest.h create mode 100644 iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelResult.h create mode 100644 iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsRequest.h create mode 100644 iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsResult.h create mode 100644 iot/include/alibabacloud/iot/model/CreateSchedulePeriodRequest.h create mode 100644 iot/include/alibabacloud/iot/model/CreateSchedulePeriodResult.h create mode 100644 iot/include/alibabacloud/iot/model/CreateSoundCodeLabelRequest.h create mode 100644 iot/include/alibabacloud/iot/model/CreateSoundCodeLabelResult.h create mode 100644 iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleRequest.h create mode 100644 iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleResult.h create mode 100644 iot/include/alibabacloud/iot/model/DeleteSchedulePeriodRequest.h create mode 100644 iot/include/alibabacloud/iot/model/DeleteSchedulePeriodResult.h create mode 100644 iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelRequest.h create mode 100644 iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelResult.h create mode 100644 iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleRequest.h create mode 100644 iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleResult.h create mode 100644 iot/include/alibabacloud/iot/model/GetSoundCodeScheduleRequest.h create mode 100644 iot/include/alibabacloud/iot/model/GetSoundCodeScheduleResult.h create mode 100644 iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioRequest.h create mode 100644 iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioResult.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySchedulePeriodListRequest.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySchedulePeriodListResult.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultRequest.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultResult.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListRequest.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListResult.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListRequest.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListResult.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListRequest.h create mode 100644 iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListResult.h create mode 100644 iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchRequest.h create mode 100644 iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchResult.h create mode 100644 iot/include/alibabacloud/iot/model/UpdateSchedulePeriodRequest.h create mode 100644 iot/include/alibabacloud/iot/model/UpdateSchedulePeriodResult.h create mode 100644 iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelRequest.h create mode 100644 iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelResult.h create mode 100644 iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleRequest.h create mode 100644 iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleResult.h create mode 100644 iot/src/model/BatchCreateSoundCodeLabelRequest.cc create mode 100644 iot/src/model/BatchCreateSoundCodeLabelResult.cc create mode 100644 iot/src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc create mode 100644 iot/src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc create mode 100644 iot/src/model/CreateSchedulePeriodRequest.cc create mode 100644 iot/src/model/CreateSchedulePeriodResult.cc create mode 100644 iot/src/model/CreateSoundCodeLabelRequest.cc create mode 100644 iot/src/model/CreateSoundCodeLabelResult.cc create mode 100644 iot/src/model/CreateSoundCodeScheduleRequest.cc create mode 100644 iot/src/model/CreateSoundCodeScheduleResult.cc create mode 100644 iot/src/model/DeleteSchedulePeriodRequest.cc create mode 100644 iot/src/model/DeleteSchedulePeriodResult.cc create mode 100644 iot/src/model/DeleteSoundCodeLabelRequest.cc create mode 100644 iot/src/model/DeleteSoundCodeLabelResult.cc create mode 100644 iot/src/model/DeleteSoundCodeScheduleRequest.cc create mode 100644 iot/src/model/DeleteSoundCodeScheduleResult.cc create mode 100644 iot/src/model/GetSoundCodeScheduleRequest.cc create mode 100644 iot/src/model/GetSoundCodeScheduleResult.cc create mode 100644 iot/src/model/PackageSoundCodeLabelBatchAudioRequest.cc create mode 100644 iot/src/model/PackageSoundCodeLabelBatchAudioResult.cc create mode 100644 iot/src/model/QuerySchedulePeriodListRequest.cc create mode 100644 iot/src/model/QuerySchedulePeriodListResult.cc create mode 100644 iot/src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc create mode 100644 iot/src/model/QuerySoundCodeLabelBatchFailedResultResult.cc create mode 100644 iot/src/model/QuerySoundCodeLabelBatchListRequest.cc create mode 100644 iot/src/model/QuerySoundCodeLabelBatchListResult.cc create mode 100644 iot/src/model/QuerySoundCodeLabelListRequest.cc create mode 100644 iot/src/model/QuerySoundCodeLabelListResult.cc create mode 100644 iot/src/model/QuerySoundCodeScheduleListRequest.cc create mode 100644 iot/src/model/QuerySoundCodeScheduleListResult.cc create mode 100644 iot/src/model/RetrySoundCodeLabelBatchRequest.cc create mode 100644 iot/src/model/RetrySoundCodeLabelBatchResult.cc create mode 100644 iot/src/model/UpdateSchedulePeriodRequest.cc create mode 100644 iot/src/model/UpdateSchedulePeriodResult.cc create mode 100644 iot/src/model/UpdateSoundCodeLabelRequest.cc create mode 100644 iot/src/model/UpdateSoundCodeLabelResult.cc create mode 100644 iot/src/model/UpdateSoundCodeScheduleRequest.cc create mode 100644 iot/src/model/UpdateSoundCodeScheduleResult.cc diff --git a/CHANGELOG b/CHANGELOG index 05fc3c5bc..af5311a4d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-04-22 Version: 1.36.1113 +- Iot_20180120 old version sdk. + 2022-04-21 Version: 1.36.1112 - Supported new features etc. diff --git a/VERSION b/VERSION index 9c44c0855..6f127fb78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1112 \ No newline at end of file +1.36.1113 \ No newline at end of file diff --git a/iot/CMakeLists.txt b/iot/CMakeLists.txt index 7dbf94678..7e2d9f7f0 100644 --- a/iot/CMakeLists.txt +++ b/iot/CMakeLists.txt @@ -39,6 +39,10 @@ set(iot_public_header_model include/alibabacloud/iot/model/BatchCheckDeviceNamesResult.h include/alibabacloud/iot/model/BatchClearEdgeInstanceDeviceConfigRequest.h include/alibabacloud/iot/model/BatchClearEdgeInstanceDeviceConfigResult.h + include/alibabacloud/iot/model/BatchCreateSoundCodeLabelRequest.h + include/alibabacloud/iot/model/BatchCreateSoundCodeLabelResult.h + include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsRequest.h + include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsResult.h include/alibabacloud/iot/model/BatchDeleteDeviceGroupRelationsRequest.h include/alibabacloud/iot/model/BatchDeleteDeviceGroupRelationsResult.h include/alibabacloud/iot/model/BatchDeleteEdgeInstanceChannelRequest.h @@ -167,8 +171,14 @@ set(iot_public_header_model include/alibabacloud/iot/model/CreateRuleActionResult.h include/alibabacloud/iot/model/CreateSceneRuleRequest.h include/alibabacloud/iot/model/CreateSceneRuleResult.h + include/alibabacloud/iot/model/CreateSchedulePeriodRequest.h + include/alibabacloud/iot/model/CreateSchedulePeriodResult.h include/alibabacloud/iot/model/CreateSoundCodeRequest.h include/alibabacloud/iot/model/CreateSoundCodeResult.h + include/alibabacloud/iot/model/CreateSoundCodeLabelRequest.h + include/alibabacloud/iot/model/CreateSoundCodeLabelResult.h + include/alibabacloud/iot/model/CreateSoundCodeScheduleRequest.h + include/alibabacloud/iot/model/CreateSoundCodeScheduleResult.h include/alibabacloud/iot/model/CreateSpeechRequest.h include/alibabacloud/iot/model/CreateSpeechResult.h include/alibabacloud/iot/model/CreateStudioAppDomainOpenRequest.h @@ -229,8 +239,14 @@ set(iot_public_header_model include/alibabacloud/iot/model/DeleteRuleActionResult.h include/alibabacloud/iot/model/DeleteSceneRuleRequest.h include/alibabacloud/iot/model/DeleteSceneRuleResult.h + include/alibabacloud/iot/model/DeleteSchedulePeriodRequest.h + include/alibabacloud/iot/model/DeleteSchedulePeriodResult.h include/alibabacloud/iot/model/DeleteSoundCodeRequest.h include/alibabacloud/iot/model/DeleteSoundCodeResult.h + include/alibabacloud/iot/model/DeleteSoundCodeLabelRequest.h + include/alibabacloud/iot/model/DeleteSoundCodeLabelResult.h + include/alibabacloud/iot/model/DeleteSoundCodeScheduleRequest.h + include/alibabacloud/iot/model/DeleteSoundCodeScheduleResult.h include/alibabacloud/iot/model/DeleteSpeechRequest.h include/alibabacloud/iot/model/DeleteSpeechResult.h include/alibabacloud/iot/model/DeleteStudioAppDomainOpenRequest.h @@ -293,6 +309,8 @@ set(iot_public_header_model include/alibabacloud/iot/model/GetSceneRuleResult.h include/alibabacloud/iot/model/GetSoundCodeAudioRequest.h include/alibabacloud/iot/model/GetSoundCodeAudioResult.h + include/alibabacloud/iot/model/GetSoundCodeScheduleRequest.h + include/alibabacloud/iot/model/GetSoundCodeScheduleResult.h include/alibabacloud/iot/model/GetSpeechDeviceDetailRequest.h include/alibabacloud/iot/model/GetSpeechDeviceDetailResult.h include/alibabacloud/iot/model/GetSpeechVoiceRequest.h @@ -365,6 +383,8 @@ set(iot_public_header_model include/alibabacloud/iot/model/NotifyAddThingTopoResult.h include/alibabacloud/iot/model/OpenIotServiceRequest.h include/alibabacloud/iot/model/OpenIotServiceResult.h + include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioRequest.h + include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioResult.h include/alibabacloud/iot/model/PrintByTemplateRequest.h include/alibabacloud/iot/model/PrintByTemplateResult.h include/alibabacloud/iot/model/PubRequest.h @@ -501,10 +521,20 @@ set(iot_public_header_model include/alibabacloud/iot/model/QueryProductTopicResult.h include/alibabacloud/iot/model/QuerySceneRuleRequest.h include/alibabacloud/iot/model/QuerySceneRuleResult.h + include/alibabacloud/iot/model/QuerySchedulePeriodListRequest.h + include/alibabacloud/iot/model/QuerySchedulePeriodListResult.h include/alibabacloud/iot/model/QuerySolutionDeviceGroupPageRequest.h include/alibabacloud/iot/model/QuerySolutionDeviceGroupPageResult.h + include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultRequest.h + include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultResult.h + include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListRequest.h + include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListResult.h + include/alibabacloud/iot/model/QuerySoundCodeLabelListRequest.h + include/alibabacloud/iot/model/QuerySoundCodeLabelListResult.h include/alibabacloud/iot/model/QuerySoundCodeListRequest.h include/alibabacloud/iot/model/QuerySoundCodeListResult.h + include/alibabacloud/iot/model/QuerySoundCodeScheduleListRequest.h + include/alibabacloud/iot/model/QuerySoundCodeScheduleListResult.h include/alibabacloud/iot/model/QuerySpeechRequest.h include/alibabacloud/iot/model/QuerySpeechResult.h include/alibabacloud/iot/model/QuerySpeechDeviceRequest.h @@ -571,6 +601,8 @@ set(iot_public_header_model include/alibabacloud/iot/model/ResetConsumerGroupPositionResult.h include/alibabacloud/iot/model/ResetThingRequest.h include/alibabacloud/iot/model/ResetThingResult.h + include/alibabacloud/iot/model/RetrySoundCodeLabelBatchRequest.h + include/alibabacloud/iot/model/RetrySoundCodeLabelBatchResult.h include/alibabacloud/iot/model/ReupgradeOTATaskRequest.h include/alibabacloud/iot/model/ReupgradeOTATaskResult.h include/alibabacloud/iot/model/SaveDevicePropRequest.h @@ -649,6 +681,12 @@ set(iot_public_header_model include/alibabacloud/iot/model/UpdateRuleActionResult.h include/alibabacloud/iot/model/UpdateSceneRuleRequest.h include/alibabacloud/iot/model/UpdateSceneRuleResult.h + include/alibabacloud/iot/model/UpdateSchedulePeriodRequest.h + include/alibabacloud/iot/model/UpdateSchedulePeriodResult.h + include/alibabacloud/iot/model/UpdateSoundCodeLabelRequest.h + include/alibabacloud/iot/model/UpdateSoundCodeLabelResult.h + include/alibabacloud/iot/model/UpdateSoundCodeScheduleRequest.h + include/alibabacloud/iot/model/UpdateSoundCodeScheduleResult.h include/alibabacloud/iot/model/UpdateSpeechRequest.h include/alibabacloud/iot/model/UpdateSpeechResult.h include/alibabacloud/iot/model/UpdateSubscribeRelationRequest.h @@ -678,6 +716,10 @@ set(iot_src src/model/BatchCheckDeviceNamesResult.cc src/model/BatchClearEdgeInstanceDeviceConfigRequest.cc src/model/BatchClearEdgeInstanceDeviceConfigResult.cc + src/model/BatchCreateSoundCodeLabelRequest.cc + src/model/BatchCreateSoundCodeLabelResult.cc + src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc + src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc src/model/BatchDeleteDeviceGroupRelationsRequest.cc src/model/BatchDeleteDeviceGroupRelationsResult.cc src/model/BatchDeleteEdgeInstanceChannelRequest.cc @@ -806,8 +848,14 @@ set(iot_src src/model/CreateRuleActionResult.cc src/model/CreateSceneRuleRequest.cc src/model/CreateSceneRuleResult.cc + src/model/CreateSchedulePeriodRequest.cc + src/model/CreateSchedulePeriodResult.cc src/model/CreateSoundCodeRequest.cc src/model/CreateSoundCodeResult.cc + src/model/CreateSoundCodeLabelRequest.cc + src/model/CreateSoundCodeLabelResult.cc + src/model/CreateSoundCodeScheduleRequest.cc + src/model/CreateSoundCodeScheduleResult.cc src/model/CreateSpeechRequest.cc src/model/CreateSpeechResult.cc src/model/CreateStudioAppDomainOpenRequest.cc @@ -868,8 +916,14 @@ set(iot_src src/model/DeleteRuleActionResult.cc src/model/DeleteSceneRuleRequest.cc src/model/DeleteSceneRuleResult.cc + src/model/DeleteSchedulePeriodRequest.cc + src/model/DeleteSchedulePeriodResult.cc src/model/DeleteSoundCodeRequest.cc src/model/DeleteSoundCodeResult.cc + src/model/DeleteSoundCodeLabelRequest.cc + src/model/DeleteSoundCodeLabelResult.cc + src/model/DeleteSoundCodeScheduleRequest.cc + src/model/DeleteSoundCodeScheduleResult.cc src/model/DeleteSpeechRequest.cc src/model/DeleteSpeechResult.cc src/model/DeleteStudioAppDomainOpenRequest.cc @@ -932,6 +986,8 @@ set(iot_src src/model/GetSceneRuleResult.cc src/model/GetSoundCodeAudioRequest.cc src/model/GetSoundCodeAudioResult.cc + src/model/GetSoundCodeScheduleRequest.cc + src/model/GetSoundCodeScheduleResult.cc src/model/GetSpeechDeviceDetailRequest.cc src/model/GetSpeechDeviceDetailResult.cc src/model/GetSpeechVoiceRequest.cc @@ -1004,6 +1060,8 @@ set(iot_src src/model/NotifyAddThingTopoResult.cc src/model/OpenIotServiceRequest.cc src/model/OpenIotServiceResult.cc + src/model/PackageSoundCodeLabelBatchAudioRequest.cc + src/model/PackageSoundCodeLabelBatchAudioResult.cc src/model/PrintByTemplateRequest.cc src/model/PrintByTemplateResult.cc src/model/PubRequest.cc @@ -1140,10 +1198,20 @@ set(iot_src src/model/QueryProductTopicResult.cc src/model/QuerySceneRuleRequest.cc src/model/QuerySceneRuleResult.cc + src/model/QuerySchedulePeriodListRequest.cc + src/model/QuerySchedulePeriodListResult.cc src/model/QuerySolutionDeviceGroupPageRequest.cc src/model/QuerySolutionDeviceGroupPageResult.cc + src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc + src/model/QuerySoundCodeLabelBatchFailedResultResult.cc + src/model/QuerySoundCodeLabelBatchListRequest.cc + src/model/QuerySoundCodeLabelBatchListResult.cc + src/model/QuerySoundCodeLabelListRequest.cc + src/model/QuerySoundCodeLabelListResult.cc src/model/QuerySoundCodeListRequest.cc src/model/QuerySoundCodeListResult.cc + src/model/QuerySoundCodeScheduleListRequest.cc + src/model/QuerySoundCodeScheduleListResult.cc src/model/QuerySpeechRequest.cc src/model/QuerySpeechResult.cc src/model/QuerySpeechDeviceRequest.cc @@ -1210,6 +1278,8 @@ set(iot_src src/model/ResetConsumerGroupPositionResult.cc src/model/ResetThingRequest.cc src/model/ResetThingResult.cc + src/model/RetrySoundCodeLabelBatchRequest.cc + src/model/RetrySoundCodeLabelBatchResult.cc src/model/ReupgradeOTATaskRequest.cc src/model/ReupgradeOTATaskResult.cc src/model/SaveDevicePropRequest.cc @@ -1288,6 +1358,12 @@ set(iot_src src/model/UpdateRuleActionResult.cc src/model/UpdateSceneRuleRequest.cc src/model/UpdateSceneRuleResult.cc + src/model/UpdateSchedulePeriodRequest.cc + src/model/UpdateSchedulePeriodResult.cc + src/model/UpdateSoundCodeLabelRequest.cc + src/model/UpdateSoundCodeLabelResult.cc + src/model/UpdateSoundCodeScheduleRequest.cc + src/model/UpdateSoundCodeScheduleResult.cc src/model/UpdateSpeechRequest.cc src/model/UpdateSpeechResult.cc src/model/UpdateSubscribeRelationRequest.cc diff --git a/iot/include/alibabacloud/iot/IotClient.h b/iot/include/alibabacloud/iot/IotClient.h index e38ccb400..882413c62 100644 --- a/iot/include/alibabacloud/iot/IotClient.h +++ b/iot/include/alibabacloud/iot/IotClient.h @@ -40,6 +40,10 @@ #include "model/BatchCheckDeviceNamesResult.h" #include "model/BatchClearEdgeInstanceDeviceConfigRequest.h" #include "model/BatchClearEdgeInstanceDeviceConfigResult.h" +#include "model/BatchCreateSoundCodeLabelRequest.h" +#include "model/BatchCreateSoundCodeLabelResult.h" +#include "model/BatchCreateSoundCodeLabelWithLabelsRequest.h" +#include "model/BatchCreateSoundCodeLabelWithLabelsResult.h" #include "model/BatchDeleteDeviceGroupRelationsRequest.h" #include "model/BatchDeleteDeviceGroupRelationsResult.h" #include "model/BatchDeleteEdgeInstanceChannelRequest.h" @@ -168,8 +172,14 @@ #include "model/CreateRuleActionResult.h" #include "model/CreateSceneRuleRequest.h" #include "model/CreateSceneRuleResult.h" +#include "model/CreateSchedulePeriodRequest.h" +#include "model/CreateSchedulePeriodResult.h" #include "model/CreateSoundCodeRequest.h" #include "model/CreateSoundCodeResult.h" +#include "model/CreateSoundCodeLabelRequest.h" +#include "model/CreateSoundCodeLabelResult.h" +#include "model/CreateSoundCodeScheduleRequest.h" +#include "model/CreateSoundCodeScheduleResult.h" #include "model/CreateSpeechRequest.h" #include "model/CreateSpeechResult.h" #include "model/CreateStudioAppDomainOpenRequest.h" @@ -230,8 +240,14 @@ #include "model/DeleteRuleActionResult.h" #include "model/DeleteSceneRuleRequest.h" #include "model/DeleteSceneRuleResult.h" +#include "model/DeleteSchedulePeriodRequest.h" +#include "model/DeleteSchedulePeriodResult.h" #include "model/DeleteSoundCodeRequest.h" #include "model/DeleteSoundCodeResult.h" +#include "model/DeleteSoundCodeLabelRequest.h" +#include "model/DeleteSoundCodeLabelResult.h" +#include "model/DeleteSoundCodeScheduleRequest.h" +#include "model/DeleteSoundCodeScheduleResult.h" #include "model/DeleteSpeechRequest.h" #include "model/DeleteSpeechResult.h" #include "model/DeleteStudioAppDomainOpenRequest.h" @@ -294,6 +310,8 @@ #include "model/GetSceneRuleResult.h" #include "model/GetSoundCodeAudioRequest.h" #include "model/GetSoundCodeAudioResult.h" +#include "model/GetSoundCodeScheduleRequest.h" +#include "model/GetSoundCodeScheduleResult.h" #include "model/GetSpeechDeviceDetailRequest.h" #include "model/GetSpeechDeviceDetailResult.h" #include "model/GetSpeechVoiceRequest.h" @@ -366,6 +384,8 @@ #include "model/NotifyAddThingTopoResult.h" #include "model/OpenIotServiceRequest.h" #include "model/OpenIotServiceResult.h" +#include "model/PackageSoundCodeLabelBatchAudioRequest.h" +#include "model/PackageSoundCodeLabelBatchAudioResult.h" #include "model/PrintByTemplateRequest.h" #include "model/PrintByTemplateResult.h" #include "model/PubRequest.h" @@ -502,10 +522,20 @@ #include "model/QueryProductTopicResult.h" #include "model/QuerySceneRuleRequest.h" #include "model/QuerySceneRuleResult.h" +#include "model/QuerySchedulePeriodListRequest.h" +#include "model/QuerySchedulePeriodListResult.h" #include "model/QuerySolutionDeviceGroupPageRequest.h" #include "model/QuerySolutionDeviceGroupPageResult.h" +#include "model/QuerySoundCodeLabelBatchFailedResultRequest.h" +#include "model/QuerySoundCodeLabelBatchFailedResultResult.h" +#include "model/QuerySoundCodeLabelBatchListRequest.h" +#include "model/QuerySoundCodeLabelBatchListResult.h" +#include "model/QuerySoundCodeLabelListRequest.h" +#include "model/QuerySoundCodeLabelListResult.h" #include "model/QuerySoundCodeListRequest.h" #include "model/QuerySoundCodeListResult.h" +#include "model/QuerySoundCodeScheduleListRequest.h" +#include "model/QuerySoundCodeScheduleListResult.h" #include "model/QuerySpeechRequest.h" #include "model/QuerySpeechResult.h" #include "model/QuerySpeechDeviceRequest.h" @@ -572,6 +602,8 @@ #include "model/ResetConsumerGroupPositionResult.h" #include "model/ResetThingRequest.h" #include "model/ResetThingResult.h" +#include "model/RetrySoundCodeLabelBatchRequest.h" +#include "model/RetrySoundCodeLabelBatchResult.h" #include "model/ReupgradeOTATaskRequest.h" #include "model/ReupgradeOTATaskResult.h" #include "model/SaveDevicePropRequest.h" @@ -650,6 +682,12 @@ #include "model/UpdateRuleActionResult.h" #include "model/UpdateSceneRuleRequest.h" #include "model/UpdateSceneRuleResult.h" +#include "model/UpdateSchedulePeriodRequest.h" +#include "model/UpdateSchedulePeriodResult.h" +#include "model/UpdateSoundCodeLabelRequest.h" +#include "model/UpdateSoundCodeLabelResult.h" +#include "model/UpdateSoundCodeScheduleRequest.h" +#include "model/UpdateSoundCodeScheduleResult.h" #include "model/UpdateSpeechRequest.h" #include "model/UpdateSpeechResult.h" #include "model/UpdateSubscribeRelationRequest.h" @@ -694,6 +732,12 @@ namespace AlibabaCloud typedef Outcome BatchClearEdgeInstanceDeviceConfigOutcome; typedef std::future BatchClearEdgeInstanceDeviceConfigOutcomeCallable; typedef std::function&)> BatchClearEdgeInstanceDeviceConfigAsyncHandler; + typedef Outcome BatchCreateSoundCodeLabelOutcome; + typedef std::future BatchCreateSoundCodeLabelOutcomeCallable; + typedef std::function&)> BatchCreateSoundCodeLabelAsyncHandler; + typedef Outcome BatchCreateSoundCodeLabelWithLabelsOutcome; + typedef std::future BatchCreateSoundCodeLabelWithLabelsOutcomeCallable; + typedef std::function&)> BatchCreateSoundCodeLabelWithLabelsAsyncHandler; typedef Outcome BatchDeleteDeviceGroupRelationsOutcome; typedef std::future BatchDeleteDeviceGroupRelationsOutcomeCallable; typedef std::function&)> BatchDeleteDeviceGroupRelationsAsyncHandler; @@ -886,9 +930,18 @@ namespace AlibabaCloud typedef Outcome CreateSceneRuleOutcome; typedef std::future CreateSceneRuleOutcomeCallable; typedef std::function&)> CreateSceneRuleAsyncHandler; + typedef Outcome CreateSchedulePeriodOutcome; + typedef std::future CreateSchedulePeriodOutcomeCallable; + typedef std::function&)> CreateSchedulePeriodAsyncHandler; typedef Outcome CreateSoundCodeOutcome; typedef std::future CreateSoundCodeOutcomeCallable; typedef std::function&)> CreateSoundCodeAsyncHandler; + typedef Outcome CreateSoundCodeLabelOutcome; + typedef std::future CreateSoundCodeLabelOutcomeCallable; + typedef std::function&)> CreateSoundCodeLabelAsyncHandler; + typedef Outcome CreateSoundCodeScheduleOutcome; + typedef std::future CreateSoundCodeScheduleOutcomeCallable; + typedef std::function&)> CreateSoundCodeScheduleAsyncHandler; typedef Outcome CreateSpeechOutcome; typedef std::future CreateSpeechOutcomeCallable; typedef std::function&)> CreateSpeechAsyncHandler; @@ -979,9 +1032,18 @@ namespace AlibabaCloud typedef Outcome DeleteSceneRuleOutcome; typedef std::future DeleteSceneRuleOutcomeCallable; typedef std::function&)> DeleteSceneRuleAsyncHandler; + typedef Outcome DeleteSchedulePeriodOutcome; + typedef std::future DeleteSchedulePeriodOutcomeCallable; + typedef std::function&)> DeleteSchedulePeriodAsyncHandler; typedef Outcome DeleteSoundCodeOutcome; typedef std::future DeleteSoundCodeOutcomeCallable; typedef std::function&)> DeleteSoundCodeAsyncHandler; + typedef Outcome DeleteSoundCodeLabelOutcome; + typedef std::future DeleteSoundCodeLabelOutcomeCallable; + typedef std::function&)> DeleteSoundCodeLabelAsyncHandler; + typedef Outcome DeleteSoundCodeScheduleOutcome; + typedef std::future DeleteSoundCodeScheduleOutcomeCallable; + typedef std::function&)> DeleteSoundCodeScheduleAsyncHandler; typedef Outcome DeleteSpeechOutcome; typedef std::future DeleteSpeechOutcomeCallable; typedef std::function&)> DeleteSpeechAsyncHandler; @@ -1075,6 +1137,9 @@ namespace AlibabaCloud typedef Outcome GetSoundCodeAudioOutcome; typedef std::future GetSoundCodeAudioOutcomeCallable; typedef std::function&)> GetSoundCodeAudioAsyncHandler; + typedef Outcome GetSoundCodeScheduleOutcome; + typedef std::future GetSoundCodeScheduleOutcomeCallable; + typedef std::function&)> GetSoundCodeScheduleAsyncHandler; typedef Outcome GetSpeechDeviceDetailOutcome; typedef std::future GetSpeechDeviceDetailOutcomeCallable; typedef std::function&)> GetSpeechDeviceDetailAsyncHandler; @@ -1183,6 +1248,9 @@ namespace AlibabaCloud typedef Outcome OpenIotServiceOutcome; typedef std::future OpenIotServiceOutcomeCallable; typedef std::function&)> OpenIotServiceAsyncHandler; + typedef Outcome PackageSoundCodeLabelBatchAudioOutcome; + typedef std::future PackageSoundCodeLabelBatchAudioOutcomeCallable; + typedef std::function&)> PackageSoundCodeLabelBatchAudioAsyncHandler; typedef Outcome PrintByTemplateOutcome; typedef std::future PrintByTemplateOutcomeCallable; typedef std::function&)> PrintByTemplateAsyncHandler; @@ -1387,12 +1455,27 @@ namespace AlibabaCloud typedef Outcome QuerySceneRuleOutcome; typedef std::future QuerySceneRuleOutcomeCallable; typedef std::function&)> QuerySceneRuleAsyncHandler; + typedef Outcome QuerySchedulePeriodListOutcome; + typedef std::future QuerySchedulePeriodListOutcomeCallable; + typedef std::function&)> QuerySchedulePeriodListAsyncHandler; typedef Outcome QuerySolutionDeviceGroupPageOutcome; typedef std::future QuerySolutionDeviceGroupPageOutcomeCallable; typedef std::function&)> QuerySolutionDeviceGroupPageAsyncHandler; + typedef Outcome QuerySoundCodeLabelBatchFailedResultOutcome; + typedef std::future QuerySoundCodeLabelBatchFailedResultOutcomeCallable; + typedef std::function&)> QuerySoundCodeLabelBatchFailedResultAsyncHandler; + typedef Outcome QuerySoundCodeLabelBatchListOutcome; + typedef std::future QuerySoundCodeLabelBatchListOutcomeCallable; + typedef std::function&)> QuerySoundCodeLabelBatchListAsyncHandler; + typedef Outcome QuerySoundCodeLabelListOutcome; + typedef std::future QuerySoundCodeLabelListOutcomeCallable; + typedef std::function&)> QuerySoundCodeLabelListAsyncHandler; typedef Outcome QuerySoundCodeListOutcome; typedef std::future QuerySoundCodeListOutcomeCallable; typedef std::function&)> QuerySoundCodeListAsyncHandler; + typedef Outcome QuerySoundCodeScheduleListOutcome; + typedef std::future QuerySoundCodeScheduleListOutcomeCallable; + typedef std::function&)> QuerySoundCodeScheduleListAsyncHandler; typedef Outcome QuerySpeechOutcome; typedef std::future QuerySpeechOutcomeCallable; typedef std::function&)> QuerySpeechAsyncHandler; @@ -1492,6 +1575,9 @@ namespace AlibabaCloud typedef Outcome ResetThingOutcome; typedef std::future ResetThingOutcomeCallable; typedef std::function&)> ResetThingAsyncHandler; + typedef Outcome RetrySoundCodeLabelBatchOutcome; + typedef std::future RetrySoundCodeLabelBatchOutcomeCallable; + typedef std::function&)> RetrySoundCodeLabelBatchAsyncHandler; typedef Outcome ReupgradeOTATaskOutcome; typedef std::future ReupgradeOTATaskOutcomeCallable; typedef std::function&)> ReupgradeOTATaskAsyncHandler; @@ -1609,6 +1695,15 @@ namespace AlibabaCloud typedef Outcome UpdateSceneRuleOutcome; typedef std::future UpdateSceneRuleOutcomeCallable; typedef std::function&)> UpdateSceneRuleAsyncHandler; + typedef Outcome UpdateSchedulePeriodOutcome; + typedef std::future UpdateSchedulePeriodOutcomeCallable; + typedef std::function&)> UpdateSchedulePeriodAsyncHandler; + typedef Outcome UpdateSoundCodeLabelOutcome; + typedef std::future UpdateSoundCodeLabelOutcomeCallable; + typedef std::function&)> UpdateSoundCodeLabelAsyncHandler; + typedef Outcome UpdateSoundCodeScheduleOutcome; + typedef std::future UpdateSoundCodeScheduleOutcomeCallable; + typedef std::function&)> UpdateSoundCodeScheduleAsyncHandler; typedef Outcome UpdateSpeechOutcome; typedef std::future UpdateSpeechOutcomeCallable; typedef std::function&)> UpdateSpeechAsyncHandler; @@ -1653,6 +1748,12 @@ namespace AlibabaCloud BatchClearEdgeInstanceDeviceConfigOutcome batchClearEdgeInstanceDeviceConfig(const Model::BatchClearEdgeInstanceDeviceConfigRequest &request)const; void batchClearEdgeInstanceDeviceConfigAsync(const Model::BatchClearEdgeInstanceDeviceConfigRequest& request, const BatchClearEdgeInstanceDeviceConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchClearEdgeInstanceDeviceConfigOutcomeCallable batchClearEdgeInstanceDeviceConfigCallable(const Model::BatchClearEdgeInstanceDeviceConfigRequest& request) const; + BatchCreateSoundCodeLabelOutcome batchCreateSoundCodeLabel(const Model::BatchCreateSoundCodeLabelRequest &request)const; + void batchCreateSoundCodeLabelAsync(const Model::BatchCreateSoundCodeLabelRequest& request, const BatchCreateSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchCreateSoundCodeLabelOutcomeCallable batchCreateSoundCodeLabelCallable(const Model::BatchCreateSoundCodeLabelRequest& request) const; + BatchCreateSoundCodeLabelWithLabelsOutcome batchCreateSoundCodeLabelWithLabels(const Model::BatchCreateSoundCodeLabelWithLabelsRequest &request)const; + void batchCreateSoundCodeLabelWithLabelsAsync(const Model::BatchCreateSoundCodeLabelWithLabelsRequest& request, const BatchCreateSoundCodeLabelWithLabelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchCreateSoundCodeLabelWithLabelsOutcomeCallable batchCreateSoundCodeLabelWithLabelsCallable(const Model::BatchCreateSoundCodeLabelWithLabelsRequest& request) const; BatchDeleteDeviceGroupRelationsOutcome batchDeleteDeviceGroupRelations(const Model::BatchDeleteDeviceGroupRelationsRequest &request)const; void batchDeleteDeviceGroupRelationsAsync(const Model::BatchDeleteDeviceGroupRelationsRequest& request, const BatchDeleteDeviceGroupRelationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; BatchDeleteDeviceGroupRelationsOutcomeCallable batchDeleteDeviceGroupRelationsCallable(const Model::BatchDeleteDeviceGroupRelationsRequest& request) const; @@ -1845,9 +1946,18 @@ namespace AlibabaCloud CreateSceneRuleOutcome createSceneRule(const Model::CreateSceneRuleRequest &request)const; void createSceneRuleAsync(const Model::CreateSceneRuleRequest& request, const CreateSceneRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSceneRuleOutcomeCallable createSceneRuleCallable(const Model::CreateSceneRuleRequest& request) const; + CreateSchedulePeriodOutcome createSchedulePeriod(const Model::CreateSchedulePeriodRequest &request)const; + void createSchedulePeriodAsync(const Model::CreateSchedulePeriodRequest& request, const CreateSchedulePeriodAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSchedulePeriodOutcomeCallable createSchedulePeriodCallable(const Model::CreateSchedulePeriodRequest& request) const; CreateSoundCodeOutcome createSoundCode(const Model::CreateSoundCodeRequest &request)const; void createSoundCodeAsync(const Model::CreateSoundCodeRequest& request, const CreateSoundCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSoundCodeOutcomeCallable createSoundCodeCallable(const Model::CreateSoundCodeRequest& request) const; + CreateSoundCodeLabelOutcome createSoundCodeLabel(const Model::CreateSoundCodeLabelRequest &request)const; + void createSoundCodeLabelAsync(const Model::CreateSoundCodeLabelRequest& request, const CreateSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSoundCodeLabelOutcomeCallable createSoundCodeLabelCallable(const Model::CreateSoundCodeLabelRequest& request) const; + CreateSoundCodeScheduleOutcome createSoundCodeSchedule(const Model::CreateSoundCodeScheduleRequest &request)const; + void createSoundCodeScheduleAsync(const Model::CreateSoundCodeScheduleRequest& request, const CreateSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSoundCodeScheduleOutcomeCallable createSoundCodeScheduleCallable(const Model::CreateSoundCodeScheduleRequest& request) const; CreateSpeechOutcome createSpeech(const Model::CreateSpeechRequest &request)const; void createSpeechAsync(const Model::CreateSpeechRequest& request, const CreateSpeechAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSpeechOutcomeCallable createSpeechCallable(const Model::CreateSpeechRequest& request) const; @@ -1938,9 +2048,18 @@ namespace AlibabaCloud DeleteSceneRuleOutcome deleteSceneRule(const Model::DeleteSceneRuleRequest &request)const; void deleteSceneRuleAsync(const Model::DeleteSceneRuleRequest& request, const DeleteSceneRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSceneRuleOutcomeCallable deleteSceneRuleCallable(const Model::DeleteSceneRuleRequest& request) const; + DeleteSchedulePeriodOutcome deleteSchedulePeriod(const Model::DeleteSchedulePeriodRequest &request)const; + void deleteSchedulePeriodAsync(const Model::DeleteSchedulePeriodRequest& request, const DeleteSchedulePeriodAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSchedulePeriodOutcomeCallable deleteSchedulePeriodCallable(const Model::DeleteSchedulePeriodRequest& request) const; DeleteSoundCodeOutcome deleteSoundCode(const Model::DeleteSoundCodeRequest &request)const; void deleteSoundCodeAsync(const Model::DeleteSoundCodeRequest& request, const DeleteSoundCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSoundCodeOutcomeCallable deleteSoundCodeCallable(const Model::DeleteSoundCodeRequest& request) const; + DeleteSoundCodeLabelOutcome deleteSoundCodeLabel(const Model::DeleteSoundCodeLabelRequest &request)const; + void deleteSoundCodeLabelAsync(const Model::DeleteSoundCodeLabelRequest& request, const DeleteSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSoundCodeLabelOutcomeCallable deleteSoundCodeLabelCallable(const Model::DeleteSoundCodeLabelRequest& request) const; + DeleteSoundCodeScheduleOutcome deleteSoundCodeSchedule(const Model::DeleteSoundCodeScheduleRequest &request)const; + void deleteSoundCodeScheduleAsync(const Model::DeleteSoundCodeScheduleRequest& request, const DeleteSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSoundCodeScheduleOutcomeCallable deleteSoundCodeScheduleCallable(const Model::DeleteSoundCodeScheduleRequest& request) const; DeleteSpeechOutcome deleteSpeech(const Model::DeleteSpeechRequest &request)const; void deleteSpeechAsync(const Model::DeleteSpeechRequest& request, const DeleteSpeechAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSpeechOutcomeCallable deleteSpeechCallable(const Model::DeleteSpeechRequest& request) const; @@ -2034,6 +2153,9 @@ namespace AlibabaCloud GetSoundCodeAudioOutcome getSoundCodeAudio(const Model::GetSoundCodeAudioRequest &request)const; void getSoundCodeAudioAsync(const Model::GetSoundCodeAudioRequest& request, const GetSoundCodeAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSoundCodeAudioOutcomeCallable getSoundCodeAudioCallable(const Model::GetSoundCodeAudioRequest& request) const; + GetSoundCodeScheduleOutcome getSoundCodeSchedule(const Model::GetSoundCodeScheduleRequest &request)const; + void getSoundCodeScheduleAsync(const Model::GetSoundCodeScheduleRequest& request, const GetSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSoundCodeScheduleOutcomeCallable getSoundCodeScheduleCallable(const Model::GetSoundCodeScheduleRequest& request) const; GetSpeechDeviceDetailOutcome getSpeechDeviceDetail(const Model::GetSpeechDeviceDetailRequest &request)const; void getSpeechDeviceDetailAsync(const Model::GetSpeechDeviceDetailRequest& request, const GetSpeechDeviceDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSpeechDeviceDetailOutcomeCallable getSpeechDeviceDetailCallable(const Model::GetSpeechDeviceDetailRequest& request) const; @@ -2142,6 +2264,9 @@ namespace AlibabaCloud OpenIotServiceOutcome openIotService(const Model::OpenIotServiceRequest &request)const; void openIotServiceAsync(const Model::OpenIotServiceRequest& request, const OpenIotServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OpenIotServiceOutcomeCallable openIotServiceCallable(const Model::OpenIotServiceRequest& request) const; + PackageSoundCodeLabelBatchAudioOutcome packageSoundCodeLabelBatchAudio(const Model::PackageSoundCodeLabelBatchAudioRequest &request)const; + void packageSoundCodeLabelBatchAudioAsync(const Model::PackageSoundCodeLabelBatchAudioRequest& request, const PackageSoundCodeLabelBatchAudioAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PackageSoundCodeLabelBatchAudioOutcomeCallable packageSoundCodeLabelBatchAudioCallable(const Model::PackageSoundCodeLabelBatchAudioRequest& request) const; PrintByTemplateOutcome printByTemplate(const Model::PrintByTemplateRequest &request)const; void printByTemplateAsync(const Model::PrintByTemplateRequest& request, const PrintByTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PrintByTemplateOutcomeCallable printByTemplateCallable(const Model::PrintByTemplateRequest& request) const; @@ -2346,12 +2471,27 @@ namespace AlibabaCloud QuerySceneRuleOutcome querySceneRule(const Model::QuerySceneRuleRequest &request)const; void querySceneRuleAsync(const Model::QuerySceneRuleRequest& request, const QuerySceneRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QuerySceneRuleOutcomeCallable querySceneRuleCallable(const Model::QuerySceneRuleRequest& request) const; + QuerySchedulePeriodListOutcome querySchedulePeriodList(const Model::QuerySchedulePeriodListRequest &request)const; + void querySchedulePeriodListAsync(const Model::QuerySchedulePeriodListRequest& request, const QuerySchedulePeriodListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySchedulePeriodListOutcomeCallable querySchedulePeriodListCallable(const Model::QuerySchedulePeriodListRequest& request) const; QuerySolutionDeviceGroupPageOutcome querySolutionDeviceGroupPage(const Model::QuerySolutionDeviceGroupPageRequest &request)const; void querySolutionDeviceGroupPageAsync(const Model::QuerySolutionDeviceGroupPageRequest& request, const QuerySolutionDeviceGroupPageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QuerySolutionDeviceGroupPageOutcomeCallable querySolutionDeviceGroupPageCallable(const Model::QuerySolutionDeviceGroupPageRequest& request) const; + QuerySoundCodeLabelBatchFailedResultOutcome querySoundCodeLabelBatchFailedResult(const Model::QuerySoundCodeLabelBatchFailedResultRequest &request)const; + void querySoundCodeLabelBatchFailedResultAsync(const Model::QuerySoundCodeLabelBatchFailedResultRequest& request, const QuerySoundCodeLabelBatchFailedResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySoundCodeLabelBatchFailedResultOutcomeCallable querySoundCodeLabelBatchFailedResultCallable(const Model::QuerySoundCodeLabelBatchFailedResultRequest& request) const; + QuerySoundCodeLabelBatchListOutcome querySoundCodeLabelBatchList(const Model::QuerySoundCodeLabelBatchListRequest &request)const; + void querySoundCodeLabelBatchListAsync(const Model::QuerySoundCodeLabelBatchListRequest& request, const QuerySoundCodeLabelBatchListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySoundCodeLabelBatchListOutcomeCallable querySoundCodeLabelBatchListCallable(const Model::QuerySoundCodeLabelBatchListRequest& request) const; + QuerySoundCodeLabelListOutcome querySoundCodeLabelList(const Model::QuerySoundCodeLabelListRequest &request)const; + void querySoundCodeLabelListAsync(const Model::QuerySoundCodeLabelListRequest& request, const QuerySoundCodeLabelListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySoundCodeLabelListOutcomeCallable querySoundCodeLabelListCallable(const Model::QuerySoundCodeLabelListRequest& request) const; QuerySoundCodeListOutcome querySoundCodeList(const Model::QuerySoundCodeListRequest &request)const; void querySoundCodeListAsync(const Model::QuerySoundCodeListRequest& request, const QuerySoundCodeListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QuerySoundCodeListOutcomeCallable querySoundCodeListCallable(const Model::QuerySoundCodeListRequest& request) const; + QuerySoundCodeScheduleListOutcome querySoundCodeScheduleList(const Model::QuerySoundCodeScheduleListRequest &request)const; + void querySoundCodeScheduleListAsync(const Model::QuerySoundCodeScheduleListRequest& request, const QuerySoundCodeScheduleListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + QuerySoundCodeScheduleListOutcomeCallable querySoundCodeScheduleListCallable(const Model::QuerySoundCodeScheduleListRequest& request) const; QuerySpeechOutcome querySpeech(const Model::QuerySpeechRequest &request)const; void querySpeechAsync(const Model::QuerySpeechRequest& request, const QuerySpeechAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QuerySpeechOutcomeCallable querySpeechCallable(const Model::QuerySpeechRequest& request) const; @@ -2451,6 +2591,9 @@ namespace AlibabaCloud ResetThingOutcome resetThing(const Model::ResetThingRequest &request)const; void resetThingAsync(const Model::ResetThingRequest& request, const ResetThingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResetThingOutcomeCallable resetThingCallable(const Model::ResetThingRequest& request) const; + RetrySoundCodeLabelBatchOutcome retrySoundCodeLabelBatch(const Model::RetrySoundCodeLabelBatchRequest &request)const; + void retrySoundCodeLabelBatchAsync(const Model::RetrySoundCodeLabelBatchRequest& request, const RetrySoundCodeLabelBatchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RetrySoundCodeLabelBatchOutcomeCallable retrySoundCodeLabelBatchCallable(const Model::RetrySoundCodeLabelBatchRequest& request) const; ReupgradeOTATaskOutcome reupgradeOTATask(const Model::ReupgradeOTATaskRequest &request)const; void reupgradeOTATaskAsync(const Model::ReupgradeOTATaskRequest& request, const ReupgradeOTATaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReupgradeOTATaskOutcomeCallable reupgradeOTATaskCallable(const Model::ReupgradeOTATaskRequest& request) const; @@ -2568,6 +2711,15 @@ namespace AlibabaCloud UpdateSceneRuleOutcome updateSceneRule(const Model::UpdateSceneRuleRequest &request)const; void updateSceneRuleAsync(const Model::UpdateSceneRuleRequest& request, const UpdateSceneRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateSceneRuleOutcomeCallable updateSceneRuleCallable(const Model::UpdateSceneRuleRequest& request) const; + UpdateSchedulePeriodOutcome updateSchedulePeriod(const Model::UpdateSchedulePeriodRequest &request)const; + void updateSchedulePeriodAsync(const Model::UpdateSchedulePeriodRequest& request, const UpdateSchedulePeriodAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSchedulePeriodOutcomeCallable updateSchedulePeriodCallable(const Model::UpdateSchedulePeriodRequest& request) const; + UpdateSoundCodeLabelOutcome updateSoundCodeLabel(const Model::UpdateSoundCodeLabelRequest &request)const; + void updateSoundCodeLabelAsync(const Model::UpdateSoundCodeLabelRequest& request, const UpdateSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSoundCodeLabelOutcomeCallable updateSoundCodeLabelCallable(const Model::UpdateSoundCodeLabelRequest& request) const; + UpdateSoundCodeScheduleOutcome updateSoundCodeSchedule(const Model::UpdateSoundCodeScheduleRequest &request)const; + void updateSoundCodeScheduleAsync(const Model::UpdateSoundCodeScheduleRequest& request, const UpdateSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSoundCodeScheduleOutcomeCallable updateSoundCodeScheduleCallable(const Model::UpdateSoundCodeScheduleRequest& request) const; UpdateSpeechOutcome updateSpeech(const Model::UpdateSpeechRequest &request)const; void updateSpeechAsync(const Model::UpdateSpeechRequest& request, const UpdateSpeechAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateSpeechOutcomeCallable updateSpeechCallable(const Model::UpdateSpeechRequest& request) const; diff --git a/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelRequest.h b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelRequest.h new file mode 100644 index 000000000..1859f603f --- /dev/null +++ b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelRequest.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_BATCHCREATESOUNDCODELABELREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT BatchCreateSoundCodeLabelRequest : public RpcServiceRequest + { + + public: + BatchCreateSoundCodeLabelRequest(); + ~BatchCreateSoundCodeLabelRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + std::string getDescription()const; + void setDescription(const std::string& description); + int getTotal()const; + void setTotal(int total); + 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 scheduleCode_; + std::string description_; + int total_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelResult.h b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelResult.h new file mode 100644 index 000000000..c4b07c5ef --- /dev/null +++ b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelResult.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_BATCHCREATESOUNDCODELABELRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT BatchCreateSoundCodeLabelResult : public ServiceResult + { + public: + + + BatchCreateSoundCodeLabelResult(); + explicit BatchCreateSoundCodeLabelResult(const std::string &payload); + ~BatchCreateSoundCodeLabelResult(); + 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_BATCHCREATESOUNDCODELABELRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsRequest.h b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsRequest.h new file mode 100644 index 000000000..1ade76f6c --- /dev/null +++ b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsRequest.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_BATCHCREATESOUNDCODELABELWITHLABELSREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELWITHLABELSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT BatchCreateSoundCodeLabelWithLabelsRequest : public RpcServiceRequest + { + + public: + BatchCreateSoundCodeLabelWithLabelsRequest(); + ~BatchCreateSoundCodeLabelWithLabelsRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::vector getLabels()const; + void setLabels(const std::vector& labels); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string scheduleCode_; + std::string description_; + std::string iotInstanceId_; + std::vector labels_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELWITHLABELSREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsResult.h b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsResult.h new file mode 100644 index 000000000..03abbb8d4 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsResult.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_BATCHCREATESOUNDCODELABELWITHLABELSRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELWITHLABELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT BatchCreateSoundCodeLabelWithLabelsResult : public ServiceResult + { + public: + + + BatchCreateSoundCodeLabelWithLabelsResult(); + explicit BatchCreateSoundCodeLabelWithLabelsResult(const std::string &payload); + ~BatchCreateSoundCodeLabelWithLabelsResult(); + 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_BATCHCREATESOUNDCODELABELWITHLABELSRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/CreateSchedulePeriodRequest.h b/iot/include/alibabacloud/iot/model/CreateSchedulePeriodRequest.h new file mode 100644 index 000000000..4c43d0c6f --- /dev/null +++ b/iot/include/alibabacloud/iot/model/CreateSchedulePeriodRequest.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_CREATESCHEDULEPERIODREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_CREATESCHEDULEPERIODREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT CreateSchedulePeriodRequest : public RpcServiceRequest + { + + public: + CreateSchedulePeriodRequest(); + ~CreateSchedulePeriodRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getSoundCodeContent()const; + void setSoundCodeContent(const std::string& soundCodeContent); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string scheduleCode_; + std::string description_; + std::string startTime_; + std::string iotInstanceId_; + std::string endTime_; + std::string soundCodeContent_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_CREATESCHEDULEPERIODREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/CreateSchedulePeriodResult.h b/iot/include/alibabacloud/iot/model/CreateSchedulePeriodResult.h new file mode 100644 index 000000000..ccb267812 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/CreateSchedulePeriodResult.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_CREATESCHEDULEPERIODRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_CREATESCHEDULEPERIODRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT CreateSchedulePeriodResult : public ServiceResult + { + public: + + + CreateSchedulePeriodResult(); + explicit CreateSchedulePeriodResult(const std::string &payload); + ~CreateSchedulePeriodResult(); + 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_CREATESCHEDULEPERIODRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/CreateSoundCodeLabelRequest.h b/iot/include/alibabacloud/iot/model/CreateSoundCodeLabelRequest.h new file mode 100644 index 000000000..f864a7c11 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/CreateSoundCodeLabelRequest.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_CREATESOUNDCODELABELREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODELABELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT CreateSoundCodeLabelRequest : public RpcServiceRequest + { + + public: + CreateSoundCodeLabelRequest(); + ~CreateSoundCodeLabelRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getLabel()const; + void setLabel(const std::string& label); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string scheduleCode_; + std::string iotInstanceId_; + std::string label_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODELABELREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/CreateSoundCodeLabelResult.h b/iot/include/alibabacloud/iot/model/CreateSoundCodeLabelResult.h new file mode 100644 index 000000000..215843e37 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/CreateSoundCodeLabelResult.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_CREATESOUNDCODELABELRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODELABELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT CreateSoundCodeLabelResult : public ServiceResult + { + public: + + + CreateSoundCodeLabelResult(); + explicit CreateSoundCodeLabelResult(const std::string &payload); + ~CreateSoundCodeLabelResult(); + 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_CREATESOUNDCODELABELRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleRequest.h b/iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleRequest.h new file mode 100644 index 000000000..1dd7e90d5 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODESCHEDULEREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODESCHEDULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT CreateSoundCodeScheduleRequest : public RpcServiceRequest + { + + public: + CreateSoundCodeScheduleRequest(); + ~CreateSoundCodeScheduleRequest(); + + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getName()const; + void setName(const std::string& name); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string description_; + std::string startDate_; + std::string iotInstanceId_; + std::string endDate_; + std::string apiProduct_; + std::string name_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODESCHEDULEREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleResult.h b/iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleResult.h new file mode 100644 index 000000000..18b4c09dd --- /dev/null +++ b/iot/include/alibabacloud/iot/model/CreateSoundCodeScheduleResult.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_CREATESOUNDCODESCHEDULERESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_CREATESOUNDCODESCHEDULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT CreateSoundCodeScheduleResult : public ServiceResult + { + public: + + + CreateSoundCodeScheduleResult(); + explicit CreateSoundCodeScheduleResult(const std::string &payload); + ~CreateSoundCodeScheduleResult(); + 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_CREATESOUNDCODESCHEDULERESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/DeleteSchedulePeriodRequest.h b/iot/include/alibabacloud/iot/model/DeleteSchedulePeriodRequest.h new file mode 100644 index 000000000..d3edb6fa0 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/DeleteSchedulePeriodRequest.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_DELETESCHEDULEPERIODREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_DELETESCHEDULEPERIODREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT DeleteSchedulePeriodRequest : public RpcServiceRequest + { + + public: + DeleteSchedulePeriodRequest(); + ~DeleteSchedulePeriodRequest(); + + std::string getPeriodCode()const; + void setPeriodCode(const std::string& periodCode); + 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 periodCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_DELETESCHEDULEPERIODREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/DeleteSchedulePeriodResult.h b/iot/include/alibabacloud/iot/model/DeleteSchedulePeriodResult.h new file mode 100644 index 000000000..dfeeb5eb6 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/DeleteSchedulePeriodResult.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_DELETESCHEDULEPERIODRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_DELETESCHEDULEPERIODRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT DeleteSchedulePeriodResult : public ServiceResult + { + public: + + + DeleteSchedulePeriodResult(); + explicit DeleteSchedulePeriodResult(const std::string &payload); + ~DeleteSchedulePeriodResult(); + 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_DELETESCHEDULEPERIODRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelRequest.h b/iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelRequest.h new file mode 100644 index 000000000..502aa2897 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelRequest.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_DELETESOUNDCODELABELREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_DELETESOUNDCODELABELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT DeleteSoundCodeLabelRequest : public RpcServiceRequest + { + + public: + DeleteSoundCodeLabelRequest(); + ~DeleteSoundCodeLabelRequest(); + + std::string getSoundCode()const; + void setSoundCode(const std::string& soundCode); + 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 soundCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_DELETESOUNDCODELABELREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelResult.h b/iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelResult.h new file mode 100644 index 000000000..4bbbd3010 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/DeleteSoundCodeLabelResult.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_DELETESOUNDCODELABELRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_DELETESOUNDCODELABELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT DeleteSoundCodeLabelResult : public ServiceResult + { + public: + + + DeleteSoundCodeLabelResult(); + explicit DeleteSoundCodeLabelResult(const std::string &payload); + ~DeleteSoundCodeLabelResult(); + 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_DELETESOUNDCODELABELRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleRequest.h b/iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleRequest.h new file mode 100644 index 000000000..e8fff065e --- /dev/null +++ b/iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleRequest.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_DELETESOUNDCODESCHEDULEREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_DELETESOUNDCODESCHEDULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT DeleteSoundCodeScheduleRequest : public RpcServiceRequest + { + + public: + DeleteSoundCodeScheduleRequest(); + ~DeleteSoundCodeScheduleRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + 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 scheduleCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_DELETESOUNDCODESCHEDULEREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleResult.h b/iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleResult.h new file mode 100644 index 000000000..84a8c04e9 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/DeleteSoundCodeScheduleResult.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_DELETESOUNDCODESCHEDULERESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_DELETESOUNDCODESCHEDULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT DeleteSoundCodeScheduleResult : public ServiceResult + { + public: + + + DeleteSoundCodeScheduleResult(); + explicit DeleteSoundCodeScheduleResult(const std::string &payload); + ~DeleteSoundCodeScheduleResult(); + 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_DELETESOUNDCODESCHEDULERESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/GetSoundCodeScheduleRequest.h b/iot/include/alibabacloud/iot/model/GetSoundCodeScheduleRequest.h new file mode 100644 index 000000000..cb045b878 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/GetSoundCodeScheduleRequest.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_GETSOUNDCODESCHEDULEREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_GETSOUNDCODESCHEDULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT GetSoundCodeScheduleRequest : public RpcServiceRequest + { + + public: + GetSoundCodeScheduleRequest(); + ~GetSoundCodeScheduleRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + 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 scheduleCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_GETSOUNDCODESCHEDULEREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/GetSoundCodeScheduleResult.h b/iot/include/alibabacloud/iot/model/GetSoundCodeScheduleResult.h new file mode 100644 index 000000000..7b00d1568 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/GetSoundCodeScheduleResult.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_GETSOUNDCODESCHEDULERESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_GETSOUNDCODESCHEDULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT GetSoundCodeScheduleResult : public ServiceResult + { + public: + struct Data + { + std::string status; + std::string startDate; + long gmtCreate; + std::string description; + std::string endTime; + std::string startTime; + std::string scheduleCode; + std::string endDate; + std::string name; + }; + + + GetSoundCodeScheduleResult(); + explicit GetSoundCodeScheduleResult(const std::string &payload); + ~GetSoundCodeScheduleResult(); + 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_GETSOUNDCODESCHEDULERESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioRequest.h b/iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioRequest.h new file mode 100644 index 000000000..1c00e8716 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioRequest.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_PACKAGESOUNDCODELABELBATCHAUDIOREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_PACKAGESOUNDCODELABELBATCHAUDIOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT PackageSoundCodeLabelBatchAudioRequest : public RpcServiceRequest + { + + public: + PackageSoundCodeLabelBatchAudioRequest(); + ~PackageSoundCodeLabelBatchAudioRequest(); + + std::string getBatchCode()const; + void setBatchCode(const std::string& batchCode); + 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 batchCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_PACKAGESOUNDCODELABELBATCHAUDIOREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioResult.h b/iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioResult.h new file mode 100644 index 000000000..9e207382b --- /dev/null +++ b/iot/include/alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioResult.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_PACKAGESOUNDCODELABELBATCHAUDIORESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_PACKAGESOUNDCODELABELBATCHAUDIORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT PackageSoundCodeLabelBatchAudioResult : public ServiceResult + { + public: + + + PackageSoundCodeLabelBatchAudioResult(); + explicit PackageSoundCodeLabelBatchAudioResult(const std::string &payload); + ~PackageSoundCodeLabelBatchAudioResult(); + 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_PACKAGESOUNDCODELABELBATCHAUDIORESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySchedulePeriodListRequest.h b/iot/include/alibabacloud/iot/model/QuerySchedulePeriodListRequest.h new file mode 100644 index 000000000..5485d1f32 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySchedulePeriodListRequest.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_QUERYSCHEDULEPERIODLISTREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSCHEDULEPERIODLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySchedulePeriodListRequest : public RpcServiceRequest + { + + public: + QuerySchedulePeriodListRequest(); + ~QuerySchedulePeriodListRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + 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 getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string scheduleCode_; + int pageId_; + std::string iotInstanceId_; + int pageSize_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSCHEDULEPERIODLISTREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySchedulePeriodListResult.h b/iot/include/alibabacloud/iot/model/QuerySchedulePeriodListResult.h new file mode 100644 index 000000000..99e3ca5a5 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySchedulePeriodListResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSCHEDULEPERIODLISTRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSCHEDULEPERIODLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySchedulePeriodListResult : public ServiceResult + { + public: + struct Data + { + struct Items + { + std::string description; + std::string endTime; + std::string startTime; + std::string periodCode; + std::string soundCodeContent; + }; + int pageId; + int pageSize; + int total; + std::vector list; + }; + + + QuerySchedulePeriodListResult(); + explicit QuerySchedulePeriodListResult(const std::string &payload); + ~QuerySchedulePeriodListResult(); + 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_QUERYSCHEDULEPERIODLISTRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultRequest.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultRequest.h new file mode 100644 index 000000000..f07eb7edd --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultRequest.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_QUERYSOUNDCODELABELBATCHFAILEDRESULTREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHFAILEDRESULTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelBatchFailedResultRequest : public RpcServiceRequest + { + + public: + QuerySoundCodeLabelBatchFailedResultRequest(); + ~QuerySoundCodeLabelBatchFailedResultRequest(); + + std::string getBatchCode()const; + void setBatchCode(const std::string& batchCode); + 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 batchCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHFAILEDRESULTREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultResult.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultResult.h new file mode 100644 index 000000000..48e7f29cc --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultResult.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_QUERYSOUNDCODELABELBATCHFAILEDRESULTRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHFAILEDRESULTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelBatchFailedResultResult : public ServiceResult + { + public: + struct Items + { + std::string label; + std::string errorMessage; + std::string resultCode; + }; + + + QuerySoundCodeLabelBatchFailedResultResult(); + explicit QuerySoundCodeLabelBatchFailedResultResult(const std::string &payload); + ~QuerySoundCodeLabelBatchFailedResultResult(); + std::vector getData()const; + std::string getErrorMessage()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + std::string errorMessage_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHFAILEDRESULTRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListRequest.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListRequest.h new file mode 100644 index 000000000..5072b34ae --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListRequest.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_QUERYSOUNDCODELABELBATCHLISTREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelBatchListRequest : public RpcServiceRequest + { + + public: + QuerySoundCodeLabelBatchListRequest(); + ~QuerySoundCodeLabelBatchListRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + 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 getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string scheduleCode_; + int pageId_; + std::string iotInstanceId_; + int pageSize_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHLISTREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListResult.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListResult.h new file mode 100644 index 000000000..167e3e5dc --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelBatchListResult.h @@ -0,0 +1,73 @@ +/* + * 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_QUERYSOUNDCODELABELBATCHLISTRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelBatchListResult : public ServiceResult + { + public: + struct Data + { + struct Items + { + std::string status; + long gmtCreate; + std::string description; + int successNum; + std::string batchCode; + int total; + }; + int pageId; + int pageSize; + int total; + std::vector list; + }; + + + QuerySoundCodeLabelBatchListResult(); + explicit QuerySoundCodeLabelBatchListResult(const std::string &payload); + ~QuerySoundCodeLabelBatchListResult(); + 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_QUERYSOUNDCODELABELBATCHLISTRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListRequest.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListRequest.h new file mode 100644 index 000000000..1bdc7c390 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListRequest.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_QUERYSOUNDCODELABELLISTREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelListRequest : public RpcServiceRequest + { + + public: + QuerySoundCodeLabelListRequest(); + ~QuerySoundCodeLabelListRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + 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 getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string scheduleCode_; + int pageId_; + std::string iotInstanceId_; + int pageSize_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELLISTREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListResult.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListResult.h new file mode 100644 index 000000000..99bc82911 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeLabelListResult.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_QUERYSOUNDCODELABELLISTRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelListResult : public ServiceResult + { + public: + struct Data + { + struct Items + { + std::string label; + std::string soundCode; + }; + int pageId; + int pageSize; + int total; + std::vector list; + }; + + + QuerySoundCodeLabelListResult(); + explicit QuerySoundCodeLabelListResult(const std::string &payload); + ~QuerySoundCodeLabelListResult(); + 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_QUERYSOUNDCODELABELLISTRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListRequest.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListRequest.h new file mode 100644 index 000000000..a7a4fd981 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListRequest.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_QUERYSOUNDCODESCHEDULELISTREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODESCHEDULELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeScheduleListRequest : public RpcServiceRequest + { + + public: + QuerySoundCodeScheduleListRequest(); + ~QuerySoundCodeScheduleListRequest(); + + 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 getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + int pageId_; + std::string iotInstanceId_; + int pageSize_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODESCHEDULELISTREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListResult.h b/iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListResult.h new file mode 100644 index 000000000..382f521d9 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/QuerySoundCodeScheduleListResult.h @@ -0,0 +1,76 @@ +/* + * 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_QUERYSOUNDCODESCHEDULELISTRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODESCHEDULELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeScheduleListResult : public ServiceResult + { + public: + struct Data + { + struct Items + { + std::string status; + std::string startDate; + long gmtCreate; + std::string description; + std::string endTime; + std::string startTime; + std::string scheduleCode; + std::string endDate; + std::string name; + }; + int pageId; + int pageSize; + int total; + std::vector list; + }; + + + QuerySoundCodeScheduleListResult(); + explicit QuerySoundCodeScheduleListResult(const std::string &payload); + ~QuerySoundCodeScheduleListResult(); + 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_QUERYSOUNDCODESCHEDULELISTRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchRequest.h b/iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchRequest.h new file mode 100644 index 000000000..58b953205 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchRequest.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_RETRYSOUNDCODELABELBATCHREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_RETRYSOUNDCODELABELBATCHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT RetrySoundCodeLabelBatchRequest : public RpcServiceRequest + { + + public: + RetrySoundCodeLabelBatchRequest(); + ~RetrySoundCodeLabelBatchRequest(); + + std::string getBatchCode()const; + void setBatchCode(const std::string& batchCode); + 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 batchCode_; + std::string iotInstanceId_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_RETRYSOUNDCODELABELBATCHREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchResult.h b/iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchResult.h new file mode 100644 index 000000000..c12c6273e --- /dev/null +++ b/iot/include/alibabacloud/iot/model/RetrySoundCodeLabelBatchResult.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_RETRYSOUNDCODELABELBATCHRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_RETRYSOUNDCODELABELBATCHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT RetrySoundCodeLabelBatchResult : public ServiceResult + { + public: + + + RetrySoundCodeLabelBatchResult(); + explicit RetrySoundCodeLabelBatchResult(const std::string &payload); + ~RetrySoundCodeLabelBatchResult(); + 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_RETRYSOUNDCODELABELBATCHRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/SaveDevicePropRequest.h b/iot/include/alibabacloud/iot/model/SaveDevicePropRequest.h index def4e52a8..0fc3736cb 100644 --- a/iot/include/alibabacloud/iot/model/SaveDevicePropRequest.h +++ b/iot/include/alibabacloud/iot/model/SaveDevicePropRequest.h @@ -35,8 +35,12 @@ namespace AlibabaCloud SaveDevicePropRequest(); ~SaveDevicePropRequest(); + 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; @@ -53,7 +57,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_; diff --git a/iot/include/alibabacloud/iot/model/UpdateSchedulePeriodRequest.h b/iot/include/alibabacloud/iot/model/UpdateSchedulePeriodRequest.h new file mode 100644 index 000000000..6287b8c50 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/UpdateSchedulePeriodRequest.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_UPDATESCHEDULEPERIODREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_UPDATESCHEDULEPERIODREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT UpdateSchedulePeriodRequest : public RpcServiceRequest + { + + public: + UpdateSchedulePeriodRequest(); + ~UpdateSchedulePeriodRequest(); + + std::string getPeriodCode()const; + void setPeriodCode(const std::string& periodCode); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getSoundCodeContent()const; + void setSoundCodeContent(const std::string& soundCodeContent); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string periodCode_; + std::string description_; + std::string startTime_; + std::string iotInstanceId_; + std::string endTime_; + std::string soundCodeContent_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_UPDATESCHEDULEPERIODREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/UpdateSchedulePeriodResult.h b/iot/include/alibabacloud/iot/model/UpdateSchedulePeriodResult.h new file mode 100644 index 000000000..25d5501bf --- /dev/null +++ b/iot/include/alibabacloud/iot/model/UpdateSchedulePeriodResult.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_UPDATESCHEDULEPERIODRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_UPDATESCHEDULEPERIODRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT UpdateSchedulePeriodResult : public ServiceResult + { + public: + + + UpdateSchedulePeriodResult(); + explicit UpdateSchedulePeriodResult(const std::string &payload); + ~UpdateSchedulePeriodResult(); + 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_UPDATESCHEDULEPERIODRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelRequest.h b/iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelRequest.h new file mode 100644 index 000000000..0b2eeb26a --- /dev/null +++ b/iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelRequest.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_UPDATESOUNDCODELABELREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODELABELREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT UpdateSoundCodeLabelRequest : public RpcServiceRequest + { + + public: + UpdateSoundCodeLabelRequest(); + ~UpdateSoundCodeLabelRequest(); + + std::string getSoundCode()const; + void setSoundCode(const std::string& soundCode); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getLabel()const; + void setLabel(const std::string& label); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + + private: + std::string soundCode_; + std::string iotInstanceId_; + std::string label_; + std::string apiProduct_; + std::string apiRevision_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODELABELREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelResult.h b/iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelResult.h new file mode 100644 index 000000000..c58b2701e --- /dev/null +++ b/iot/include/alibabacloud/iot/model/UpdateSoundCodeLabelResult.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_UPDATESOUNDCODELABELRESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODELABELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT UpdateSoundCodeLabelResult : public ServiceResult + { + public: + + + UpdateSoundCodeLabelResult(); + explicit UpdateSoundCodeLabelResult(const std::string &payload); + ~UpdateSoundCodeLabelResult(); + 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_UPDATESOUNDCODELABELRESULT_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleRequest.h b/iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleRequest.h new file mode 100644 index 000000000..0a4ad9b58 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleRequest.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODESCHEDULEREQUEST_H_ +#define ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODESCHEDULEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT UpdateSoundCodeScheduleRequest : public RpcServiceRequest + { + + public: + UpdateSoundCodeScheduleRequest(); + ~UpdateSoundCodeScheduleRequest(); + + std::string getScheduleCode()const; + void setScheduleCode(const std::string& scheduleCode); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getStartDate()const; + void setStartDate(const std::string& startDate); + std::string getIotInstanceId()const; + void setIotInstanceId(const std::string& iotInstanceId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getEndDate()const; + void setEndDate(const std::string& endDate); + std::string getApiProduct()const; + void setApiProduct(const std::string& apiProduct); + std::string getName()const; + void setName(const std::string& name); + std::string getApiRevision()const; + void setApiRevision(const std::string& apiRevision); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string scheduleCode_; + std::string description_; + std::string startTime_; + std::string startDate_; + std::string iotInstanceId_; + std::string endTime_; + std::string endDate_; + std::string apiProduct_; + std::string name_; + std::string apiRevision_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODESCHEDULEREQUEST_H_ \ No newline at end of file diff --git a/iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleResult.h b/iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleResult.h new file mode 100644 index 000000000..db1f3fda1 --- /dev/null +++ b/iot/include/alibabacloud/iot/model/UpdateSoundCodeScheduleResult.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_UPDATESOUNDCODESCHEDULERESULT_H_ +#define ALIBABACLOUD_IOT_MODEL_UPDATESOUNDCODESCHEDULERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Iot + { + namespace Model + { + class ALIBABACLOUD_IOT_EXPORT UpdateSoundCodeScheduleResult : public ServiceResult + { + public: + + + UpdateSoundCodeScheduleResult(); + explicit UpdateSoundCodeScheduleResult(const std::string &payload); + ~UpdateSoundCodeScheduleResult(); + 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_UPDATESOUNDCODESCHEDULERESULT_H_ \ No newline at end of file diff --git a/iot/src/IotClient.cc b/iot/src/IotClient.cc index 9191b30c0..7c94d2046 100644 --- a/iot/src/IotClient.cc +++ b/iot/src/IotClient.cc @@ -375,6 +375,78 @@ IotClient::BatchClearEdgeInstanceDeviceConfigOutcomeCallable IotClient::batchCle return task->get_future(); } +IotClient::BatchCreateSoundCodeLabelOutcome IotClient::batchCreateSoundCodeLabel(const BatchCreateSoundCodeLabelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchCreateSoundCodeLabelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchCreateSoundCodeLabelOutcome(BatchCreateSoundCodeLabelResult(outcome.result())); + else + return BatchCreateSoundCodeLabelOutcome(outcome.error()); +} + +void IotClient::batchCreateSoundCodeLabelAsync(const BatchCreateSoundCodeLabelRequest& request, const BatchCreateSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchCreateSoundCodeLabel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::BatchCreateSoundCodeLabelOutcomeCallable IotClient::batchCreateSoundCodeLabelCallable(const BatchCreateSoundCodeLabelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchCreateSoundCodeLabel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::BatchCreateSoundCodeLabelWithLabelsOutcome IotClient::batchCreateSoundCodeLabelWithLabels(const BatchCreateSoundCodeLabelWithLabelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchCreateSoundCodeLabelWithLabelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchCreateSoundCodeLabelWithLabelsOutcome(BatchCreateSoundCodeLabelWithLabelsResult(outcome.result())); + else + return BatchCreateSoundCodeLabelWithLabelsOutcome(outcome.error()); +} + +void IotClient::batchCreateSoundCodeLabelWithLabelsAsync(const BatchCreateSoundCodeLabelWithLabelsRequest& request, const BatchCreateSoundCodeLabelWithLabelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchCreateSoundCodeLabelWithLabels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::BatchCreateSoundCodeLabelWithLabelsOutcomeCallable IotClient::batchCreateSoundCodeLabelWithLabelsCallable(const BatchCreateSoundCodeLabelWithLabelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchCreateSoundCodeLabelWithLabels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::BatchDeleteDeviceGroupRelationsOutcome IotClient::batchDeleteDeviceGroupRelations(const BatchDeleteDeviceGroupRelationsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2679,6 +2751,42 @@ IotClient::CreateSceneRuleOutcomeCallable IotClient::createSceneRuleCallable(con return task->get_future(); } +IotClient::CreateSchedulePeriodOutcome IotClient::createSchedulePeriod(const CreateSchedulePeriodRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSchedulePeriodOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSchedulePeriodOutcome(CreateSchedulePeriodResult(outcome.result())); + else + return CreateSchedulePeriodOutcome(outcome.error()); +} + +void IotClient::createSchedulePeriodAsync(const CreateSchedulePeriodRequest& request, const CreateSchedulePeriodAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSchedulePeriod(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::CreateSchedulePeriodOutcomeCallable IotClient::createSchedulePeriodCallable(const CreateSchedulePeriodRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSchedulePeriod(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::CreateSoundCodeOutcome IotClient::createSoundCode(const CreateSoundCodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2715,6 +2823,78 @@ IotClient::CreateSoundCodeOutcomeCallable IotClient::createSoundCodeCallable(con return task->get_future(); } +IotClient::CreateSoundCodeLabelOutcome IotClient::createSoundCodeLabel(const CreateSoundCodeLabelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSoundCodeLabelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSoundCodeLabelOutcome(CreateSoundCodeLabelResult(outcome.result())); + else + return CreateSoundCodeLabelOutcome(outcome.error()); +} + +void IotClient::createSoundCodeLabelAsync(const CreateSoundCodeLabelRequest& request, const CreateSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSoundCodeLabel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::CreateSoundCodeLabelOutcomeCallable IotClient::createSoundCodeLabelCallable(const CreateSoundCodeLabelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSoundCodeLabel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::CreateSoundCodeScheduleOutcome IotClient::createSoundCodeSchedule(const CreateSoundCodeScheduleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSoundCodeScheduleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSoundCodeScheduleOutcome(CreateSoundCodeScheduleResult(outcome.result())); + else + return CreateSoundCodeScheduleOutcome(outcome.error()); +} + +void IotClient::createSoundCodeScheduleAsync(const CreateSoundCodeScheduleRequest& request, const CreateSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSoundCodeSchedule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::CreateSoundCodeScheduleOutcomeCallable IotClient::createSoundCodeScheduleCallable(const CreateSoundCodeScheduleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSoundCodeSchedule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::CreateSpeechOutcome IotClient::createSpeech(const CreateSpeechRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3795,6 +3975,42 @@ IotClient::DeleteSceneRuleOutcomeCallable IotClient::deleteSceneRuleCallable(con return task->get_future(); } +IotClient::DeleteSchedulePeriodOutcome IotClient::deleteSchedulePeriod(const DeleteSchedulePeriodRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSchedulePeriodOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSchedulePeriodOutcome(DeleteSchedulePeriodResult(outcome.result())); + else + return DeleteSchedulePeriodOutcome(outcome.error()); +} + +void IotClient::deleteSchedulePeriodAsync(const DeleteSchedulePeriodRequest& request, const DeleteSchedulePeriodAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSchedulePeriod(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::DeleteSchedulePeriodOutcomeCallable IotClient::deleteSchedulePeriodCallable(const DeleteSchedulePeriodRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSchedulePeriod(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::DeleteSoundCodeOutcome IotClient::deleteSoundCode(const DeleteSoundCodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3831,6 +4047,78 @@ IotClient::DeleteSoundCodeOutcomeCallable IotClient::deleteSoundCodeCallable(con return task->get_future(); } +IotClient::DeleteSoundCodeLabelOutcome IotClient::deleteSoundCodeLabel(const DeleteSoundCodeLabelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSoundCodeLabelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSoundCodeLabelOutcome(DeleteSoundCodeLabelResult(outcome.result())); + else + return DeleteSoundCodeLabelOutcome(outcome.error()); +} + +void IotClient::deleteSoundCodeLabelAsync(const DeleteSoundCodeLabelRequest& request, const DeleteSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSoundCodeLabel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::DeleteSoundCodeLabelOutcomeCallable IotClient::deleteSoundCodeLabelCallable(const DeleteSoundCodeLabelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSoundCodeLabel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::DeleteSoundCodeScheduleOutcome IotClient::deleteSoundCodeSchedule(const DeleteSoundCodeScheduleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSoundCodeScheduleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSoundCodeScheduleOutcome(DeleteSoundCodeScheduleResult(outcome.result())); + else + return DeleteSoundCodeScheduleOutcome(outcome.error()); +} + +void IotClient::deleteSoundCodeScheduleAsync(const DeleteSoundCodeScheduleRequest& request, const DeleteSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSoundCodeSchedule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::DeleteSoundCodeScheduleOutcomeCallable IotClient::deleteSoundCodeScheduleCallable(const DeleteSoundCodeScheduleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSoundCodeSchedule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::DeleteSpeechOutcome IotClient::deleteSpeech(const DeleteSpeechRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4947,6 +5235,42 @@ IotClient::GetSoundCodeAudioOutcomeCallable IotClient::getSoundCodeAudioCallable return task->get_future(); } +IotClient::GetSoundCodeScheduleOutcome IotClient::getSoundCodeSchedule(const GetSoundCodeScheduleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSoundCodeScheduleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSoundCodeScheduleOutcome(GetSoundCodeScheduleResult(outcome.result())); + else + return GetSoundCodeScheduleOutcome(outcome.error()); +} + +void IotClient::getSoundCodeScheduleAsync(const GetSoundCodeScheduleRequest& request, const GetSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSoundCodeSchedule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::GetSoundCodeScheduleOutcomeCallable IotClient::getSoundCodeScheduleCallable(const GetSoundCodeScheduleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSoundCodeSchedule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::GetSpeechDeviceDetailOutcome IotClient::getSpeechDeviceDetail(const GetSpeechDeviceDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6243,6 +6567,42 @@ IotClient::OpenIotServiceOutcomeCallable IotClient::openIotServiceCallable(const return task->get_future(); } +IotClient::PackageSoundCodeLabelBatchAudioOutcome IotClient::packageSoundCodeLabelBatchAudio(const PackageSoundCodeLabelBatchAudioRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PackageSoundCodeLabelBatchAudioOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PackageSoundCodeLabelBatchAudioOutcome(PackageSoundCodeLabelBatchAudioResult(outcome.result())); + else + return PackageSoundCodeLabelBatchAudioOutcome(outcome.error()); +} + +void IotClient::packageSoundCodeLabelBatchAudioAsync(const PackageSoundCodeLabelBatchAudioRequest& request, const PackageSoundCodeLabelBatchAudioAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, packageSoundCodeLabelBatchAudio(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::PackageSoundCodeLabelBatchAudioOutcomeCallable IotClient::packageSoundCodeLabelBatchAudioCallable(const PackageSoundCodeLabelBatchAudioRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->packageSoundCodeLabelBatchAudio(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::PrintByTemplateOutcome IotClient::printByTemplate(const PrintByTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8691,6 +9051,42 @@ IotClient::QuerySceneRuleOutcomeCallable IotClient::querySceneRuleCallable(const return task->get_future(); } +IotClient::QuerySchedulePeriodListOutcome IotClient::querySchedulePeriodList(const QuerySchedulePeriodListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySchedulePeriodListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySchedulePeriodListOutcome(QuerySchedulePeriodListResult(outcome.result())); + else + return QuerySchedulePeriodListOutcome(outcome.error()); +} + +void IotClient::querySchedulePeriodListAsync(const QuerySchedulePeriodListRequest& request, const QuerySchedulePeriodListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySchedulePeriodList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::QuerySchedulePeriodListOutcomeCallable IotClient::querySchedulePeriodListCallable(const QuerySchedulePeriodListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySchedulePeriodList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::QuerySolutionDeviceGroupPageOutcome IotClient::querySolutionDeviceGroupPage(const QuerySolutionDeviceGroupPageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8727,6 +9123,114 @@ IotClient::QuerySolutionDeviceGroupPageOutcomeCallable IotClient::querySolutionD return task->get_future(); } +IotClient::QuerySoundCodeLabelBatchFailedResultOutcome IotClient::querySoundCodeLabelBatchFailedResult(const QuerySoundCodeLabelBatchFailedResultRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySoundCodeLabelBatchFailedResultOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySoundCodeLabelBatchFailedResultOutcome(QuerySoundCodeLabelBatchFailedResultResult(outcome.result())); + else + return QuerySoundCodeLabelBatchFailedResultOutcome(outcome.error()); +} + +void IotClient::querySoundCodeLabelBatchFailedResultAsync(const QuerySoundCodeLabelBatchFailedResultRequest& request, const QuerySoundCodeLabelBatchFailedResultAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySoundCodeLabelBatchFailedResult(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::QuerySoundCodeLabelBatchFailedResultOutcomeCallable IotClient::querySoundCodeLabelBatchFailedResultCallable(const QuerySoundCodeLabelBatchFailedResultRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySoundCodeLabelBatchFailedResult(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::QuerySoundCodeLabelBatchListOutcome IotClient::querySoundCodeLabelBatchList(const QuerySoundCodeLabelBatchListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySoundCodeLabelBatchListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySoundCodeLabelBatchListOutcome(QuerySoundCodeLabelBatchListResult(outcome.result())); + else + return QuerySoundCodeLabelBatchListOutcome(outcome.error()); +} + +void IotClient::querySoundCodeLabelBatchListAsync(const QuerySoundCodeLabelBatchListRequest& request, const QuerySoundCodeLabelBatchListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySoundCodeLabelBatchList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::QuerySoundCodeLabelBatchListOutcomeCallable IotClient::querySoundCodeLabelBatchListCallable(const QuerySoundCodeLabelBatchListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySoundCodeLabelBatchList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::QuerySoundCodeLabelListOutcome IotClient::querySoundCodeLabelList(const QuerySoundCodeLabelListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySoundCodeLabelListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySoundCodeLabelListOutcome(QuerySoundCodeLabelListResult(outcome.result())); + else + return QuerySoundCodeLabelListOutcome(outcome.error()); +} + +void IotClient::querySoundCodeLabelListAsync(const QuerySoundCodeLabelListRequest& request, const QuerySoundCodeLabelListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySoundCodeLabelList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::QuerySoundCodeLabelListOutcomeCallable IotClient::querySoundCodeLabelListCallable(const QuerySoundCodeLabelListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySoundCodeLabelList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::QuerySoundCodeListOutcome IotClient::querySoundCodeList(const QuerySoundCodeListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8763,6 +9267,42 @@ IotClient::QuerySoundCodeListOutcomeCallable IotClient::querySoundCodeListCallab return task->get_future(); } +IotClient::QuerySoundCodeScheduleListOutcome IotClient::querySoundCodeScheduleList(const QuerySoundCodeScheduleListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return QuerySoundCodeScheduleListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return QuerySoundCodeScheduleListOutcome(QuerySoundCodeScheduleListResult(outcome.result())); + else + return QuerySoundCodeScheduleListOutcome(outcome.error()); +} + +void IotClient::querySoundCodeScheduleListAsync(const QuerySoundCodeScheduleListRequest& request, const QuerySoundCodeScheduleListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, querySoundCodeScheduleList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::QuerySoundCodeScheduleListOutcomeCallable IotClient::querySoundCodeScheduleListCallable(const QuerySoundCodeScheduleListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->querySoundCodeScheduleList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::QuerySpeechOutcome IotClient::querySpeech(const QuerySpeechRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9951,6 +10491,42 @@ IotClient::ResetThingOutcomeCallable IotClient::resetThingCallable(const ResetTh return task->get_future(); } +IotClient::RetrySoundCodeLabelBatchOutcome IotClient::retrySoundCodeLabelBatch(const RetrySoundCodeLabelBatchRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RetrySoundCodeLabelBatchOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RetrySoundCodeLabelBatchOutcome(RetrySoundCodeLabelBatchResult(outcome.result())); + else + return RetrySoundCodeLabelBatchOutcome(outcome.error()); +} + +void IotClient::retrySoundCodeLabelBatchAsync(const RetrySoundCodeLabelBatchRequest& request, const RetrySoundCodeLabelBatchAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, retrySoundCodeLabelBatch(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::RetrySoundCodeLabelBatchOutcomeCallable IotClient::retrySoundCodeLabelBatchCallable(const RetrySoundCodeLabelBatchRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->retrySoundCodeLabelBatch(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::ReupgradeOTATaskOutcome IotClient::reupgradeOTATask(const ReupgradeOTATaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -11355,6 +11931,114 @@ IotClient::UpdateSceneRuleOutcomeCallable IotClient::updateSceneRuleCallable(con return task->get_future(); } +IotClient::UpdateSchedulePeriodOutcome IotClient::updateSchedulePeriod(const UpdateSchedulePeriodRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSchedulePeriodOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSchedulePeriodOutcome(UpdateSchedulePeriodResult(outcome.result())); + else + return UpdateSchedulePeriodOutcome(outcome.error()); +} + +void IotClient::updateSchedulePeriodAsync(const UpdateSchedulePeriodRequest& request, const UpdateSchedulePeriodAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSchedulePeriod(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::UpdateSchedulePeriodOutcomeCallable IotClient::updateSchedulePeriodCallable(const UpdateSchedulePeriodRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSchedulePeriod(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::UpdateSoundCodeLabelOutcome IotClient::updateSoundCodeLabel(const UpdateSoundCodeLabelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSoundCodeLabelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSoundCodeLabelOutcome(UpdateSoundCodeLabelResult(outcome.result())); + else + return UpdateSoundCodeLabelOutcome(outcome.error()); +} + +void IotClient::updateSoundCodeLabelAsync(const UpdateSoundCodeLabelRequest& request, const UpdateSoundCodeLabelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSoundCodeLabel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::UpdateSoundCodeLabelOutcomeCallable IotClient::updateSoundCodeLabelCallable(const UpdateSoundCodeLabelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSoundCodeLabel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +IotClient::UpdateSoundCodeScheduleOutcome IotClient::updateSoundCodeSchedule(const UpdateSoundCodeScheduleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSoundCodeScheduleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSoundCodeScheduleOutcome(UpdateSoundCodeScheduleResult(outcome.result())); + else + return UpdateSoundCodeScheduleOutcome(outcome.error()); +} + +void IotClient::updateSoundCodeScheduleAsync(const UpdateSoundCodeScheduleRequest& request, const UpdateSoundCodeScheduleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSoundCodeSchedule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +IotClient::UpdateSoundCodeScheduleOutcomeCallable IotClient::updateSoundCodeScheduleCallable(const UpdateSoundCodeScheduleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSoundCodeSchedule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + IotClient::UpdateSpeechOutcome IotClient::updateSpeech(const UpdateSpeechRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/iot/src/model/BatchCreateSoundCodeLabelRequest.cc b/iot/src/model/BatchCreateSoundCodeLabelRequest.cc new file mode 100644 index 000000000..b426cb842 --- /dev/null +++ b/iot/src/model/BatchCreateSoundCodeLabelRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Iot::Model::BatchCreateSoundCodeLabelRequest; + +BatchCreateSoundCodeLabelRequest::BatchCreateSoundCodeLabelRequest() : + RpcServiceRequest("iot", "2018-01-20", "BatchCreateSoundCodeLabel") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchCreateSoundCodeLabelRequest::~BatchCreateSoundCodeLabelRequest() +{} + +std::string BatchCreateSoundCodeLabelRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void BatchCreateSoundCodeLabelRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string BatchCreateSoundCodeLabelRequest::getDescription()const +{ + return description_; +} + +void BatchCreateSoundCodeLabelRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +int BatchCreateSoundCodeLabelRequest::getTotal()const +{ + return total_; +} + +void BatchCreateSoundCodeLabelRequest::setTotal(int total) +{ + total_ = total; + setBodyParameter("Total", std::to_string(total)); +} + +std::string BatchCreateSoundCodeLabelRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void BatchCreateSoundCodeLabelRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string BatchCreateSoundCodeLabelRequest::getApiProduct()const +{ + return apiProduct_; +} + +void BatchCreateSoundCodeLabelRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string BatchCreateSoundCodeLabelRequest::getApiRevision()const +{ + return apiRevision_; +} + +void BatchCreateSoundCodeLabelRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/BatchCreateSoundCodeLabelResult.cc b/iot/src/model/BatchCreateSoundCodeLabelResult.cc new file mode 100644 index 000000000..4b4b4fc45 --- /dev/null +++ b/iot/src/model/BatchCreateSoundCodeLabelResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +BatchCreateSoundCodeLabelResult::BatchCreateSoundCodeLabelResult() : + ServiceResult() +{} + +BatchCreateSoundCodeLabelResult::BatchCreateSoundCodeLabelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchCreateSoundCodeLabelResult::~BatchCreateSoundCodeLabelResult() +{} + +void BatchCreateSoundCodeLabelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string BatchCreateSoundCodeLabelResult::getData()const +{ + return data_; +} + +std::string BatchCreateSoundCodeLabelResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string BatchCreateSoundCodeLabelResult::getCode()const +{ + return code_; +} + +bool BatchCreateSoundCodeLabelResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc b/iot/src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc new file mode 100644 index 000000000..ffdd82463 --- /dev/null +++ b/iot/src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc @@ -0,0 +1,97 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::BatchCreateSoundCodeLabelWithLabelsRequest; + +BatchCreateSoundCodeLabelWithLabelsRequest::BatchCreateSoundCodeLabelWithLabelsRequest() : + RpcServiceRequest("iot", "2018-01-20", "BatchCreateSoundCodeLabelWithLabels") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchCreateSoundCodeLabelWithLabelsRequest::~BatchCreateSoundCodeLabelWithLabelsRequest() +{} + +std::string BatchCreateSoundCodeLabelWithLabelsRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void BatchCreateSoundCodeLabelWithLabelsRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string BatchCreateSoundCodeLabelWithLabelsRequest::getDescription()const +{ + return description_; +} + +void BatchCreateSoundCodeLabelWithLabelsRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string BatchCreateSoundCodeLabelWithLabelsRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void BatchCreateSoundCodeLabelWithLabelsRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::vector BatchCreateSoundCodeLabelWithLabelsRequest::getLabels()const +{ + return labels_; +} + +void BatchCreateSoundCodeLabelWithLabelsRequest::setLabels(const std::vector& labels) +{ + labels_ = labels; + for(int dep1 = 0; dep1!= labels.size(); dep1++) { + setBodyParameter("Labels."+ std::to_string(dep1), labels.at(dep1)); + } +} + +std::string BatchCreateSoundCodeLabelWithLabelsRequest::getApiProduct()const +{ + return apiProduct_; +} + +void BatchCreateSoundCodeLabelWithLabelsRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string BatchCreateSoundCodeLabelWithLabelsRequest::getApiRevision()const +{ + return apiRevision_; +} + +void BatchCreateSoundCodeLabelWithLabelsRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc b/iot/src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc new file mode 100644 index 000000000..467c9eb92 --- /dev/null +++ b/iot/src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +BatchCreateSoundCodeLabelWithLabelsResult::BatchCreateSoundCodeLabelWithLabelsResult() : + ServiceResult() +{} + +BatchCreateSoundCodeLabelWithLabelsResult::BatchCreateSoundCodeLabelWithLabelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchCreateSoundCodeLabelWithLabelsResult::~BatchCreateSoundCodeLabelWithLabelsResult() +{} + +void BatchCreateSoundCodeLabelWithLabelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string BatchCreateSoundCodeLabelWithLabelsResult::getData()const +{ + return data_; +} + +std::string BatchCreateSoundCodeLabelWithLabelsResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string BatchCreateSoundCodeLabelWithLabelsResult::getCode()const +{ + return code_; +} + +bool BatchCreateSoundCodeLabelWithLabelsResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/CreateSchedulePeriodRequest.cc b/iot/src/model/CreateSchedulePeriodRequest.cc new file mode 100644 index 000000000..a63c06ca2 --- /dev/null +++ b/iot/src/model/CreateSchedulePeriodRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::CreateSchedulePeriodRequest; + +CreateSchedulePeriodRequest::CreateSchedulePeriodRequest() : + RpcServiceRequest("iot", "2018-01-20", "CreateSchedulePeriod") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSchedulePeriodRequest::~CreateSchedulePeriodRequest() +{} + +std::string CreateSchedulePeriodRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void CreateSchedulePeriodRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string CreateSchedulePeriodRequest::getDescription()const +{ + return description_; +} + +void CreateSchedulePeriodRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string CreateSchedulePeriodRequest::getStartTime()const +{ + return startTime_; +} + +void CreateSchedulePeriodRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setBodyParameter("StartTime", startTime); +} + +std::string CreateSchedulePeriodRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CreateSchedulePeriodRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string CreateSchedulePeriodRequest::getEndTime()const +{ + return endTime_; +} + +void CreateSchedulePeriodRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setBodyParameter("EndTime", endTime); +} + +std::string CreateSchedulePeriodRequest::getSoundCodeContent()const +{ + return soundCodeContent_; +} + +void CreateSchedulePeriodRequest::setSoundCodeContent(const std::string& soundCodeContent) +{ + soundCodeContent_ = soundCodeContent; + setBodyParameter("SoundCodeContent", soundCodeContent); +} + +std::string CreateSchedulePeriodRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateSchedulePeriodRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateSchedulePeriodRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateSchedulePeriodRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/CreateSchedulePeriodResult.cc b/iot/src/model/CreateSchedulePeriodResult.cc new file mode 100644 index 000000000..a9083d315 --- /dev/null +++ b/iot/src/model/CreateSchedulePeriodResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +CreateSchedulePeriodResult::CreateSchedulePeriodResult() : + ServiceResult() +{} + +CreateSchedulePeriodResult::CreateSchedulePeriodResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSchedulePeriodResult::~CreateSchedulePeriodResult() +{} + +void CreateSchedulePeriodResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CreateSchedulePeriodResult::getData()const +{ + return data_; +} + +std::string CreateSchedulePeriodResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CreateSchedulePeriodResult::getCode()const +{ + return code_; +} + +bool CreateSchedulePeriodResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/CreateSoundCodeLabelRequest.cc b/iot/src/model/CreateSoundCodeLabelRequest.cc new file mode 100644 index 000000000..4b3ed3fad --- /dev/null +++ b/iot/src/model/CreateSoundCodeLabelRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::CreateSoundCodeLabelRequest; + +CreateSoundCodeLabelRequest::CreateSoundCodeLabelRequest() : + RpcServiceRequest("iot", "2018-01-20", "CreateSoundCodeLabel") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSoundCodeLabelRequest::~CreateSoundCodeLabelRequest() +{} + +std::string CreateSoundCodeLabelRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void CreateSoundCodeLabelRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string CreateSoundCodeLabelRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CreateSoundCodeLabelRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string CreateSoundCodeLabelRequest::getLabel()const +{ + return label_; +} + +void CreateSoundCodeLabelRequest::setLabel(const std::string& label) +{ + label_ = label; + setBodyParameter("Label", label); +} + +std::string CreateSoundCodeLabelRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateSoundCodeLabelRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateSoundCodeLabelRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateSoundCodeLabelRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/CreateSoundCodeLabelResult.cc b/iot/src/model/CreateSoundCodeLabelResult.cc new file mode 100644 index 000000000..e39862c30 --- /dev/null +++ b/iot/src/model/CreateSoundCodeLabelResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +CreateSoundCodeLabelResult::CreateSoundCodeLabelResult() : + ServiceResult() +{} + +CreateSoundCodeLabelResult::CreateSoundCodeLabelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSoundCodeLabelResult::~CreateSoundCodeLabelResult() +{} + +void CreateSoundCodeLabelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CreateSoundCodeLabelResult::getData()const +{ + return data_; +} + +std::string CreateSoundCodeLabelResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CreateSoundCodeLabelResult::getCode()const +{ + return code_; +} + +bool CreateSoundCodeLabelResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/CreateSoundCodeScheduleRequest.cc b/iot/src/model/CreateSoundCodeScheduleRequest.cc new file mode 100644 index 000000000..135e03623 --- /dev/null +++ b/iot/src/model/CreateSoundCodeScheduleRequest.cc @@ -0,0 +1,106 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::CreateSoundCodeScheduleRequest; + +CreateSoundCodeScheduleRequest::CreateSoundCodeScheduleRequest() : + RpcServiceRequest("iot", "2018-01-20", "CreateSoundCodeSchedule") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateSoundCodeScheduleRequest::~CreateSoundCodeScheduleRequest() +{} + +std::string CreateSoundCodeScheduleRequest::getDescription()const +{ + return description_; +} + +void CreateSoundCodeScheduleRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string CreateSoundCodeScheduleRequest::getStartDate()const +{ + return startDate_; +} + +void CreateSoundCodeScheduleRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setBodyParameter("StartDate", startDate); +} + +std::string CreateSoundCodeScheduleRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void CreateSoundCodeScheduleRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string CreateSoundCodeScheduleRequest::getEndDate()const +{ + return endDate_; +} + +void CreateSoundCodeScheduleRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setBodyParameter("EndDate", endDate); +} + +std::string CreateSoundCodeScheduleRequest::getApiProduct()const +{ + return apiProduct_; +} + +void CreateSoundCodeScheduleRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string CreateSoundCodeScheduleRequest::getName()const +{ + return name_; +} + +void CreateSoundCodeScheduleRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string CreateSoundCodeScheduleRequest::getApiRevision()const +{ + return apiRevision_; +} + +void CreateSoundCodeScheduleRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/CreateSoundCodeScheduleResult.cc b/iot/src/model/CreateSoundCodeScheduleResult.cc new file mode 100644 index 000000000..76162d1e8 --- /dev/null +++ b/iot/src/model/CreateSoundCodeScheduleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +CreateSoundCodeScheduleResult::CreateSoundCodeScheduleResult() : + ServiceResult() +{} + +CreateSoundCodeScheduleResult::CreateSoundCodeScheduleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSoundCodeScheduleResult::~CreateSoundCodeScheduleResult() +{} + +void CreateSoundCodeScheduleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string CreateSoundCodeScheduleResult::getData()const +{ + return data_; +} + +std::string CreateSoundCodeScheduleResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string CreateSoundCodeScheduleResult::getCode()const +{ + return code_; +} + +bool CreateSoundCodeScheduleResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/DeleteSchedulePeriodRequest.cc b/iot/src/model/DeleteSchedulePeriodRequest.cc new file mode 100644 index 000000000..ffa04ba34 --- /dev/null +++ b/iot/src/model/DeleteSchedulePeriodRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::DeleteSchedulePeriodRequest; + +DeleteSchedulePeriodRequest::DeleteSchedulePeriodRequest() : + RpcServiceRequest("iot", "2018-01-20", "DeleteSchedulePeriod") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteSchedulePeriodRequest::~DeleteSchedulePeriodRequest() +{} + +std::string DeleteSchedulePeriodRequest::getPeriodCode()const +{ + return periodCode_; +} + +void DeleteSchedulePeriodRequest::setPeriodCode(const std::string& periodCode) +{ + periodCode_ = periodCode; + setBodyParameter("PeriodCode", periodCode); +} + +std::string DeleteSchedulePeriodRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void DeleteSchedulePeriodRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string DeleteSchedulePeriodRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DeleteSchedulePeriodRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DeleteSchedulePeriodRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DeleteSchedulePeriodRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/DeleteSchedulePeriodResult.cc b/iot/src/model/DeleteSchedulePeriodResult.cc new file mode 100644 index 000000000..7043e41ae --- /dev/null +++ b/iot/src/model/DeleteSchedulePeriodResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +DeleteSchedulePeriodResult::DeleteSchedulePeriodResult() : + ServiceResult() +{} + +DeleteSchedulePeriodResult::DeleteSchedulePeriodResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSchedulePeriodResult::~DeleteSchedulePeriodResult() +{} + +void DeleteSchedulePeriodResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string DeleteSchedulePeriodResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DeleteSchedulePeriodResult::getCode()const +{ + return code_; +} + +bool DeleteSchedulePeriodResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/DeleteSoundCodeLabelRequest.cc b/iot/src/model/DeleteSoundCodeLabelRequest.cc new file mode 100644 index 000000000..75ffc9879 --- /dev/null +++ b/iot/src/model/DeleteSoundCodeLabelRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::DeleteSoundCodeLabelRequest; + +DeleteSoundCodeLabelRequest::DeleteSoundCodeLabelRequest() : + RpcServiceRequest("iot", "2018-01-20", "DeleteSoundCodeLabel") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteSoundCodeLabelRequest::~DeleteSoundCodeLabelRequest() +{} + +std::string DeleteSoundCodeLabelRequest::getSoundCode()const +{ + return soundCode_; +} + +void DeleteSoundCodeLabelRequest::setSoundCode(const std::string& soundCode) +{ + soundCode_ = soundCode; + setBodyParameter("SoundCode", soundCode); +} + +std::string DeleteSoundCodeLabelRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void DeleteSoundCodeLabelRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string DeleteSoundCodeLabelRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DeleteSoundCodeLabelRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DeleteSoundCodeLabelRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DeleteSoundCodeLabelRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/DeleteSoundCodeLabelResult.cc b/iot/src/model/DeleteSoundCodeLabelResult.cc new file mode 100644 index 000000000..595ed803b --- /dev/null +++ b/iot/src/model/DeleteSoundCodeLabelResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +DeleteSoundCodeLabelResult::DeleteSoundCodeLabelResult() : + ServiceResult() +{} + +DeleteSoundCodeLabelResult::DeleteSoundCodeLabelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSoundCodeLabelResult::~DeleteSoundCodeLabelResult() +{} + +void DeleteSoundCodeLabelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string DeleteSoundCodeLabelResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DeleteSoundCodeLabelResult::getCode()const +{ + return code_; +} + +bool DeleteSoundCodeLabelResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/DeleteSoundCodeScheduleRequest.cc b/iot/src/model/DeleteSoundCodeScheduleRequest.cc new file mode 100644 index 000000000..0d2797a03 --- /dev/null +++ b/iot/src/model/DeleteSoundCodeScheduleRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::DeleteSoundCodeScheduleRequest; + +DeleteSoundCodeScheduleRequest::DeleteSoundCodeScheduleRequest() : + RpcServiceRequest("iot", "2018-01-20", "DeleteSoundCodeSchedule") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteSoundCodeScheduleRequest::~DeleteSoundCodeScheduleRequest() +{} + +std::string DeleteSoundCodeScheduleRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void DeleteSoundCodeScheduleRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string DeleteSoundCodeScheduleRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void DeleteSoundCodeScheduleRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string DeleteSoundCodeScheduleRequest::getApiProduct()const +{ + return apiProduct_; +} + +void DeleteSoundCodeScheduleRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string DeleteSoundCodeScheduleRequest::getApiRevision()const +{ + return apiRevision_; +} + +void DeleteSoundCodeScheduleRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/DeleteSoundCodeScheduleResult.cc b/iot/src/model/DeleteSoundCodeScheduleResult.cc new file mode 100644 index 000000000..aef796e5a --- /dev/null +++ b/iot/src/model/DeleteSoundCodeScheduleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +DeleteSoundCodeScheduleResult::DeleteSoundCodeScheduleResult() : + ServiceResult() +{} + +DeleteSoundCodeScheduleResult::DeleteSoundCodeScheduleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSoundCodeScheduleResult::~DeleteSoundCodeScheduleResult() +{} + +void DeleteSoundCodeScheduleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string DeleteSoundCodeScheduleResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string DeleteSoundCodeScheduleResult::getCode()const +{ + return code_; +} + +bool DeleteSoundCodeScheduleResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/GetSoundCodeScheduleRequest.cc b/iot/src/model/GetSoundCodeScheduleRequest.cc new file mode 100644 index 000000000..a4f8f709c --- /dev/null +++ b/iot/src/model/GetSoundCodeScheduleRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::GetSoundCodeScheduleRequest; + +GetSoundCodeScheduleRequest::GetSoundCodeScheduleRequest() : + RpcServiceRequest("iot", "2018-01-20", "GetSoundCodeSchedule") +{ + setMethod(HttpRequest::Method::Post); +} + +GetSoundCodeScheduleRequest::~GetSoundCodeScheduleRequest() +{} + +std::string GetSoundCodeScheduleRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void GetSoundCodeScheduleRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string GetSoundCodeScheduleRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void GetSoundCodeScheduleRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string GetSoundCodeScheduleRequest::getApiProduct()const +{ + return apiProduct_; +} + +void GetSoundCodeScheduleRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string GetSoundCodeScheduleRequest::getApiRevision()const +{ + return apiRevision_; +} + +void GetSoundCodeScheduleRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/GetSoundCodeScheduleResult.cc b/iot/src/model/GetSoundCodeScheduleResult.cc new file mode 100644 index 000000000..91226348c --- /dev/null +++ b/iot/src/model/GetSoundCodeScheduleResult.cc @@ -0,0 +1,89 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +GetSoundCodeScheduleResult::GetSoundCodeScheduleResult() : + ServiceResult() +{} + +GetSoundCodeScheduleResult::GetSoundCodeScheduleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSoundCodeScheduleResult::~GetSoundCodeScheduleResult() +{} + +void GetSoundCodeScheduleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["ScheduleCode"].isNull()) + data_.scheduleCode = dataNode["ScheduleCode"].asString(); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["GmtCreate"].isNull()) + data_.gmtCreate = std::stol(dataNode["GmtCreate"].asString()); + if(!dataNode["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + if(!dataNode["StartTime"].isNull()) + data_.startTime = dataNode["StartTime"].asString(); + if(!dataNode["EndTime"].isNull()) + data_.endTime = dataNode["EndTime"].asString(); + if(!dataNode["StartDate"].isNull()) + data_.startDate = dataNode["StartDate"].asString(); + if(!dataNode["EndDate"].isNull()) + data_.endDate = dataNode["EndDate"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +GetSoundCodeScheduleResult::Data GetSoundCodeScheduleResult::getData()const +{ + return data_; +} + +std::string GetSoundCodeScheduleResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string GetSoundCodeScheduleResult::getCode()const +{ + return code_; +} + +bool GetSoundCodeScheduleResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/PackageSoundCodeLabelBatchAudioRequest.cc b/iot/src/model/PackageSoundCodeLabelBatchAudioRequest.cc new file mode 100644 index 000000000..505810887 --- /dev/null +++ b/iot/src/model/PackageSoundCodeLabelBatchAudioRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::PackageSoundCodeLabelBatchAudioRequest; + +PackageSoundCodeLabelBatchAudioRequest::PackageSoundCodeLabelBatchAudioRequest() : + RpcServiceRequest("iot", "2018-01-20", "PackageSoundCodeLabelBatchAudio") +{ + setMethod(HttpRequest::Method::Post); +} + +PackageSoundCodeLabelBatchAudioRequest::~PackageSoundCodeLabelBatchAudioRequest() +{} + +std::string PackageSoundCodeLabelBatchAudioRequest::getBatchCode()const +{ + return batchCode_; +} + +void PackageSoundCodeLabelBatchAudioRequest::setBatchCode(const std::string& batchCode) +{ + batchCode_ = batchCode; + setBodyParameter("BatchCode", batchCode); +} + +std::string PackageSoundCodeLabelBatchAudioRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void PackageSoundCodeLabelBatchAudioRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string PackageSoundCodeLabelBatchAudioRequest::getApiProduct()const +{ + return apiProduct_; +} + +void PackageSoundCodeLabelBatchAudioRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string PackageSoundCodeLabelBatchAudioRequest::getApiRevision()const +{ + return apiRevision_; +} + +void PackageSoundCodeLabelBatchAudioRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/PackageSoundCodeLabelBatchAudioResult.cc b/iot/src/model/PackageSoundCodeLabelBatchAudioResult.cc new file mode 100644 index 000000000..45cbc035a --- /dev/null +++ b/iot/src/model/PackageSoundCodeLabelBatchAudioResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +PackageSoundCodeLabelBatchAudioResult::PackageSoundCodeLabelBatchAudioResult() : + ServiceResult() +{} + +PackageSoundCodeLabelBatchAudioResult::PackageSoundCodeLabelBatchAudioResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PackageSoundCodeLabelBatchAudioResult::~PackageSoundCodeLabelBatchAudioResult() +{} + +void PackageSoundCodeLabelBatchAudioResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string PackageSoundCodeLabelBatchAudioResult::getData()const +{ + return data_; +} + +std::string PackageSoundCodeLabelBatchAudioResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string PackageSoundCodeLabelBatchAudioResult::getCode()const +{ + return code_; +} + +bool PackageSoundCodeLabelBatchAudioResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/QuerySchedulePeriodListRequest.cc b/iot/src/model/QuerySchedulePeriodListRequest.cc new file mode 100644 index 000000000..feeb81cce --- /dev/null +++ b/iot/src/model/QuerySchedulePeriodListRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Iot::Model::QuerySchedulePeriodListRequest; + +QuerySchedulePeriodListRequest::QuerySchedulePeriodListRequest() : + RpcServiceRequest("iot", "2018-01-20", "QuerySchedulePeriodList") +{ + setMethod(HttpRequest::Method::Post); +} + +QuerySchedulePeriodListRequest::~QuerySchedulePeriodListRequest() +{} + +std::string QuerySchedulePeriodListRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void QuerySchedulePeriodListRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +int QuerySchedulePeriodListRequest::getPageId()const +{ + return pageId_; +} + +void QuerySchedulePeriodListRequest::setPageId(int pageId) +{ + pageId_ = pageId; + setBodyParameter("PageId", std::to_string(pageId)); +} + +std::string QuerySchedulePeriodListRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void QuerySchedulePeriodListRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +int QuerySchedulePeriodListRequest::getPageSize()const +{ + return pageSize_; +} + +void QuerySchedulePeriodListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string QuerySchedulePeriodListRequest::getApiProduct()const +{ + return apiProduct_; +} + +void QuerySchedulePeriodListRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string QuerySchedulePeriodListRequest::getApiRevision()const +{ + return apiRevision_; +} + +void QuerySchedulePeriodListRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/QuerySchedulePeriodListResult.cc b/iot/src/model/QuerySchedulePeriodListResult.cc new file mode 100644 index 000000000..5fdc79a37 --- /dev/null +++ b/iot/src/model/QuerySchedulePeriodListResult.cc @@ -0,0 +1,93 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +QuerySchedulePeriodListResult::QuerySchedulePeriodListResult() : + ServiceResult() +{} + +QuerySchedulePeriodListResult::QuerySchedulePeriodListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySchedulePeriodListResult::~QuerySchedulePeriodListResult() +{} + +void QuerySchedulePeriodListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["PageId"].isNull()) + data_.pageId = std::stoi(dataNode["PageId"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + auto allListNode = dataNode["List"]["Items"]; + for (auto dataNodeListItems : allListNode) + { + Data::Items itemsObject; + if(!dataNodeListItems["PeriodCode"].isNull()) + itemsObject.periodCode = dataNodeListItems["PeriodCode"].asString(); + if(!dataNodeListItems["SoundCodeContent"].isNull()) + itemsObject.soundCodeContent = dataNodeListItems["SoundCodeContent"].asString(); + if(!dataNodeListItems["Description"].isNull()) + itemsObject.description = dataNodeListItems["Description"].asString(); + if(!dataNodeListItems["StartTime"].isNull()) + itemsObject.startTime = dataNodeListItems["StartTime"].asString(); + if(!dataNodeListItems["EndTime"].isNull()) + itemsObject.endTime = dataNodeListItems["EndTime"].asString(); + data_.list.push_back(itemsObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +QuerySchedulePeriodListResult::Data QuerySchedulePeriodListResult::getData()const +{ + return data_; +} + +std::string QuerySchedulePeriodListResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QuerySchedulePeriodListResult::getCode()const +{ + return code_; +} + +bool QuerySchedulePeriodListResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc b/iot/src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc new file mode 100644 index 000000000..f160071b2 --- /dev/null +++ b/iot/src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::QuerySoundCodeLabelBatchFailedResultRequest; + +QuerySoundCodeLabelBatchFailedResultRequest::QuerySoundCodeLabelBatchFailedResultRequest() : + RpcServiceRequest("iot", "2018-01-20", "QuerySoundCodeLabelBatchFailedResult") +{ + setMethod(HttpRequest::Method::Post); +} + +QuerySoundCodeLabelBatchFailedResultRequest::~QuerySoundCodeLabelBatchFailedResultRequest() +{} + +std::string QuerySoundCodeLabelBatchFailedResultRequest::getBatchCode()const +{ + return batchCode_; +} + +void QuerySoundCodeLabelBatchFailedResultRequest::setBatchCode(const std::string& batchCode) +{ + batchCode_ = batchCode; + setBodyParameter("BatchCode", batchCode); +} + +std::string QuerySoundCodeLabelBatchFailedResultRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void QuerySoundCodeLabelBatchFailedResultRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string QuerySoundCodeLabelBatchFailedResultRequest::getApiProduct()const +{ + return apiProduct_; +} + +void QuerySoundCodeLabelBatchFailedResultRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string QuerySoundCodeLabelBatchFailedResultRequest::getApiRevision()const +{ + return apiRevision_; +} + +void QuerySoundCodeLabelBatchFailedResultRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/QuerySoundCodeLabelBatchFailedResultResult.cc b/iot/src/model/QuerySoundCodeLabelBatchFailedResultResult.cc new file mode 100644 index 000000000..c7bb358a9 --- /dev/null +++ b/iot/src/model/QuerySoundCodeLabelBatchFailedResultResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +QuerySoundCodeLabelBatchFailedResultResult::QuerySoundCodeLabelBatchFailedResultResult() : + ServiceResult() +{} + +QuerySoundCodeLabelBatchFailedResultResult::QuerySoundCodeLabelBatchFailedResultResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySoundCodeLabelBatchFailedResultResult::~QuerySoundCodeLabelBatchFailedResultResult() +{} + +void QuerySoundCodeLabelBatchFailedResultResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["Items"]; + for (auto valueDataItems : allDataNode) + { + Items dataObject; + if(!valueDataItems["ResultCode"].isNull()) + dataObject.resultCode = valueDataItems["ResultCode"].asString(); + if(!valueDataItems["Label"].isNull()) + dataObject.label = valueDataItems["Label"].asString(); + if(!valueDataItems["ErrorMessage"].isNull()) + dataObject.errorMessage = valueDataItems["ErrorMessage"].asString(); + data_.push_back(dataObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::vector QuerySoundCodeLabelBatchFailedResultResult::getData()const +{ + return data_; +} + +std::string QuerySoundCodeLabelBatchFailedResultResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QuerySoundCodeLabelBatchFailedResultResult::getCode()const +{ + return code_; +} + +bool QuerySoundCodeLabelBatchFailedResultResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/QuerySoundCodeLabelBatchListRequest.cc b/iot/src/model/QuerySoundCodeLabelBatchListRequest.cc new file mode 100644 index 000000000..fd08d470f --- /dev/null +++ b/iot/src/model/QuerySoundCodeLabelBatchListRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Iot::Model::QuerySoundCodeLabelBatchListRequest; + +QuerySoundCodeLabelBatchListRequest::QuerySoundCodeLabelBatchListRequest() : + RpcServiceRequest("iot", "2018-01-20", "QuerySoundCodeLabelBatchList") +{ + setMethod(HttpRequest::Method::Post); +} + +QuerySoundCodeLabelBatchListRequest::~QuerySoundCodeLabelBatchListRequest() +{} + +std::string QuerySoundCodeLabelBatchListRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void QuerySoundCodeLabelBatchListRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +int QuerySoundCodeLabelBatchListRequest::getPageId()const +{ + return pageId_; +} + +void QuerySoundCodeLabelBatchListRequest::setPageId(int pageId) +{ + pageId_ = pageId; + setBodyParameter("PageId", std::to_string(pageId)); +} + +std::string QuerySoundCodeLabelBatchListRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void QuerySoundCodeLabelBatchListRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +int QuerySoundCodeLabelBatchListRequest::getPageSize()const +{ + return pageSize_; +} + +void QuerySoundCodeLabelBatchListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string QuerySoundCodeLabelBatchListRequest::getApiProduct()const +{ + return apiProduct_; +} + +void QuerySoundCodeLabelBatchListRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string QuerySoundCodeLabelBatchListRequest::getApiRevision()const +{ + return apiRevision_; +} + +void QuerySoundCodeLabelBatchListRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/QuerySoundCodeLabelBatchListResult.cc b/iot/src/model/QuerySoundCodeLabelBatchListResult.cc new file mode 100644 index 000000000..4d4bfbdea --- /dev/null +++ b/iot/src/model/QuerySoundCodeLabelBatchListResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +QuerySoundCodeLabelBatchListResult::QuerySoundCodeLabelBatchListResult() : + ServiceResult() +{} + +QuerySoundCodeLabelBatchListResult::QuerySoundCodeLabelBatchListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySoundCodeLabelBatchListResult::~QuerySoundCodeLabelBatchListResult() +{} + +void QuerySoundCodeLabelBatchListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["PageId"].isNull()) + data_.pageId = std::stoi(dataNode["PageId"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + auto allListNode = dataNode["List"]["Items"]; + for (auto dataNodeListItems : allListNode) + { + Data::Items itemsObject; + if(!dataNodeListItems["BatchCode"].isNull()) + itemsObject.batchCode = dataNodeListItems["BatchCode"].asString(); + if(!dataNodeListItems["Description"].isNull()) + itemsObject.description = dataNodeListItems["Description"].asString(); + if(!dataNodeListItems["Total"].isNull()) + itemsObject.total = std::stoi(dataNodeListItems["Total"].asString()); + if(!dataNodeListItems["SuccessNum"].isNull()) + itemsObject.successNum = std::stoi(dataNodeListItems["SuccessNum"].asString()); + if(!dataNodeListItems["Status"].isNull()) + itemsObject.status = dataNodeListItems["Status"].asString(); + if(!dataNodeListItems["GmtCreate"].isNull()) + itemsObject.gmtCreate = std::stol(dataNodeListItems["GmtCreate"].asString()); + data_.list.push_back(itemsObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +QuerySoundCodeLabelBatchListResult::Data QuerySoundCodeLabelBatchListResult::getData()const +{ + return data_; +} + +std::string QuerySoundCodeLabelBatchListResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QuerySoundCodeLabelBatchListResult::getCode()const +{ + return code_; +} + +bool QuerySoundCodeLabelBatchListResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/QuerySoundCodeLabelListRequest.cc b/iot/src/model/QuerySoundCodeLabelListRequest.cc new file mode 100644 index 000000000..468bc44a4 --- /dev/null +++ b/iot/src/model/QuerySoundCodeLabelListRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Iot::Model::QuerySoundCodeLabelListRequest; + +QuerySoundCodeLabelListRequest::QuerySoundCodeLabelListRequest() : + RpcServiceRequest("iot", "2018-01-20", "QuerySoundCodeLabelList") +{ + setMethod(HttpRequest::Method::Post); +} + +QuerySoundCodeLabelListRequest::~QuerySoundCodeLabelListRequest() +{} + +std::string QuerySoundCodeLabelListRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void QuerySoundCodeLabelListRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +int QuerySoundCodeLabelListRequest::getPageId()const +{ + return pageId_; +} + +void QuerySoundCodeLabelListRequest::setPageId(int pageId) +{ + pageId_ = pageId; + setBodyParameter("PageId", std::to_string(pageId)); +} + +std::string QuerySoundCodeLabelListRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void QuerySoundCodeLabelListRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +int QuerySoundCodeLabelListRequest::getPageSize()const +{ + return pageSize_; +} + +void QuerySoundCodeLabelListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string QuerySoundCodeLabelListRequest::getApiProduct()const +{ + return apiProduct_; +} + +void QuerySoundCodeLabelListRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string QuerySoundCodeLabelListRequest::getApiRevision()const +{ + return apiRevision_; +} + +void QuerySoundCodeLabelListRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/QuerySoundCodeLabelListResult.cc b/iot/src/model/QuerySoundCodeLabelListResult.cc new file mode 100644 index 000000000..eef7b35fb --- /dev/null +++ b/iot/src/model/QuerySoundCodeLabelListResult.cc @@ -0,0 +1,87 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +QuerySoundCodeLabelListResult::QuerySoundCodeLabelListResult() : + ServiceResult() +{} + +QuerySoundCodeLabelListResult::QuerySoundCodeLabelListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySoundCodeLabelListResult::~QuerySoundCodeLabelListResult() +{} + +void QuerySoundCodeLabelListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["PageId"].isNull()) + data_.pageId = std::stoi(dataNode["PageId"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + auto allListNode = dataNode["List"]["Items"]; + for (auto dataNodeListItems : allListNode) + { + Data::Items itemsObject; + if(!dataNodeListItems["SoundCode"].isNull()) + itemsObject.soundCode = dataNodeListItems["SoundCode"].asString(); + if(!dataNodeListItems["Label"].isNull()) + itemsObject.label = dataNodeListItems["Label"].asString(); + data_.list.push_back(itemsObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +QuerySoundCodeLabelListResult::Data QuerySoundCodeLabelListResult::getData()const +{ + return data_; +} + +std::string QuerySoundCodeLabelListResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QuerySoundCodeLabelListResult::getCode()const +{ + return code_; +} + +bool QuerySoundCodeLabelListResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/QuerySoundCodeScheduleListRequest.cc b/iot/src/model/QuerySoundCodeScheduleListRequest.cc new file mode 100644 index 000000000..761eed60a --- /dev/null +++ b/iot/src/model/QuerySoundCodeScheduleListRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::QuerySoundCodeScheduleListRequest; + +QuerySoundCodeScheduleListRequest::QuerySoundCodeScheduleListRequest() : + RpcServiceRequest("iot", "2018-01-20", "QuerySoundCodeScheduleList") +{ + setMethod(HttpRequest::Method::Post); +} + +QuerySoundCodeScheduleListRequest::~QuerySoundCodeScheduleListRequest() +{} + +int QuerySoundCodeScheduleListRequest::getPageId()const +{ + return pageId_; +} + +void QuerySoundCodeScheduleListRequest::setPageId(int pageId) +{ + pageId_ = pageId; + setBodyParameter("PageId", std::to_string(pageId)); +} + +std::string QuerySoundCodeScheduleListRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void QuerySoundCodeScheduleListRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +int QuerySoundCodeScheduleListRequest::getPageSize()const +{ + return pageSize_; +} + +void QuerySoundCodeScheduleListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setBodyParameter("PageSize", std::to_string(pageSize)); +} + +std::string QuerySoundCodeScheduleListRequest::getApiProduct()const +{ + return apiProduct_; +} + +void QuerySoundCodeScheduleListRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string QuerySoundCodeScheduleListRequest::getApiRevision()const +{ + return apiRevision_; +} + +void QuerySoundCodeScheduleListRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/QuerySoundCodeScheduleListResult.cc b/iot/src/model/QuerySoundCodeScheduleListResult.cc new file mode 100644 index 000000000..102054e08 --- /dev/null +++ b/iot/src/model/QuerySoundCodeScheduleListResult.cc @@ -0,0 +1,101 @@ +/* + * 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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +QuerySoundCodeScheduleListResult::QuerySoundCodeScheduleListResult() : + ServiceResult() +{} + +QuerySoundCodeScheduleListResult::QuerySoundCodeScheduleListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +QuerySoundCodeScheduleListResult::~QuerySoundCodeScheduleListResult() +{} + +void QuerySoundCodeScheduleListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["Total"].isNull()) + data_.total = std::stoi(dataNode["Total"].asString()); + if(!dataNode["PageId"].isNull()) + data_.pageId = std::stoi(dataNode["PageId"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + auto allListNode = dataNode["List"]["Items"]; + for (auto dataNodeListItems : allListNode) + { + Data::Items itemsObject; + if(!dataNodeListItems["ScheduleCode"].isNull()) + itemsObject.scheduleCode = dataNodeListItems["ScheduleCode"].asString(); + if(!dataNodeListItems["Name"].isNull()) + itemsObject.name = dataNodeListItems["Name"].asString(); + if(!dataNodeListItems["Description"].isNull()) + itemsObject.description = dataNodeListItems["Description"].asString(); + if(!dataNodeListItems["GmtCreate"].isNull()) + itemsObject.gmtCreate = std::stol(dataNodeListItems["GmtCreate"].asString()); + if(!dataNodeListItems["Status"].isNull()) + itemsObject.status = dataNodeListItems["Status"].asString(); + if(!dataNodeListItems["StartTime"].isNull()) + itemsObject.startTime = dataNodeListItems["StartTime"].asString(); + if(!dataNodeListItems["EndTime"].isNull()) + itemsObject.endTime = dataNodeListItems["EndTime"].asString(); + if(!dataNodeListItems["StartDate"].isNull()) + itemsObject.startDate = dataNodeListItems["StartDate"].asString(); + if(!dataNodeListItems["EndDate"].isNull()) + itemsObject.endDate = dataNodeListItems["EndDate"].asString(); + data_.list.push_back(itemsObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +QuerySoundCodeScheduleListResult::Data QuerySoundCodeScheduleListResult::getData()const +{ + return data_; +} + +std::string QuerySoundCodeScheduleListResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string QuerySoundCodeScheduleListResult::getCode()const +{ + return code_; +} + +bool QuerySoundCodeScheduleListResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/RetrySoundCodeLabelBatchRequest.cc b/iot/src/model/RetrySoundCodeLabelBatchRequest.cc new file mode 100644 index 000000000..907d19960 --- /dev/null +++ b/iot/src/model/RetrySoundCodeLabelBatchRequest.cc @@ -0,0 +1,73 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::RetrySoundCodeLabelBatchRequest; + +RetrySoundCodeLabelBatchRequest::RetrySoundCodeLabelBatchRequest() : + RpcServiceRequest("iot", "2018-01-20", "RetrySoundCodeLabelBatch") +{ + setMethod(HttpRequest::Method::Post); +} + +RetrySoundCodeLabelBatchRequest::~RetrySoundCodeLabelBatchRequest() +{} + +std::string RetrySoundCodeLabelBatchRequest::getBatchCode()const +{ + return batchCode_; +} + +void RetrySoundCodeLabelBatchRequest::setBatchCode(const std::string& batchCode) +{ + batchCode_ = batchCode; + setBodyParameter("BatchCode", batchCode); +} + +std::string RetrySoundCodeLabelBatchRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void RetrySoundCodeLabelBatchRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string RetrySoundCodeLabelBatchRequest::getApiProduct()const +{ + return apiProduct_; +} + +void RetrySoundCodeLabelBatchRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string RetrySoundCodeLabelBatchRequest::getApiRevision()const +{ + return apiRevision_; +} + +void RetrySoundCodeLabelBatchRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/RetrySoundCodeLabelBatchResult.cc b/iot/src/model/RetrySoundCodeLabelBatchResult.cc new file mode 100644 index 000000000..774da0f01 --- /dev/null +++ b/iot/src/model/RetrySoundCodeLabelBatchResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +RetrySoundCodeLabelBatchResult::RetrySoundCodeLabelBatchResult() : + ServiceResult() +{} + +RetrySoundCodeLabelBatchResult::RetrySoundCodeLabelBatchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RetrySoundCodeLabelBatchResult::~RetrySoundCodeLabelBatchResult() +{} + +void RetrySoundCodeLabelBatchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string RetrySoundCodeLabelBatchResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string RetrySoundCodeLabelBatchResult::getCode()const +{ + return code_; +} + +bool RetrySoundCodeLabelBatchResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/SaveDevicePropRequest.cc b/iot/src/model/SaveDevicePropRequest.cc index 377057e78..b2348359b 100644 --- a/iot/src/model/SaveDevicePropRequest.cc +++ b/iot/src/model/SaveDevicePropRequest.cc @@ -27,6 +27,17 @@ SaveDevicePropRequest::SaveDevicePropRequest() : SaveDevicePropRequest::~SaveDevicePropRequest() {} +std::string SaveDevicePropRequest::getRealTenantId()const +{ + return realTenantId_; +} + +void SaveDevicePropRequest::setRealTenantId(const std::string& realTenantId) +{ + realTenantId_ = realTenantId; + setParameter("RealTenantId", realTenantId); +} + std::string SaveDevicePropRequest::getAccessKeyId()const { return accessKeyId_; @@ -38,6 +49,17 @@ void SaveDevicePropRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string SaveDevicePropRequest::getRealTripartiteKey()const +{ + return realTripartiteKey_; +} + +void SaveDevicePropRequest::setRealTripartiteKey(const std::string& realTripartiteKey) +{ + realTripartiteKey_ = realTripartiteKey; + setParameter("RealTripartiteKey", realTripartiteKey); +} + std::string SaveDevicePropRequest::getIotId()const { return iotId_; diff --git a/iot/src/model/UpdateSchedulePeriodRequest.cc b/iot/src/model/UpdateSchedulePeriodRequest.cc new file mode 100644 index 000000000..68ef8041c --- /dev/null +++ b/iot/src/model/UpdateSchedulePeriodRequest.cc @@ -0,0 +1,117 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::UpdateSchedulePeriodRequest; + +UpdateSchedulePeriodRequest::UpdateSchedulePeriodRequest() : + RpcServiceRequest("iot", "2018-01-20", "UpdateSchedulePeriod") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateSchedulePeriodRequest::~UpdateSchedulePeriodRequest() +{} + +std::string UpdateSchedulePeriodRequest::getPeriodCode()const +{ + return periodCode_; +} + +void UpdateSchedulePeriodRequest::setPeriodCode(const std::string& periodCode) +{ + periodCode_ = periodCode; + setBodyParameter("PeriodCode", periodCode); +} + +std::string UpdateSchedulePeriodRequest::getDescription()const +{ + return description_; +} + +void UpdateSchedulePeriodRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string UpdateSchedulePeriodRequest::getStartTime()const +{ + return startTime_; +} + +void UpdateSchedulePeriodRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setBodyParameter("StartTime", startTime); +} + +std::string UpdateSchedulePeriodRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateSchedulePeriodRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateSchedulePeriodRequest::getEndTime()const +{ + return endTime_; +} + +void UpdateSchedulePeriodRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setBodyParameter("EndTime", endTime); +} + +std::string UpdateSchedulePeriodRequest::getSoundCodeContent()const +{ + return soundCodeContent_; +} + +void UpdateSchedulePeriodRequest::setSoundCodeContent(const std::string& soundCodeContent) +{ + soundCodeContent_ = soundCodeContent; + setBodyParameter("SoundCodeContent", soundCodeContent); +} + +std::string UpdateSchedulePeriodRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateSchedulePeriodRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateSchedulePeriodRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateSchedulePeriodRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/UpdateSchedulePeriodResult.cc b/iot/src/model/UpdateSchedulePeriodResult.cc new file mode 100644 index 000000000..5a2692f4c --- /dev/null +++ b/iot/src/model/UpdateSchedulePeriodResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +UpdateSchedulePeriodResult::UpdateSchedulePeriodResult() : + ServiceResult() +{} + +UpdateSchedulePeriodResult::UpdateSchedulePeriodResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSchedulePeriodResult::~UpdateSchedulePeriodResult() +{} + +void UpdateSchedulePeriodResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string UpdateSchedulePeriodResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateSchedulePeriodResult::getCode()const +{ + return code_; +} + +bool UpdateSchedulePeriodResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/UpdateSoundCodeLabelRequest.cc b/iot/src/model/UpdateSoundCodeLabelRequest.cc new file mode 100644 index 000000000..11be7571c --- /dev/null +++ b/iot/src/model/UpdateSoundCodeLabelRequest.cc @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::UpdateSoundCodeLabelRequest; + +UpdateSoundCodeLabelRequest::UpdateSoundCodeLabelRequest() : + RpcServiceRequest("iot", "2018-01-20", "UpdateSoundCodeLabel") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateSoundCodeLabelRequest::~UpdateSoundCodeLabelRequest() +{} + +std::string UpdateSoundCodeLabelRequest::getSoundCode()const +{ + return soundCode_; +} + +void UpdateSoundCodeLabelRequest::setSoundCode(const std::string& soundCode) +{ + soundCode_ = soundCode; + setBodyParameter("SoundCode", soundCode); +} + +std::string UpdateSoundCodeLabelRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateSoundCodeLabelRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateSoundCodeLabelRequest::getLabel()const +{ + return label_; +} + +void UpdateSoundCodeLabelRequest::setLabel(const std::string& label) +{ + label_ = label; + setBodyParameter("Label", label); +} + +std::string UpdateSoundCodeLabelRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateSoundCodeLabelRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateSoundCodeLabelRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateSoundCodeLabelRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + diff --git a/iot/src/model/UpdateSoundCodeLabelResult.cc b/iot/src/model/UpdateSoundCodeLabelResult.cc new file mode 100644 index 000000000..f485ea478 --- /dev/null +++ b/iot/src/model/UpdateSoundCodeLabelResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +UpdateSoundCodeLabelResult::UpdateSoundCodeLabelResult() : + ServiceResult() +{} + +UpdateSoundCodeLabelResult::UpdateSoundCodeLabelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSoundCodeLabelResult::~UpdateSoundCodeLabelResult() +{} + +void UpdateSoundCodeLabelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string UpdateSoundCodeLabelResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateSoundCodeLabelResult::getCode()const +{ + return code_; +} + +bool UpdateSoundCodeLabelResult::getSuccess()const +{ + return success_; +} + diff --git a/iot/src/model/UpdateSoundCodeScheduleRequest.cc b/iot/src/model/UpdateSoundCodeScheduleRequest.cc new file mode 100644 index 000000000..15bd1b676 --- /dev/null +++ b/iot/src/model/UpdateSoundCodeScheduleRequest.cc @@ -0,0 +1,150 @@ +/* + * 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. + */ + +#include + +using AlibabaCloud::Iot::Model::UpdateSoundCodeScheduleRequest; + +UpdateSoundCodeScheduleRequest::UpdateSoundCodeScheduleRequest() : + RpcServiceRequest("iot", "2018-01-20", "UpdateSoundCodeSchedule") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateSoundCodeScheduleRequest::~UpdateSoundCodeScheduleRequest() +{} + +std::string UpdateSoundCodeScheduleRequest::getScheduleCode()const +{ + return scheduleCode_; +} + +void UpdateSoundCodeScheduleRequest::setScheduleCode(const std::string& scheduleCode) +{ + scheduleCode_ = scheduleCode; + setBodyParameter("ScheduleCode", scheduleCode); +} + +std::string UpdateSoundCodeScheduleRequest::getDescription()const +{ + return description_; +} + +void UpdateSoundCodeScheduleRequest::setDescription(const std::string& description) +{ + description_ = description; + setBodyParameter("Description", description); +} + +std::string UpdateSoundCodeScheduleRequest::getStartTime()const +{ + return startTime_; +} + +void UpdateSoundCodeScheduleRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setBodyParameter("StartTime", startTime); +} + +std::string UpdateSoundCodeScheduleRequest::getStartDate()const +{ + return startDate_; +} + +void UpdateSoundCodeScheduleRequest::setStartDate(const std::string& startDate) +{ + startDate_ = startDate; + setBodyParameter("StartDate", startDate); +} + +std::string UpdateSoundCodeScheduleRequest::getIotInstanceId()const +{ + return iotInstanceId_; +} + +void UpdateSoundCodeScheduleRequest::setIotInstanceId(const std::string& iotInstanceId) +{ + iotInstanceId_ = iotInstanceId; + setBodyParameter("IotInstanceId", iotInstanceId); +} + +std::string UpdateSoundCodeScheduleRequest::getEndTime()const +{ + return endTime_; +} + +void UpdateSoundCodeScheduleRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setBodyParameter("EndTime", endTime); +} + +std::string UpdateSoundCodeScheduleRequest::getEndDate()const +{ + return endDate_; +} + +void UpdateSoundCodeScheduleRequest::setEndDate(const std::string& endDate) +{ + endDate_ = endDate; + setBodyParameter("EndDate", endDate); +} + +std::string UpdateSoundCodeScheduleRequest::getApiProduct()const +{ + return apiProduct_; +} + +void UpdateSoundCodeScheduleRequest::setApiProduct(const std::string& apiProduct) +{ + apiProduct_ = apiProduct; + setBodyParameter("ApiProduct", apiProduct); +} + +std::string UpdateSoundCodeScheduleRequest::getName()const +{ + return name_; +} + +void UpdateSoundCodeScheduleRequest::setName(const std::string& name) +{ + name_ = name; + setBodyParameter("Name", name); +} + +std::string UpdateSoundCodeScheduleRequest::getApiRevision()const +{ + return apiRevision_; +} + +void UpdateSoundCodeScheduleRequest::setApiRevision(const std::string& apiRevision) +{ + apiRevision_ = apiRevision; + setBodyParameter("ApiRevision", apiRevision); +} + +std::string UpdateSoundCodeScheduleRequest::getStatus()const +{ + return status_; +} + +void UpdateSoundCodeScheduleRequest::setStatus(const std::string& status) +{ + status_ = status; + setBodyParameter("Status", status); +} + diff --git a/iot/src/model/UpdateSoundCodeScheduleResult.cc b/iot/src/model/UpdateSoundCodeScheduleResult.cc new file mode 100644 index 000000000..4aebe298f --- /dev/null +++ b/iot/src/model/UpdateSoundCodeScheduleResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Iot; +using namespace AlibabaCloud::Iot::Model; + +UpdateSoundCodeScheduleResult::UpdateSoundCodeScheduleResult() : + ServiceResult() +{} + +UpdateSoundCodeScheduleResult::UpdateSoundCodeScheduleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSoundCodeScheduleResult::~UpdateSoundCodeScheduleResult() +{} + +void UpdateSoundCodeScheduleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + +} + +std::string UpdateSoundCodeScheduleResult::getErrorMessage()const +{ + return errorMessage_; +} + +std::string UpdateSoundCodeScheduleResult::getCode()const +{ + return code_; +} + +bool UpdateSoundCodeScheduleResult::getSuccess()const +{ + return success_; +} +