Generated 2018-01-20 for Iot.

This commit is contained in:
sdk-team
2019-08-14 10:53:31 +08:00
parent 600883d23a
commit 090cb08688
314 changed files with 8806 additions and 505 deletions

View File

@@ -40,6 +40,8 @@ namespace AlibabaCloud
BatchAddDeviceGroupRelationsRequest();
~BatchAddDeviceGroupRelationsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::vector<Device> getDevice()const;
@@ -48,6 +50,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string groupId_;
std::vector<Device> device_;
std::string accessKeyId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
BatchCheckDeviceNamesRequest();
~BatchCheckDeviceNamesRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<std::string> getDeviceName()const;
void setDeviceName(const std::vector<std::string>& deviceName);
std::string getProductKey()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::vector<std::string> deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
std::vector<std::string> invalidDeviceNameList;
long applyId;
};

View File

@@ -40,6 +40,8 @@ namespace AlibabaCloud
BatchDeleteDeviceGroupRelationsRequest();
~BatchDeleteDeviceGroupRelationsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::vector<Device> getDevice()const;
@@ -48,6 +50,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string groupId_;
std::vector<Device> device_;
std::string accessKeyId_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
BatchGetDeviceStateRequest();
~BatchGetDeviceStateRequest();
std::vector<std::string> getIotId()const;
void setIotId(const std::vector<std::string>& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<std::string> getDeviceName()const;
void setDeviceName(const std::vector<std::string>& deviceName);
std::string getProductKey()const;
@@ -43,6 +47,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<std::string> iotId_;
std::string iotInstanceId_;
std::vector<std::string> deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string status;
std::string lastOnlineTime;
std::string iotId;
std::string asAddress;
std::string deviceId;
std::string deviceName;

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_BATCHQUERYDEVICEDETAILREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_BATCHQUERYDEVICEDETAILREQUEST_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 BatchQueryDeviceDetailRequest : public RpcServiceRequest
{
public:
BatchQueryDeviceDetailRequest();
~BatchQueryDeviceDetailRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<std::string> getDeviceName()const;
void setDeviceName(const std::vector<std::string>& deviceName);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
private:
std::string iotInstanceId_;
std::vector<std::string> deviceName_;
std::string productKey_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_BATCHQUERYDEVICEDETAILREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* 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_BATCHQUERYDEVICEDETAILRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_BATCHQUERYDEVICEDETAILRESULT_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 BatchQueryDeviceDetailResult : public ServiceResult
{
public:
struct DataItem
{
std::string status;
std::string productName;
std::string deviceSecret;
std::string firmwareVersion;
std::string iotId;
std::string gmtCreate;
std::string utcCreate;
std::string utcActive;
std::string gmtActive;
int nodeType;
std::string region;
std::string productKey;
std::string deviceName;
std::string nickname;
};
BatchQueryDeviceDetailResult();
explicit BatchQueryDeviceDetailResult(const std::string &payload);
~BatchQueryDeviceDetailResult();
std::vector<DataItem> getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataItem> data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_BATCHQUERYDEVICEDETAILRESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
BatchRegisterDeviceRequest();
~BatchRegisterDeviceRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getCount()const;
void setCount(int count);
std::string getProductKey()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
int count_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getApplyId()const;
void setApplyId(long applyId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
@@ -44,6 +46,7 @@ namespace AlibabaCloud
private:
long applyId_;
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -0,0 +1,61 @@
/*
* 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_BATCHUPDATEDEVICENICKNAMEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_BATCHUPDATEDEVICENICKNAMEREQUEST_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 BatchUpdateDeviceNicknameRequest : public RpcServiceRequest
{
struct DeviceNicknameInfo
{
std::string iotId;
std::string nickname;
std::string deviceName;
std::string productKey;
};
public:
BatchUpdateDeviceNicknameRequest();
~BatchUpdateDeviceNicknameRequest();
std::vector<DeviceNicknameInfo> getDeviceNicknameInfo()const;
void setDeviceNicknameInfo(const std::vector<DeviceNicknameInfo>& deviceNicknameInfo);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<DeviceNicknameInfo> deviceNicknameInfo_;
std::string iotInstanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_BATCHUPDATEDEVICENICKNAMEREQUEST_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_BATCHUPDATEDEVICENICKNAMERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_BATCHUPDATEDEVICENICKNAMERESULT_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 BatchUpdateDeviceNicknameResult : public ServiceResult
{
public:
BatchUpdateDeviceNicknameResult();
explicit BatchUpdateDeviceNicknameResult(const std::string &payload);
~BatchUpdateDeviceNicknameResult();
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_BATCHUPDATEDEVICENICKNAMERESULT_H_

View File

@@ -0,0 +1,88 @@
/*
* 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_CREATEDATAAPISERVICEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEDATAAPISERVICEREQUEST_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 CreateDataAPIServiceRequest : public RpcServiceRequest
{
struct ResponseParam
{
std::string name;
std::string type;
bool required;
std::string desc;
std::string example;
};
struct RequestParam
{
std::string name;
std::string type;
bool required;
std::string desc;
std::string example;
};
public:
CreateDataAPIServiceRequest();
~CreateDataAPIServiceRequest();
std::vector<ResponseParam> getResponseParam()const;
void setResponseParam(const std::vector<ResponseParam>& responseParam);
std::string getOriginSql()const;
void setOriginSql(const std::string& originSql);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
std::string getApiPath()const;
void setApiPath(const std::string& apiPath);
std::vector<RequestParam> getRequestParam()const;
void setRequestParam(const std::vector<RequestParam>& requestParam);
std::string getFolderId()const;
void setFolderId(const std::string& folderId);
std::string getTemplateSql()const;
void setTemplateSql(const std::string& templateSql);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDesc()const;
void setDesc(const std::string& desc);
private:
std::vector<ResponseParam> responseParam_;
std::string originSql_;
std::string displayName_;
std::string apiPath_;
std::vector<RequestParam> requestParam_;
std::string folderId_;
std::string templateSql_;
std::string accessKeyId_;
std::string desc_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEDATAAPISERVICEREQUEST_H_

View File

@@ -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_CREATEDATAAPISERVICERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEDATAAPISERVICERESULT_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 CreateDataAPIServiceResult : public ServiceResult
{
public:
struct Data
{
std::string apiSrn;
long lastUpdateTime;
long createTime;
};
CreateDataAPIServiceResult();
explicit CreateDataAPIServiceResult(const std::string &payload);
~CreateDataAPIServiceResult();
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_CREATEDATAAPISERVICERESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getGroupDesc()const;
void setGroupDesc(const std::string& groupDesc);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getSuperGroupId()const;
void setSuperGroupId(const std::string& superGroupId);
std::string getGroupName()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string groupDesc_;
std::string iotInstanceId_;
std::string superGroupId_;
std::string groupName_;
std::string accessKeyId_;

View File

@@ -0,0 +1,62 @@
/*
* 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_CREATELORANODESTASKREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_CREATELORANODESTASKREQUEST_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 CreateLoRaNodesTaskRequest : public RpcServiceRequest
{
struct DeviceInfo
{
std::string pinCode;
std::string devEui;
};
public:
CreateLoRaNodesTaskRequest();
~CreateLoRaNodesTaskRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::vector<DeviceInfo> getDeviceInfo()const;
void setDeviceInfo(const std::vector<DeviceInfo>& deviceInfo);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string productKey_;
std::vector<DeviceInfo> deviceInfo_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATELORANODESTASKREQUEST_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_CREATELORANODESTASKRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_CREATELORANODESTASKRESULT_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 CreateLoRaNodesTaskResult : public ServiceResult
{
public:
CreateLoRaNodesTaskResult();
explicit CreateLoRaNodesTaskResult(const std::string &payload);
~CreateLoRaNodesTaskResult();
std::string getTaskId()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATELORANODESTASKRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setNodeType(int nodeType);
bool getId2()const;
void setId2(bool id2);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getNetType()const;
void setNetType(const std::string& netType);
std::string getProductName()const;
@@ -51,6 +53,8 @@ namespace AlibabaCloud
void setProtocolType(const std::string& protocolType);
std::string getAliyunCommodityCode()const;
void setAliyunCommodityCode(const std::string& aliyunCommodityCode);
std::string getJoinPermissionId()const;
void setJoinPermissionId(const std::string& joinPermissionId);
long getCategoryId()const;
void setCategoryId(long categoryId);
std::string getAccessKeyId()const;
@@ -60,11 +64,13 @@ namespace AlibabaCloud
int dataFormat_;
int nodeType_;
bool id2_;
std::string iotInstanceId_;
std::string netType_;
std::string productName_;
std::string description_;
std::string protocolType_;
std::string aliyunCommodityCode_;
std::string joinPermissionId_;
long categoryId_;
std::string accessKeyId_;

View File

@@ -0,0 +1,62 @@
/*
* 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_CREATEPRODUCTTAGSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEPRODUCTTAGSREQUEST_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 CreateProductTagsRequest : public RpcServiceRequest
{
struct ProductTag
{
std::string tagValue;
std::string tagKey;
};
public:
CreateProductTagsRequest();
~CreateProductTagsRequest();
std::vector<ProductTag> getProductTag()const;
void setProductTag(const std::vector<ProductTag>& productTag);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<ProductTag> productTag_;
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEPRODUCTTAGSREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_CREATEPRODUCTTAGSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_CREATEPRODUCTTAGSRESULT_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 CreateProductTagsResult : public ServiceResult
{
public:
struct ProductTag
{
std::string tagKey;
std::string tagValue;
};
CreateProductTagsResult();
explicit CreateProductTagsResult(const std::string &payload);
~CreateProductTagsResult();
std::vector<ProductTag> getInvalidProductTags()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ProductTag> invalidProductTags_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_CREATEPRODUCTTAGSRESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
CreateProductTopicRequest();
~CreateProductTopicRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getTopicShortName()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
void setDesc(const std::string& desc);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string topicShortName_;
std::string operation_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getConfiguration()const;
void setConfiguration(const std::string& configuration);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
long getRuleId()const;
void setRuleId(long ruleId);
std::string getType()const;
@@ -48,6 +50,7 @@ namespace AlibabaCloud
private:
std::string configuration_;
std::string iotInstanceId_;
long ruleId_;
std::string type_;
std::string accessKeyId_;

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setRuleDesc(const std::string& ruleDesc);
std::string getDataType()const;
void setDataType(const std::string& dataType);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getWhere()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
std::string select_;
std::string ruleDesc_;
std::string dataType_;
std::string iotInstanceId_;
std::string name_;
std::string where_;
std::string productKey_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setDstTopic(const std::vector<std::string>& dstTopic);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSrcTopic()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
private:
std::vector<std::string> dstTopic_;
std::string regionId_;
std::string iotInstanceId_;
std::string accessKeyId_;
std::string srcTopic_;

View File

@@ -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_DELETEDEVICEFILEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICEFILEREQUEST_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 DeleteDeviceFileRequest : public RpcServiceRequest
{
public:
DeleteDeviceFileRequest();
~DeleteDeviceFileRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getFileId()const;
void setFileId(const std::string& fileId);
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;
std::string fileId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEDEVICEFILEREQUEST_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_DELETEDEVICEFILERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEDEVICEFILERESULT_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 DeleteDeviceFileResult : public ServiceResult
{
public:
DeleteDeviceFileResult();
explicit DeleteDeviceFileResult(const std::string &payload);
~DeleteDeviceFileResult();
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_DELETEDEVICEFILERESULT_H_

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DeleteDeviceGroupRequest();
~DeleteDeviceGroupRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string groupId_;
std::string accessKeyId_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
DeleteDevicePropRequest();
~DeleteDevicePropRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -45,6 +49,8 @@ namespace AlibabaCloud
void setPropKey(const std::string& propKey);
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DeleteProductRequest();
~DeleteProductRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

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_DELETEPRODUCTTAGSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEPRODUCTTAGSREQUEST_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 DeleteProductTagsRequest : public RpcServiceRequest
{
public:
DeleteProductTagsRequest();
~DeleteProductTagsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<std::string> getProductTagKey()const;
void setProductTagKey(const std::vector<std::string>& productTagKey);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::vector<std::string> productTagKey_;
std::string productKey_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_DELETEPRODUCTTAGSREQUEST_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_DELETEPRODUCTTAGSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_DELETEPRODUCTTAGSRESULT_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 DeleteProductTagsResult : public ServiceResult
{
public:
DeleteProductTagsResult();
explicit DeleteProductTagsResult(const std::string &payload);
~DeleteProductTagsResult();
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_DELETEPRODUCTTAGSRESULT_H_

View File

@@ -37,11 +37,14 @@ namespace AlibabaCloud
std::string getTopicId()const;
void setTopicId(const std::string& topicId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string topicId_;
std::string iotInstanceId_;
std::string accessKeyId_;
};

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DeleteRuleActionRequest();
~DeleteRuleActionRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
long getActionId()const;
void setActionId(long actionId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
long actionId_;
std::string accessKeyId_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DeleteRuleRequest();
~DeleteRuleRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
long getRuleId()const;
void setRuleId(long ruleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
long ruleId_;
std::string accessKeyId_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setDstTopic(const std::vector<std::string>& dstTopic);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSrcTopic()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
private:
std::vector<std::string> dstTopic_;
std::string regionId_;
std::string iotInstanceId_;
std::string accessKeyId_;
std::string srcTopic_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -0,0 +1,51 @@
/*
* 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_GETDATAAPISERVICEDETAILREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_GETDATAAPISERVICEDETAILREQUEST_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 GetDataAPIServiceDetailRequest : public RpcServiceRequest
{
public:
GetDataAPIServiceDetailRequest();
~GetDataAPIServiceDetailRequest();
std::string getApiSrn()const;
void setApiSrn(const std::string& apiSrn);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string apiSrn_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_GETDATAAPISERVICEDETAILREQUEST_H_

View File

@@ -0,0 +1,94 @@
/*
* 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_GETDATAAPISERVICEDETAILRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_GETDATAAPISERVICEDETAILRESULT_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 GetDataAPIServiceDetailResult : public ServiceResult
{
public:
struct Data
{
struct SqlTemplateDTO
{
struct RequestParamsItem
{
std::string desc;
std::string type;
bool required;
std::string example;
std::string name;
};
struct ResponseParamsItem
{
std::string desc;
std::string type;
bool required;
std::string example;
std::string name;
};
std::string templateSql;
std::vector<ResponseParamsItem> responseParams;
std::string originSql;
std::vector<RequestParamsItem> requestParams;
};
int status;
std::string apiSrn;
std::string description;
SqlTemplateDTO sqlTemplateDTO;
long lastUpdateTime;
std::string requestMethod;
long createTime;
std::string dateFormat;
std::string displayName;
std::string requestProtocol;
std::string apiPath;
};
GetDataAPIServiceDetailResult();
explicit GetDataAPIServiceDetailResult(const std::string &payload);
~GetDataAPIServiceDetailResult();
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_GETDATAAPISERVICEDETAILRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getShadowMessage()const;
void setShadowMessage(const std::string& shadowMessage);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string shadowMessage_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

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_GETLORANODESTASKREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_GETLORANODESTASKREQUEST_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 GetLoraNodesTaskRequest : public RpcServiceRequest
{
public:
GetLoraNodesTaskRequest();
~GetLoraNodesTaskRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string taskId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_GETLORANODESTASKREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_GETLORANODESTASKRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_GETLORANODESTASKRESULT_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 GetLoraNodesTaskResult : public ServiceResult
{
public:
GetLoraNodesTaskResult();
explicit GetLoraNodesTaskResult(const std::string &payload);
~GetLoraNodesTaskResult();
std::vector<std::string> getSuccessDevEuis()const;
long getTotalCount()const;
std::string getTaskId()const;
std::string getErrorMessage()const;
long getSuccessCount()const;
std::string getCode()const;
std::string getTaskState()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> successDevEuis_;
long totalCount_;
std::string taskId_;
std::string errorMessage_;
long successCount_;
std::string code_;
std::string taskState_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_GETLORANODESTASKRESULT_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_GETNODESADDINGTASKREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKREQUEST_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 GetNodesAddingTaskRequest : public RpcServiceRequest
{
public:
GetNodesAddingTaskRequest();
~GetNodesAddingTaskRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string taskId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKRESULT_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 GetNodesAddingTaskResult : public ServiceResult
{
public:
GetNodesAddingTaskResult();
explicit GetNodesAddingTaskResult(const std::string &payload);
~GetNodesAddingTaskResult();
std::vector<std::string> getSuccessDevEuis()const;
long getTotalCount()const;
std::string getTaskId()const;
std::string getErrorMessage()const;
long getSuccessCount()const;
std::string getCode()const;
std::string getTaskState()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> successDevEuis_;
long totalCount_;
std::string taskId_;
std::string errorMessage_;
long successCount_;
std::string code_;
std::string taskState_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKRESULT_H_

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
GetRuleActionRequest();
~GetRuleActionRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
long getActionId()const;
void setActionId(long actionId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
long actionId_;
std::string accessKeyId_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
GetRuleRequest();
~GetRuleRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
long getRuleId()const;
void setRuleId(long ruleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
long ruleId_;
std::string accessKeyId_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setIotId(const std::string& iotId);
int getPageNo()const;
void setPageNo(int pageNo);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDeviceName()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
int pageNo_;
std::string iotInstanceId_;
int pageSize_;
std::string deviceName_;
std::string productKey_;

View File

@@ -0,0 +1,61 @@
/*
* 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_INVOKEDATAAPISERVICEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_INVOKEDATAAPISERVICEREQUEST_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 InvokeDataAPIServiceRequest : public RpcServiceRequest
{
struct Param
{
std::string listParamType;
std::vector<std::string> listParamValue;
std::string paramValue;
std::string paramName;
};
public:
InvokeDataAPIServiceRequest();
~InvokeDataAPIServiceRequest();
std::string getApiSrn()const;
void setApiSrn(const std::string& apiSrn);
std::vector<Param> getParam()const;
void setParam(const std::vector<Param>& param);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string apiSrn_;
std::vector<Param> param_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_INVOKEDATAAPISERVICEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_INVOKEDATAAPISERVICERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_INVOKEDATAAPISERVICERESULT_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 InvokeDataAPIServiceResult : public ServiceResult
{
public:
struct Data
{
std::string apiSrn;
std::vector<std::string> resultList;
int pageSize;
int pageNo;
std::vector<std::string> fieldNameList;
};
InvokeDataAPIServiceResult();
explicit InvokeDataAPIServiceResult(const std::string &payload);
~InvokeDataAPIServiceResult();
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_INVOKEDATAAPISERVICERESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setIdentifier(const std::string& identifier);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -52,6 +54,7 @@ namespace AlibabaCloud
std::string args_;
std::string identifier_;
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setArgs(const std::string& args);
std::string getIdentifier()const;
void setIdentifier(const std::string& identifier);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::vector<std::string> getDeviceName()const;
void setDeviceName(const std::vector<std::string>& deviceName);
std::string getProductKey()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
private:
std::string args_;
std::string identifier_;
std::string iotInstanceId_;
std::vector<std::string> deviceName_;
std::string productKey_;
std::string accessKeyId_;

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_LISTPRODUCTBYTAGSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_LISTPRODUCTBYTAGSREQUEST_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 ListProductByTagsRequest : public RpcServiceRequest
{
struct ProductTag
{
std::string tagValue;
std::string tagKey;
};
public:
ListProductByTagsRequest();
~ListProductByTagsRequest();
std::vector<ProductTag> getProductTag()const;
void setProductTag(const std::vector<ProductTag>& productTag);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<ProductTag> productTag_;
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_LISTPRODUCTBYTAGSREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_LISTPRODUCTBYTAGSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_LISTPRODUCTBYTAGSRESULT_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 ListProductByTagsResult : public ServiceResult
{
public:
struct ProductInfo
{
std::string description;
std::string productName;
long createTime;
int nodeType;
std::string productKey;
};
ListProductByTagsResult();
explicit ListProductByTagsResult(const std::string &payload);
~ListProductByTagsResult();
std::string getErrorMessage()const;
std::vector<ProductInfo> getProductInfos()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMessage_;
std::vector<ProductInfo> productInfos_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_LISTPRODUCTBYTAGSRESULT_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_LISTPRODUCTTAGSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_LISTPRODUCTTAGSREQUEST_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 ListProductTagsRequest : public RpcServiceRequest
{
public:
ListProductTagsRequest();
~ListProductTagsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_LISTPRODUCTTAGSREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_LISTPRODUCTTAGSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_LISTPRODUCTTAGSRESULT_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 ListProductTagsResult : public ServiceResult
{
public:
struct ProductTag
{
std::string tagKey;
std::string tagValue;
};
ListProductTagsResult();
explicit ListProductTagsResult(const std::string &payload);
~ListProductTagsResult();
std::vector<ProductTag> getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ProductTag> data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_LISTPRODUCTTAGSRESULT_H_

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
ListRuleActionsRequest();
~ListRuleActionsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
long getRuleId()const;
void setRuleId(long ruleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
long ruleId_;
std::string accessKeyId_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
ListRuleRequest();
~ListRuleRequest();
std::string getSearchName()const;
void setSearchName(const std::string& searchName);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
@@ -43,6 +47,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string searchName_;
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::string accessKeyId_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setGwProductKey(const std::string& gwProductKey);
std::string getGwDeviceName()const;
void setGwDeviceName(const std::string& gwDeviceName);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGwIotId()const;
void setGwIotId(const std::string& gwIotId);
std::string getDeviceListStr()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
private:
std::string gwProductKey_;
std::string gwDeviceName_;
std::string iotInstanceId_;
std::string gwIotId_;
std::string deviceListStr_;
std::string accessKeyId_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setTopicFullName(const std::string& topicFullName);
std::string getMessageContent()const;
void setMessageContent(const std::string& messageContent);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
private:
std::string topicFullName_;
std::string messageContent_;
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setQos(int qos);
std::string getMessageContent()const;
void setMessageContent(const std::string& messageContent);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
@@ -50,6 +52,7 @@ namespace AlibabaCloud
std::string topicFullName_;
int qos_;
std::string messageContent_;
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -44,6 +44,8 @@ namespace AlibabaCloud
void setProductKeyList(const std::vector<std::string>& productKeyList);
std::vector<std::string> getCategoryKeyList()const;
void setCategoryKeyList(const std::vector<std::string>& categoryKeyList);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
@@ -56,6 +58,7 @@ namespace AlibabaCloud
private:
std::vector<std::string> productKeyList_;
std::vector<std::string> categoryKeyList_;
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::string appKey_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getApplyId()const;
void setApplyId(long applyId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
@@ -44,6 +46,7 @@ namespace AlibabaCloud
private:
long applyId_;
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -40,6 +40,8 @@ namespace AlibabaCloud
QueryDeviceByTagsRequest();
~QueryDeviceByTagsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
@@ -50,6 +52,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::vector<Tag> tag_;

View File

@@ -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_QUERYDEVICEDESIREDPROPERTYREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEDESIREDPROPERTYREQUEST_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 QueryDeviceDesiredPropertyRequest : public RpcServiceRequest
{
public:
QueryDeviceDesiredPropertyRequest();
~QueryDeviceDesiredPropertyRequest();
std::vector<std::string> getIdentifier()const;
void setIdentifier(const std::vector<std::string>& identifier);
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<std::string> identifier_;
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEDESIREDPROPERTYREQUEST_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_QUERYDEVICEDESIREDPROPERTYRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEDESIREDPROPERTYRESULT_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 QueryDeviceDesiredPropertyResult : public ServiceResult
{
public:
struct Data
{
struct DesiredPropertyInfo
{
std::string identifier;
long version;
std::string value;
std::string dataType;
std::string time;
std::string unit;
std::string name;
};
std::vector<DesiredPropertyInfo> list;
};
QueryDeviceDesiredPropertyResult();
explicit QueryDeviceDesiredPropertyResult(const std::string &payload);
~QueryDeviceDesiredPropertyResult();
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_QUERYDEVICEDESIREDPROPERTYRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
std::string gmtOnline;
std::string productKey;
std::string deviceName;
std::string nickname;
};

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setIdentifier(const std::string& identifier);
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);
long getEndTime()const;
@@ -60,6 +62,7 @@ namespace AlibabaCloud
int asc_;
std::string identifier_;
std::string iotId_;
std::string iotInstanceId_;
int pageSize_;
long endTime_;
std::string eventType_;

View File

@@ -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_QUERYDEVICEFILELISTREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILELISTREQUEST_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 QueryDeviceFileListRequest : public RpcServiceRequest
{
public:
QueryDeviceFileListRequest();
~QueryDeviceFileListRequest();
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 getDeviceName()const;
void setDeviceName(const std::string& deviceName);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotId_;
std::string iotInstanceId_;
int pageSize_;
std::string deviceName_;
int currentPage_;
std::string productKey_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILELISTREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILELISTRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILELISTRESULT_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 QueryDeviceFileListResult : public ServiceResult
{
public:
struct FileSummary
{
std::string utcCreatedOn;
std::string size;
std::string fileId;
std::string name;
};
QueryDeviceFileListResult();
explicit QueryDeviceFileListResult(const std::string &payload);
~QueryDeviceFileListResult();
int getPageCount()const;
int getPageSize()const;
int getCurrentPage()const;
int getTotal()const;
std::vector<FileSummary> getData()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageCount_;
int pageSize_;
int currentPage_;
int total_;
std::vector<FileSummary> data_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILELISTRESULT_H_

View File

@@ -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_QUERYDEVICEFILEREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILEREQUEST_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 QueryDeviceFileRequest : public RpcServiceRequest
{
public:
QueryDeviceFileRequest();
~QueryDeviceFileRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getFileId()const;
void setFileId(const std::string& fileId);
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;
std::string fileId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILERESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEFILERESULT_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 QueryDeviceFileResult : public ServiceResult
{
public:
struct Data
{
std::string utcCreatedOn;
std::string size;
std::string fileId;
std::string name;
std::string downloadUrl;
};
QueryDeviceFileResult();
explicit QueryDeviceFileResult(const std::string &payload);
~QueryDeviceFileResult();
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_QUERYDEVICEFILERESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
QueryDeviceGroupByDeviceRequest();
~QueryDeviceGroupByDeviceRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDEVICEGROUPBYTAGSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEGROUPBYTAGSREQUEST_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 QueryDeviceGroupByTagsRequest : public RpcServiceRequest
{
struct Tag
{
std::string tagValue;
std::string tagKey;
};
public:
QueryDeviceGroupByTagsRequest();
~QueryDeviceGroupByTagsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::vector<Tag> tag_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEGROUPBYTAGSREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* 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_QUERYDEVICEGROUPBYTAGSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEGROUPBYTAGSRESULT_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 QueryDeviceGroupByTagsResult : public ServiceResult
{
public:
struct DeviceGroup
{
std::string groupName;
std::string groupId;
};
QueryDeviceGroupByTagsResult();
explicit QueryDeviceGroupByTagsResult(const std::string &payload);
~QueryDeviceGroupByTagsResult();
int getPageSize()const;
int getPageCount()const;
int getTotal()const;
std::vector<DeviceGroup> getData()const;
int getPage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageCount_;
int total_;
std::vector<DeviceGroup> data_;
int page_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEGROUPBYTAGSRESULT_H_

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
QueryDeviceGroupInfoRequest();
~QueryDeviceGroupInfoRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string groupId_;
std::string accessKeyId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
QueryDeviceGroupListRequest();
~QueryDeviceGroupListRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getSuperGroupId()const;
void setSuperGroupId(const std::string& superGroupId);
int getPageSize()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string superGroupId_;
int pageSize_;
int currentPage_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
QueryDeviceGroupTagListRequest();
~QueryDeviceGroupTagListRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string groupId_;
std::string accessKeyId_;

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_QUERYDEVICELISTBYDEVICEGROUPREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICELISTBYDEVICEGROUPREQUEST_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 QueryDeviceListByDeviceGroupRequest : public RpcServiceRequest
{
public:
QueryDeviceListByDeviceGroupRequest();
~QueryDeviceListByDeviceGroupRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string groupId_;
int pageSize_;
int currentPage_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICELISTBYDEVICEGROUPREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYDEVICELISTBYDEVICEGROUPRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICELISTBYDEVICEGROUPRESULT_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 QueryDeviceListByDeviceGroupResult : public ServiceResult
{
public:
struct SimpleDeviceInfo
{
std::string iotId;
std::string productName;
std::string productKey;
std::string deviceName;
};
QueryDeviceListByDeviceGroupResult();
explicit QueryDeviceListByDeviceGroupResult(const std::string &payload);
~QueryDeviceListByDeviceGroupResult();
int getPageSize()const;
int getPageCount()const;
int getTotal()const;
std::vector<SimpleDeviceInfo> getData()const;
int getPage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageCount_;
int total_;
std::vector<SimpleDeviceInfo> data_;
int page_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICELISTBYDEVICEGROUPRESULT_H_

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
QueryDevicePropRequest();
~QueryDevicePropRequest();
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -43,6 +47,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -0,0 +1,75 @@
/*
* 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_QUERYDEVICEPROPERTIESDATAREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEPROPERTIESDATAREQUEST_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 QueryDevicePropertiesDataRequest : public RpcServiceRequest
{
public:
QueryDevicePropertiesDataRequest();
~QueryDevicePropertiesDataRequest();
int getAsc()const;
void setAsc(int asc);
std::vector<std::string> getIdentifier()const;
void setIdentifier(const std::vector<std::string>& identifier);
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);
long getEndTime()const;
void setEndTime(long endTime);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
long getStartTime()const;
void setStartTime(long startTime);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
int asc_;
std::vector<std::string> identifier_;
std::string iotId_;
std::string iotInstanceId_;
int pageSize_;
long endTime_;
std::string deviceName_;
long startTime_;
std::string productKey_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEPROPERTIESDATAREQUEST_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_QUERYDEVICEPROPERTIESDATARESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYDEVICEPROPERTIESDATARESULT_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 QueryDevicePropertiesDataResult : public ServiceResult
{
public:
struct PropertyDataInfo
{
struct PropertyInfo
{
std::string value;
long time;
};
std::string identifier;
std::vector<PropertyDataInfo::PropertyInfo> list;
};
QueryDevicePropertiesDataResult();
explicit QueryDevicePropertiesDataResult(const std::string &payload);
~QueryDevicePropertiesDataResult();
bool getNextValid()const;
long getNextTime()const;
std::vector<PropertyDataInfo> getPropertyDataInfos()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool nextValid_;
long nextTime_;
std::vector<PropertyDataInfo> propertyDataInfos_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYDEVICEPROPERTIESDATARESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setIdentifier(const std::string& identifier);
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);
long getEndTime()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
int asc_;
std::string identifier_;
std::string iotId_;
std::string iotInstanceId_;
int pageSize_;
long endTime_;
std::string deviceName_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getIotId()const;
void setIotId(const std::string& iotId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
std::string getProductKey()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
std::string iotId_;
std::string iotInstanceId_;
std::string deviceName_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
QueryDeviceRequest();
~QueryDeviceRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::string productKey_;

View File

@@ -35,13 +35,17 @@ namespace AlibabaCloud
struct DeviceInfo
{
std::string deviceType;
std::string iotId;
std::string gmtCreate;
std::string utcCreate;
std::string deviceId;
std::string deviceSecret;
std::string gmtModified;
std::string deviceStatus;
std::string utcModified;
std::string productKey;
std::string deviceName;
std::string nickname;
};

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setIdentifier(const std::string& identifier);
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);
long getEndTime()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
int asc_;
std::string identifier_;
std::string iotId_;
std::string iotInstanceId_;
int pageSize_;
long endTime_;
std::string deviceName_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
QueryDeviceStatisticsRequest();
~QueryDeviceStatisticsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -0,0 +1,51 @@
/*
* 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_QUERYLORAJOINPERMISSIONSREQUEST_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYLORAJOINPERMISSIONSREQUEST_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 QueryLoRaJoinPermissionsRequest : public RpcServiceRequest
{
public:
QueryLoRaJoinPermissionsRequest();
~QueryLoRaJoinPermissionsRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYLORAJOINPERMISSIONSREQUEST_H_

View File

@@ -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_QUERYLORAJOINPERMISSIONSRESULT_H_
#define ALIBABACLOUD_IOT_MODEL_QUERYLORAJOINPERMISSIONSRESULT_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 QueryLoRaJoinPermissionsResult : public ServiceResult
{
public:
struct JoinPermission
{
std::string classMode;
std::string ownerAliyunPk;
bool enabled;
std::string joinPermissionId;
std::string joinPermissionName;
std::string joinPermissionType;
};
QueryLoRaJoinPermissionsResult();
explicit QueryLoRaJoinPermissionsResult(const std::string &payload);
~QueryLoRaJoinPermissionsResult();
std::vector<JoinPermission> getJoinPermissions()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
std::string getProductKey()const;
protected:
void parse(const std::string &payload);
private:
std::vector<JoinPermission> joinPermissions_;
std::string errorMessage_;
std::string code_;
bool success_;
std::string productKey_;
};
}
}
}
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYLORAJOINPERMISSIONSRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getApplyId()const;
void setApplyId(long applyId);
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
@@ -46,6 +48,7 @@ namespace AlibabaCloud
private:
long applyId_;
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::string accessKeyId_;

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct ApplyDeviceInfo
{
std::string iotId;
std::string deviceId;
std::string deviceSecret;
std::string deviceName;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
QueryProductListRequest();
~QueryProductListRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
int pageSize_;
int currentPage_;
std::string aliyunCommodityCode_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
QueryProductRequest();
~QueryProductRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
int nodeType;
int dataFormat;
std::string categoryName;
int netType;
std::string productKey;
int deviceCount;
};

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
QueryProductTopicRequest();
~QueryProductTopicRequest();
std::string getIotInstanceId()const;
void setIotInstanceId(const std::string& iotInstanceId);
std::string getProductKey()const;
void setProductKey(const std::string& productKey);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string iotInstanceId_;
std::string productKey_;
std::string accessKeyId_;

Some files were not shown because too many files have changed in this diff Show More