Iot_20180120 old version sdk.
This commit is contained in:
@@ -130,6 +130,8 @@
|
||||
#include "model/ConfirmOTATaskResult.h"
|
||||
#include "model/CopyThingModelRequest.h"
|
||||
#include "model/CopyThingModelResult.h"
|
||||
#include "model/CountSpeechBroadcastHourRequest.h"
|
||||
#include "model/CountSpeechBroadcastHourResult.h"
|
||||
#include "model/CreateConsumerGroupRequest.h"
|
||||
#include "model/CreateConsumerGroupResult.h"
|
||||
#include "model/CreateConsumerGroupSubscribeRelationRequest.h"
|
||||
@@ -448,6 +450,8 @@
|
||||
#include "model/PackageSoundCodeLabelBatchAudioResult.h"
|
||||
#include "model/PageQuerySharedSpeechOpenRequest.h"
|
||||
#include "model/PageQuerySharedSpeechOpenResult.h"
|
||||
#include "model/PageQuerySpeechBroadcastHourRequest.h"
|
||||
#include "model/PageQuerySpeechBroadcastHourResult.h"
|
||||
#include "model/PrintByTemplateRequest.h"
|
||||
#include "model/PrintByTemplateResult.h"
|
||||
#include "model/PubRequest.h"
|
||||
@@ -963,6 +967,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CopyThingModelResult> CopyThingModelOutcome;
|
||||
typedef std::future<CopyThingModelOutcome> CopyThingModelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CopyThingModelRequest&, const CopyThingModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyThingModelAsyncHandler;
|
||||
typedef Outcome<Error, Model::CountSpeechBroadcastHourResult> CountSpeechBroadcastHourOutcome;
|
||||
typedef std::future<CountSpeechBroadcastHourOutcome> CountSpeechBroadcastHourOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CountSpeechBroadcastHourRequest&, const CountSpeechBroadcastHourOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CountSpeechBroadcastHourAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConsumerGroupResult> CreateConsumerGroupOutcome;
|
||||
typedef std::future<CreateConsumerGroupOutcome> CreateConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateConsumerGroupRequest&, const CreateConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerGroupAsyncHandler;
|
||||
@@ -1440,6 +1447,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PageQuerySharedSpeechOpenResult> PageQuerySharedSpeechOpenOutcome;
|
||||
typedef std::future<PageQuerySharedSpeechOpenOutcome> PageQuerySharedSpeechOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PageQuerySharedSpeechOpenRequest&, const PageQuerySharedSpeechOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PageQuerySharedSpeechOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::PageQuerySpeechBroadcastHourResult> PageQuerySpeechBroadcastHourOutcome;
|
||||
typedef std::future<PageQuerySpeechBroadcastHourOutcome> PageQuerySpeechBroadcastHourOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PageQuerySpeechBroadcastHourRequest&, const PageQuerySpeechBroadcastHourOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PageQuerySpeechBroadcastHourAsyncHandler;
|
||||
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;
|
||||
@@ -2123,6 +2133,9 @@ namespace AlibabaCloud
|
||||
CopyThingModelOutcome copyThingModel(const Model::CopyThingModelRequest &request)const;
|
||||
void copyThingModelAsync(const Model::CopyThingModelRequest& request, const CopyThingModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CopyThingModelOutcomeCallable copyThingModelCallable(const Model::CopyThingModelRequest& request) const;
|
||||
CountSpeechBroadcastHourOutcome countSpeechBroadcastHour(const Model::CountSpeechBroadcastHourRequest &request)const;
|
||||
void countSpeechBroadcastHourAsync(const Model::CountSpeechBroadcastHourRequest& request, const CountSpeechBroadcastHourAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CountSpeechBroadcastHourOutcomeCallable countSpeechBroadcastHourCallable(const Model::CountSpeechBroadcastHourRequest& request) const;
|
||||
CreateConsumerGroupOutcome createConsumerGroup(const Model::CreateConsumerGroupRequest &request)const;
|
||||
void createConsumerGroupAsync(const Model::CreateConsumerGroupRequest& request, const CreateConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConsumerGroupOutcomeCallable createConsumerGroupCallable(const Model::CreateConsumerGroupRequest& request) const;
|
||||
@@ -2600,6 +2613,9 @@ namespace AlibabaCloud
|
||||
PageQuerySharedSpeechOpenOutcome pageQuerySharedSpeechOpen(const Model::PageQuerySharedSpeechOpenRequest &request)const;
|
||||
void pageQuerySharedSpeechOpenAsync(const Model::PageQuerySharedSpeechOpenRequest& request, const PageQuerySharedSpeechOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PageQuerySharedSpeechOpenOutcomeCallable pageQuerySharedSpeechOpenCallable(const Model::PageQuerySharedSpeechOpenRequest& request) const;
|
||||
PageQuerySpeechBroadcastHourOutcome pageQuerySpeechBroadcastHour(const Model::PageQuerySpeechBroadcastHourRequest &request)const;
|
||||
void pageQuerySpeechBroadcastHourAsync(const Model::PageQuerySpeechBroadcastHourRequest& request, const PageQuerySpeechBroadcastHourAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PageQuerySpeechBroadcastHourOutcomeCallable pageQuerySpeechBroadcastHourCallable(const Model::PageQuerySpeechBroadcastHourRequest& 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;
|
||||
|
||||
@@ -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_COUNTSPEECHBROADCASTHOURREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_COUNTSPEECHBROADCASTHOURREQUEST_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 CountSpeechBroadcastHourRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CountSpeechBroadcastHourRequest();
|
||||
~CountSpeechBroadcastHourRequest();
|
||||
|
||||
std::string getQueryDateTimeHour()const;
|
||||
void setQueryDateTimeHour(const std::string& queryDateTimeHour);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getShareTaskCode()const;
|
||||
void setShareTaskCode(const std::string& shareTaskCode);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string queryDateTimeHour_;
|
||||
std::string iotInstanceId_;
|
||||
std::string shareTaskCode_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_COUNTSPEECHBROADCASTHOURREQUEST_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_COUNTSPEECHBROADCASTHOURRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_COUNTSPEECHBROADCASTHOURRESULT_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 CountSpeechBroadcastHourResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CountSpeechBroadcastHourResult();
|
||||
explicit CountSpeechBroadcastHourResult(const std::string &payload);
|
||||
~CountSpeechBroadcastHourResult();
|
||||
int getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_COUNTSPEECHBROADCASTHOURRESULT_H_
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Destination
|
||||
{
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string configuration;
|
||||
std::string utcCreated;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DestinationsItem
|
||||
{
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string description;
|
||||
std::string configuration;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RuleActionInfo
|
||||
{
|
||||
std::string status;
|
||||
bool errorActionFlag;
|
||||
std::string type;
|
||||
std::string configuration;
|
||||
|
||||
@@ -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_PAGEQUERYSPEECHBROADCASTHOURREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PAGEQUERYSPEECHBROADCASTHOURREQUEST_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 PageQuerySpeechBroadcastHourRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PageQuerySpeechBroadcastHourRequest();
|
||||
~PageQuerySpeechBroadcastHourRequest();
|
||||
|
||||
std::string getQueryDateTimeHour()const;
|
||||
void setQueryDateTimeHour(const std::string& queryDateTimeHour);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getPageToken()const;
|
||||
void setPageToken(const std::string& pageToken);
|
||||
std::string getShareTaskCode()const;
|
||||
void setShareTaskCode(const std::string& shareTaskCode);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string queryDateTimeHour_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string pageToken_;
|
||||
std::string shareTaskCode_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PAGEQUERYSPEECHBROADCASTHOURREQUEST_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_PAGEQUERYSPEECHBROADCASTHOURRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PAGEQUERYSPEECHBROADCASTHOURRESULT_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 PageQuerySpeechBroadcastHourResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Data1
|
||||
{
|
||||
std::string msg;
|
||||
std::string shareTaskCode;
|
||||
std::string speechs;
|
||||
long startTime;
|
||||
int code;
|
||||
std::string productKey;
|
||||
std::string deviceName;
|
||||
std::string speechId;
|
||||
};
|
||||
int pageId;
|
||||
std::vector<Data1> resultData;
|
||||
int pageSize;
|
||||
int total;
|
||||
std::string pageToken;
|
||||
};
|
||||
|
||||
|
||||
PageQuerySpeechBroadcastHourResult();
|
||||
explicit PageQuerySpeechBroadcastHourResult(const std::string &payload);
|
||||
~PageQuerySpeechBroadcastHourResult();
|
||||
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_PAGEQUERYSPEECHBROADCASTHOURRESULT_H_
|
||||
Reference in New Issue
Block a user