Storage open Api.
This commit is contained in:
@@ -546,6 +546,10 @@
|
||||
#include "model/QueryDeviceSubTopicResult.h"
|
||||
#include "model/QueryDeviceTunnelRequest.h"
|
||||
#include "model/QueryDeviceTunnelResult.h"
|
||||
#include "model/QueryDevicesHotStorageDataRequest.h"
|
||||
#include "model/QueryDevicesHotStorageDataResult.h"
|
||||
#include "model/QueryDevicesHotStorageDataStatusRequest.h"
|
||||
#include "model/QueryDevicesHotStorageDataStatusResult.h"
|
||||
#include "model/QueryDynamicGroupDevicesRequest.h"
|
||||
#include "model/QueryDynamicGroupDevicesResult.h"
|
||||
#include "model/QueryEdgeDriverRequest.h"
|
||||
@@ -798,6 +802,8 @@
|
||||
#include "model/UpdateThingModelResult.h"
|
||||
#include "model/UpdateThingScriptRequest.h"
|
||||
#include "model/UpdateThingScriptResult.h"
|
||||
#include "model/WriteDevicesHotStorageDataRequest.h"
|
||||
#include "model/WriteDevicesHotStorageDataResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -1593,6 +1599,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryDeviceTunnelResult> QueryDeviceTunnelOutcome;
|
||||
typedef std::future<QueryDeviceTunnelOutcome> QueryDeviceTunnelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryDeviceTunnelRequest&, const QueryDeviceTunnelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDeviceTunnelAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDevicesHotStorageDataResult> QueryDevicesHotStorageDataOutcome;
|
||||
typedef std::future<QueryDevicesHotStorageDataOutcome> QueryDevicesHotStorageDataOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryDevicesHotStorageDataRequest&, const QueryDevicesHotStorageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDevicesHotStorageDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDevicesHotStorageDataStatusResult> QueryDevicesHotStorageDataStatusOutcome;
|
||||
typedef std::future<QueryDevicesHotStorageDataStatusOutcome> QueryDevicesHotStorageDataStatusOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryDevicesHotStorageDataStatusRequest&, const QueryDevicesHotStorageDataStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDevicesHotStorageDataStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDynamicGroupDevicesResult> QueryDynamicGroupDevicesOutcome;
|
||||
typedef std::future<QueryDynamicGroupDevicesOutcome> QueryDynamicGroupDevicesOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryDynamicGroupDevicesRequest&, const QueryDynamicGroupDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDynamicGroupDevicesAsyncHandler;
|
||||
@@ -1971,6 +1983,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateThingScriptResult> UpdateThingScriptOutcome;
|
||||
typedef std::future<UpdateThingScriptOutcome> UpdateThingScriptOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateThingScriptRequest&, const UpdateThingScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateThingScriptAsyncHandler;
|
||||
typedef Outcome<Error, Model::WriteDevicesHotStorageDataResult> WriteDevicesHotStorageDataOutcome;
|
||||
typedef std::future<WriteDevicesHotStorageDataOutcome> WriteDevicesHotStorageDataOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::WriteDevicesHotStorageDataRequest&, const WriteDevicesHotStorageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WriteDevicesHotStorageDataAsyncHandler;
|
||||
|
||||
IotClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
IotClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -2762,6 +2777,12 @@ namespace AlibabaCloud
|
||||
QueryDeviceTunnelOutcome queryDeviceTunnel(const Model::QueryDeviceTunnelRequest &request)const;
|
||||
void queryDeviceTunnelAsync(const Model::QueryDeviceTunnelRequest& request, const QueryDeviceTunnelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDeviceTunnelOutcomeCallable queryDeviceTunnelCallable(const Model::QueryDeviceTunnelRequest& request) const;
|
||||
QueryDevicesHotStorageDataOutcome queryDevicesHotStorageData(const Model::QueryDevicesHotStorageDataRequest &request)const;
|
||||
void queryDevicesHotStorageDataAsync(const Model::QueryDevicesHotStorageDataRequest& request, const QueryDevicesHotStorageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDevicesHotStorageDataOutcomeCallable queryDevicesHotStorageDataCallable(const Model::QueryDevicesHotStorageDataRequest& request) const;
|
||||
QueryDevicesHotStorageDataStatusOutcome queryDevicesHotStorageDataStatus(const Model::QueryDevicesHotStorageDataStatusRequest &request)const;
|
||||
void queryDevicesHotStorageDataStatusAsync(const Model::QueryDevicesHotStorageDataStatusRequest& request, const QueryDevicesHotStorageDataStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDevicesHotStorageDataStatusOutcomeCallable queryDevicesHotStorageDataStatusCallable(const Model::QueryDevicesHotStorageDataStatusRequest& request) const;
|
||||
QueryDynamicGroupDevicesOutcome queryDynamicGroupDevices(const Model::QueryDynamicGroupDevicesRequest &request)const;
|
||||
void queryDynamicGroupDevicesAsync(const Model::QueryDynamicGroupDevicesRequest& request, const QueryDynamicGroupDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDynamicGroupDevicesOutcomeCallable queryDynamicGroupDevicesCallable(const Model::QueryDynamicGroupDevicesRequest& request) const;
|
||||
@@ -3140,6 +3161,9 @@ namespace AlibabaCloud
|
||||
UpdateThingScriptOutcome updateThingScript(const Model::UpdateThingScriptRequest &request)const;
|
||||
void updateThingScriptAsync(const Model::UpdateThingScriptRequest& request, const UpdateThingScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateThingScriptOutcomeCallable updateThingScriptCallable(const Model::UpdateThingScriptRequest& request) const;
|
||||
WriteDevicesHotStorageDataOutcome writeDevicesHotStorageData(const Model::WriteDevicesHotStorageDataRequest &request)const;
|
||||
void writeDevicesHotStorageDataAsync(const Model::WriteDevicesHotStorageDataRequest& request, const WriteDevicesHotStorageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WriteDevicesHotStorageDataOutcomeCallable writeDevicesHotStorageDataCallable(const Model::WriteDevicesHotStorageDataRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct DeviceStatus
|
||||
{
|
||||
std::string iotId;
|
||||
std::string instanceId;
|
||||
int bindStatus;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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_QUERYDEVICESHOTSTORAGEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICESHOTSTORAGEDATAREQUEST_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 QueryDevicesHotStorageDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDevicesHotStorageDataRequest();
|
||||
~QueryDevicesHotStorageDataRequest();
|
||||
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getIdentifier()const;
|
||||
void setIdentifier(const std::string& identifier);
|
||||
std::string getUserTopic()const;
|
||||
void setUserTopic(const std::string& userTopic);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
int getAsc()const;
|
||||
void setAsc(int asc);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::string realTenantId_;
|
||||
long startTime_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string identifier_;
|
||||
std::string userTopic_;
|
||||
long endTime_;
|
||||
std::string productKey_;
|
||||
int asc_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICESHOTSTORAGEDATAREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_QUERYDEVICESHOTSTORAGEDATARESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICESHOTSTORAGEDATARESULT_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 QueryDevicesHotStorageDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PropertyInfo
|
||||
{
|
||||
std::string value;
|
||||
std::string time;
|
||||
};
|
||||
bool nextValid;
|
||||
std::string nextPageToken;
|
||||
std::vector<PropertyInfo> list;
|
||||
};
|
||||
|
||||
|
||||
QueryDevicesHotStorageDataResult();
|
||||
explicit QueryDevicesHotStorageDataResult(const std::string &payload);
|
||||
~QueryDevicesHotStorageDataResult();
|
||||
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_QUERYDEVICESHOTSTORAGEDATARESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_QUERYDEVICESHOTSTORAGEDATASTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICESHOTSTORAGEDATASTATUSREQUEST_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 QueryDevicesHotStorageDataStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDevicesHotStorageDataStatusRequest();
|
||||
~QueryDevicesHotStorageDataStatusRequest();
|
||||
|
||||
std::string getNextPageToken()const;
|
||||
void setNextPageToken(const std::string& nextPageToken);
|
||||
std::string getRealTenantId()const;
|
||||
void setRealTenantId(const std::string& realTenantId);
|
||||
std::string getRealTripartiteKey()const;
|
||||
void setRealTripartiteKey(const std::string& realTripartiteKey);
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getUserTopic()const;
|
||||
void setUserTopic(const std::string& userTopic);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
int getAsc()const;
|
||||
void setAsc(int asc);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string nextPageToken_;
|
||||
std::string realTenantId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string userTopic_;
|
||||
std::string productKey_;
|
||||
int asc_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICESHOTSTORAGEDATASTATUSREQUEST_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_QUERYDEVICESHOTSTORAGEDATASTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICESHOTSTORAGEDATASTATUSRESULT_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 QueryDevicesHotStorageDataStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PropertyStatusDataInfo
|
||||
{
|
||||
std::string identifier;
|
||||
std::string value;
|
||||
long time;
|
||||
};
|
||||
bool nextValid;
|
||||
std::string nextPageToken;
|
||||
std::vector<PropertyStatusDataInfo> list;
|
||||
};
|
||||
|
||||
|
||||
QueryDevicesHotStorageDataStatusResult();
|
||||
explicit QueryDevicesHotStorageDataStatusResult(const std::string &payload);
|
||||
~QueryDevicesHotStorageDataStatusResult();
|
||||
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_QUERYDEVICESHOTSTORAGEDATASTATUSRESULT_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_WRITEDEVICESHOTSTORAGEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_WRITEDEVICESHOTSTORAGEDATAREQUEST_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 WriteDevicesHotStorageDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
WriteDevicesHotStorageDataRequest();
|
||||
~WriteDevicesHotStorageDataRequest();
|
||||
|
||||
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;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getUserTopic()const;
|
||||
void setUserTopic(const std::string& userTopic);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getItems()const;
|
||||
void setItems(const std::string& items);
|
||||
|
||||
private:
|
||||
std::string realTenantId_;
|
||||
std::string accessKeyId_;
|
||||
std::string realTripartiteKey_;
|
||||
std::string iotId_;
|
||||
std::string iotInstanceId_;
|
||||
std::string userTopic_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
std::string items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_WRITEDEVICESHOTSTORAGEDATAREQUEST_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_WRITEDEVICESHOTSTORAGEDATARESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_WRITEDEVICESHOTSTORAGEDATARESULT_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 WriteDevicesHotStorageDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
WriteDevicesHotStorageDataResult();
|
||||
explicit WriteDevicesHotStorageDataResult(const std::string &payload);
|
||||
~WriteDevicesHotStorageDataResult();
|
||||
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_WRITEDEVICESHOTSTORAGEDATARESULT_H_
|
||||
Reference in New Issue
Block a user