Iot_20180120 old version sdk.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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<Error, Model::BatchClearEdgeInstanceDeviceConfigResult> BatchClearEdgeInstanceDeviceConfigOutcome;
|
||||
typedef std::future<BatchClearEdgeInstanceDeviceConfigOutcome> BatchClearEdgeInstanceDeviceConfigOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::BatchClearEdgeInstanceDeviceConfigRequest&, const BatchClearEdgeInstanceDeviceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchClearEdgeInstanceDeviceConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchCreateSoundCodeLabelResult> BatchCreateSoundCodeLabelOutcome;
|
||||
typedef std::future<BatchCreateSoundCodeLabelOutcome> BatchCreateSoundCodeLabelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::BatchCreateSoundCodeLabelRequest&, const BatchCreateSoundCodeLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateSoundCodeLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchCreateSoundCodeLabelWithLabelsResult> BatchCreateSoundCodeLabelWithLabelsOutcome;
|
||||
typedef std::future<BatchCreateSoundCodeLabelWithLabelsOutcome> BatchCreateSoundCodeLabelWithLabelsOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::BatchCreateSoundCodeLabelWithLabelsRequest&, const BatchCreateSoundCodeLabelWithLabelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateSoundCodeLabelWithLabelsAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchDeleteDeviceGroupRelationsResult> BatchDeleteDeviceGroupRelationsOutcome;
|
||||
typedef std::future<BatchDeleteDeviceGroupRelationsOutcome> BatchDeleteDeviceGroupRelationsOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::BatchDeleteDeviceGroupRelationsRequest&, const BatchDeleteDeviceGroupRelationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteDeviceGroupRelationsAsyncHandler;
|
||||
@@ -886,9 +930,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateSceneRuleResult> CreateSceneRuleOutcome;
|
||||
typedef std::future<CreateSceneRuleOutcome> CreateSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSceneRuleRequest&, const CreateSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSchedulePeriodResult> CreateSchedulePeriodOutcome;
|
||||
typedef std::future<CreateSchedulePeriodOutcome> CreateSchedulePeriodOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSchedulePeriodRequest&, const CreateSchedulePeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSchedulePeriodAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSoundCodeResult> CreateSoundCodeOutcome;
|
||||
typedef std::future<CreateSoundCodeOutcome> CreateSoundCodeOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSoundCodeRequest&, const CreateSoundCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSoundCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSoundCodeLabelResult> CreateSoundCodeLabelOutcome;
|
||||
typedef std::future<CreateSoundCodeLabelOutcome> CreateSoundCodeLabelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSoundCodeLabelRequest&, const CreateSoundCodeLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSoundCodeLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSoundCodeScheduleResult> CreateSoundCodeScheduleOutcome;
|
||||
typedef std::future<CreateSoundCodeScheduleOutcome> CreateSoundCodeScheduleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSoundCodeScheduleRequest&, const CreateSoundCodeScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSoundCodeScheduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSpeechResult> CreateSpeechOutcome;
|
||||
typedef std::future<CreateSpeechOutcome> CreateSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSpeechRequest&, const CreateSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSpeechAsyncHandler;
|
||||
@@ -979,9 +1032,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteSceneRuleResult> DeleteSceneRuleOutcome;
|
||||
typedef std::future<DeleteSceneRuleOutcome> DeleteSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSceneRuleRequest&, const DeleteSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSchedulePeriodResult> DeleteSchedulePeriodOutcome;
|
||||
typedef std::future<DeleteSchedulePeriodOutcome> DeleteSchedulePeriodOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSchedulePeriodRequest&, const DeleteSchedulePeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSchedulePeriodAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSoundCodeResult> DeleteSoundCodeOutcome;
|
||||
typedef std::future<DeleteSoundCodeOutcome> DeleteSoundCodeOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSoundCodeRequest&, const DeleteSoundCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSoundCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSoundCodeLabelResult> DeleteSoundCodeLabelOutcome;
|
||||
typedef std::future<DeleteSoundCodeLabelOutcome> DeleteSoundCodeLabelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSoundCodeLabelRequest&, const DeleteSoundCodeLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSoundCodeLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSoundCodeScheduleResult> DeleteSoundCodeScheduleOutcome;
|
||||
typedef std::future<DeleteSoundCodeScheduleOutcome> DeleteSoundCodeScheduleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSoundCodeScheduleRequest&, const DeleteSoundCodeScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSoundCodeScheduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSpeechResult> DeleteSpeechOutcome;
|
||||
typedef std::future<DeleteSpeechOutcome> DeleteSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSpeechRequest&, const DeleteSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSpeechAsyncHandler;
|
||||
@@ -1075,6 +1137,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetSoundCodeAudioResult> GetSoundCodeAudioOutcome;
|
||||
typedef std::future<GetSoundCodeAudioOutcome> GetSoundCodeAudioOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetSoundCodeAudioRequest&, const GetSoundCodeAudioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSoundCodeAudioAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSoundCodeScheduleResult> GetSoundCodeScheduleOutcome;
|
||||
typedef std::future<GetSoundCodeScheduleOutcome> GetSoundCodeScheduleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetSoundCodeScheduleRequest&, const GetSoundCodeScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSoundCodeScheduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSpeechDeviceDetailResult> GetSpeechDeviceDetailOutcome;
|
||||
typedef std::future<GetSpeechDeviceDetailOutcome> GetSpeechDeviceDetailOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetSpeechDeviceDetailRequest&, const GetSpeechDeviceDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpeechDeviceDetailAsyncHandler;
|
||||
@@ -1183,6 +1248,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::OpenIotServiceResult> OpenIotServiceOutcome;
|
||||
typedef std::future<OpenIotServiceOutcome> OpenIotServiceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::OpenIotServiceRequest&, const OpenIotServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenIotServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::PackageSoundCodeLabelBatchAudioResult> PackageSoundCodeLabelBatchAudioOutcome;
|
||||
typedef std::future<PackageSoundCodeLabelBatchAudioOutcome> PackageSoundCodeLabelBatchAudioOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PackageSoundCodeLabelBatchAudioRequest&, const PackageSoundCodeLabelBatchAudioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PackageSoundCodeLabelBatchAudioAsyncHandler;
|
||||
typedef Outcome<Error, Model::PrintByTemplateResult> PrintByTemplateOutcome;
|
||||
typedef std::future<PrintByTemplateOutcome> PrintByTemplateOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PrintByTemplateRequest&, const PrintByTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PrintByTemplateAsyncHandler;
|
||||
@@ -1387,12 +1455,27 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QuerySceneRuleResult> QuerySceneRuleOutcome;
|
||||
typedef std::future<QuerySceneRuleOutcome> QuerySceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySceneRuleRequest&, const QuerySceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySchedulePeriodListResult> QuerySchedulePeriodListOutcome;
|
||||
typedef std::future<QuerySchedulePeriodListOutcome> QuerySchedulePeriodListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySchedulePeriodListRequest&, const QuerySchedulePeriodListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySchedulePeriodListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySolutionDeviceGroupPageResult> QuerySolutionDeviceGroupPageOutcome;
|
||||
typedef std::future<QuerySolutionDeviceGroupPageOutcome> QuerySolutionDeviceGroupPageOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySolutionDeviceGroupPageRequest&, const QuerySolutionDeviceGroupPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySolutionDeviceGroupPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySoundCodeLabelBatchFailedResultResult> QuerySoundCodeLabelBatchFailedResultOutcome;
|
||||
typedef std::future<QuerySoundCodeLabelBatchFailedResultOutcome> QuerySoundCodeLabelBatchFailedResultOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySoundCodeLabelBatchFailedResultRequest&, const QuerySoundCodeLabelBatchFailedResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySoundCodeLabelBatchFailedResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySoundCodeLabelBatchListResult> QuerySoundCodeLabelBatchListOutcome;
|
||||
typedef std::future<QuerySoundCodeLabelBatchListOutcome> QuerySoundCodeLabelBatchListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySoundCodeLabelBatchListRequest&, const QuerySoundCodeLabelBatchListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySoundCodeLabelBatchListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySoundCodeLabelListResult> QuerySoundCodeLabelListOutcome;
|
||||
typedef std::future<QuerySoundCodeLabelListOutcome> QuerySoundCodeLabelListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySoundCodeLabelListRequest&, const QuerySoundCodeLabelListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySoundCodeLabelListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySoundCodeListResult> QuerySoundCodeListOutcome;
|
||||
typedef std::future<QuerySoundCodeListOutcome> QuerySoundCodeListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySoundCodeListRequest&, const QuerySoundCodeListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySoundCodeListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySoundCodeScheduleListResult> QuerySoundCodeScheduleListOutcome;
|
||||
typedef std::future<QuerySoundCodeScheduleListOutcome> QuerySoundCodeScheduleListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySoundCodeScheduleListRequest&, const QuerySoundCodeScheduleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySoundCodeScheduleListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySpeechResult> QuerySpeechOutcome;
|
||||
typedef std::future<QuerySpeechOutcome> QuerySpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySpeechRequest&, const QuerySpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechAsyncHandler;
|
||||
@@ -1492,6 +1575,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResetThingResult> ResetThingOutcome;
|
||||
typedef std::future<ResetThingOutcome> ResetThingOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ResetThingRequest&, const ResetThingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetThingAsyncHandler;
|
||||
typedef Outcome<Error, Model::RetrySoundCodeLabelBatchResult> RetrySoundCodeLabelBatchOutcome;
|
||||
typedef std::future<RetrySoundCodeLabelBatchOutcome> RetrySoundCodeLabelBatchOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::RetrySoundCodeLabelBatchRequest&, const RetrySoundCodeLabelBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetrySoundCodeLabelBatchAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReupgradeOTATaskResult> ReupgradeOTATaskOutcome;
|
||||
typedef std::future<ReupgradeOTATaskOutcome> ReupgradeOTATaskOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ReupgradeOTATaskRequest&, const ReupgradeOTATaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReupgradeOTATaskAsyncHandler;
|
||||
@@ -1609,6 +1695,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateSceneRuleResult> UpdateSceneRuleOutcome;
|
||||
typedef std::future<UpdateSceneRuleOutcome> UpdateSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSceneRuleRequest&, const UpdateSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSchedulePeriodResult> UpdateSchedulePeriodOutcome;
|
||||
typedef std::future<UpdateSchedulePeriodOutcome> UpdateSchedulePeriodOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSchedulePeriodRequest&, const UpdateSchedulePeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSchedulePeriodAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSoundCodeLabelResult> UpdateSoundCodeLabelOutcome;
|
||||
typedef std::future<UpdateSoundCodeLabelOutcome> UpdateSoundCodeLabelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSoundCodeLabelRequest&, const UpdateSoundCodeLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSoundCodeLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSoundCodeScheduleResult> UpdateSoundCodeScheduleOutcome;
|
||||
typedef std::future<UpdateSoundCodeScheduleOutcome> UpdateSoundCodeScheduleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSoundCodeScheduleRequest&, const UpdateSoundCodeScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSoundCodeScheduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSpeechResult> UpdateSpeechOutcome;
|
||||
typedef std::future<UpdateSpeechOutcome> UpdateSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSpeechRequest&, const UpdateSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateSpeechOutcomeCallable updateSpeechCallable(const Model::UpdateSpeechRequest& request) const;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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<std::string> getLabels()const;
|
||||
void setLabels(const std::vector<std::string>& 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<std::string> labels_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_BATCHCREATESOUNDCODELABELWITHLABELSREQUEST_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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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<Items> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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<Items> getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Items> data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !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_QUERYSOUNDCODELABELBATCHLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSOUNDCODELABELBATCHLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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<Items> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySoundCodeLabelListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Items
|
||||
{
|
||||
std::string label;
|
||||
std::string soundCode;
|
||||
};
|
||||
int pageId;
|
||||
int pageSize;
|
||||
int total;
|
||||
std::vector<Items> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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<Items> 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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_;
|
||||
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
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_
|
||||
@@ -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 <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT 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_
|
||||
@@ -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<const AsyncCallerContext>& 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<std::packaged_task<BatchCreateSoundCodeLabelOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<BatchCreateSoundCodeLabelWithLabelsOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<CreateSchedulePeriodOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<CreateSoundCodeLabelOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<CreateSoundCodeScheduleOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteSchedulePeriodOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteSoundCodeLabelOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<DeleteSoundCodeScheduleOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<GetSoundCodeScheduleOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<PackageSoundCodeLabelBatchAudioOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QuerySchedulePeriodListOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QuerySoundCodeLabelBatchFailedResultOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QuerySoundCodeLabelBatchListOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QuerySoundCodeLabelListOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<QuerySoundCodeScheduleListOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<RetrySoundCodeLabelBatchOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<UpdateSchedulePeriodOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<UpdateSoundCodeLabelOutcome()>>(
|
||||
[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<const AsyncCallerContext>& 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<std::packaged_task<UpdateSoundCodeScheduleOutcome()>>(
|
||||
[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();
|
||||
|
||||
95
iot/src/model/BatchCreateSoundCodeLabelRequest.cc
Normal file
95
iot/src/model/BatchCreateSoundCodeLabelRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/BatchCreateSoundCodeLabelRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
72
iot/src/model/BatchCreateSoundCodeLabelResult.cc
Normal file
72
iot/src/model/BatchCreateSoundCodeLabelResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/BatchCreateSoundCodeLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
97
iot/src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc
Normal file
97
iot/src/model/BatchCreateSoundCodeLabelWithLabelsRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsRequest.h>
|
||||
|
||||
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<std::string> BatchCreateSoundCodeLabelWithLabelsRequest::getLabels()const
|
||||
{
|
||||
return labels_;
|
||||
}
|
||||
|
||||
void BatchCreateSoundCodeLabelWithLabelsRequest::setLabels(const std::vector<std::string>& 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);
|
||||
}
|
||||
|
||||
72
iot/src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc
Normal file
72
iot/src/model/BatchCreateSoundCodeLabelWithLabelsResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/BatchCreateSoundCodeLabelWithLabelsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
117
iot/src/model/CreateSchedulePeriodRequest.cc
Normal file
117
iot/src/model/CreateSchedulePeriodRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/CreateSchedulePeriodRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
72
iot/src/model/CreateSchedulePeriodResult.cc
Normal file
72
iot/src/model/CreateSchedulePeriodResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/CreateSchedulePeriodResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
iot/src/model/CreateSoundCodeLabelRequest.cc
Normal file
84
iot/src/model/CreateSoundCodeLabelRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/CreateSoundCodeLabelRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
72
iot/src/model/CreateSoundCodeLabelResult.cc
Normal file
72
iot/src/model/CreateSoundCodeLabelResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/CreateSoundCodeLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
106
iot/src/model/CreateSoundCodeScheduleRequest.cc
Normal file
106
iot/src/model/CreateSoundCodeScheduleRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/CreateSoundCodeScheduleRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
72
iot/src/model/CreateSoundCodeScheduleResult.cc
Normal file
72
iot/src/model/CreateSoundCodeScheduleResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/CreateSoundCodeScheduleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/DeleteSchedulePeriodRequest.cc
Normal file
73
iot/src/model/DeleteSchedulePeriodRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/DeleteSchedulePeriodRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/DeleteSchedulePeriodResult.cc
Normal file
65
iot/src/model/DeleteSchedulePeriodResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/DeleteSchedulePeriodResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/DeleteSoundCodeLabelRequest.cc
Normal file
73
iot/src/model/DeleteSoundCodeLabelRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/DeleteSoundCodeLabelRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/DeleteSoundCodeLabelResult.cc
Normal file
65
iot/src/model/DeleteSoundCodeLabelResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/DeleteSoundCodeLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/DeleteSoundCodeScheduleRequest.cc
Normal file
73
iot/src/model/DeleteSoundCodeScheduleRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/DeleteSoundCodeScheduleRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/DeleteSoundCodeScheduleResult.cc
Normal file
65
iot/src/model/DeleteSoundCodeScheduleResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/DeleteSoundCodeScheduleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/GetSoundCodeScheduleRequest.cc
Normal file
73
iot/src/model/GetSoundCodeScheduleRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/GetSoundCodeScheduleRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
89
iot/src/model/GetSoundCodeScheduleResult.cc
Normal file
89
iot/src/model/GetSoundCodeScheduleResult.cc
Normal file
@@ -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 <alibabacloud/iot/model/GetSoundCodeScheduleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/PackageSoundCodeLabelBatchAudioRequest.cc
Normal file
73
iot/src/model/PackageSoundCodeLabelBatchAudioRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
72
iot/src/model/PackageSoundCodeLabelBatchAudioResult.cc
Normal file
72
iot/src/model/PackageSoundCodeLabelBatchAudioResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/PackageSoundCodeLabelBatchAudioResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
95
iot/src/model/QuerySchedulePeriodListRequest.cc
Normal file
95
iot/src/model/QuerySchedulePeriodListRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySchedulePeriodListRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
93
iot/src/model/QuerySchedulePeriodListResult.cc
Normal file
93
iot/src/model/QuerySchedulePeriodListResult.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySchedulePeriodListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc
Normal file
73
iot/src/model/QuerySoundCodeLabelBatchFailedResultRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
82
iot/src/model/QuerySoundCodeLabelBatchFailedResultResult.cc
Normal file
82
iot/src/model/QuerySoundCodeLabelBatchFailedResultResult.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/QuerySoundCodeLabelBatchFailedResultResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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::Items> 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_;
|
||||
}
|
||||
|
||||
95
iot/src/model/QuerySoundCodeLabelBatchListRequest.cc
Normal file
95
iot/src/model/QuerySoundCodeLabelBatchListRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeLabelBatchListRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
95
iot/src/model/QuerySoundCodeLabelBatchListResult.cc
Normal file
95
iot/src/model/QuerySoundCodeLabelBatchListResult.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeLabelBatchListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
95
iot/src/model/QuerySoundCodeLabelListRequest.cc
Normal file
95
iot/src/model/QuerySoundCodeLabelListRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeLabelListRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
87
iot/src/model/QuerySoundCodeLabelListResult.cc
Normal file
87
iot/src/model/QuerySoundCodeLabelListResult.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeLabelListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
iot/src/model/QuerySoundCodeScheduleListRequest.cc
Normal file
84
iot/src/model/QuerySoundCodeScheduleListRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeScheduleListRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
101
iot/src/model/QuerySoundCodeScheduleListResult.cc
Normal file
101
iot/src/model/QuerySoundCodeScheduleListResult.cc
Normal file
@@ -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 <alibabacloud/iot/model/QuerySoundCodeScheduleListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
73
iot/src/model/RetrySoundCodeLabelBatchRequest.cc
Normal file
73
iot/src/model/RetrySoundCodeLabelBatchRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/RetrySoundCodeLabelBatchRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/RetrySoundCodeLabelBatchResult.cc
Normal file
65
iot/src/model/RetrySoundCodeLabelBatchResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/RetrySoundCodeLabelBatchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
117
iot/src/model/UpdateSchedulePeriodRequest.cc
Normal file
117
iot/src/model/UpdateSchedulePeriodRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/UpdateSchedulePeriodRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/UpdateSchedulePeriodResult.cc
Normal file
65
iot/src/model/UpdateSchedulePeriodResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/UpdateSchedulePeriodResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
84
iot/src/model/UpdateSoundCodeLabelRequest.cc
Normal file
84
iot/src/model/UpdateSoundCodeLabelRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/UpdateSoundCodeLabelRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/UpdateSoundCodeLabelResult.cc
Normal file
65
iot/src/model/UpdateSoundCodeLabelResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/UpdateSoundCodeLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
150
iot/src/model/UpdateSoundCodeScheduleRequest.cc
Normal file
150
iot/src/model/UpdateSoundCodeScheduleRequest.cc
Normal file
@@ -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 <alibabacloud/iot/model/UpdateSoundCodeScheduleRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
65
iot/src/model/UpdateSoundCodeScheduleResult.cc
Normal file
65
iot/src/model/UpdateSoundCodeScheduleResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/UpdateSoundCodeScheduleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user