Iot_20180120 oldversion sdk.

This commit is contained in:
sdk-team
2022-02-08 02:54:34 +00:00
parent a09a6e094a
commit 20fb930aaf
31 changed files with 1614 additions and 14 deletions

View File

@@ -168,6 +168,8 @@
#include "model/CreateRulengDistributeJobResult.h"
#include "model/CreateSceneRuleRequest.h"
#include "model/CreateSceneRuleResult.h"
#include "model/CreateSoundCodeRequest.h"
#include "model/CreateSoundCodeResult.h"
#include "model/CreateSpeechRequest.h"
#include "model/CreateSpeechResult.h"
#include "model/CreateStudioAppDomainOpenRequest.h"
@@ -228,6 +230,8 @@
#include "model/DeleteRuleActionResult.h"
#include "model/DeleteSceneRuleRequest.h"
#include "model/DeleteSceneRuleResult.h"
#include "model/DeleteSoundCodeRequest.h"
#include "model/DeleteSoundCodeResult.h"
#include "model/DeleteSpeechRequest.h"
#include "model/DeleteSpeechResult.h"
#include "model/DeleteStudioAppDomainOpenRequest.h"
@@ -290,6 +294,8 @@
#include "model/GetRuleActionResult.h"
#include "model/GetSceneRuleRequest.h"
#include "model/GetSceneRuleResult.h"
#include "model/GetSoundCodeAudioRequest.h"
#include "model/GetSoundCodeAudioResult.h"
#include "model/GetSpeechDeviceDetailRequest.h"
#include "model/GetSpeechDeviceDetailResult.h"
#include "model/GetSpeechVoiceRequest.h"
@@ -496,6 +502,8 @@
#include "model/QuerySceneRuleResult.h"
#include "model/QuerySolutionDeviceGroupPageRequest.h"
#include "model/QuerySolutionDeviceGroupPageResult.h"
#include "model/QuerySoundCodeListRequest.h"
#include "model/QuerySoundCodeListResult.h"
#include "model/QuerySpeechRequest.h"
#include "model/QuerySpeechResult.h"
#include "model/QuerySpeechDeviceRequest.h"
@@ -580,6 +588,8 @@
#include "model/SpeechByCombinationResult.h"
#include "model/SpeechBySynthesisRequest.h"
#include "model/SpeechBySynthesisResult.h"
#include "model/StartAIBoxForceSyncRequest.h"
#include "model/StartAIBoxForceSyncResult.h"
#include "model/StartRuleRequest.h"
#include "model/StartRuleResult.h"
#include "model/StopRuleRequest.h"
@@ -872,6 +882,9 @@ 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::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::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;
@@ -962,6 +975,9 @@ 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::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::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;
@@ -1055,6 +1071,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSceneRuleResult> GetSceneRuleOutcome;
typedef std::future<GetSceneRuleOutcome> GetSceneRuleOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::GetSceneRuleRequest&, const GetSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSceneRuleAsyncHandler;
typedef Outcome<Error, Model::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::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;
@@ -1364,6 +1383,9 @@ namespace AlibabaCloud
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::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::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;
@@ -1490,6 +1512,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SpeechBySynthesisResult> SpeechBySynthesisOutcome;
typedef std::future<SpeechBySynthesisOutcome> SpeechBySynthesisOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::SpeechBySynthesisRequest&, const SpeechBySynthesisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SpeechBySynthesisAsyncHandler;
typedef Outcome<Error, Model::StartAIBoxForceSyncResult> StartAIBoxForceSyncOutcome;
typedef std::future<StartAIBoxForceSyncOutcome> StartAIBoxForceSyncOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::StartAIBoxForceSyncRequest&, const StartAIBoxForceSyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartAIBoxForceSyncAsyncHandler;
typedef Outcome<Error, Model::StartRuleResult> StartRuleOutcome;
typedef std::future<StartRuleOutcome> StartRuleOutcomeCallable;
typedef std::function<void(const IotClient*, const Model::StartRuleRequest&, const StartRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRuleAsyncHandler;
@@ -1810,6 +1835,9 @@ 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;
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;
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;
@@ -1900,6 +1928,9 @@ 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;
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;
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;
@@ -1993,6 +2024,9 @@ namespace AlibabaCloud
GetSceneRuleOutcome getSceneRule(const Model::GetSceneRuleRequest &request)const;
void getSceneRuleAsync(const Model::GetSceneRuleRequest& request, const GetSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSceneRuleOutcomeCallable getSceneRuleCallable(const Model::GetSceneRuleRequest& request) const;
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;
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;
@@ -2302,6 +2336,9 @@ namespace AlibabaCloud
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;
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;
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;
@@ -2428,6 +2465,9 @@ namespace AlibabaCloud
SpeechBySynthesisOutcome speechBySynthesis(const Model::SpeechBySynthesisRequest &request)const;
void speechBySynthesisAsync(const Model::SpeechBySynthesisRequest& request, const SpeechBySynthesisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SpeechBySynthesisOutcomeCallable speechBySynthesisCallable(const Model::SpeechBySynthesisRequest& request) const;
StartAIBoxForceSyncOutcome startAIBoxForceSync(const Model::StartAIBoxForceSyncRequest &request)const;
void startAIBoxForceSyncAsync(const Model::StartAIBoxForceSyncRequest& request, const StartAIBoxForceSyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartAIBoxForceSyncOutcomeCallable startAIBoxForceSyncCallable(const Model::StartAIBoxForceSyncRequest& request) const;
StartRuleOutcome startRule(const Model::StartRuleRequest &request)const;
void startRuleAsync(const Model::StartRuleRequest& request, const StartRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartRuleOutcomeCallable startRuleCallable(const Model::StartRuleRequest& request) const;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
std::vector<std::string> resultList;
int pageSize;
int pageNo;
int totalSize;
std::vector<std::string> fieldNameList;
};

View File

@@ -43,6 +43,10 @@ namespace AlibabaCloud
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getJobType()const;
void setJobType(const std::string& jobType);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
@@ -57,6 +61,8 @@ namespace AlibabaCloud
std::string nextToken_;
int pageSize_;
int currentPage_;
std::string productKey_;
std::string jobType_;
std::string apiProduct_;
std::string apiRevision_;
std::string targetUid_;

View File

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

View File

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

View File

@@ -0,0 +1,54 @@
/*
* 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_STARTAIBOXFORCESYNCREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCREQUEST_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 StartAIBoxForceSyncRequest : public RpcServiceRequest
{
public:
StartAIBoxForceSyncRequest();
~StartAIBoxForceSyncRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getApiProduct()const;
void setApiProduct(const std::string& apiProduct);
std::string getApiRevision()const;
void setApiRevision(const std::string& apiRevision);
private:
std::string iotId_;
std::string apiProduct_;
std::string apiRevision_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCREQUEST_H_

View File

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

View File

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